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
elsym = new Vector(); elid = new Vector(); formalCharges = new Vector(); partialCharges = new Vector(); isotope = new Vector(); x3 = new Vector(); y3 = new Vector(); z3 = new Vector(); x2 = new Vector(); y2 = new Vector(); hCounts = new Vector(); atomParities = new Vector(); atomDictRefs = new Vector(); bondid = new Vector(); bondARef1 = new Vector(); bondARef2 = new Vector(); order = new Vector(); bondStereo = new Vector(); bondDictRefs = new Vector();
newAtomData(); newBondData();
protected void newMolecule() { elsym = new Vector(); elid = new Vector(); formalCharges = new Vector(); partialCharges = new Vector(); isotope = new Vector(); x3 = new Vector(); y3 = new Vector(); z3 = new Vector(); x2 = new Vector(); y2 = new Vector(); hCounts = new Vector(); atomParities = new Vector(); atomDictRefs = new Vector(); bondid = new Vector(); bondARef1 = new Vector(); bondARef2 = new Vector(); order = new Vector(); bondStereo = new Vector(); bondDictRefs = new Vector(); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/ef8a64ee595413d36a5e66fb8f7a6eb730b615df/CMLCoreModule.java/buggy/src/org/openscience/cdk/io/cml/CMLCoreModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 394, 29669, 1435, 288, 3639, 7842, 2942, 273, 394, 5589, 5621, 3639, 415, 350, 273, 394, 5589, 5621, 3639, 25739, 2156, 2852, 273, 394, 5589, 5621, 3639, 4702, 2156, 2852, 273, 394, 5589, 5621, 3639, 27835, 273, 394, 5589, 5621, 3639, 619, 23, 273, 394, 5589, 5621, 3639, 677, 23, 273, 394, 5589, 5621, 3639, 998, 23, 273, 394, 5589, 5621, 3639, 619, 22, 273, 394, 5589, 5621, 3639, 677, 22, 273, 394, 5589, 5621, 3639, 366, 9211, 273, 394, 5589, 5621, 3639, 3179, 1553, 1961, 273, 394, 5589, 5621, 3639, 3179, 5014, 9837, 273, 394, 5589, 5621, 3639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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 394, 29669, 1435, 288, 3639, 7842, 2942, 273, 394, 5589, 5621, 3639, 415, 350, 273, 394, 5589, 5621, 3639, 25739, 2156, 2852, 273, 394, 5589, 5621, 3639, 4702, 2156, 2852, 273, 394, 5589, 5621, 3639, 27835, 273, 394, 5589, 5621, 3639, 619, 23, 273, 394, 5589, 5621, 3639, 677, 23, 273, 394, 5589, 5621, 3639, 998, 23, 273, 394, 5589, 5621, 3639, 619, 22, 273, 394, 5589, 5621, 3639, 677, 22, 273, 394, 5589, 5621, 3639, 366, 9211, 273, 394, 5589, 5621, 3639, 3179, 1553, 1961, 273, 394, 5589, 5621, 3639, 3179, 5014, 9837, 273, 394, 5589, 5621, 3639, 8427, 350, 273, 394, 5589, 5621, 3639, 8427, 37, 1957, 21, 273, 394, 5589, 5621, 3639, 8427, 2 ]
int insertedOID = ((org.postgresql.ResultSet)st.getResultSet()).getInsertedOID();
int insertedOID = ((org.postgresql.jdbc2.Statement)st).getInsertedOID();
public void doexample() throws SQLException { System.out.println("\nRunning tests:"); // First we need a table to store data in st.executeUpdate("create table basic (a int2, b int2)"); // Now insert some data, using the Statement st.executeUpdate("insert into basic values (1,1)"); st.executeUpdate("insert into basic values (2,1)"); st.executeUpdate("insert into basic values (3,1)"); // This shows how to get the oid of a just inserted row st.executeUpdate("insert into basic values (4,1)"); int insertedOID = ((org.postgresql.ResultSet)st.getResultSet()).getInsertedOID(); System.out.println("Inserted row with oid "+insertedOID); // Now change the value of b from 1 to 8 st.executeUpdate("update basic set b=8"); System.out.println("Updated "+st.getUpdateCount()+" rows"); // Now delete 2 rows st.executeUpdate("delete from basic where a<3"); System.out.println("deleted "+st.getUpdateCount()+" rows"); // For large inserts, a PreparedStatement is more efficient, because it // supports the idea of precompiling the SQL statement, and to store // directly, a Java object into any column. PostgreSQL doesnt support // precompiling, but does support setting a column to the value of a // Java object (like Date, String, etc). // // Also, this is the only way of writing dates in a datestyle independent // manner. (DateStyles are PostgreSQL's way of handling different methods // of representing dates in the Date data type.) PreparedStatement ps = db.prepareStatement("insert into basic values (?,?)"); for(int i=2;i<5;i++) { ps.setInt(1,4); // "column a" = 5 ps.setInt(2,i); // "column b" = i ps.executeUpdate(); // executeUpdate because insert returns no data } ps.close(); // Always close when we are done with it // Finally perform a query on the table System.out.println("performing a query"); ResultSet rs = st.executeQuery("select a, b from basic"); if(rs!=null) { // Now we run through the result set, printing out the result. // Note, we must call .next() before attempting to read any results while(rs.next()) { int a = rs.getInt("a"); // This shows how to get the value by name int b = rs.getInt(2); // This shows how to get the value by column System.out.println(" a="+a+" b="+b); } rs.close(); // again, you must close the result when done } // Now run the query again, showing a more efficient way of getting the // result if you don't know what column number a value is in System.out.println("performing another query"); rs = st.executeQuery("select * from basic where b>1"); if(rs!=null) { // First find out the column numbers. // // It's best to do this here, as calling the methods with the column // numbers actually performs this call each time they are called. This // really speeds things up on large queries. // int col_a = rs.findColumn("a"); int col_b = rs.findColumn("b"); // Now we run through the result set, printing out the result. // Again, we must call .next() before attempting to read any results while(rs.next()) { int a = rs.getInt(col_a); // This shows how to get the value by name int b = rs.getInt(col_b); // This shows how to get the value by column System.out.println(" a="+a+" b="+b); } rs.close(); // again, you must close the result when done } // The last thing to do is to drop the table. This is done in the // cleanup() method. }
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/8439a83d84fb159a790ed2b6d14d4151b9890857/basic.java/clean/src/interfaces/jdbc/example/basic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 8236, 1435, 1216, 6483, 225, 288, 565, 2332, 18, 659, 18, 8222, 31458, 82, 7051, 7434, 2773, 1769, 3639, 368, 5783, 732, 1608, 279, 1014, 358, 1707, 501, 316, 565, 384, 18, 8837, 1891, 2932, 2640, 1014, 5337, 261, 69, 509, 22, 16, 324, 509, 22, 2225, 1769, 3639, 368, 4494, 2243, 2690, 501, 16, 1450, 326, 8056, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 21, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 22, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 23, 16, 21, 2225, 1769, 3639, 368, 1220, 17975, 3661, 358, 336, 326, 7764, 434, 279, 2537, 9564, 1027, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 24, 16, 21, 2225, 1769, 565, 509, 9564, 12945, 273, 14015, 3341, 18, 2767, 24330, 18, 24687, 22, 18, 3406, 13, 334, 2934, 588, 27329, 12945, 5621, 565, 2332, 18, 659, 18, 8222, 2932, 27329, 1027, 598, 7764, 13773, 6387, 329, 12945, 1769, 3639, 368, 4494, 2549, 326, 460, 434, 324, 628, 404, 358, 1725, 565, 384, 18, 8837, 1891, 2932, 2725, 5337, 444, 324, 33, 28, 8863, 565, 2332, 18, 659, 18, 8222, 2932, 7381, 13773, 334, 18, 588, 1891, 1380, 1435, 9078, 2595, 8863, 3639, 368, 4494, 1430, 576, 2595, 565, 384, 18, 8837, 1891, 2932, 3733, 628, 5337, 1625, 279, 32, 23, 8863, 565, 2332, 18, 659, 18, 8222, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 741, 8236, 1435, 1216, 6483, 225, 288, 565, 2332, 18, 659, 18, 8222, 31458, 82, 7051, 7434, 2773, 1769, 3639, 368, 5783, 732, 1608, 279, 1014, 358, 1707, 501, 316, 565, 384, 18, 8837, 1891, 2932, 2640, 1014, 5337, 261, 69, 509, 22, 16, 324, 509, 22, 2225, 1769, 3639, 368, 4494, 2243, 2690, 501, 16, 1450, 326, 8056, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 21, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 22, 16, 21, 2225, 1769, 565, 384, 18, 8837, 1891, 2932, 6387, 1368, 5337, 924, 261, 23, 16, 21, 2225, 1769, 3639, 368, 1220, 17975, 3661, 358, 336, 326, 7764, 2 ]
sEdit.getPropertiesEdit().addProperty(GRADE_SUBMISSION_ALLOW_RESUBMIT, Boolean.TRUE.toString()); state.removeAttribute(GRADE_SUBMISSION_ALLOW_RESUBMIT); } else { sEdit.getPropertiesEdit().removeProperty(GRADE_SUBMISSION_ALLOW_RESUBMIT);
ResourcePropertiesEdit pEdit = sEdit.getPropertiesEdit(); pEdit.addProperty(ALLOW_RESUBMIT_NUMBER, (String) state.getAttribute(ALLOW_RESUBMIT_NUMBER)); if (state.getAttribute(ALLOW_RESUBMIT_CLOSEYEAR) != null) { Time closeTime = getAllowSubmitCloseTime(state); pEdit.addProperty(ALLOW_RESUBMIT_CLOSETIME, String.valueOf(closeTime.getTime())); } else { pEdit.removeProperty(ALLOW_RESUBMIT_CLOSETIME); }
private void grade_submission_option(RunData data, String gradeOption) { SessionState state = ((JetspeedRunData) data).getPortletSessionState(((JetspeedRunData) data).getJs_peid()); boolean withGrade = state.getAttribute(WITH_GRADES) != null ? ((Boolean) state.getAttribute(WITH_GRADES)).booleanValue(): false; String sId = (String) state.getAttribute(GRADE_SUBMISSION_SUBMISSION_ID); try { // for points grading, one have to enter number as the points String grade = (String) state.getAttribute(GRADE_SUBMISSION_GRADE); AssignmentSubmissionEdit sEdit = AssignmentService.editSubmission(sId); Assignment a = sEdit.getAssignment(); int typeOfGrade = a.getContent().getTypeOfGrade(); if (!withGrade) { // no grade input needed for the without-grade version of assignment tool sEdit.setGraded(true); if (gradeOption.equals("return") || gradeOption.equals("release")) { sEdit.setGradeReleased(true); } } else if (grade == null) { sEdit.setGrade(""); sEdit.setGraded(false); sEdit.setGradeReleased(false); } else { if (typeOfGrade == 1) { sEdit.setGrade("no grade"); sEdit.setGraded(true); } else { if (!grade.equals("")) { if (typeOfGrade == 3) { sEdit.setGrade(grade); } else { sEdit.setGrade(grade); } sEdit.setGraded(true); } } } if (gradeOption.equals("release")) { sEdit.setGradeReleased(true); sEdit.setGraded(true); // clear the returned flag sEdit.setReturned(false); sEdit.setTimeReturned(null); } else if (gradeOption.equals("return")) { if (StringUtil.trimToNull(grade) != null) { sEdit.setGradeReleased(true); sEdit.setGraded(true); } sEdit.setReturned(true); sEdit.setTimeReturned(TimeService.newTime()); sEdit.setHonorPledgeFlag(Boolean.FALSE.booleanValue()); } if (state.getAttribute(GRADE_SUBMISSION_ALLOW_RESUBMIT) != null && ((Boolean)state.getAttribute(GRADE_SUBMISSION_ALLOW_RESUBMIT)).booleanValue()) { sEdit.getPropertiesEdit().addProperty(GRADE_SUBMISSION_ALLOW_RESUBMIT, Boolean.TRUE.toString()); state.removeAttribute(GRADE_SUBMISSION_ALLOW_RESUBMIT); } else { sEdit.getPropertiesEdit().removeProperty(GRADE_SUBMISSION_ALLOW_RESUBMIT); } // the instructor comment String feedbackCommentString = StringUtil .trimToNull((String) state.getAttribute(GRADE_SUBMISSION_FEEDBACK_COMMENT)); if (feedbackCommentString != null) { sEdit.setFeedbackComment(feedbackCommentString); } // the instructor inline feedback String feedbackTextString = (String) state.getAttribute(GRADE_SUBMISSION_FEEDBACK_TEXT); if (feedbackTextString != null) { sEdit.setFeedbackText(feedbackTextString); } List v = (List) state.getAttribute(GRADE_SUBMISSION_FEEDBACK_ATTACHMENT); if (v != null) { // clear the old attachments first sEdit.clearFeedbackAttachments(); for (int i = 0; i < v.size(); i++) { sEdit.addFeedbackAttachment((Reference) v.get(i)); } } String sReference = sEdit.getReference(); AssignmentService.commitEdit(sEdit); // update grades in gradebook String aReference = a.getReference(); String associateGradebookAssignment = StringUtil.trimToNull(a.getProperties().getProperty(NEW_ASSIGNMENT_ASSOCIATE_GRADEBOOK_ASSIGNMENT)); if (gradeOption.equals("release") || gradeOption.equals("return")) { // update grade in gradebook integrateGradebook(state, aReference, associateGradebookAssignment, null, null, null, -1, null, sReference, "update"); } else { // remove grade from gradebook integrateGradebook(state, aReference, associateGradebookAssignment, null, null, null, -1, null, sReference, "remove"); } } catch (IdUnusedException e) { } catch (PermissionException e) { } catch (InUseException e) { addAlert(state, rb.getString("somelsis") + " " + rb.getString("submiss")); } // try if (state.getAttribute(STATE_MESSAGE) == null) { state.setAttribute(STATE_MODE, MODE_INSTRUCTOR_GRADE_ASSIGNMENT); state.setAttribute(ATTACHMENTS, EntityManager.newReferenceList()); } } // grade_submission_option
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/f3ca01f6a52fdc4e3cdec28cf791e64ccbf0df4f/AssignmentAction.java/buggy/assignment/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7324, 67, 12684, 67, 3482, 12, 1997, 751, 501, 16, 514, 7324, 1895, 13, 202, 95, 202, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 18566, 2157, 1119, 12443, 12, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 8382, 67, 347, 350, 10663, 202, 202, 6494, 598, 14571, 323, 273, 919, 18, 588, 1499, 12, 9147, 67, 24554, 26463, 13, 480, 446, 692, 14015, 5507, 13, 919, 18, 588, 1499, 12, 9147, 67, 24554, 26463, 13, 2934, 6494, 620, 13332, 629, 31, 202, 202, 780, 25816, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 24554, 1639, 67, 8362, 15566, 67, 8362, 15566, 67, 734, 1769, 202, 202, 698, 202, 202, 95, 1082, 202, 759, 364, 3143, 21717, 16, 1245, 1240, 358, 6103, 1300, 487, 326, 3143, 1082, 202, 780, 7324, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 24554, 1639, 67, 8362, 15566, 67, 24554, 1639, 1769, 1082, 202, 7729, 17865, 4666, 272, 4666, 273, 15499, 1179, 18, 4619, 17865, 12, 87, 548, 1769, 1082, 202, 7729, 279, 273, 272, 4666, 18, 588, 7729, 5621, 1082, 202, 474, 23170, 14571, 323, 273, 279, 18, 588, 1350, 7675, 588, 559, 951, 14571, 323, 5621, 1082, 202, 430, 16051, 1918, 14571, 323, 13, 1082, 202, 95, 9506, 202, 759, 1158, 7324, 810, 3577, 364, 326, 2887, 17, 3994, 1177, 434, 6661, 5226, 9506, 202, 87, 4666, 18, 542, 14571, 785, 12, 3767, 1769, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7324, 67, 12684, 67, 3482, 12, 1997, 751, 501, 16, 514, 7324, 1895, 13, 202, 95, 202, 202, 2157, 1119, 919, 273, 14015, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 18566, 2157, 1119, 12443, 12, 46, 2413, 5868, 1997, 751, 13, 501, 2934, 588, 8382, 67, 347, 350, 10663, 202, 202, 6494, 598, 14571, 323, 273, 919, 18, 588, 1499, 12, 9147, 67, 24554, 26463, 13, 480, 446, 692, 14015, 5507, 13, 919, 18, 588, 1499, 12, 9147, 67, 24554, 26463, 13, 2934, 6494, 620, 13332, 629, 31, 202, 202, 780, 25816, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 24554, 1639, 67, 8362, 15566, 67, 8362, 15566, 67, 734, 1769, 202, 2 ]
throw new ShouldNotImplement(Util.bind("constant.cannotConvertedTo", typeName(), "String"));
throw new ShouldNotImplement(Messages.bind(Messages.constant_cannotConvertedTo, new String[] { typeName(), "String" }));
public String stringValue() { throw new ShouldNotImplement(Util.bind("constant.cannotConvertedTo", typeName(), "String")); //$NON-NLS-1$ //$NON-NLS-2$ }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/663ec6c2eb68be77ac5a9531885836701530934d/Constant.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/Constant.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 19721, 1435, 288, 202, 202, 12849, 394, 9363, 1248, 5726, 12, 5058, 18, 4376, 12, 5058, 18, 14384, 67, 12892, 22063, 774, 16, 394, 514, 8526, 288, 8173, 9334, 315, 780, 6, 289, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 19721, 1435, 288, 202, 202, 12849, 394, 9363, 1248, 5726, 12, 5058, 18, 4376, 12, 5058, 18, 14384, 67, 12892, 22063, 774, 16, 394, 514, 8526, 288, 8173, 9334, 315, 780, 6, 289, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"yuyutsava-\u1E25", "m\u0101mak\u0101-\u1E25",
"yuyutsava\u1E25", "m\u0101mak\u0101\u1E25",
public void TestSanskritLatinRT(){ int MAX_LEN =15; String[] source = { "rmk\u1E63\u0113t", "\u015Br\u012Bmad", "bhagavadg\u012Bt\u0101", "adhy\u0101ya", "arjuna", "vi\u1E63\u0101da", "y\u014Dga", "dhr\u0325tar\u0101\u1E63\u1E6Dra", "uv\u0101cr\u0325a", "dharmak\u1E63\u0113tr\u0113", "kuruk\u1E63\u0113tr\u0113", "samav\u0113t\u0101", "yuyutsava-\u1E25", "m\u0101mak\u0101-\u1E25", // "p\u0101\u1E47\u1E0Dav\u0101\u015Bcaiva", "kimakurvata", "san\u0304java", }; String[] expected = { "\u0930\u094D\u092E\u094D\u0915\u094D\u0937\u0947\u0924\u094D", "\u0936\u094d\u0930\u0940\u092e\u0926\u094d", "\u092d\u0917\u0935\u0926\u094d\u0917\u0940\u0924\u093e", "\u0905\u0927\u094d\u092f\u093e\u092f", "\u0905\u0930\u094d\u091c\u0941\u0928", "\u0935\u093f\u0937\u093e\u0926", "\u092f\u094b\u0917", "\u0927\u0943\u0924\u0930\u093e\u0937\u094d\u091f\u094d\u0930", "\u0909\u0935\u093E\u091A\u0943", "\u0927\u0930\u094d\u092e\u0915\u094d\u0937\u0947\u0924\u094d\u0930\u0947", "\u0915\u0941\u0930\u0941\u0915\u094d\u0937\u0947\u0924\u094d\u0930\u0947", "\u0938\u092e\u0935\u0947\u0924\u093e", "\u092f\u0941\u092f\u0941\u0924\u094d\u0938\u0935\u0903", "\u092e\u093e\u092e\u0915\u093e\u0903", //"\u092a\u093e\u0923\u094d\u0921\u0935\u093e\u0936\u094d\u091a\u0948\u0935", "\u0915\u093f\u092e\u0915\u0941\u0930\u094d\u0935\u0924", "\u0938\u0902\u091c\u0935", }; Transliterator latinToDev=Transliterator.getInstance("Latin-Devanagari", Transliterator.FORWARD); Transliterator devToLatin=Transliterator.getInstance("Devanagari-Latin", Transliterator.FORWARD); String gotResult; for(int i= 0; i<MAX_LEN; i++){ gotResult = source[i]; expect(latinToDev,(source[i]),(expected[i])); expect(devToLatin,(expected[i]),(source[i])); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/405c5e9c91a6e62deeb0498997f8c5669efe5f0a/TransliteratorTest.java/buggy/icu4j/src/com/ibm/icu/dev/test/translit/TransliteratorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 225, 7766, 55, 634, 79, 583, 6607, 267, 12185, 1435, 95, 3639, 509, 4552, 67, 13017, 273, 3600, 31, 3639, 514, 8526, 225, 1084, 273, 288, 5411, 315, 8864, 79, 64, 89, 21, 41, 4449, 64, 89, 1611, 3437, 88, 3113, 5411, 1548, 89, 1611, 25, 19114, 64, 89, 1611, 22, 38, 81, 361, 3113, 5411, 315, 70, 76, 346, 842, 361, 75, 64, 89, 1611, 22, 38, 88, 64, 89, 1611, 1611, 3113, 5411, 315, 361, 18112, 64, 89, 1611, 1611, 93, 69, 3113, 5411, 315, 297, 78, 31172, 3113, 5411, 315, 522, 64, 89, 21, 41, 4449, 64, 89, 1611, 1611, 2414, 3113, 5411, 315, 93, 64, 89, 1611, 24, 40, 15833, 3113, 5411, 315, 72, 7256, 64, 89, 20, 1578, 25, 11718, 64, 89, 1611, 1611, 64, 89, 21, 41, 4449, 64, 89, 21, 41, 26, 40, 354, 3113, 5411, 315, 16303, 64, 89, 1611, 1611, 3353, 64, 89, 20, 1578, 25, 69, 3113, 5411, 315, 19153, 4610, 581, 64, 89, 21, 41, 4449, 64, 89, 1611, 3437, 313, 64, 89, 1611, 3437, 3113, 5411, 315, 79, 295, 19445, 64, 89, 21, 41, 4449, 64, 89, 1611, 3437, 313, 64, 89, 1611, 3437, 3113, 5411, 315, 20353, 842, 64, 89, 1611, 3437, 88, 64, 89, 1611, 1611, 3113, 5411, 315, 93, 9835, 12940, 1629, 6943, 89, 21, 41, 2947, 3113, 5411, 315, 81, 64, 89, 1611, 1611, 81, 581, 64, 89, 1611, 1611, 6943, 89, 21, 41, 2947, 3113, 3639, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 225, 7766, 55, 634, 79, 583, 6607, 267, 12185, 1435, 95, 3639, 509, 4552, 67, 13017, 273, 3600, 31, 3639, 514, 8526, 225, 1084, 273, 288, 5411, 315, 8864, 79, 64, 89, 21, 41, 4449, 64, 89, 1611, 3437, 88, 3113, 5411, 1548, 89, 1611, 25, 19114, 64, 89, 1611, 22, 38, 81, 361, 3113, 5411, 315, 70, 76, 346, 842, 361, 75, 64, 89, 1611, 22, 38, 88, 64, 89, 1611, 1611, 3113, 5411, 315, 361, 18112, 64, 89, 1611, 1611, 93, 69, 3113, 5411, 315, 297, 78, 31172, 3113, 5411, 315, 522, 64, 89, 21, 41, 4449, 64, 89, 1611, 1611, 2414, 3113, 5411, 315, 93, 64, 89, 1611, 24, 40, 15833, 3113, 5411, 2 ]
if (rs.next()) { layoutId = rs.getInt(1); if (rs.wasNull()) { layoutId = 0;
PreparedStatement pstmt = con.prepareStatement(query); try { LogService.log(LogService.DEBUG, "RDBMUserLayoutStore::getLayoutID(userId=" + userId + ", profileId=" + profileId + " ): " + query); pstmt.setInt(1, userId); pstmt.setInt(2, profileId); ResultSet rs = pstmt.executeQuery(); try { if (rs.next()) { layoutId = rs.getInt(1); if (rs.wasNull()) { layoutId = 0; } }
private int getLayoutID(int userId, int profileId) throws SQLException { String query = "SELECT LAYOUT_ID " + "FROM UP_USER_PROFILE " + "WHERE USER_ID=? AND PROFILE_ID=?"; Connection con = RDBMServices.getConnection(); PreparedStatement pstmt = con.prepareStatement(query); LogService.log(LogService.DEBUG, "RDBMUserLayoutStore::getLayoutID(userId=" + userId + ", profileId=" + profileId + " ): " + query); pstmt.setInt(1, userId); pstmt.setInt(2, profileId); ResultSet rs = pstmt.executeQuery(); int layoutId = 0; try { if (rs.next()) { layoutId = rs.getInt(1); if (rs.wasNull()) { layoutId = 0; } } } finally { rs.close(); } return layoutId; }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/d500d35accd8372052d9a6f8c177a8054d61c39a/RDBMUserLayoutStore.java/clean/source/org/jasig/portal/RDBMUserLayoutStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 17670, 734, 12, 474, 6249, 16, 509, 25903, 13, 1216, 6483, 288, 1377, 514, 843, 273, 1850, 315, 4803, 25239, 5069, 67, 734, 315, 397, 1850, 315, 11249, 7376, 67, 4714, 67, 22462, 315, 397, 1850, 315, 12299, 7443, 67, 734, 17282, 4116, 4629, 3776, 67, 734, 25501, 31, 1377, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 1377, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 12, 2271, 1769, 1377, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 315, 54, 2290, 49, 1299, 3744, 2257, 2866, 588, 3744, 734, 12, 18991, 1546, 397, 6249, 397, 3104, 25903, 1546, 397, 25903, 397, 315, 262, 30, 315, 397, 843, 1769, 1377, 293, 10589, 18, 542, 1702, 12, 21, 16, 6249, 1769, 1377, 293, 10589, 18, 542, 1702, 12, 22, 16, 25903, 1769, 1377, 10842, 3597, 273, 293, 10589, 18, 8837, 1138, 5621, 1377, 509, 3511, 548, 273, 374, 31, 1377, 775, 288, 1850, 309, 261, 5453, 18, 4285, 10756, 288, 2868, 3511, 548, 273, 3597, 18, 588, 1702, 12, 21, 1769, 2868, 309, 261, 5453, 18, 17416, 2041, 10756, 288, 5375, 3511, 548, 273, 374, 31, 2868, 289, 1850, 289, 1377, 289, 1377, 3095, 288, 1850, 3597, 18, 4412, 5621, 1377, 289, 1377, 327, 3511, 548, 31, 225, 289, 282, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 17670, 734, 12, 474, 6249, 16, 509, 25903, 13, 1216, 6483, 288, 1377, 514, 843, 273, 1850, 315, 4803, 25239, 5069, 67, 734, 315, 397, 1850, 315, 11249, 7376, 67, 4714, 67, 22462, 315, 397, 1850, 315, 12299, 7443, 67, 734, 17282, 4116, 4629, 3776, 67, 734, 25501, 31, 1377, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 1377, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 12, 2271, 1769, 1377, 1827, 1179, 18, 1330, 12, 1343, 1179, 18, 9394, 16, 315, 54, 2290, 49, 1299, 3744, 2257, 2866, 588, 3744, 734, 12, 18991, 1546, 397, 6249, 397, 3104, 25903, 1546, 397, 25903, 397, 315, 262, 30, 315, 397, 843, 1769, 1377, 293, 2 ]
int weeks = (int)(l / (7*24*60*60));
int weeks = (int)(l / ((long)7*24*60*60*1000));
public static String formatTime(long timeInterval, int maxTerms) { StringBuffer sb = new StringBuffer(64); long l = timeInterval / 1000; // ms -> s int termCount = 0; // int weeks = (int)(l / (7*24*60*60)); if (weeks > 0) { sb.append(weeks + "w"); termCount++; l = l - (weeks * (7*24*60*60)); } // int days = (int)(l / (24*60*60)); if (days > 0) { sb.append(days + "d"); termCount++; l = l - (days * (24*60*60)); } if(termCount >= maxTerms) { return sb.toString(); } // int hours = (int)(l / (60*60)); if (hours > 0) { sb.append(hours + "h"); termCount++; l = l - (hours * (60*60)); } if(termCount >= maxTerms) { return sb.toString(); } // int minutes = (int)(l / 60); if (minutes > 0) { sb.append(minutes + "m"); termCount++; l = l - (minutes * 60); } if(termCount >= maxTerms) { return sb.toString(); } // sb.append(l + "s"); return sb.toString(); }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/e3e1385af7111953dc0be72e3d64baca37a22231/TimeUtil.java/buggy/src/freenet/support/TimeUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 740, 950, 12, 5748, 813, 4006, 16, 509, 943, 11673, 13, 288, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 1105, 1769, 202, 202, 5748, 328, 273, 813, 4006, 342, 4336, 31, 225, 368, 4086, 317, 272, 202, 202, 474, 2481, 1380, 273, 374, 31, 202, 202, 759, 202, 202, 474, 17314, 273, 261, 474, 21433, 80, 342, 261, 27, 14, 3247, 14, 4848, 14, 4848, 10019, 202, 202, 430, 261, 10741, 87, 405, 374, 13, 288, 1082, 225, 2393, 18, 6923, 12, 10741, 87, 397, 315, 91, 8863, 1082, 225, 2481, 1380, 9904, 31, 1082, 225, 328, 273, 328, 300, 261, 10741, 87, 380, 261, 27, 14, 3247, 14, 4848, 14, 4848, 10019, 202, 202, 97, 202, 202, 759, 202, 202, 474, 4681, 273, 261, 474, 21433, 80, 342, 261, 3247, 14, 4848, 14, 4848, 10019, 202, 202, 430, 261, 9810, 405, 374, 13, 288, 1082, 225, 2393, 18, 6923, 12, 9810, 397, 315, 72, 8863, 1082, 225, 2481, 1380, 9904, 31, 1082, 225, 328, 273, 328, 300, 261, 9810, 380, 261, 3247, 14, 4848, 14, 4848, 10019, 202, 202, 97, 202, 202, 430, 12, 6408, 1380, 1545, 943, 11673, 13, 288, 1082, 225, 327, 2393, 18, 10492, 5621, 202, 202, 97, 202, 202, 759, 202, 202, 474, 7507, 273, 261, 474, 21433, 80, 342, 261, 4848, 14, 4848, 10019, 202, 202, 430, 261, 16814, 405, 374, 13, 288, 1082, 225, 2393, 18, 6923, 12, 16814, 397, 315, 76, 8863, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 740, 950, 12, 5748, 813, 4006, 16, 509, 943, 11673, 13, 288, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 1105, 1769, 202, 202, 5748, 328, 273, 813, 4006, 342, 4336, 31, 225, 368, 4086, 317, 272, 202, 202, 474, 2481, 1380, 273, 374, 31, 202, 202, 759, 202, 202, 474, 17314, 273, 261, 474, 21433, 80, 342, 261, 27, 14, 3247, 14, 4848, 14, 4848, 10019, 202, 202, 430, 261, 10741, 87, 405, 374, 13, 288, 1082, 225, 2393, 18, 6923, 12, 10741, 87, 397, 315, 91, 8863, 1082, 225, 2481, 1380, 9904, 31, 1082, 225, 328, 273, 328, 300, 261, 10741, 87, 380, 261, 27, 14, 3247, 14, 4848, 14, 4848, 2 ]
if ( LA25_202=='r' ) {return s338;}
if ( LA25_202=='t' ) {return s338;}
public DFA.State transition(IntStream input) throws RecognitionException { int LA25_202 = input.LA(1); if ( LA25_202=='r' ) {return s338;} return s45; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2947, 67, 18212, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2947, 67, 18212, 18920, 88, 11, 262, 288, 2463, 272, 3707, 28, 31, 97, 7734, 327, 272, 7950, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2947, 67, 18212, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2947, 67, 18212, 18920, 88, 11, 262, 288, 2463, 272, 3707, 28, 31, 97, 7734, 327, 272, 7950, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Style.MAP_RULES_PROP );
IStyleModel.MAP_RULES_PROP );
protected AbstractParseState generalJumpTo( ) { if ( ( element instanceof TextDataItem ) && "contentTypeExpr".equalsIgnoreCase( name ) ) //$NON-NLS-1$ { CompatibleRenamedPropertyState state = new CompatibleRenamedPropertyState( handler, element, "contentTypeExpr" ); //$NON-NLS-1$ state.setName( TextDataItem.CONTENT_TYPE_PROP ); return state; } if ( "mapTestExpr".equalsIgnoreCase( name ) ) //$NON-NLS-1$ return new CompatibleTestExpreState( handler, element, Style.MAP_RULES_PROP ); return super.generalJumpTo( ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d802c33711e0d111551ae23575895cd060f085b6/ExpressionState.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ExpressionState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4115, 3201, 1119, 7470, 26743, 774, 12, 262, 202, 95, 202, 202, 430, 261, 261, 930, 1276, 3867, 29903, 262, 9506, 202, 10, 10, 315, 22194, 4742, 9654, 14963, 5556, 12, 508, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 14599, 16290, 2808, 1396, 1119, 919, 273, 394, 5427, 8161, 16290, 2808, 1396, 1119, 12, 6862, 202, 4176, 16, 930, 16, 315, 22194, 4742, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2019, 18, 542, 461, 12, 3867, 29903, 18, 9689, 67, 2399, 67, 15811, 11272, 1082, 202, 2463, 919, 31, 202, 202, 97, 202, 202, 430, 261, 315, 1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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4115, 3201, 1119, 7470, 26743, 774, 12, 262, 202, 95, 202, 202, 430, 261, 261, 930, 1276, 3867, 29903, 262, 9506, 202, 10, 10, 315, 22194, 4742, 9654, 14963, 5556, 12, 508, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 14599, 16290, 2808, 1396, 1119, 919, 273, 394, 5427, 8161, 16290, 2808, 1396, 1119, 12, 6862, 202, 4176, 16, 930, 16, 315, 22194, 4742, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2019, 18, 542, 461, 12, 3867, 29903, 18, 9689, 67, 2399, 67, 15811, 11272, 1082, 202, 2463, 919, 31, 202, 202, 97, 202, 202, 430, 261, 315, 1458, 4709, 4742, 9654, 14963, 5556, 12, 508, 2 ]
return null;
return new String[] { getName() };
public String[] getQualifiedName() { // TODO Auto-generated method stub return null; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a31d84767bb95739414cadf6c6fbd8b340d68471/CPPTemplateParameter.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPTemplateParameter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 26661, 1435, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 26661, 1435, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void runningGoals( ContinuumBuild build );
void runningGoals( ContinuumProject project, ContinuumBuild build );
void runningGoals( ContinuumBuild build );
48499 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48499/6fcf7170825af3b22428c760039ee2c2934374a8/ContinuumNotificationDispatcher.java/buggy/continuum-core/src/main/java/org/apache/maven/continuum/notification/ContinuumNotificationDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3549, 5741, 1031, 12, 1816, 6860, 379, 3116, 1361, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3549, 5741, 1031, 12, 1816, 6860, 379, 3116, 1361, 11272, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
calculateWidthColumn(jTable1); }
private void setInputLisener() { getKeyBoardManager(); jTable1.addFocusListener(new FocusListener() { public void focusGained(FocusEvent e) { try { if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { ((docLineTableModel) jTable1.getModel()).enableCellEditable(0); // za tyrsene po ime ((docLineTableModel) jTable1.getModel()).enableCellEditable(1); } System.out.println("focusGained"); } catch(Exception ex){System.out.println("Error focusGained");}; } public void focusLost(FocusEvent e) { } }); jTable1.addMouseListener(new MouseListener() { public void mouseClicked(MouseEvent e) { int rowSelect = jTable1.getSelectedRow(); changeColumnName(5,(String)jTable1.getValueAt(rowSelect,13),jTable1); changeColumnName(6,(String)jTable1.getValueAt(rowSelect,14),jTable1); changeColumnName(7,(String)jTable1.getValueAt(rowSelect,15),jTable1); if((Integer)jTable1.getValueAt(rowSelect,0)>0 & (Integer)jTable1.getValueAt(rowSelect,2)>0 & (Integer)jTable1.getValueAt(rowSelect,4)>0 ) { // set data for rowSelect docLine myParent.setID_PC((Integer)jTable1.getValueAt(rowSelect,16)); myParent.setPriceList((Integer)jTable1.getValueAt(rowSelect,3)); double tmpPrList[] = new double[5]; tmpPrList[0]= (Double)jTable1.getValueAt(rowSelect,18); tmpPrList[1]=(Double)jTable1.getValueAt(rowSelect,19); tmpPrList[2]=(Double)jTable1.getValueAt(rowSelect,20); tmpPrList[3]=1.0; tmpPrList[4]=(Double)jTable1.getValueAt(rowSelect,17); // dostavna cena myParent.setWorkPriceListProduct(tmpPrList); myParent.setBrojProduct((Integer)jTable1.getValueAt(rowSelect,4)); productDescription_1 = (Integer)jTable1.getValueAt(rowSelect,21); productDescription_2 = (Integer)jTable1.getValueAt(rowSelect,22); productDescription_3 = (Integer)jTable1.getValueAt(rowSelect,23); myParent.setPriceOneProduct(((Double)jTable1.getValueAt(rowSelect,8))); isProductIN = checkInOutProduct(myParent.getDocFacadeType()); if(isProductIN) { jLabel32.setText("0"); jLabelPricelist_1.setText("\u0426\u0435\u043d\u0430 1"); jLabelPricelist_2.setText("\u0426\u0435\u043d\u0430 2"); jLabelPrice_1.setText(""); jLabelPrice_2.setText(""); } else { jLabelPricelist_1.setText("\u0426\u0435\u043d\u0430 "+String.valueOf(calculatePriceList(myParent.getPriceList())[0])); //???? jLabelPricelist_2.setText("\u0426\u0435\u043d\u0430 "+String.valueOf(calculatePriceList(myParent.getPriceList())[1])); //??? jLabelPrice_1.setText(String.valueOf(myParent.getWorkPriceListProduct()[calculatePriceList(myParent.getPriceList())[0]-1])); //??? jLabelPrice_2.setText(String.valueOf(myParent.getWorkPriceListProduct()[calculatePriceList(myParent.getPriceList())[1]-1])); //??? Double curs = myParent.getWorkPriceListProduct()[3]; //???? jLabelValuta.setText(myParent.getCountriesT().getValutaByID(curs.intValue())); } calculateWidthColumn(jTable1); } } public void mouseEntered(MouseEvent e) { } public void mouseExited(MouseEvent e) { } public void mousePressed(MouseEvent e) { } public void mouseReleased(MouseEvent e) { } }); jTable1.addKeyListener(new KeyListener() { public void keyPressed(KeyEvent e) { columnSelect = jTable1.getSelectedColumn(); rowSelect = jTable1.getSelectedRow(); if(e.getKeyCode()== KeyEvent.VK_UP) // selektira teksta v kletkata { changeColumnName(5,(String)jTable1.getValueAt(rowSelect,13),jTable1); changeColumnName(6,(String)jTable1.getValueAt(rowSelect,14),jTable1); changeColumnName(7,(String)jTable1.getValueAt(rowSelect,15),jTable1); } if(e.getKeyCode()== KeyEvent.VK_DOWN) // selektira teksta v kletkata { changeColumnName(5,(String)jTable1.getValueAt(rowSelect,13),jTable1); changeColumnName(6,(String)jTable1.getValueAt(rowSelect,14),jTable1); changeColumnName(7,(String)jTable1.getValueAt(rowSelect,15),jTable1); } // if(e.getKeyCode()>=48 && e.getKeyCode()<=57) str += e.getKeyChar(); // samo 4isla if(true) str += e.getKeyChar(); // vsiki znaci if(!isTyped) { Object value = jTable1.getCellEditor(rowSelect,columnSelect).getCellEditorValue(); Component com = jTable1.getCellEditor(rowSelect,columnSelect).getTableCellEditorComponent(jTable1,value,true,rowSelect,columnSelect); JTextField ff = (JTextField) com; ff.setBackground(Color.RED); ff.selectAll(); System.out.println(" >>>>>>>>>>>.. "+ff.getText()); } isTyped = true; System.out.println("===============keyPressed===================="); System.out.print("jTable1.getSelectedRow: "); System.out.println(jTable1.getSelectedRow()); System.out.print("jTable1.getSelectedColumn: "); System.out.println(jTable1.getSelectedColumn()); System.out.println("================keyPressed==================="); if(e.getKeyCode()== KeyEvent.VK_DELETE) // selektira teksta v kletkata { // Object value = jTable1.getCellEditor(rowSelect,columnSelect).getCellEditorValue(); // Component com = jTable1.getCellEditor(rowSelect,columnSelect).getTableCellEditorComponent(jTable1,value,true,rowSelect,columnSelect); // JTextField ff = (JTextField) com; // ff.selectAll(); // System.out.println(" >>>>>>>>>>>.. "+ff.getText()); isTyped = false; str=" "; } if(e.getKeyCode()== KeyEvent.VK_ENTER) { System.out.println("===========KeyEvent.VK_ENTER================"); System.out.print("jTable1.getSelectedRow: "); System.out.println(rowSelect); System.out.print("jTable1.getSelectedColumn: "); System.out.println(columnSelect); System.out.println("===========KeyEvent.VK_ENTER================"); if(columnSelect == 0) { // popylvat se drugite stoinosti na doc line isFinishRow = false; if(isProductIN) { ((docLineTableModel) jTable1.getModel()).enableCellEditable(4); ((docLineTableModel) jTable1.getModel()).enableCellEditable(5); ((docLineTableModel) jTable1.getModel()).enableCellEditable(6); ((docLineTableModel) jTable1.getModel()).enableCellEditable(7); } else { ((docLineTableModel) jTable1.getModel()).enableCellEditable(3); ((docLineTableModel) jTable1.getModel()).enableCellEditable(4); ((docLineTableModel) jTable1.getModel()).enableCellEditable(5); ((docLineTableModel) jTable1.getModel()).enableCellEditable(6); ((docLineTableModel) jTable1.getModel()).enableCellEditable(7); ((docLineTableModel) jTable1.getModel()).enableCellEditable(8); ((docLineTableModel) jTable1.getModel()).enableCellEditable(9); } } if(columnSelect == 1) // ime na produkta { isFinishRow = false; if(isProductIN) { ((docLineTableModel) jTable1.getModel()).enableCellEditable(4); ((docLineTableModel) jTable1.getModel()).enableCellEditable(5); ((docLineTableModel) jTable1.getModel()).enableCellEditable(6); ((docLineTableModel) jTable1.getModel()).enableCellEditable(7); } else { ((docLineTableModel) jTable1.getModel()).enableCellEditable(3); ((docLineTableModel) jTable1.getModel()).enableCellEditable(4); ((docLineTableModel) jTable1.getModel()).enableCellEditable(5); ((docLineTableModel) jTable1.getModel()).enableCellEditable(6); ((docLineTableModel) jTable1.getModel()).enableCellEditable(7); ((docLineTableModel) jTable1.getModel()).enableCellEditable(8); ((docLineTableModel) jTable1.getModel()).enableCellEditable(9); } } if(columnSelect == 3) // cenova lista { /* ((docLineTableModel) jTable1.getModel()).enableCellEditable(4); ((docLineTableModel) jTable1.getModel()).enableCellEditable(5); ((docLineTableModel) jTable1.getModel()).enableCellEditable(6); ((docLineTableModel) jTable1.getModel()).enableCellEditable(7);*/ if(myParent.getDocFacadeType()==OFERTA) { try { Robot robot = new Robot(); robot.keyPress(KeyEvent.VK_ENTER); robot.keyPress(KeyEvent.VK_ENTER); robot.keyPress(KeyEvent.VK_ENTER); robot.keyPress(KeyEvent.VK_ENTER); } catch (AWTException e12){} } } if(columnSelect == 4) // { } if(columnSelect == 5) // { } if(columnSelect == 7) { /* ((docLineTableModel) jTable1.getModel()).enableCellEditable(8); ((docLineTableModel) jTable1.getModel()).enableCellEditable(9);*/ } if(columnSelect == 10) { System.out.println("columnSelect == 10"); if( !isFinishRow) { str=""; System.out.println("Start save data in DB"); double alldds = Double.parseDouble(jLabelAllDDS.getText()); alldds += (Double) jTable1.getValueAt(rowSelect,11)*(Double) jTable1.getValueAt(rowSelect,10)/100; // jLabelAllDDS.setText(doubleRoundToString(4,alldds)); double ddsOsnova = Double.parseDouble(jLabelDDSOsnova.getText()); ddsOsnova += (Double) jTable1.getValueAt(rowSelect,11); // jLabelDDSOsnova.setText(doubleRoundToString(4,ddsOsnova)); double allTotal = Double.parseDouble(jLabelAllTotal.getText()); allTotal = alldds+ddsOsnova; // jLabelAllTotal.setText(doubleRoundToString(4,allTotal)); System.out.println(" = "+ allTotal + "::"+doubleRoundToString(4,allTotal)); System.out.println(" = "+ alldds + "::"+doubleRoundToString(4,alldds)); System.out.println(" = "+ ddsOsnova + "::" + doubleRoundToString(4,ddsOsnova)); calculateTotalPriceForDocument(); jTable1.setValueAt(true,jTable1.getSelectedRow(),24); // markirame reda - ve4e ne moze da se redaktira myParent.setPriceOneProduct((Double) jTable1.getValueAt(rowSelect,8)); myParent.setProcentProduct((Double) jTable1.getValueAt(rowSelect,9)); if(jTable1.getSelectedRow()==(jTable1.getRowCount() - 1)) // pri polovfenie 4e reda e posleden { int i = 0; System.out.println("IF ROW IS LAST"); i = jTable1.getSelectedRow(); ((docLineTableModel)jTable1.getModel()).setDefaultCellEditable(); // ((docLineTableModel)jTable1.getModel()).setIsFinishToEnterData(i); // markirame reda kato priklu4en s vyvezdaneto ((docLineTableModel)jTable1.getModel()).addRow(new docLineArray()); jTable1.changeSelection(i+1,-1,false,false); System.out.println("changeSelection"); ((docLineTableModel) jTable1.getModel()).enableCellEditable(0); //za tyrsene po ime ((docLineTableModel) jTable1.getModel()).enableCellEditable(1); // Save DocLine into DATABASE int nn = (Integer)jTable1.getValueAt(rowSelect,4); int prList =(Integer)jTable1.getValueAt(rowSelect,3); double dds =(Double)jTable1.getValueAt(rowSelect,10); double total = (Double)jTable1.getValueAt(rowSelect,11); // int tmpProductNumbers = myParent.getCountriesT().checkForEnoughProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getDocFacadeLevel()); if(true) {// PRIEMATELNA_RAZPISKA - IN produkt if(myParent.getDocFacadeType()==PRIEMATELNA_RAZPISKA || myParent.getDocFacadeType()==RAZPISKA_ZA_VRYSHTANE ) { if(isNew) { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //vry5tane na prodikta v tablicata s nali4nosti setNNReturnProduct(nn);//========================================== } else { int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d =null; int oldNumberProduct = 0; for(int j=0; j < rows.size();j++) { d = (docLineArray) rows.get(j); if(id_dl==d.getID_DocLine()) { oldNumberProduct = d.getNumberOfProduct(); break; } } if(newNumberProduct > oldNumberProduct) { // myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(newNumberProduct-oldNumberProduct),myParent.getDocFacadeLevel()); setNNReturnProduct(newNumberProduct-oldNumberProduct); } else { // myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(oldNumberProduct-newNumberProduct ),myParent.getDocFacadeLevel()); setNNPreserveProducts(oldNumberProduct-newNumberProduct); } if(oldNumberProduct>0) { myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } } else//NAREZDANE_ZA_PREHVYRQNE if(myParent.getDocFacadeType()==NAREZDANE_ZA_PREHVYRQNE) { int storageTO = myParent.getStorageOUTProduct(); if(!isNew) { //vzimane na razlikata ot tablicata za DocLine i redaktiranite broiki ot jTable1 // vry6tane na razlikata ako ima takava ili zapazvane na brojkite int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d =null; int oldNumberProduct = 0; for(int j=0; j < rows.size();j++) { d = (docLineArray) rows.get(j); if(id_dl==d.getID_DocLine()) { oldNumberProduct = d.getNumberOfProduct(); break; } } if(true) //newNumberProduct<tmpProductNumbers { if(newNumberProduct > oldNumberProduct ) { myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(newNumberProduct - oldNumberProduct),myParent.getDocFacadeLevel()); }else { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(oldNumberProduct-newNumberProduct ),myParent.getDocFacadeLevel()); } if(oldNumberProduct>0) { myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), storageTO,myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } else // nqma dostaty4ni koli4etvo ot produkta { ((docLineTableModel) jTable1.getModel()).removeRow(rowSelect) ; ((docLineTableModel)jTable1.getModel()).addRow(new docLineArray()); } } else // ako dokumenta e nov { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //zapazvane na prodikta v tablicata s nali4nosti myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,myParent.getDocFacadeLevel()); } } else//!PROFORMA_FAKTURA ili OFETRA if(myParent.getDocFacadeType()!=PROFORMA_FAKTURA && myParent.getDocFacadeType()!=OFERTA) { int storageTO = myParent.getStorageOUTProduct(); if(!isNew) { //vzimane na razlikata ot tablicata za DocLine i redaktiranite broiki ot jTable1 // vry6tane na razlikata ako ima takava ili zapazvane na brojkite int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d =null; int oldNumberProduct = 0; for(int j=0; j < rows.size();j++) { d = (docLineArray) rows.get(j); if(id_dl==d.getID_DocLine()) { oldNumberProduct = d.getNumberOfProduct(); break; } } if(true) //newNumberProduct<tmpProductNumbers { if(newNumberProduct > oldNumberProduct ) { myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(newNumberProduct - oldNumberProduct),myParent.getDocFacadeLevel()); }else { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(oldNumberProduct-newNumberProduct ),myParent.getDocFacadeLevel()); } if(oldNumberProduct>0) { double newPrice1 = (Double) jTable1.getValueAt(rowSelect,8); double newPP1 = (Double) jTable1.getValueAt(rowSelect,9); myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), storageTO,newPrice1, newPP1,newNumberProduct,dds,total,prList); } else { double newPrice1 = (Double) jTable1.getValueAt(rowSelect,8); double newPP1 = (Double) jTable1.getValueAt(rowSelect,9); myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,newPrice1, newPP1,newNumberProduct,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } else // nqma dostaty4ni koli4etvo ot produkta { ((docLineTableModel) jTable1.getModel()).removeRow(rowSelect) ; ((docLineTableModel)jTable1.getModel()).addRow(new docLineArray()); } } else // ako dokumenta e nov { double newPrice1 = (Double) jTable1.getValueAt(rowSelect,8); double newPP1 = (Double) jTable1.getValueAt(rowSelect,9); myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,newPrice1, newPP1,nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //zapazvane na prodikta v tablicata s nali4nosti myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,myParent.getDocFacadeLevel()); } }// ==POFORMA_FAKTURA ili OFERTA else // ako dokumenta e POFORMA_FAKTURA ili OFERTA if(myParent.getDocFacadeType()==PROFORMA_FAKTURA || myParent.getDocFacadeType()==OFERTA){ if(!isNew) { int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d = (docLineArray) rows.get(rowSelect); myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } } else { ((docLineTableModel) jTable1.getModel()).removeRow(rowSelect); if(rowSelect==0) { ((docLineTableModel) jTable1.getModel()).addRow(new docLineArray()); } } isSetDataInTable = false; } if(jTable1.getSelectedRow()!=(jTable1.getRowCount() - 1)) // pri polovenie 4e reda ne e posleden { int i = 0; System.out.println("IF ROW IS`N LAST!!"); i = jTable1.getSelectedRow(); //((docLineTableModel)jTable1.getModel()).setDefaultCellEditable(); ((docLineTableModel)jTable1.getModel()).setIsFinishToEnterData(i); jTable1.setValueAt(true,jTable1.getSelectedRow(),24); // markirame reda - ve4e ne moze da se redaktira //((docLineTableModel)jTable1.getModel()).addRow(new docLineArray()); jTable1.changeSelection(i+1,0,false,false); System.out.println("changeSelection"); //((docLineTableModel) jTable1.getModel()).enableCellEditable(0); // Save DocLine into DATABASE int nn = (Integer)jTable1.getValueAt(rowSelect,4); int prList =(Integer)jTable1.getValueAt(rowSelect,3); double dds =(Double)jTable1.getValueAt(rowSelect,10); double total = (Double)jTable1.getValueAt(rowSelect,11); // int tmp = myParent.getCountriesT().checkForEnoughProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getDocFacadeLevel()); if(true) //nn<=tmp {// PRIEMATELNA_RAZPISKA - IN produkt if(myParent.getDocFacadeType()==PRIEMATELNA_RAZPISKA || myParent.getDocFacadeType()==RAZPISKA_ZA_VRYSHTANE) { if(isNew) { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //vry5tane na prodikta v tablicata s nali4nosti //================================= int levelForNali4nost=0; int emulateLevel=2; boolean isLevelOne=false; switch(myParent.getDocFacadeLevel()) { case 2 : { levelForNali4nost =0; emulateLevel=2; break; } case 3 : { levelForNali4nost =1; emulateLevel=3; break; } case 1 : { levelForNali4nost =0; isLevelOne=true; emulateLevel=2; break; } } int id_nal = myParent.getCountriesT().searchForNamlichnost(myParent.getID_PC(),myParent.getStorageOUTProduct(),levelForNali4nost); if(id_nal>0) { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,emulateLevel); if(isLevelOne) { levelForNali4nost = 1; emulateLevel=3; int id_nal_tmp = myParent.getCountriesT().searchForNamlichnost(myParent.getID_PC(),myParent.getStorageOUTProduct(),levelForNali4nost); if(id_nal_tmp>0) { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,emulateLevel); } else { id_nal = myParent.getCountriesT().insertProductNal(); myParent.getCountriesT().increaseProductNal(id_nal,0,myParent.getStorageOUTProduct(),myParent.getID_PC(),levelForNali4nost); myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,emulateLevel); } } } else { id_nal = myParent.getCountriesT().insertProductNal(); myParent.getCountriesT().increaseProductNal(id_nal,0,myParent.getStorageOUTProduct(),myParent.getID_PC(),levelForNali4nost); myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,emulateLevel); if(isLevelOne) { levelForNali4nost = 1; emulateLevel=3; int id_nal_tmp = myParent.getCountriesT().searchForNamlichnost(myParent.getID_PC(),myParent.getStorageOUTProduct(),levelForNali4nost); if(id_nal_tmp>0) { // myParent.getCountriesT().increaseProductNal(id_nal_tmp,0,myParent.getStorageOUTProduct(),myParent.getID_PC(),levelForNali4nost); myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,emulateLevel); } else { id_nal = myParent.getCountriesT().insertProductNal(); myParent.getCountriesT().increaseProductNal(id_nal,0,myParent.getStorageOUTProduct(),myParent.getID_PC(),levelForNali4nost); myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,emulateLevel); } } } //================================= } else { int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d =null; int oldNumberProduct = 0; for(int j=0; j < rows.size();j++) { d = (docLineArray) rows.get(j); if(id_dl==d.getID_DocLine()) { oldNumberProduct = d.getNumberOfProduct(); break; } } if(newNumberProduct > oldNumberProduct) { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(newNumberProduct-oldNumberProduct),myParent.getDocFacadeLevel()); } else { myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(oldNumberProduct-newNumberProduct ),myParent.getDocFacadeLevel()); } if(oldNumberProduct>0) { myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } } else//NAREZDANE_ZA_PREHVYRQNE if(myParent.getDocFacadeType()==NAREZDANE_ZA_PREHVYRQNE) { int storageTO = myParent.getStorageOUTProduct(); if(isNew) { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //zapazvane na prodikta v tablicata s nali4nosti myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,myParent.getDocFacadeLevel()); } else { //vzimane na razlikata ot tablicata za DocLine i redaktiranite broiki ot jTable1 // vry6tane na razlikata ako ima takava ili zapazvane na brojkite int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d =null; int oldNumberProduct = 0; for(int j=0; j < rows.size();j++) { d = (docLineArray) rows.get(j); if(id_dl==d.getID_DocLine()) { oldNumberProduct = d.getNumberOfProduct(); break; } } if(true) //newNumberProduct<tmpProductNumbers { if(newNumberProduct > oldNumberProduct ) { myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(newNumberProduct - oldNumberProduct),myParent.getDocFacadeLevel()); }else { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(oldNumberProduct-newNumberProduct ),myParent.getDocFacadeLevel()); } if(oldNumberProduct>0) { myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), storageTO,myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } else // nqma dostaty4ni koli4etvo ot produkta { ((docLineTableModel) jTable1.getModel()).removeRow(rowSelect) ; ((docLineTableModel)jTable1.getModel()).addRow(new docLineArray()); } } } else//!PROFORMA_FAKTURA - OUT produkt if(myParent.getDocFacadeType()!=PROFORMA_FAKTURA && myParent.getDocFacadeType()!=OFERTA) { int storageTO = myParent.getStorageOUTProduct(); if(!isNew) { //vzimane na razlikata ot tablicata za DocLine i redaktiranite broiki ot jTable1 // vry6tane na razlikata ako ima takava ili zapazvane na brojkite int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d =null; int oldNumberProduct = 0; for(int j=0; j < rows.size();j++) { d = (docLineArray) rows.get(j); if(id_dl==d.getID_DocLine()) { oldNumberProduct = d.getNumberOfProduct(); break; } } // int tmpProductNumbers = myParent.getCountriesT().checkForEnoughProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getDocFacadeLevel()); if(true) //newNumberProduct<tmpProductNumbers { if(newNumberProduct > oldNumberProduct) { myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(newNumberProduct - oldNumberProduct),myParent.getDocFacadeLevel()); } else { myParent.getCountriesT().returnProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),(oldNumberProduct-newNumberProduct ),myParent.getDocFacadeLevel()); } if(oldNumberProduct>0) { myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //zapazvane na prodikta v tablicata s nali4nosti myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,myParent.getDocFacadeLevel()); } } else { ((docLineTableModel) jTable1.getModel()).removeRow(rowSelect) ; ((docLineTableModel)jTable1.getModel()).addRow(new docLineArray()); } } // end if(!isNew) else //ako dokumenta e nov { double newPrice1 = (Double) jTable1.getValueAt(rowSelect,8); double newPP1 = (Double) jTable1.getValueAt(rowSelect,9); myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),storageTO,newPrice1, newPP1,nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); //zapazvane na prodikta v tablicata s nali4nosti myParent.getCountriesT().preserveProducts(myParent.getID_PC(),myParent.getStorageOUTProduct(),nn,myParent.getDocFacadeLevel()); } } // end if(myParent.getDocFacadeType()!=PROFORMA_FAKTURA)//== POFORMA_FAKTURA ili OFERTA else // ako dokumenta e POFORMA_FAKTURA ili OFERTA if(myParent.getDocFacadeType()==PROFORMA_FAKTURA || myParent.getDocFacadeType()==OFERTA) { if(!isNew) { int id_dl = (Integer) jTable1.getValueAt(rowSelect,12); int newNumberProduct = nn; docLineArray d = (docLineArray) rows.get(rowSelect); myParent.getCountriesT().updateDocLine(id_dl,myParent.getID_DocFacade(),myParent.getID_PC(), myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),newNumberProduct,dds,total,prList); } else { myParent.getCountriesT().insertDocLine(myParent.getID_DocFacade(),myParent.getID_PC(),myParent.getStorageOUTProduct(),myParent.getPriceOneProduct(), myParent.getProcentProduct(),nn,dds,total,prList); int maxID_DocLine = myParent.getCountriesT().getMaxIdDocLine(); jTable1.setValueAt(maxID_DocLine,rowSelect,12); } } } else { ((docLineTableModel) jTable1.getModel()).removeRow(rowSelect); if(rowSelect==0) { ((docLineTableModel) jTable1.getModel()).addRow(new docLineArray()); } } isSetDataInTable = false; } } isFinishRow = true; int tmpId_dl = (Integer)jTable1.getValueAt(rowSelect,12); checkForSaveInDB.put(new Integer(tmpId_dl),new Boolean(true)); str=""; System.out.println("End procedure to save in DB"); } } if(e.getKeyCode()==KeyEvent.VK_F7) { columnSelect = jTable1.getSelectedColumn(); if(columnSelect==0) { if(str.equals("0") || str==null || str.equals("\uffff") ) {str="";} else { String tmpStr = new String(); byte by[] = str.getBytes(); for(int i=0 ; i< by.length;i++) { if(by[i]>=48 && by[i]<=57) { String b1 = String.valueOf((char)by[i]); tmpStr += b1; } } str=" "; str = tmpStr; } if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { isFinishRow = false; processKeyPress(myParent.getDocFacadeType(),F7_KEY,SEARCH_BY_CODE,4); } } if(columnSelect==1) { if(str.equals("0") || str==null || str.equals("\uffff") ) {str="";} if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24) && !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { // str=str.substring(0,str.length()-1); if(str.endsWith("\uffff")) { str = str.substring(0,str.length()-1); } str = removeCharacter(str); System.out.println("befor processKeyPress"+str); isFinishRow = false; processKeyPress(myParent.getDocFacadeType(),F7_KEY,SEARCH_BY_NAME,3); } } } if(e.getKeyCode()==KeyEvent.VK_F8) { if(str.equals("0")|| str==null) str=""; columnSelect = jTable1.getSelectedColumn(); if(columnSelect==0) { if(str.equals("0") || str==null || str.equals("\uffff") ) {str="";} else { String tmpStr = new String(); byte by[] = str.getBytes(); for(int i=0 ; i< by.length;i++) { if(by[i]>=48 && by[i]<=57) { String b1 = String.valueOf((char)by[i]); tmpStr += b1; } } str=" "; str = tmpStr; } if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24) && !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { isFinishRow = false; processKeyPress(myParent.getDocFacadeType(),F8_KEY,SEARCH_BY_CODE,4); } } if(columnSelect==1) { if(str.equals("0") || str==null || str.equals("\uffff") ) {str="";} if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { if(str.endsWith("\uffff")) { str = str.substring(0,str.length()-1); } str = removeCharacter(str); isFinishRow = false; processKeyPress(myParent.getDocFacadeType(),F8_KEY,SEARCH_BY_NAME,3); } } } if(e.getKeyCode()==KeyEvent.VK_F9) { if(str.equals("0")|| str==null) str=""; columnSelect = jTable1.getSelectedColumn(); if(columnSelect==0) { if(str.equals("0") || str==null || str.equals("\uffff") ) {str="";} else { String tmpStr = new String(); byte by[] = str.getBytes(); for(int i=0 ; i< by.length;i++) { if(by[i]>=48 && by[i]<=57) { String b1 = String.valueOf((char)by[i]); tmpStr += b1; } } str=" "; str = tmpStr; } if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { isFinishRow = false; processKeyPress(myParent.getDocFacadeType(),F9_KEY,SEARCH_BY_CODE,4); } } if(columnSelect==1) { if(str.equals("0") || str==null || str.equals("\uffff") ) {str="";} if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(jTable1.getSelectedRow())) { if(str.endsWith("\uffff")) { str = str.substring(0,str.length()-1); } str = removeCharacter(str); isFinishRow = false; processKeyPress(myParent.getDocFacadeType(),F9_KEY,SEARCH_BY_NAME,3); } } } } // end keyPressed public void keyReleased(KeyEvent e) { columnSelect = jTable1.getSelectedColumn()-1; rowSelect = jTable1.getSelectedRow(); if(e.getKeyCode()== KeyEvent.VK_ENTER) { if(columnSelect == 0) { isFinishRow = false; System.out.println("keyReleased == = == 0000"); if(!isSetDataInTable&&rate!=0) { try { str = String.valueOf(jTable1.getValueAt(rowSelect,columnSelect)); } catch(Exception ex){} if(str.equals("0")) str=""; if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(rowSelect)) processKeyPress(myParent.getDocFacadeType(),F7_KEY,SEARCH_BY_CODE,3); } } if(columnSelect == 1) { isFinishRow = false; System.out.println("keyReleased == = == 0000"); if(!isSetDataInTable&&rate!=0) { try { str = String.valueOf(jTable1.getValueAt(rowSelect,columnSelect)); } catch(Exception ex) { str = new String("0"); } if(str.equals("0")||str.equals("null")) str=""; if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !((docLineTableModel)jTable1.getModel()).getIsFinishToEnterData(rowSelect)) { System.out.println("processKeyPress - enter "+ str); if(str.endsWith("\uffff")) { str = str.substring(0,str.length()-1); } str = removeCharacter(str); System.out.println("processKeyPress - enter "+ str); processKeyPress(myParent.getDocFacadeType(),F7_KEY,SEARCH_BY_NAME,2); } } } if(columnSelect == 2 || columnSelect == 3 || columnSelect == 4 || columnSelect == 5 || columnSelect == 6 || columnSelect == 7 || columnSelect == 8 || columnSelect == 9 || columnSelect == 10) { if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)) if(!isSetDataInTable) // ako ne e minal prez formata za izbor na produkt { jTable1.changeSelection(jTable1.getSelectedRow(),0,false,false); System.out.println("Return to begin DocLine"); } } if(columnSelect == 3) // cenova lista --------------------------------------------- { int pp = (Integer) jTable1.getValueAt(rowSelect,columnSelect); double p[] = new double[3]; if(!isProductIN) { if(pp>=1 && pp <=3) { System.out.println("---------->"+String.valueOf(jTable1.getValueAt(rowSelect,columnSelect))); p = myParent.getWorkPriceListProduct(); jLabelPricelist_1.setText("\u0426\u0435\u043d\u0430 "+String.valueOf(calculatePriceList(pp)[0])); jLabelPricelist_2.setText("\u0426\u0435\u043d\u0430 "+String.valueOf(calculatePriceList(pp)[1])); jLabelPrice_1.setText(String.valueOf(myParent.getWorkPriceListProduct()[calculatePriceList(pp)[0]-1])); jLabelPrice_2.setText(String.valueOf(myParent.getWorkPriceListProduct()[calculatePriceList(pp)[1]-1]));//rate---------> jTable1.setValueAt(myParent.getWorkPriceListProduct()[pp-1]*rate,rowSelect,8); myParent.setPriceOneProduct(myParent.getWorkPriceListProduct()[pp-1]); jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct(),myParent.getBrojProduct()),jTable1.getSelectedRow(),11); } else { jTable1.setValueAt(myParent.getPriceList(),rowSelect,columnSelect); jLabelPricelist_1.setText("\u0426\u0435\u043d\u0430 "+String.valueOf(calculatePriceList(myParent.getPriceList())[0])); jLabelPricelist_2.setText("\u0426\u0435\u043d\u0430 "+String.valueOf(calculatePriceList(myParent.getPriceList())[1]));//rate ----------> jLabelPrice_1.setText(String.valueOf(myParent.getWorkPriceListProduct()[calculatePriceList(myParent.getPriceList())[0]-1]*rate)); jLabelPrice_2.setText(String.valueOf(myParent.getWorkPriceListProduct()[calculatePriceList(myParent.getPriceList())[1]-1]*rate)); } } else // produkta se vkarva v sklada, negovata cenova lista zadylzitelno trqbva da byde "0", // t.e. dostavna cena { jTable1.setValueAt(0,rowSelect,columnSelect); } /* ((docLineTableModel) jTable1.getModel()).disableCellEditable(3); ((docLineTableModel) jTable1.getModel()).enableCellEditable(4);*/ } if(columnSelect == 4) // broiki ot produkta --------------------------------------------- { int br = (Integer) jTable1.getValueAt(rowSelect,columnSelect) ; br = java.lang.Math.abs(br); if(isProductIN) { jTable1.setValueAt(calculateProductDescription(br,productDescription_2,productDescription_3)[0],jTable1.getSelectedRow(),5); jTable1.setValueAt(calculateProductDescription(br,productDescription_2,productDescription_3)[1],jTable1.getSelectedRow(),6); jTable1.setValueAt(calculateProductDescription(br,productDescription_2,productDescription_3)[2],jTable1.getSelectedRow(),7); jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct(),br),jTable1.getSelectedRow(),11); } else if(true) // br <= myParent.getBrojProduct() { jTable1.setValueAt(calculateProductDescription(br,productDescription_2,productDescription_3)[0],jTable1.getSelectedRow(),5); jTable1.setValueAt(calculateProductDescription(br,productDescription_2,productDescription_3)[1],jTable1.getSelectedRow(),6); jTable1.setValueAt(calculateProductDescription(br,productDescription_2,productDescription_3)[2],jTable1.getSelectedRow(),7); jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct(),br),jTable1.getSelectedRow(),11); } } if(columnSelect == 5) // razfasovka 1 --------------------------------------------- { isTyped = false; int rz1 = (Integer) jTable1.getValueAt(rowSelect,columnSelect); rz1 = java.lang.Math.abs(rz1); int br = (Integer) jTable1.getValueAt(rowSelect,4) ; int oldRz1 = calculateProductDescription(br,productDescription_2,productDescription_3)[0]; if(rz1<=productDescription_2) { int tmp = (rz1-oldRz1); if(isProductIN) { jTable1.setValueAt(new Integer(br+tmp),rowSelect,4);//rate-------> jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct()*rate,br+tmp),jTable1.getSelectedRow(),11); jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct(),br+tmp),jTable1.getSelectedRow(),11); } else if(true) // (br+tmp)<=myParent.getBrojProduct() { jTable1.setValueAt(new Integer(br+tmp),rowSelect,4); //rate-------> jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct()*rate,br+tmp),jTable1.getSelectedRow(),11); } else jTable1.setValueAt(new Integer(oldRz1),rowSelect,5); } else jTable1.setValueAt(new Integer(oldRz1),rowSelect,5); } if(columnSelect == 6) // razfasovka 2 --------------------------------------------- { int rz2 = (Integer) jTable1.getValueAt(rowSelect,columnSelect); rz2 = java.lang.Math.abs(rz2); int br = (Integer) jTable1.getValueAt(rowSelect,4) ; int oldRz2 = calculateProductDescription(br,productDescription_2,productDescription_3)[1]; if( rz2 <= productDescription_3 ) { int tmp = (rz2-oldRz2); tmp *= productDescription_2; if(isProductIN) { jTable1.setValueAt(new Integer(br+tmp),rowSelect,4); //rate ------> jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct()*rate,br+tmp),jTable1.getSelectedRow(),11); jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct(),br+tmp),jTable1.getSelectedRow(),11); } else if(true) // (br+tmp)<=myParent.getBrojProduct() { jTable1.setValueAt(new Integer(br+tmp),rowSelect,4); //rate ------> jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct()*rate,br+tmp),jTable1.getSelectedRow(),11); } else jTable1.setValueAt(new Integer(oldRz2),rowSelect,6); } else jTable1.setValueAt(new Integer(oldRz2),rowSelect,6); } if(columnSelect == 7) // razfasovka 3 --------------------------------------------- { int rz3 = (Integer) jTable1.getValueAt(rowSelect,columnSelect); rz3 = java.lang.Math.abs(rz3); int br = (Integer) jTable1.getValueAt(rowSelect,4) ; int oldRz3 = calculateProductDescription(br,productDescription_2,productDescription_3)[2]; int tmp = (rz3-oldRz3); tmp *= productDescription_3; if(isProductIN) { jTable1.setValueAt(new Integer(br+tmp),rowSelect,4);//rate ----->jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct()*rate,br+tmp),jTable1.getSelectedRow(),11); jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct(),br+tmp),jTable1.getSelectedRow(),11); } else if(true) // (br+tmp)<=myParent.getBrojProduct() { jTable1.setValueAt(new Integer(br+tmp),rowSelect,4);//rate -----> jTable1.setValueAt(calculateTotalPrice(myParent.getPriceOneProduct()*rate,br+tmp),jTable1.getSelectedRow(),11); } else jTable1.setValueAt(new Integer(oldRz3),rowSelect,7); } if(columnSelect == 8) // price one piece { //rate ----------> if(!isProductIN) { double newPrice = (Double)jTable1.getValueAt(rowSelect,columnSelect); int br = (Integer) jTable1.getValueAt(rowSelect,4) ; if(true) //ograni4eniq v cenata -> naprimer: (newPrice>=myParent.getPriceOneProduct()*rate) { double newPP =100-((newPrice*100)/(myParent.getPriceOneProduct()*rate)); if(newPP>0) { jTable1.setValueAt(new Double(newPP),rowSelect,9); if(newPP==myParent.getProcentProduct()) jTable1.setValueAt(new Double(0),rowSelect,9); } else { jTable1.setValueAt(new Double(0),rowSelect,9); } jTable1.setValueAt(calculateTotalPrice(newPrice,br),jTable1.getSelectedRow(),11); } else jTable1.setValueAt(myParent.getPriceOneProduct()*rate,rowSelect,8); } else jTable1.setValueAt(myParent.getPriceOneProduct(),rowSelect,8); } if(columnSelect == 9) // procent { if(!isProductIN) { double newPrice1 = (Double)jTable1.getValueAt(rowSelect,8); if(newPrice1<=myParent.getPriceOneProduct()*rate) { double newPP = (Double)jTable1.getValueAt(rowSelect,columnSelect); int br = (Integer) jTable1.getValueAt(rowSelect,4) ; if(newPP <= myParent.getProcentProduct()&& newPP>0) { double newPrice =(myParent.getPriceOneProduct()*rate)-(newPP/100)*(myParent.getPriceOneProduct()*rate); jTable1.setValueAt(new Double(newPrice),rowSelect,8); jTable1.setValueAt(calculateTotalPrice(newPrice,br),jTable1.getSelectedRow(),11); } else jTable1.setValueAt(new Double(0),rowSelect,9); } else jTable1.setValueAt(new Double(0),rowSelect,9); } else jTable1.setValueAt(myParent.getProcentProduct(),rowSelect,9); } } } public void keyTyped(KeyEvent e) { } }); }
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/819e12d5887ee005a6db30d46fcc791a090c703a/aeDocumentFacade.java/clean/src/imakante/sales/aeDocumentFacade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 21687, 48, 291, 708, 1435, 288, 3639, 3579, 22233, 1318, 5621, 3639, 525, 1388, 21, 18, 1289, 9233, 2223, 12, 2704, 478, 4560, 2223, 1435, 288, 5411, 1071, 918, 7155, 43, 8707, 12, 9233, 1133, 425, 13, 2398, 288, 7734, 775, 7734, 288, 7734, 309, 12443, 5507, 13, 78, 1388, 21, 18, 24805, 861, 12, 78, 1388, 21, 18, 588, 7416, 1999, 9334, 3247, 13, 10, 10, 13491, 401, 12443, 2434, 1670, 1388, 1488, 13, 78, 1388, 21, 18, 588, 1488, 1435, 2934, 588, 2520, 11641, 774, 10237, 751, 12, 78, 1388, 21, 18, 588, 7416, 1999, 1435, 3719, 10792, 288, 10792, 14015, 2434, 1670, 1388, 1488, 13, 525, 1388, 21, 18, 588, 1488, 1435, 2934, 7589, 4020, 15470, 12, 20, 1769, 10792, 368, 25001, 13806, 5453, 4009, 8275, 709, 73, 10792, 14015, 2434, 1670, 1388, 1488, 13, 525, 1388, 21, 18, 588, 1488, 1435, 2934, 7589, 4020, 15470, 12, 21, 1769, 10792, 289, 7734, 2332, 18, 659, 18, 8222, 2932, 13923, 43, 8707, 8863, 7734, 289, 7734, 1044, 12, 503, 431, 15329, 3163, 18, 659, 18, 8222, 2932, 668, 7155, 43, 8707, 8863, 20451, 5411, 289, 5411, 1071, 918, 7155, 19024, 12, 9233, 1133, 425, 13, 288, 5411, 289, 3639, 15549, 7734, 525, 1388, 21, 18, 1289, 9186, 2223, 12, 2704, 17013, 2223, 1435, 288, 5411, 1071, 918, 7644, 27633, 12, 9186, 1133, 425, 13, 288, 7734, 509, 1027, 3391, 273, 525, 1388, 21, 18, 588, 7416, 1999, 5621, 7734, 2549, 8516, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 21687, 48, 291, 708, 1435, 288, 3639, 3579, 22233, 1318, 5621, 3639, 525, 1388, 21, 18, 1289, 9233, 2223, 12, 2704, 478, 4560, 2223, 1435, 288, 5411, 1071, 918, 7155, 43, 8707, 12, 9233, 1133, 425, 13, 2398, 288, 7734, 775, 7734, 288, 7734, 309, 12443, 5507, 13, 78, 1388, 21, 18, 24805, 861, 12, 78, 1388, 21, 18, 588, 7416, 1999, 9334, 3247, 13, 10, 10, 13491, 401, 12443, 2434, 1670, 1388, 1488, 13, 78, 1388, 21, 18, 588, 1488, 1435, 2934, 588, 2520, 11641, 774, 10237, 751, 12, 78, 1388, 21, 18, 588, 7416, 1999, 1435, 3719, 10792, 288, 10792, 14015, 2434, 1670, 1388, 1488, 13, 525, 1388, 21, 18, 588, 1488, 1435, 2934, 2 ]
projectInfo.setAutoBuildTarget(info.getAutoBuildTarget());
projectInfo.setBuildAttribute(IMakeBuilderInfo.BUILD_TARGET_AUTO, info.getBuildAttribute(IMakeBuilderInfo.BUILD_TARGET_AUTO, ""));
public void configure() throws CoreException { addBuildSpec(); IMakeBuilderInfo info = MakeCorePlugin.createBuildInfo(MakeCorePlugin.getDefault().getPluginPreferences(), MakeBuilder.BUILDER_ID, false); IMakeBuilderInfo projectInfo = MakeCorePlugin.createBuildInfo(getProject(), MakeBuilder.BUILDER_ID); projectInfo.setBuildLocation(info.getBuildLocation()); projectInfo.setUseDefaultBuildCmd(info.isDefaultBuildCmd()); projectInfo.setStopOnError(info.isStopOnError()); projectInfo.setBuildCommand(info.getBuildCommand()); projectInfo.setAutoBuildEnable(info.isAutoBuildEnable()); projectInfo.setAutoBuildTarget(info.getAutoBuildTarget()); projectInfo.setIncrementalBuildEnable(info.isIncrementalBuildEnabled()); projectInfo.setIncrementalBuildTarget(info.getIncrementalBuildTarget()); projectInfo.setFullBuildEnable(info.isFullBuildEnabled()); projectInfo.setFullBuildTarget(info.getFullBuildTarget()); projectInfo.setCleanBuildEnable(info.isCleanBuildEnabled()); projectInfo.setCleanBuildTarget(info.getCleanBuildTarget()); projectInfo.setErrorParsers(info.getErrorParsers()); projectInfo.setAppendEnvironment(info.appendEnvironment()); projectInfo.setEnvironment(info.getEnvironment()); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ddbea8806c78a43cddb9312e08767dfa65e795c4/MakeProjectNature.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/core/MakeProjectNature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5068, 1435, 1216, 30015, 288, 202, 202, 1289, 3116, 1990, 5621, 202, 202, 3445, 911, 1263, 966, 1123, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 6464, 4670, 3773, 18, 588, 1868, 7675, 588, 3773, 12377, 9334, 4344, 1263, 18, 3000, 2627, 4179, 67, 734, 16, 629, 1769, 202, 202, 3445, 911, 1263, 966, 1984, 966, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 588, 4109, 9334, 4344, 1263, 18, 3000, 2627, 4179, 67, 734, 1769, 202, 202, 4406, 966, 18, 542, 3116, 2735, 12, 1376, 18, 588, 3116, 2735, 10663, 202, 202, 4406, 966, 18, 542, 3727, 1868, 3116, 5931, 12, 1376, 18, 291, 1868, 3116, 5931, 10663, 202, 202, 4406, 966, 18, 542, 4947, 11427, 12, 1376, 18, 291, 4947, 11427, 10663, 202, 202, 4406, 966, 18, 542, 3116, 2189, 12, 1376, 18, 588, 3116, 2189, 10663, 202, 202, 4406, 966, 18, 542, 4965, 3116, 8317, 12, 1376, 18, 291, 4965, 3116, 8317, 10663, 202, 202, 4406, 966, 18, 542, 4965, 3116, 2326, 12, 1376, 18, 588, 4965, 3116, 2326, 10663, 202, 202, 4406, 966, 18, 542, 10798, 287, 3116, 8317, 12, 1376, 18, 291, 10798, 287, 3116, 1526, 10663, 202, 202, 4406, 966, 18, 542, 10798, 287, 3116, 2326, 12, 1376, 18, 588, 10798, 287, 3116, 2326, 10663, 202, 202, 4406, 966, 18, 542, 5080, 3116, 8317, 12, 1376, 18, 291, 5080, 3116, 1526, 10663, 202, 202, 4406, 966, 18, 542, 5080, 3116, 2326, 12, 1376, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5068, 1435, 1216, 30015, 288, 202, 202, 1289, 3116, 1990, 5621, 202, 202, 3445, 911, 1263, 966, 1123, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 6464, 4670, 3773, 18, 588, 1868, 7675, 588, 3773, 12377, 9334, 4344, 1263, 18, 3000, 2627, 4179, 67, 734, 16, 629, 1769, 202, 202, 3445, 911, 1263, 966, 1984, 966, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 588, 4109, 9334, 4344, 1263, 18, 3000, 2627, 4179, 67, 734, 1769, 202, 202, 4406, 966, 18, 542, 3116, 2735, 12, 1376, 18, 588, 3116, 2735, 10663, 202, 202, 4406, 966, 18, 542, 3727, 1868, 3116, 5931, 12, 1376, 18, 291, 1868, 3116, 5931, 10663, 202, 202, 4406, 966, 2 ]
Element name = makeChildElement(NAME_PREFIX, makeChildElement(NAME));
Element name = JDOMUtils.findOrMakeChildElement(NAME_PREFIX, JDOMUtils.findOrMakeChildElement(NAME, element));
public void setNamePrefix(String prefix) { if (prefix == null) { prefix = ""; } Element name = makeChildElement(NAME_PREFIX, makeChildElement(NAME)); name.removeContent(new ContentFilter(ContentFilter.TEXT)); name.addContent(0, new Text(prefix)); saveName(); }
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/b9788314f4100bd4acb178f39e8f48c460bafd96/IndividualJDOM.java/clean/MacPAF/src/com/redbugz/macpaf/jdom/IndividualJDOM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 6788, 2244, 12, 780, 1633, 13, 288, 202, 430, 261, 3239, 422, 446, 13, 288, 202, 225, 1633, 273, 1408, 31, 202, 97, 202, 1046, 508, 273, 1221, 1763, 1046, 12, 1985, 67, 6307, 16, 1221, 1763, 1046, 12, 1985, 10019, 202, 529, 18, 4479, 1350, 12, 2704, 3697, 1586, 12, 1350, 1586,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 6788, 2244, 12, 780, 1633, 13, 288, 202, 430, 261, 3239, 422, 446, 13, 288, 202, 225, 1633, 273, 1408, 31, 202, 97, 202, 1046, 508, 273, 1221, 1763, 1046, 12, 1985, 67, 6307, 16, 1221, 1763, 1046, 12, 1985, 10019, 202, 529, 18, 4479, 1350, 12, 2704, 3697, 1586, 12, 1350, 1586, 18, 5151, 10019, 202, 529, 18, 1289, 1350, 12, 20, 16, 394, 3867, 12, 3239, 10019, 202, 5688, 461, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (action.equals(DUPLICATE_ACTION) || action.equals(SAVE_TO_DATABASE_ACTION))
if (isNodeInExperiment(organizer)) { if (action.equals(DUPLICATE_ACTION) || action.equals(DELETE_ACTION)) return false; } if (action.equals(DUPLICATE_ACTION))
public static boolean isActionAllowed(String action, Organizer organizer, boolean doPopup) { // If nothing is selected, some things are still legitimate if (organizer.getSelectedNode() == null) { if (action.equals(DELETE_EXPERIMENT_FROM_DATABASE_ACTION) || action.equals(DELETE_RECIPE_FROM_DATABASE_ACTION)) { return true; } else { return false; } } if (organizer.getSelectedNode().isRoot()) { if (action.equals(NEW_EXPERIMENT_ACTION) || action.equals(NEW_SOCIETY_ACTION) || action.equals(NEW_RECIPE_ACTION) || action.equals(NEW_FOLDER_ACTION) || action.equals(RENAME_ACTION) || action.equals(DELETE_EXPERIMENT_FROM_DATABASE_ACTION) || action.equals(DELETE_RECIPE_FROM_DATABASE_ACTION)) { return true; } else if (doPopup) { return false; } else { if (action.equals(CONFIGURE_ACTION)) { RecipeComponent[] recipes = organizer.getSelectedRecipes(); if (recipes != null) { for (int i = 0; i < recipes.length; i++) if (!CSMART.isRecipeInEditor(recipes[i])) return true; } return false; } else if (action.equals(BUILD_ACTION)) { Experiment[] experiments = organizer.getSelectedExperiments(); if (experiments != null) { for (int i = 0; i < experiments.length; i++) if (!CSMART.isExperimentInEditor(experiments[i])) return true; } return false; } else if (action.equals(RUN_ACTION)) { Experiment[] experiments = organizer.getSelectedExperiments(); if (experiments != null) { for (int i = 0; i < experiments.length; i++) if (experiments[i].isRunnable()) return true; } return false; } else return false; } } // end if selected object is root Object selectedObject = organizer.getSelectedObject(); if (selectedObject instanceof String) { // folder selected if (action.equals(DELETE_ACTION)) { RecipeComponent[] recipes = organizer.getSelectedRecipes(); if (recipes != null) { for (int i = 0; i < recipes.length; i++) if (CSMART.isRecipeInEditor(recipes[i])) return false; } Experiment[] experiments = organizer.getSelectedExperiments(); if (experiments != null) { for (int i = 0; i < experiments.length; i++) if (CSMART.isExperimentInEditor(experiments[i]) || experiments[i].isRunInProgress()) return false; } return true; } else if (action.equals(NEW_EXPERIMENT_ACTION) || action.equals(NEW_SOCIETY_ACTION) || action.equals(NEW_RECIPE_ACTION) || action.equals(NEW_FOLDER_ACTION) || action.equals(RENAME_ACTION)) { return true; } else { if (action.equals(CONFIGURE_ACTION)) { RecipeComponent[] recipes = organizer.getSelectedRecipes(); if (recipes != null) { for (int i = 0; i < recipes.length; i++) if (!CSMART.isRecipeInEditor(recipes[i])) return true; } return false; } else if (action.equals(BUILD_ACTION)) { Experiment[] experiments = organizer.getSelectedExperiments(); if (experiments != null) { for (int i = 0; i < experiments.length; i++) if (!CSMART.isExperimentInEditor(experiments[i])) return true; } return false; } else if (action.equals(RUN_ACTION)) { Experiment[] experiments = organizer.getSelectedExperiments(); if (experiments != null) { for (int i = 0; i < experiments.length; i++) if (experiments[i].isRunnable()) return true; } return false; } else return false; } } // end if selected object is folder // TODO: probably need to make running configuration tool more selective // for now, if experiment is selected, allow user to // configure the society in it if (selectedObject instanceof Experiment) { Experiment experiment = (Experiment)selectedObject; if (action.equals(DUPLICATE_ACTION) || action.equals(SAVE_TO_DATABASE_ACTION)) { return true; } else if (action.equals(CONFIGURE_ACTION)) { return true; } else if (action.equals(BUILD_ACTION)) { return !CSMART.isExperimentInEditor(experiment); } else if (action.equals(RUN_ACTION)) { return experiment.isRunnable(); } else if (action.equals(DELETE_ACTION) || action.equals(RENAME_ACTION)) { return (!experiment.isEditInProgress() && !experiment.isRunInProgress()); } else return false; } // end if selected object is experiment if (selectedObject instanceof SocietyComponent) { SocietyComponent society = (SocietyComponent)selectedObject; if (action.equals(DUPLICATE_ACTION)) return true; if (action.equals(SAVE_TO_DATABASE_ACTION)) { return false; } else if (action.equals(BUILD_ACTION)) { return !CSMART.isSocietyInEditor(society); } else if (action.equals(DELETE_ACTION) || action.equals(RENAME_ACTION) || action.equals(CONFIGURE_ACTION)) { return (!CSMART.isSocietyInEditor(society)); } else if (action.equals(BUILD_ACTION)) { // TODO: should return true only if society not in experiment???? return true; } else return false; } // end if selected object is society if (selectedObject instanceof RecipeComponent) { RecipeComponent recipe = (RecipeComponent)selectedObject; if (action.equals(DUPLICATE_ACTION) || action.equals(SAVE_TO_DATABASE_ACTION)) return true; else if (action.equals(DELETE_ACTION) || action.equals(RENAME_ACTION) || action.equals(CONFIGURE_ACTION)) return (!CSMART.isRecipeInEditor(recipe)); else return false; } // end if selected object is recipe System.out.println("Util: unhandled case: " + action); return false; }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/a671d5282cffbfc9f602a99846223fb2a25d1c23/ActionUtil.java/clean/csmart/src/org/cougaar/tools/csmart/ui/viewer/ActionUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 353, 1803, 5042, 12, 780, 1301, 16, 4766, 3639, 8533, 304, 1824, 15501, 1824, 16, 4766, 3639, 1250, 741, 13770, 13, 288, 565, 368, 971, 5083, 353, 3170, 16, 2690, 9198, 854, 4859, 4553, 305, 4988, 565, 309, 261, 22543, 1824, 18, 588, 7416, 907, 1435, 422, 446, 13, 288, 1377, 309, 261, 1128, 18, 14963, 12, 6460, 67, 2294, 3194, 3114, 1784, 67, 11249, 67, 22366, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 6460, 67, 862, 7266, 1423, 67, 11249, 67, 22366, 67, 12249, 3719, 288, 3639, 327, 638, 31, 1377, 289, 469, 288, 202, 2463, 629, 31, 1377, 289, 565, 289, 565, 309, 261, 22543, 1824, 18, 588, 7416, 907, 7675, 291, 2375, 10756, 288, 1377, 309, 261, 1128, 18, 14963, 12, 12917, 67, 2294, 3194, 3114, 1784, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 12917, 67, 3584, 7266, 1584, 61, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 12917, 67, 862, 7266, 1423, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 12917, 67, 17357, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 862, 1985, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 6460, 67, 2294, 3194, 3114, 1784, 67, 11249, 67, 22366, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 6460, 67, 862, 7266, 1423, 67, 11249, 67, 22366, 67, 12249, 3719, 288, 3639, 327, 638, 31, 1377, 289, 469, 309, 261, 2896, 13770, 13, 288, 3639, 327, 629, 31, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1250, 353, 1803, 5042, 12, 780, 1301, 16, 4766, 3639, 8533, 304, 1824, 15501, 1824, 16, 4766, 3639, 1250, 741, 13770, 13, 288, 565, 368, 971, 5083, 353, 3170, 16, 2690, 9198, 854, 4859, 4553, 305, 4988, 565, 309, 261, 22543, 1824, 18, 588, 7416, 907, 1435, 422, 446, 13, 288, 1377, 309, 261, 1128, 18, 14963, 12, 6460, 67, 2294, 3194, 3114, 1784, 67, 11249, 67, 22366, 67, 12249, 13, 747, 1850, 1301, 18, 14963, 12, 6460, 67, 862, 7266, 1423, 67, 11249, 67, 22366, 67, 12249, 3719, 288, 3639, 327, 638, 31, 1377, 289, 469, 288, 202, 2463, 629, 31, 1377, 289, 565, 289, 565, 309, 261, 22543, 1824, 18, 588, 7416, 907, 7675, 2 ]
if ( !getFileName( ).endsWith( IReportEditorInput.FILE_EXTENTION ) )
if ( !getFileName( ).endsWith( IReportEditorInput.DESIGN_FILE_EXTENTION ) )
public boolean validatePage( ) { if ( getFileName( ).equals( "" ) )//$NON-NLS-1$ { setErrorMessage( null ); setMessage( MSG_EMPTY_FILE_NAME ); return false; } String location = getFileLocationFullPath( ).toOSString( ); if ( location.equals( "" ) ) //$NON-NLS-1$ { setErrorMessage( null ); setMessage( MSG_EMPTY_FILE_LOCATION_DIRECTORY ); return false; } IPath path; if ( !getFileName( ).endsWith( IReportEditorInput.FILE_EXTENTION ) ) { path = getFileLocationFullPath( ).append( getFileName( ) + IReportEditorInput.FILE_EXTENTION ); } else { path = getFileLocationFullPath( ).append( getFileName( ) ); } if ( path.toFile( ).exists( ) ) { setErrorMessage( MSG_DUPLICATE_FILE_NAME ); return false; } setErrorMessage( null ); setMessage( null ); return true; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/bebfb1722232f3c7e5cdb82c79a819fb1057efdb/WizardNewReportCreationPage.java/clean/UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/wizards/WizardNewReportCreationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1954, 1964, 12, 262, 202, 95, 202, 202, 430, 261, 13807, 12, 262, 18, 14963, 12, 1408, 262, 262, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 542, 14935, 12, 446, 11272, 1082, 202, 542, 1079, 12, 13771, 67, 13625, 67, 3776, 67, 1985, 11272, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 780, 2117, 273, 6034, 2735, 24173, 12, 262, 18, 869, 4618, 780, 12, 11272, 202, 202, 430, 261, 2117, 18, 14963, 12, 1408, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 542, 14935, 12, 446, 11272, 1082, 202, 542, 1079, 12, 13771, 67, 13625, 67, 3776, 67, 15277, 67, 17229, 11272, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 45, 743, 589, 31, 202, 202, 430, 261, 401, 588, 4771, 12, 262, 18, 5839, 1190, 12, 467, 4820, 6946, 1210, 18, 3776, 67, 4142, 2222, 1146, 262, 262, 202, 202, 95, 1082, 202, 803, 273, 6034, 2735, 24173, 12, 262, 18, 6923, 12, 13807, 12, 262, 6862, 202, 15, 467, 4820, 6946, 1210, 18, 3776, 67, 4142, 2222, 1146, 11272, 3196, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 803, 273, 6034, 2735, 24173, 12, 262, 18, 6923, 12, 13807, 12, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 589, 18, 869, 812, 12, 262, 18, 1808, 12, 262, 262, 202, 202, 95, 1082, 202, 542, 14935, 12, 13771, 67, 30387, 26042, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1954, 1964, 12, 262, 202, 95, 202, 202, 430, 261, 13807, 12, 262, 18, 14963, 12, 1408, 262, 262, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 542, 14935, 12, 446, 11272, 1082, 202, 542, 1079, 12, 13771, 67, 13625, 67, 3776, 67, 1985, 11272, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 780, 2117, 273, 6034, 2735, 24173, 12, 262, 18, 869, 4618, 780, 12, 11272, 202, 202, 430, 261, 2117, 18, 14963, 12, 1408, 262, 262, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 95, 1082, 202, 542, 14935, 12, 446, 11272, 1082, 202, 542, 1079, 12, 13771, 67, 13625, 67, 3776, 67, 15277, 67, 2 ]
"URL context can't accept non-composite name: " + name);
Messages.getString("jndi.26", name));
public void rebind(Name name, Object obj) throws NamingException { if (!(name instanceof CompositeName)) { throw new InvalidNameException( "URL context can't accept non-composite name: " + name); } if (name.size() == 1) { rebind(name.get(0), obj); } else { Context context = getContinuationContext(name); try { context.rebind(name.getSuffix(1), obj); } finally { context.close(); } } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/a019071d67c658acaf59b3bed874ed07bb31de07/GenericURLContext.java/clean/modules/jndi/src/main/java/org/apache/harmony/jndi/provider/GenericURLContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 283, 4376, 12, 461, 508, 16, 1033, 1081, 13, 1216, 26890, 288, 3639, 309, 16051, 12, 529, 1276, 14728, 461, 3719, 288, 5411, 604, 394, 1962, 26771, 12, 10792, 4838, 18, 588, 780, 2932, 78, 16564, 18, 5558, 3113, 508, 10019, 3639, 289, 3639, 309, 261, 529, 18, 1467, 1435, 422, 404, 13, 288, 5411, 283, 4376, 12, 529, 18, 588, 12, 20, 3631, 1081, 1769, 3639, 289, 469, 288, 5411, 1772, 819, 273, 336, 660, 23946, 1042, 12, 529, 1769, 5411, 775, 288, 7734, 819, 18, 266, 4376, 12, 529, 18, 588, 5791, 12, 21, 3631, 1081, 1769, 5411, 289, 3095, 288, 7734, 819, 18, 4412, 5621, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 283, 4376, 12, 461, 508, 16, 1033, 1081, 13, 1216, 26890, 288, 3639, 309, 16051, 12, 529, 1276, 14728, 461, 3719, 288, 5411, 604, 394, 1962, 26771, 12, 10792, 4838, 18, 588, 780, 2932, 78, 16564, 18, 5558, 3113, 508, 10019, 3639, 289, 3639, 309, 261, 529, 18, 1467, 1435, 422, 404, 13, 288, 5411, 283, 4376, 12, 529, 18, 588, 12, 20, 3631, 1081, 1769, 3639, 289, 469, 288, 5411, 1772, 819, 273, 336, 660, 23946, 1042, 12, 529, 1769, 5411, 775, 288, 7734, 819, 18, 266, 4376, 12, 529, 18, 588, 5791, 12, 21, 3631, 1081, 1769, 5411, 289, 3095, 288, 7734, 819, 18, 4412, 5621, 5411, 289, 3639, 289, 565, 289, 2, -100, -100 ]
Utilities.invokeLater(new Runnable() { public void run() { _fileClosed(doc); } });
Utilities.invokeLater(new Runnable() { public void run() { _fileOpened(doc); } });
Utilities.invokeLater(new Runnable() { public void run() { _fileClosed(doc); } });
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/5096aaab648cea3686054749f4edbb0813185db1/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 26703, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 1071, 918, 1086, 1435, 288, 389, 768, 7395, 12, 2434, 1769, 289, 15549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 26703, 18, 14407, 20607, 12, 2704, 10254, 1435, 288, 1071, 918, 1086, 1435, 288, 389, 768, 7395, 12, 2434, 1769, 289, 15549, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(selectionDownAction);
super(selectionDownAction, SwingConstants.SOUTH);
SelectionDownAction() { super(selectionDownAction); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6c6378820ef3d5291895049f82f29d237a8e885a/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 12977, 4164, 1803, 1435, 565, 288, 1377, 2240, 12, 10705, 4164, 1803, 16, 26145, 2918, 18, 3584, 5844, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if (ch >= 256) { if (use_quotes && !unicode) { v.insert(0, 'u'); unicode = true; }
if (ch >= 256) {
public static String encode_UnicodeEscape(String str, boolean use_quotes) { int size = str.length(); StringBuffer v = new StringBuffer(str.length()); char quote = 0; boolean unicode = false; if (use_quotes) { quote = str.indexOf('\'') >= 0 && str.indexOf('"') == -1 ? '"' : '\''; v.append(quote); } for (int i = 0; size-- > 0; ) { int ch = str.charAt(i++); /* Escape quotes */ if (use_quotes && (ch == quote || ch == '\\')) { v.append('\\'); v.append((char) ch); } /* Map 16-bit characters to '\\uxxxx' */ else if (ch >= 256) { if (use_quotes && !unicode) { v.insert(0, 'u'); unicode = true; } v.append('\\'); v.append('u'); v.append(hexdigit[(ch >> 12) & 0xf]); v.append(hexdigit[(ch >> 8) & 0xf]); v.append(hexdigit[(ch >> 4) & 0xf]); v.append(hexdigit[ch & 15]); } /* Map non-printable US ASCII to '\ooo' */ else if (use_quotes && ch == '\n') v.append("\\n"); else if (use_quotes && ch == '\t') v.append("\\t"); else if (use_quotes && ch == '\b') v.append("\\b"); else if (use_quotes && ch == '\f') v.append("\\f"); else if (use_quotes && ch == '\r') v.append("\\r"); else if (ch < ' ' || ch >= 127) { v.append("\\x"); v.append(hexdigit[(ch >> 4) & 0xF]); v.append(hexdigit[ch & 0xF]); } /* Copy everything else as-is */ else v.append((char) ch); } if (use_quotes) v.append(quote); return v.toString(); }
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/d8392acd4441d3cae1f0e9b174e96e66d192d32e/PyString.java/buggy/src/org/python/core/PyString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2017, 67, 16532, 8448, 12, 780, 609, 16, 4766, 2868, 1250, 999, 67, 18653, 13, 565, 288, 3639, 509, 963, 273, 609, 18, 2469, 5621, 3639, 6674, 331, 273, 394, 6674, 12, 701, 18, 2469, 10663, 3639, 1149, 3862, 273, 374, 31, 3639, 1250, 5252, 273, 629, 31, 3639, 309, 261, 1202, 67, 18653, 13, 288, 5411, 3862, 273, 609, 18, 31806, 2668, 3730, 6134, 1545, 374, 597, 11794, 609, 18, 31806, 2668, 5187, 13, 422, 300, 21, 692, 4754, 294, 15053, 31, 5411, 331, 18, 6923, 12, 6889, 1769, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 963, 413, 405, 374, 31, 262, 288, 5411, 509, 462, 273, 609, 18, 3001, 861, 12, 77, 9904, 1769, 5411, 1748, 18025, 10681, 1195, 5411, 309, 261, 1202, 67, 18653, 597, 261, 343, 422, 3862, 747, 462, 422, 5282, 3719, 288, 7734, 331, 18, 6923, 2668, 1695, 8284, 7734, 331, 18, 6923, 12443, 3001, 13, 462, 1769, 5411, 289, 5411, 1748, 1635, 2872, 17, 3682, 3949, 358, 3718, 2616, 18310, 11, 1195, 5411, 469, 309, 261, 343, 1545, 8303, 13, 288, 7734, 309, 261, 1202, 67, 18653, 597, 401, 9124, 13, 288, 10402, 331, 18, 6387, 12, 20, 16, 296, 89, 8284, 10402, 5252, 273, 638, 31, 7734, 289, 7734, 331, 18, 6923, 2668, 1695, 8284, 7734, 331, 18, 6923, 2668, 89, 8284, 7734, 331, 18, 6923, 12, 7118, 11052, 63, 12, 343, 1671, 2593, 13, 473, 374, 5841, 19226, 7734, 331, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 2017, 67, 16532, 8448, 12, 780, 609, 16, 4766, 2868, 1250, 999, 67, 18653, 13, 565, 288, 3639, 509, 963, 273, 609, 18, 2469, 5621, 3639, 6674, 331, 273, 394, 6674, 12, 701, 18, 2469, 10663, 3639, 1149, 3862, 273, 374, 31, 3639, 1250, 5252, 273, 629, 31, 3639, 309, 261, 1202, 67, 18653, 13, 288, 5411, 3862, 273, 609, 18, 31806, 2668, 3730, 6134, 1545, 374, 597, 11794, 609, 18, 31806, 2668, 5187, 13, 422, 300, 21, 692, 4754, 294, 15053, 31, 5411, 331, 18, 6923, 12, 6889, 1769, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 963, 413, 405, 374, 31, 262, 288, 5411, 509, 462, 273, 609, 18, 3001, 861, 2 ]
filterObject.processFile(reader, writer); reader.close(); writer.close();
try { filterObject.processFile(reader, writer); reader.close(); } catch( IOException ioe ) { throw new IOException(filename + "\n" + ioe); }
public boolean loadFile(String filename) throws IOException, TranslationException { LookupInformation lookup = lookupFilter(filename); if( lookup==null ) return false; setMemorizing(true); AbstractFilter filterObject = lookup.filterObject; BufferedReader reader = lookup.reader; BufferedWriter writer = new BufferedWriter(new StringWriter()); filterObject.processFile(reader, writer); reader.close(); writer.close(); setMemorizing(false); return true; }
8797 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8797/8f371a7e3c2dab25f0e4f4e7c1858cba07d6273c/FilterMaster.java/buggy/src/org/omegat/filters2/master/FilterMaster.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 26953, 12, 780, 1544, 13, 5411, 1216, 1860, 16, 17427, 503, 565, 288, 3639, 8834, 5369, 3689, 273, 3689, 1586, 12, 3459, 1769, 3639, 309, 12, 3689, 631, 2011, 262, 5411, 327, 629, 31, 7734, 444, 3545, 5331, 310, 12, 3767, 1769, 3639, 4115, 1586, 1034, 921, 273, 3689, 18, 2188, 921, 31, 3639, 10633, 2949, 273, 3689, 18, 10530, 31, 3639, 22490, 2633, 273, 394, 22490, 12, 2704, 17436, 10663, 18701, 1034, 921, 18, 2567, 812, 12, 10530, 16, 2633, 1769, 3639, 2949, 18, 4412, 5621, 3639, 2633, 18, 4412, 5621, 18701, 444, 3545, 5331, 310, 12, 5743, 1769, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 26953, 12, 780, 1544, 13, 5411, 1216, 1860, 16, 17427, 503, 565, 288, 3639, 8834, 5369, 3689, 273, 3689, 1586, 12, 3459, 1769, 3639, 309, 12, 3689, 631, 2011, 262, 5411, 327, 629, 31, 7734, 444, 3545, 5331, 310, 12, 3767, 1769, 3639, 4115, 1586, 1034, 921, 273, 3689, 18, 2188, 921, 31, 3639, 10633, 2949, 273, 3689, 18, 10530, 31, 3639, 22490, 2633, 273, 394, 22490, 12, 2704, 17436, 10663, 18701, 1034, 921, 18, 2567, 812, 12, 10530, 16, 2633, 1769, 3639, 2949, 18, 4412, 5621, 3639, 2633, 18, 4412, 5621, 18701, 444, 3545, 5331, 310, 12, 5743, 1769, 3639, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(_history != null) {
if (_history != null) {
public Object navigateForward(boolean attempt) { Object target = null; _isForwardEnabled = 0; if(_history != null) { int size = _history.size(); if(_position < size-1) { // // get the current entry so that we don't go back to ourselves // (might happen if you delete an intermediate entry) WeakReference ref = (WeakReference) _history.get(_position); Object current = null; if(ref != null) { current = ref.get(); } // // starting at next entry, // see if any of the references are still valid // int index; for(index = _position+1; index < size && target == null; index++) { ref = (WeakReference) _history.get(index); if(ref != null) { target = ref.get(); // // weak ref has been reclaimed, remove it from // the list and continue looking back if(target == null || target == current) { _history.set(index,null); target = null; } else { // // these check for phantom model elements // those still alive but not attached to anything if(ModelFacade.isAFeature(target)) { if(ModelFacade.getOwner(target) == null) { target = null; } } else { if(ModelFacade.isAModelElement(target)) { if(ModelFacade.getNamespace(target) == null) { target = null; } } } } } } if(target == null) { _isForwardEnabled = 0; } else { if(attempt) { _position = index-1; _isBackEnabled = 1; _isForwardEnabled = -1; } else { _isForwardEnabled = 1; } } } } return target; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/NavigationHistory.java/buggy/src_new/org/argouml/ui/NavigationHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 28479, 8514, 12, 6494, 4395, 13, 288, 3639, 1033, 1018, 273, 446, 31, 3639, 389, 291, 8514, 1526, 273, 374, 31, 3639, 309, 261, 67, 8189, 480, 446, 13, 288, 5411, 509, 963, 273, 389, 8189, 18, 1467, 5621, 5411, 309, 24899, 3276, 411, 963, 17, 21, 13, 288, 7734, 368, 7734, 368, 282, 336, 326, 783, 1241, 1427, 716, 732, 2727, 1404, 1960, 1473, 358, 19801, 7734, 368, 377, 261, 81, 750, 5865, 309, 1846, 1430, 392, 12110, 1241, 13, 7734, 23632, 2404, 1278, 273, 261, 3218, 581, 2404, 13, 389, 8189, 18, 588, 24899, 3276, 1769, 7734, 1033, 783, 273, 446, 31, 7734, 309, 12, 1734, 480, 446, 13, 288, 10792, 783, 273, 1278, 18, 588, 5621, 7734, 289, 7734, 368, 7734, 368, 225, 5023, 622, 1024, 1241, 16, 1171, 368, 1377, 2621, 309, 1281, 434, 326, 5351, 854, 4859, 923, 7734, 368, 10402, 509, 770, 31, 7734, 364, 12, 1615, 273, 389, 3276, 15, 21, 31, 770, 411, 963, 597, 1018, 422, 446, 31, 770, 27245, 288, 10792, 1278, 273, 261, 3218, 581, 2404, 13, 389, 8189, 18, 588, 12, 1615, 1769, 10792, 309, 12, 1734, 480, 446, 13, 288, 13491, 1018, 273, 1278, 18, 588, 5621, 13491, 368, 13491, 368, 225, 16046, 1278, 711, 2118, 283, 14784, 329, 16, 1206, 518, 628, 13491, 368, 377, 326, 666, 471, 1324, 7849, 1473, 13491, 309, 12, 3299, 422, 446, 747, 1018, 422, 783, 13, 288, 18701, 389, 8189, 18, 542, 12, 1615, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 28479, 8514, 12, 6494, 4395, 13, 288, 3639, 1033, 1018, 273, 446, 31, 3639, 389, 291, 8514, 1526, 273, 374, 31, 3639, 309, 261, 67, 8189, 480, 446, 13, 288, 5411, 509, 963, 273, 389, 8189, 18, 1467, 5621, 5411, 309, 24899, 3276, 411, 963, 17, 21, 13, 288, 7734, 368, 7734, 368, 282, 336, 326, 783, 1241, 1427, 716, 732, 2727, 1404, 1960, 1473, 358, 19801, 7734, 368, 377, 261, 81, 750, 5865, 309, 1846, 1430, 392, 12110, 1241, 13, 7734, 23632, 2404, 1278, 273, 261, 3218, 581, 2404, 13, 389, 8189, 18, 588, 24899, 3276, 1769, 7734, 1033, 783, 273, 446, 31, 7734, 309, 12, 1734, 480, 446, 13, 288, 10792, 783, 273, 1278, 2 ]
335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, -1, -1, -1, 356, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, 304, -1, -1, 307, 308, 309, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 335, -1, -1, -1, -1, -1, -1, -1, -1, 344, 345, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125,
335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, 124, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294,
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 15, 16, 6, 21, 19, 378, 341, 375, 38, 247, 6, 7, 15, 16, 392, 7, 19, 27, 15, 16, 21, 124, 19, 43, 44, 2, 370, 50, 48, 49, 58, 27, 398, 368, 49, 27, 15, 16, 58, 59, 19, 10, 11, 32, 312, 48, 71, 51, 10, 261, 11, 386, 49, 10, 105, 51, 44, 4, 5, 340, 93, 342, 343, 344, 46, 410, 401, 14, 10, 46, 522, 523, 312, 46, 10, 10, 94, 10, 46, 41, 693, 10, 100, 10, 46, 10, 354, 10, 369, 46, 46, 123, 125, 94, 38, 113, 46, 442, 42, 41, 693, 40, 695, 50, 385, 41, 387, 3, 10, 91, 71, 10, 41, 308, 354, 44, 451, 44, 10, 10, 41, 402, 32, 91, 41, 10, 59, 10, 46, 106, 10, 58, 59, 58, 59, 91, 59, 349, 10, 41, 61, 91, 44, 90, 61, 40, 0, 108, 40, 46, 431, 287, 46, 46, 46, 291, 10, 59, 46, 44, 59, 10, 40, 46, 44, 10, 58, 59, 59, 41, 10, 452, 37, 91, 41, 58, 59, 42, 43, 101, 45, 37, 47, 123, 123, 10, 42, 59, 10, 10, 10, 47, 347, 218, 91, 563, 200, 46, 91, 91, 40, 545, 125, 124, 200, 59, 46, 282, 91, 58, 59, 231, 232, 233, 10, 32, 829, 590, 58, 59, 337, 565, 44, 326, 244, 46, 246, 247, 269, 244, 271, 246, 247, 58, 59, 61, 829, 58, 59, 59, 10, 244, 91, 246, 247, 44, 266, 244, 280, 246, 247, 91, 61, 222, 223, 337, 37, 218, 348, 44, 44, 42, 43, 59, 45, 244, 47, 246, 247, 262, 91, 41, 44, 38, 46, 40, 61, 42, 304, 256, 264, 10, 308, 123, 261, 737, 738, 377, 261, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 345, 367, 345, 346, 91, 348, 341, 308, 312, 352, 345, 346, 350, 348, 465, 59, 264, 352, 302, 303, 304, 305, 337, 341, 124, 267, 280, 267, 265, 340, 267, 627, 628, 368, 346, 338, 348, 124, 335, 240, 290, 291, 377, 279, 725, 304, 290, 291, 352, 353, 368, 386, 335, 388, 389, 390, 367, 349, 335, 394, 267, 349, 595, 335, 335, 377, 401, 727, 386, 267, 335, 406, 407, 733, 385, 410, 38, 407, 631, 414, 42, 10, 394, 401, 414, 344, 345, 363, 350, 400, 301, 383, 427, 776, 338, 306, 338, 432, 338, 391, 425, 393, 335, 267, 439, 61, 799, 442, 290, 291, 445, 799, 267, 772, 425, 10, 451, 46, 425, 430, 414, 397, 398, 335, 10, 280, 335, 335, 335, 58, 59, 267, 335, 451, 469, 470, 428, 335, 318, 450, 665, 281, 2, 3, 4, 5, 671, 318, 8, 9, 10, 11, 10, 264, 14, 15, 16, 59, 269, 19, 271, 337, 91, 58, 59, 41, 26, 826, 44, 308, 703, 335, 58, 59, 44, 269, 46, 271, 511, 279, 335, 418, 419, 41, 834, 61, 46, 47, 48, 849, 50, 526, 279, 279, 41, 511, 338, 306, 58, 335, 437, 59, 518, 404, 313, 314, 522, 523, 570, 571, 312, 269, 44, 271, 61, 548, 44, 877, 262, 263, 264, 91, 318, 10, 304, 269, 10, 307, 308, 309, 90, 269, 40, 271, 10, 554, 123, 333, 334, 835, 318, 263, 264, 554, 104, 337, 106, 269, 335, 574, 352, 353, 354, 40, 124, 41, 40, 93, 593, 46, 544, 794, 46, 574, 344, 345, 542, 574, 310, 311, 41, 58, 59, 125, 58, 59, 611, 124, 290, 291, 615, 10, 58, 59, 619, 10, 354, 579, 268, 269, 566, 269, 37, 38, 272, 273, 631, 42, 43, 308, 45, 631, 47, 354, 91, 318, 641, 91, 318, 506, 507, 310, 311, 631, 44, 10, 553, 263, 264, 662, 655, 10, 343, 607, 667, 668, 657, 662, 663, 41, 59, 60, 667, 668, 59, 269, 123, 267, 267, 123, 53, 54, 304, 678, 679, 307, 308, 309, 271, 61, 264, 44, 41, 40, 689, 44, 648, 44, 41, 46, 41, 125, 222, 223, 59, 44, 658, 40, 660, 661, 59, 44, 267, 46, 41, 41, 337, 712, 337, 714, 715, 267, 344, 345, 244, 720, 246, 247, 44, 32, 46, 16, 727, 93, 19, 657, 256, 732, 733, 337, 337, 261, 732, 44, 91, 41, 335, 683, 93, 279, 264, 61, 124, 614, 706, 10, 44, 44, 91, 762, 732, 783, 784, 624, 786, 709, 10, 762, 44, 721, 722, 723, 279, 304, 769, 91, 123, 124, 732, 304, 702, 301, 302, 303, 304, 305, 306, 307, 308, 725, 123, 124, 41, 690, 38, 44, 40, 46, 42, 338, 263, 796, 46, 798, 59, 335, 264, 264, 124, 804, 337, 93, 61, 808, 337, 59, 337, 812, 44, 771, 267, 341, 93, 267, 681, 345, 346, 44, 348, 349, 350, 267, 352, 280, 856, 345, 280, 44, 41, 834, 792, 41, 91, 41, 741, 41, 0, 744, 368, 264, 370, 371, 847, 125, 849, 93, 834, 847, 61, 337, 41, 264, 833, 383, 264, 726, 386, 256, 729, 730, 337, 391, 867, 393, 869, 124, 264, 41, 125, 264, 264, 401, 877, 268, 269, 837, 881, 41, 335, 124, 41, 335, 844, 40, 414, 37, 38, 44, 264, 46, 42, 43, 125, 45, 44, 47, 308, 279, 428, 264, 2, 3, 264, 318, 269, 44, 8, 9, 10, 11, 264, 124, 44, 15, 16, 41, 125, 19, 333, 334, 264, 451, 279, 280, 26, 264, 93, 44, 312, 2, 3, 4, 5, 264, 91, 8, 279, 280, 93, 810, 811, 14, 94, 125, 46, 47, 48, 40, 271, 244, 41, 246, 247, 279, 41, 93, 58, 93, 41, 40, 125, 125, 93, 44, 264, 46, 123, 124, 352, 353, 354, 125, 124, 46, 845, 846, 41, 50, 335, 61, 851, 41, 312, 5, 44, 312, 46, 44, 312, 46, 40, 41, 335, 6, 44, 563, 46, 868, 263, 264, 776, 61, 104, 863, 106, 876, 657, 78, 879, 335, 91, 61, 883, 90, 544, 545, 312, 90, 836, 49, 279, 695, 352, 353, 354, 352, 353, 354, 352, 353, 354, 91, 695, 106, 91, 565, 2, 3, 4, 5, 6, 91, 8, 124, 306, 307, 71, 309, 14, 579, 304, 313, 314, 307, 308, 309, 352, 353, 354, 293, 294, 295, 296, 297, 124, -1, 279, 124, 312, 2, 3, 315, -1, 123, 124, 8, 335, 607, -1, -1, 46, 335, -1, -1, 50, -1, -1, 247, -1, -1, 344, 345, -1, -1, -1, -1, -1, -1, 262, 263, 264, 631, -1, 633, 268, 269, -1, 271, 352, 353, -1, -1, -1, 46, -1, -1, -1, -1, 648, -1, 222, 223, 279, 280, 90, -1, -1, 657, 658, -1, 660, 661, 662, -1, -1, -1, -1, 667, 668, -1, 106, -1, 244, -1, 246, 247, -1, -1, -1, -1, -1, -1, -1, -1, 256, -1, 40, 41, -1, 261, 44, -1, 46, -1, -1, -1, 318, -1, -1, -1, -1, -1, 702, 106, -1, -1, 706, 61, 335, 709, -1, 333, 334, 256, -1, -1, -1, -1, 261, -1, -1, 721, 722, 723, -1, -1, -1, -1, 279, 301, 302, 303, 304, 305, 306, 307, 308, 91, -1, -1, -1, -1, 0, -1, -1, -1, -1, 377, 378, 279, -1, -1, 279, -1, -1, -1, -1, -1, 301, 279, 280, -1, 762, 306, -1, -1, -1, -1, -1, 341, 124, 771, 772, 345, 346, -1, 348, 349, -1, -1, 352, -1, -1, 41, 335, -1, 9, 10, 11, -1, -1, -1, 792, -1, -1, -1, 368, -1, 370, 371, -1, -1, 0, 26, -1, 335, 349, 350, 335, -1, -1, 383, 10, -1, 386, 335, -1, -1, -1, 391, 256, 393, -1, -1, 47, 261, 826, 370, -1, 401, -1, -1, -1, -1, 834, -1, -1, 837, -1, -1, 383, -1, 414, 41, 844, -1, -1, -1, 391, -1, 393, -1, -1, 256, -1, -1, 428, -1, 261, 10, -1, 59, 2, 3, -1, 301, 41, 125, 8, 44, 306, 46, -1, -1, 14, 505, 506, 507, -1, 451, -1, 104, -1, -1, -1, 428, 61, 38, 518, 40, -1, 42, 522, 523, -1, 46, -1, -1, 301, -1, -1, -1, -1, 306, -1, -1, 46, 10, 59, -1, -1, -1, -1, 349, 350, -1, 91, -1, -1, -1, -1, 551, -1, -1, -1, 279, -1, 125, -1, -1, -1, -1, 40, 41, 370, 38, 44, 40, 46, 42, -1, -1, -1, 46, -1, -1, 349, 383, 578, 124, 580, -1, 582, 61, -1, 391, 59, 393, 41, -1, 590, 44, -1, 46, -1, -1, 106, 370, -1, -1, -1, -1, 544, 545, -1, -1, -1, -1, 61, -1, 383, 335, -1, 91, -1, -1, -1, -1, 391, -1, 393, -1, 428, 565, -1, -1, -1, -1, 10, 222, 223, -1, 545, -1, 262, 263, 264, 579, 91, -1, 268, 269, -1, 271, -1, 123, 124, -1, -1, -1, -1, -1, 565, -1, -1, 428, 38, -1, 40, -1, 42, -1, -1, -1, 46, 607, 579, -1, -1, -1, -1, 124, 40, 41, -1, -1, 44, 59, 46, -1, -1, 681, -1, -1, -1, -1, -1, -1, -1, 631, -1, 633, -1, 61, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 648, -1, -1, 302, 303, 304, 305, -1, 307, 308, 658, -1, 660, 661, 662, -1, -1, 91, -1, 667, 668, -1, -1, -1, -1, 231, 232, -1, 279, 648, 649, 737, 738, 545, -1, -1, -1, -1, 657, 658, 256, 660, 661, -1, -1, 261, -1, -1, -1, 123, 124, -1, -1, 565, -1, -1, -1, -1, 706, -1, -1, 709, -1, -1, -1, -1, 545, 579, -1, -1, -1, -1, 371, 721, 722, 723, -1, 304, -1, -1, 307, 308, 309, 702, 335, 301, 565, 706, -1, -1, 306, -1, -1, 799, -1, 279, 280, -1, -1, -1, 579, -1, 721, 722, 723, -1, -1, -1, 335, -1, -1, -1, -1, -1, 762, 414, -1, 344, 345, -1, 279, 0, -1, 771, 772, 304, -1, -1, 307, 308, 309, 10, -1, 349, -1, -1, 648, -1, -1, -1, 346, -1, 348, -1, 792, 657, 658, -1, 660, 661, -1, 335, 771, 772, 370, -1, 335, 863, -1, -1, -1, -1, 41, -1, -1, 344, 345, 383, -1, 648, -1, 377, -1, 792, -1, 391, 335, 393, 826, 658, 59, 660, 661, -1, -1, -1, 834, -1, 394, 837, 702, -1, -1, -1, 706, -1, 844, -1, -1, -1, 406, 407, -1, -1, 410, 279, 280, 826, 414, 721, 722, 723, 428, -1, -1, -1, 304, -1, 837, 307, 308, 309, -1, -1, -1, 844, -1, 706, -1, -1, 0, -1, -1, 439, -1, -1, 442, -1, -1, 445, 10, -1, 721, 722, 723, 544, 125, 335, -1, -1, -1, -1, -1, -1, 10, -1, 344, 345, -1, 771, 772, 335, -1, -1, -1, -1, -1, -1, 0, -1, -1, 41, -1, -1, -1, -1, -1, -1, 10, -1, 792, -1, 38, -1, 40, -1, 42, -1, -1, 59, 46, -1, 771, 772, 37, 38, -1, -1, -1, 42, 43, -1, 45, 59, 47, -1, -1, -1, 607, 41, 10, -1, -1, 792, 826, -1, -1, 60, -1, 62, 526, -1, -1, -1, -1, 837, -1, 59, -1, 545, -1, -1, 844, -1, 633, -1, -1, -1, 38, 10, 40, -1, 42, -1, -1, -1, 46, 826, -1, 565, -1, 94, -1, -1, -1, 125, -1, -1, 837, 59, -1, -1, -1, 579, -1, 844, -1, 38, -1, 40, -1, 42, -1, -1, -1, 46, -1, -1, -1, -1, -1, 124, -1, 262, 263, 264, -1, 593, 59, 268, 269, -1, 271, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 611, -1, -1, -1, 615, 709, -1, -1, 619, 293, 294, 295, 296, 297, 0, -1, -1, -1, -1, -1, 631, -1, -1, -1, 10, -1, -1, 648, -1, -1, -1, -1, -1, -1, -1, -1, 657, 658, -1, 660, 661, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, 679, -1, -1, -1, 58, 59, 60, 61, 62, 63, 689, -1, -1, 702, -1, -1, -1, 706, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, 721, 722, 723, -1, -1, 91, -1, 93, 94, 720, -1, -1, -1, -1, -1, -1, 727, -1, -1, 0, -1, -1, 733, -1, -1, 262, 263, 264, -1, 10, -1, 268, 269, -1, 271, -1, -1, 123, 124, 125, 126, -1, -1, 304, -1, -1, 307, 308, 309, -1, 771, 772, 33, -1, -1, -1, 37, 38, 769, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, 318, 792, -1, -1, 335, 323, 324, 58, 59, 60, 61, 62, 63, 344, 345, 333, 334, 798, -1, -1, -1, -1, -1, -1, -1, -1, -1, 808, -1, 304, -1, 812, 307, 308, 309, 826, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, 837, -1, -1, -1, -1, -1, -1, 844, -1, 10, -1, -1, 304, -1, 335, 307, 308, 309, -1, -1, 847, -1, 849, 344, 345, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, 38, -1, 40, 867, 42, 869, 335, -1, 46, -1, -1, -1, -1, 877, -1, 344, 345, 881, 257, 258, 259, 59, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, -1, -1, -1, 356, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, 304, -1, -1, 307, 308, 309, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 335, -1, -1, -1, -1, -1, -1, -1, -1, 344, 345, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, -1, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 94, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 124, 125, 126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, -1, 257, 258, 259, 356, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, -1, 313, 314, -1, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, 333, 334, 335, 336, -1, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 0, -1, -1, -1, 356, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, 94, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, 126, -1, -1, 33, -1, -1, -1, 37, 38, -1, 40, 41, 42, 43, 44, 45, 46, 47, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 59, 60, 61, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 38, -1, -1, -1, 42, 43, -1, 45, -1, 47, -1, -1, -1, 91, -1, -1, 94, -1, -1, -1, -1, -1, 60, -1, 62, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 123, 124, 125, }; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 282, 9035, 16, 282, 5342, 16, 6647, 890, 8285, 16, 225, 890, 9803, 16, 225, 890, 5877, 16, 282, 18012, 16, 225, 29460, 16, 565, 1666, 16, 565, 2371, 16, 282, 4711, 16, 282, 2872, 16, 225, 890, 9975, 16, 2398, 2371, 16, 282, 5342, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 2593, 24, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 2398, 576, 16, 225, 890, 7301, 16, 282, 6437, 16, 282, 9934, 16, 282, 17160, 16, 282, 17066, 16, 282, 12732, 16, 225, 890, 10689, 16, 225, 6580, 28, 16, 282, 17160, 16, 5411, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 17066, 16, 282, 14995, 16, 282, 5342, 16, 282, 1728, 16, 282, 4648, 16, 282, 3847, 16, 225, 890, 2138, 16, 5411, 9934, 16, 282, 26465, 16, 282, 21119, 16, 282, 1728, 16, 225, 576, 9498, 16, 282, 4648, 16, 225, 890, 5292, 16, 282, 17160, 16, 282, 1728, 16, 225, 23633, 16, 5411, 21119, 16, 282, 13291, 16, 565, 1059, 16, 565, 1381, 16, 225, 890, 7132, 16, 282, 31007, 16, 225, 890, 9452, 16, 225, 890, 8942, 16, 225, 890, 6334, 16, 282, 17077, 16, 6647, 1059, 2163, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 282, 9035, 16, 282, 5342, 16, 6647, 890, 8285, 16, 225, 890, 9803, 16, 225, 890, 5877, 16, 282, 18012, 16, 225, 29460, 16, 565, 1666, 16, 565, 2371, 16, 282, 4711, 16, 282, 2872, 16, 225, 890, 9975, 16, 2398, 2371, 16, 282, 5342, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 2593, 24, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 2398, 576, 16, 225, 890, 7301, 2 ]
System.arraycopy(buffer, bufferPosition, b, offset, len);
System.arraycopy(buffer, bufferPosition, b, offset, len);
public void readBytes(byte[] b, int offset, int len) throws IOException { if(len <= (bufferLength-bufferPosition)){ // the buffer contains enough data to satistfy this request if(len>0) // to allow b to be null if len is 0... System.arraycopy(buffer, bufferPosition, b, offset, len); bufferPosition+=len; } else { // the buffer does not have enough data. First serve all we've got. int available = bufferLength - bufferPosition; if(available > 0){ System.arraycopy(buffer, bufferPosition, b, offset, available); offset += available; len -= available; bufferPosition += available; } // and now, read the remaining 'len' bytes: if(len<BUFFER_SIZE){ // If the amount left to read is small enough, do it in the usual // buffered way: fill the buffer and copy from it: refill(); if(bufferLength<len){ // Throw an exception when refill() could not read len bytes: System.arraycopy(buffer, 0, b, offset, bufferLength); throw new IOException("read past EOF"); } else { System.arraycopy(buffer, 0, b, offset, len); bufferPosition=len; } } else { // The amount left to read is larger than the buffer - there's no // performance reason not to read it all at once. Note that unlike // the previous code of this function, there is no need to do a seek // here, because there's no need to reread what we had in the buffer. long after = bufferStart+bufferPosition+len; if(after > length()) throw new IOException("read past EOF"); readInternal(b, offset, len); bufferStart = after; bufferPosition = 0; bufferLength = 0; // trigger refill() on read } } }
50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/487fd6657c66ad3a35460e9a8aa7587290e82c73/BufferedIndexInput.java/clean/src/java/org/apache/lucene/store/BufferedIndexInput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 25825, 12, 7229, 8526, 324, 16, 509, 1384, 16, 509, 562, 13, 1216, 1860, 288, 565, 309, 12, 1897, 1648, 261, 4106, 1782, 17, 4106, 2555, 3719, 95, 1377, 368, 326, 1613, 1914, 7304, 501, 358, 5942, 376, 74, 93, 333, 590, 1377, 309, 12, 1897, 34, 20, 13, 368, 358, 1699, 324, 358, 506, 446, 309, 562, 353, 374, 2777, 377, 202, 225, 2332, 18, 1126, 3530, 12, 4106, 16, 1613, 2555, 16, 324, 16, 1384, 16, 562, 1769, 1377, 1613, 2555, 15, 33, 1897, 31, 565, 289, 469, 288, 1377, 368, 326, 1613, 1552, 486, 1240, 7304, 501, 18, 5783, 12175, 777, 732, 8081, 2363, 18, 1377, 509, 2319, 273, 1613, 1782, 300, 1613, 2555, 31, 1377, 309, 12, 5699, 405, 374, 15329, 3639, 2332, 18, 1126, 3530, 12, 4106, 16, 1613, 2555, 16, 324, 16, 1384, 16, 2319, 1769, 3639, 1384, 1011, 2319, 31, 3639, 562, 3947, 2319, 31, 3639, 1613, 2555, 1011, 2319, 31, 1377, 289, 1377, 368, 471, 2037, 16, 855, 326, 4463, 296, 1897, 11, 1731, 30, 1377, 309, 12, 1897, 32, 11302, 67, 4574, 15329, 3639, 368, 971, 326, 3844, 2002, 358, 855, 353, 5264, 7304, 16, 741, 518, 316, 326, 25669, 3639, 368, 11445, 4031, 30, 3636, 326, 1613, 471, 1610, 628, 518, 30, 3639, 1278, 737, 5621, 3639, 309, 12, 4106, 1782, 32, 1897, 15329, 1850, 368, 3743, 392, 1520, 1347, 1278, 737, 1435, 3377, 486, 855, 562, 1731, 30, 1850, 2332, 18, 1126, 3530, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 25825, 12, 7229, 8526, 324, 16, 509, 1384, 16, 509, 562, 13, 1216, 1860, 288, 565, 309, 12, 1897, 1648, 261, 4106, 1782, 17, 4106, 2555, 3719, 95, 1377, 368, 326, 1613, 1914, 7304, 501, 358, 5942, 376, 74, 93, 333, 590, 1377, 309, 12, 1897, 34, 20, 13, 368, 358, 1699, 324, 358, 506, 446, 309, 562, 353, 374, 2777, 377, 202, 225, 2332, 18, 1126, 3530, 12, 4106, 16, 1613, 2555, 16, 324, 16, 1384, 16, 562, 1769, 1377, 1613, 2555, 15, 33, 1897, 31, 565, 289, 469, 288, 1377, 368, 326, 1613, 1552, 486, 1240, 7304, 501, 18, 5783, 12175, 777, 732, 8081, 2363, 18, 1377, 509, 2319, 273, 1613, 1782, 300, 1613, 2 ]
public static synchronized String[] getAvailableIDs(int offset) {
public static synchronized String[] getAvailableIDs() {
public static synchronized String[] getAvailableIDs(int offset) { if (AvailableZones == null) initializeAvailable(); int count = 0, length = AvailableZones.size(); String[] all = new String[length]; Iterator zones = AvailableZones.values().iterator(); for (int i = 0; i < length; i++) { TimeZone tz = (TimeZone) zones.next(); if (tz.getRawOffset() == offset) all[count++] = tz.getID(); } String[] answer = new String[count]; System.arraycopy(all, 0, answer, 0, count); return answer; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/84198b83785b45bf8726a26134fd2b8dd19f3c5b/TimeZone.java/buggy/modules/luni/src/main/java/java/util/TimeZone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 3852, 514, 8526, 15796, 5103, 12, 474, 1384, 13, 288, 202, 202, 430, 261, 5268, 13600, 422, 446, 13, 1082, 202, 11160, 5268, 5621, 202, 202, 474, 1056, 273, 374, 16, 769, 273, 15633, 13600, 18, 1467, 5621, 202, 202, 780, 8526, 777, 273, 394, 514, 63, 2469, 15533, 202, 202, 3198, 13975, 273, 15633, 13600, 18, 2372, 7675, 9838, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 1082, 202, 16760, 6016, 273, 261, 16760, 13, 13975, 18, 4285, 5621, 1082, 202, 430, 261, 12994, 18, 588, 4809, 2335, 1435, 422, 1384, 13, 9506, 202, 454, 63, 1883, 9904, 65, 273, 6016, 18, 588, 734, 5621, 202, 202, 97, 202, 202, 780, 8526, 5803, 273, 394, 514, 63, 1883, 15533, 202, 202, 3163, 18, 1126, 3530, 12, 454, 16, 374, 16, 5803, 16, 374, 16, 1056, 1769, 202, 202, 2463, 5803, 31, 202, 97, 2, 0, 0, 0, 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 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 3852, 514, 8526, 15796, 5103, 12, 474, 1384, 13, 288, 202, 202, 430, 261, 5268, 13600, 422, 446, 13, 1082, 202, 11160, 5268, 5621, 202, 202, 474, 1056, 273, 374, 16, 769, 273, 15633, 13600, 18, 1467, 5621, 202, 202, 780, 8526, 777, 273, 394, 514, 63, 2469, 15533, 202, 202, 3198, 13975, 273, 15633, 13600, 18, 2372, 7675, 9838, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 288, 1082, 202, 16760, 6016, 273, 261, 16760, 13, 13975, 18, 4285, 5621, 1082, 202, 430, 261, 12994, 18, 588, 4809, 2335, 1435, 422, 1384, 13, 9506, 202, 454, 63, 1883, 9904, 65, 273, 6016, 18, 588, 734, 5621, 2 ]
throw getRuntime().newNameError(name + " is not struct member");
throw notStructMemberError(name);
private IRubyObject getByName(String name) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); assert !member.isNil() : "uninitialized struct"; for (int i = 0; i < member.getLength(); i++) { if (member.entry(i).asSymbol().equals(name)) { return values[i]; } } throw getRuntime().newNameError(name + " is not struct member"); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/1278c5bb3507a052d150d814f15453542ae41aed/RubyStruct.java/clean/src/org/jruby/RubyStruct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 30027, 12, 780, 508, 13, 288, 3639, 19817, 1076, 3140, 273, 261, 54, 10340, 1076, 13, 3694, 3092, 12, 1106, 951, 9334, 10425, 5990, 972, 8863, 3639, 1815, 401, 5990, 18, 291, 12616, 1435, 294, 315, 318, 13227, 1958, 14432, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3140, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 309, 261, 5990, 18, 4099, 12, 77, 2934, 345, 5335, 7675, 14963, 12, 529, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 30027, 12, 780, 508, 13, 288, 3639, 19817, 1076, 3140, 273, 261, 54, 10340, 1076, 13, 3694, 3092, 12, 1106, 951, 9334, 10425, 5990, 972, 8863, 3639, 1815, 401, 5990, 18, 291, 12616, 1435, 294, 315, 318, 13227, 1958, 14432, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3140, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 309, 261, 5990, 18, 4099, 12, 77, 2934, 345, 5335, 7675, 14963, 12, 529, 3719, 288, 7734, 327, 924, 63, 77, 15533, 5411, 289, 3639, 289, 3639, 604, 486, 3823, 4419, 668, 12, 529, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (_outputType == HTML) { if (elementName.toLowerCase().equals("head")) { _headTagOpen = true; } }
if (_cdata.get(elementName) != null) _cdataStack.push(new Integer(_depth));
public void startElement(String elementName) throws TransletException { // bug fix # 1499, GTM. if (_outputType == TEXT) return; try { // Close any open start tag if (_startTagOpen) { closeStartTag(); } else if (_cdataTagOpen) { characters(ENDCDATA); _cdataTagOpen = false; } // If we don't know the output type yet we need to examine // the very first element to see if it is "html". if (_outputType == UNKNOWN) { if (elementName.toLowerCase().equals("html")) setTypeInternal(HTML); else setTypeInternal(XML); } _depth++; _elementName = elementName; _attributes.clear(); _startTagOpen = true; _qnameStack.push(elementName); // Insert <META> tag directly after <HEAD> element in HTML doc if (_outputType == HTML) { if (elementName.toLowerCase().equals("head")) { _headTagOpen = true; } } } catch (SAXException e) { throw new TransletException(e); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/5812ba64ef7e43ebdaca65f1965e5b7ea57428d1/TextOutput.java/buggy/src/org/apache/xalan/xsltc/runtime/TextOutput.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 14453, 13, 202, 15069, 2604, 1810, 503, 288, 202, 759, 7934, 2917, 468, 5045, 2733, 16, 19688, 49, 18, 202, 430, 261, 67, 2844, 559, 422, 9204, 13, 327, 31, 225, 202, 698, 288, 202, 565, 368, 3527, 1281, 1696, 787, 1047, 202, 565, 309, 261, 67, 1937, 1805, 3678, 13, 288, 202, 202, 4412, 30512, 5621, 202, 565, 289, 5411, 469, 309, 261, 67, 71, 892, 1805, 3678, 13, 288, 7734, 3949, 12, 4415, 18375, 1769, 7734, 389, 71, 892, 1805, 3678, 273, 629, 31, 5411, 289, 202, 565, 368, 971, 732, 2727, 1404, 5055, 326, 876, 618, 4671, 732, 1608, 358, 19707, 558, 202, 565, 368, 326, 8572, 1122, 930, 358, 2621, 309, 518, 353, 315, 2620, 9654, 202, 565, 309, 261, 67, 2844, 559, 422, 13598, 13, 288, 202, 202, 430, 261, 2956, 461, 18, 869, 5630, 7675, 14963, 2932, 2620, 6, 3719, 1082, 565, 8811, 3061, 12, 4870, 1769, 202, 202, 12107, 1082, 565, 8811, 3061, 12, 4201, 1769, 202, 565, 289, 5411, 389, 5979, 9904, 31, 202, 565, 389, 2956, 461, 273, 14453, 31, 202, 565, 389, 4350, 18, 8507, 5621, 202, 565, 389, 1937, 1805, 3678, 273, 638, 31, 202, 565, 389, 85, 529, 2624, 18, 6206, 12, 2956, 461, 1769, 202, 565, 368, 8040, 411, 19294, 34, 1047, 5122, 1839, 411, 12458, 34, 930, 316, 3982, 997, 202, 565, 309, 261, 67, 2844, 559, 422, 3982, 13, 288, 202, 202, 430, 261, 2956, 461, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 14453, 13, 202, 15069, 2604, 1810, 503, 288, 202, 759, 7934, 2917, 468, 5045, 2733, 16, 19688, 49, 18, 202, 430, 261, 67, 2844, 559, 422, 9204, 13, 327, 31, 225, 202, 698, 288, 202, 565, 368, 3527, 1281, 1696, 787, 1047, 202, 565, 309, 261, 67, 1937, 1805, 3678, 13, 288, 202, 202, 4412, 30512, 5621, 202, 565, 289, 5411, 469, 309, 261, 67, 71, 892, 1805, 3678, 13, 288, 7734, 3949, 12, 4415, 18375, 1769, 7734, 389, 71, 892, 1805, 3678, 273, 629, 31, 5411, 289, 202, 565, 368, 971, 732, 2727, 1404, 5055, 326, 876, 618, 4671, 732, 1608, 358, 19707, 558, 202, 565, 368, 326, 8572, 1122, 930, 358, 2 ]
if (items.length <= 0) return;
if (items.length <= 0) { return; }
private void handleMoreInfoPressed() { TableItem[] items = table.getSelection(); if (items.length <= 0) return; AboutBundleGroupData info = (AboutBundleGroupData) items[0].getData(); if (info == null || !openBrowser(info.getLicenseUrl())) { MessageDialog.openInformation(getShell(), WorkbenchMessages.AboutFeaturesDialog_noInfoTitle, WorkbenchMessages.AboutFeaturesDialog_noInformation); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/AboutFeaturesDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutFeaturesDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 7417, 966, 24624, 1435, 288, 3639, 3555, 1180, 8526, 1516, 273, 1014, 18, 588, 6233, 5621, 3639, 309, 261, 3319, 18, 2469, 1648, 374, 13, 5411, 327, 31, 3639, 9771, 659, 3405, 1114, 751, 1123, 273, 261, 24813, 3405, 1114, 751, 13, 1516, 63, 20, 8009, 588, 751, 5621, 3639, 309, 261, 1376, 422, 446, 747, 401, 3190, 9132, 12, 1376, 18, 588, 13211, 1489, 1435, 3719, 288, 5411, 2350, 6353, 18, 3190, 5369, 12, 588, 13220, 9334, 4147, 22144, 5058, 18, 24813, 8696, 6353, 67, 2135, 966, 4247, 16, 5397, 4147, 22144, 5058, 18, 24813, 8696, 6353, 67, 2135, 5369, 1769, 3639, 289, 565, 289, 2, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1640, 7417, 966, 24624, 1435, 288, 3639, 3555, 1180, 8526, 1516, 273, 1014, 18, 588, 6233, 5621, 3639, 309, 261, 3319, 18, 2469, 1648, 374, 13, 5411, 327, 31, 3639, 9771, 659, 3405, 1114, 751, 1123, 273, 261, 24813, 3405, 1114, 751, 13, 1516, 63, 20, 8009, 588, 751, 5621, 3639, 309, 261, 1376, 422, 446, 747, 401, 3190, 9132, 12, 1376, 18, 588, 13211, 1489, 1435, 3719, 288, 5411, 2350, 6353, 18, 3190, 5369, 12, 588, 13220, 9334, 4147, 22144, 5058, 18, 24813, 8696, 6353, 67, 2135, 966, 4247, 16, 5397, 4147, 22144, 5058, 18, 24813, 8696, 6353, 67, 2135, 5369, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
cleanupSql.append(handle); cleanupSql.append('\n');
if (cleanupSql.length() > 0) { baseTds.executeSQL(cleanupSql.toString(), null, null, true, 0, -1, -1, true); baseTds.clearResponseQueue(); } } else { for (Iterator iterator = handles.iterator(); iterator.hasNext(); ) { ProcEntry pe = (ProcEntry)iterator.next(); if (pe.toString() != null) { baseTds.sybaseUnPrepare(pe.toString()); } }
synchronized void removeStatement(JtdsStatement statement) throws SQLException { // Remove the JtdsStatement for (int i = 0; i < statements.size(); i++) { WeakReference wr = (WeakReference) statements.get(i); if (wr != null) { Statement stmt = (Statement) wr.get(); if (stmt != null && stmt == statement) { statements.set(i, null); } } } if (statement instanceof JtdsPreparedStatement) { // Clean up the prepared statement cache Collection handles = statementCache.getObsoleteHandles( ((JtdsPreparedStatement) statement).handles); if (handles != null) { StringBuffer cleanupSql = new StringBuffer(handles.size() * 32); for (Iterator iterator = handles.iterator(); iterator.hasNext(); ) { String handle = iterator.next().toString(); // FIXME - Add support for sp_cursorunprepare if (TdsCore.isPreparedProcedureName(handle)) { cleanupSql.append("EXEC sp_unprepare "); } else { cleanupSql.append("DROP PROC "); } cleanupSql.append(handle); cleanupSql.append('\n'); } baseTds.executeSQL(cleanupSql.toString(), null, null, true, 0, -1, -1, true); baseTds.clearResponseQueue(); } } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/92d74aea7d69729def8e563b01dea2ac958de8f3/ConnectionJDBC2.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/ConnectionJDBC2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 1206, 3406, 12, 46, 88, 2377, 3406, 3021, 13, 5411, 1216, 6483, 288, 3639, 368, 3581, 326, 804, 88, 2377, 3406, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6317, 18, 1467, 5621, 277, 27245, 288, 5411, 23632, 2404, 12408, 273, 261, 3218, 581, 2404, 13, 6317, 18, 588, 12, 77, 1769, 5411, 309, 261, 91, 86, 480, 446, 13, 288, 7734, 8056, 3480, 273, 261, 3406, 13, 12408, 18, 588, 5621, 7734, 309, 261, 10589, 480, 446, 597, 3480, 422, 3021, 13, 288, 10792, 6317, 18, 542, 12, 77, 16, 446, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 261, 11516, 1276, 804, 88, 2377, 29325, 13, 288, 5411, 368, 9645, 731, 326, 8208, 3021, 1247, 5411, 2200, 7372, 273, 3021, 1649, 18, 588, 27637, 19513, 8788, 12, 10792, 14015, 46, 88, 2377, 29325, 13, 3021, 2934, 24111, 1769, 5411, 309, 261, 24111, 480, 446, 13, 288, 7734, 6674, 6686, 5101, 273, 394, 6674, 12, 24111, 18, 1467, 1435, 380, 3847, 1769, 7734, 364, 261, 3198, 2775, 273, 7372, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 262, 288, 10792, 514, 1640, 273, 2775, 18, 4285, 7675, 10492, 5621, 10792, 368, 9852, 300, 1436, 2865, 364, 1694, 67, 9216, 318, 9366, 10792, 309, 261, 56, 2377, 4670, 18, 291, 15464, 17213, 461, 12, 4110, 3719, 288, 13491, 6686, 5101, 18, 6923, 2932, 15271, 1694, 67, 318, 9366, 315, 1769, 10792, 289, 469, 288, 13491, 6686, 5101, 18, 6923, 2932, 18768, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3852, 918, 1206, 3406, 12, 46, 88, 2377, 3406, 3021, 13, 5411, 1216, 6483, 288, 3639, 368, 3581, 326, 804, 88, 2377, 3406, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6317, 18, 1467, 5621, 277, 27245, 288, 5411, 23632, 2404, 12408, 273, 261, 3218, 581, 2404, 13, 6317, 18, 588, 12, 77, 1769, 5411, 309, 261, 91, 86, 480, 446, 13, 288, 7734, 8056, 3480, 273, 261, 3406, 13, 12408, 18, 588, 5621, 7734, 309, 261, 10589, 480, 446, 597, 3480, 422, 3021, 13, 288, 10792, 6317, 18, 542, 12, 77, 16, 446, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 261, 11516, 1276, 804, 88, 2377, 29325, 13, 288, 5411, 368, 9645, 731, 2 ]
return self.getRuntime().newString("tag:yaml.org,2002:seq");
String className = self.getType().getName(); if("Array".equals(className)) { return self.getRuntime().newString("tag:yaml.org,2002:seq"); } else { return self.getRuntime().newString("tag:yaml.org,2002:seq:" + className); }
public IRubyObject method9(ThreadContext context, IRubyObject self, IRubyObject[] args) { return self.getRuntime().newString("tag:yaml.org,2002:seq"); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/121d8287e0a8d27aa18bbefd10a9ebf08fe51d8d/RubyYAML.java/buggy/src/org/jruby/RubyYAML.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 707, 29, 12, 3830, 1042, 819, 16, 15908, 10340, 921, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 5411, 514, 2658, 273, 365, 18, 588, 559, 7675, 17994, 5621, 309, 2932, 1076, 9654, 14963, 12, 12434, 3719, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 5436, 8863, 289, 469, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 15908, 10340, 921, 707, 29, 12, 3830, 1042, 819, 16, 15908, 10340, 921, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 5411, 514, 2658, 273, 365, 18, 588, 559, 7675, 17994, 5621, 309, 2932, 1076, 9654, 14963, 12, 12434, 3719, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 5436, 8863, 289, 469, 288, 327, 365, 18, 588, 5576, 7675, 2704, 780, 2932, 2692, 30, 9522, 18, 3341, 16, 6976, 22, 30, 5436, 2773, 397, 2658, 1769, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if ( DesignChoiceConstants.MAP_OPERATOR_BETWEEN.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN.equals( operatorValue ) )
else if ( DesignChoiceConstants.MAP_OPERATOR_BETWEEN .equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN .equals( operatorValue ) )
public static int determineValueVisible( String operatorValue ) { if ( DesignChoiceConstants.MAP_OPERATOR_ANY.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_FALSE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_TRUE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NULL.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NOT_NULL.equals( operatorValue ) ) { return 0; } else if ( DesignChoiceConstants.MAP_OPERATOR_LT.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_LE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_EQ.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_GE.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_GT.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_LIKE.equals( operatorValue ) ) { return 1; } else if ( DesignChoiceConstants.MAP_OPERATOR_BETWEEN.equals( operatorValue ) || DesignChoiceConstants.MAP_OPERATOR_NOT_BETWEEN.equals( operatorValue ) ) { return 2; } return 1; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e2b6eafcb11806e8cec2333182f81de479004998/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 4199, 620, 6207, 12, 514, 3726, 620, 262, 202, 95, 202, 202, 430, 261, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 15409, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 21053, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 18724, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 8560, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 4400, 67, 8560, 18, 14963, 12, 3726, 620, 262, 262, 202, 202, 95, 1082, 202, 2463, 374, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 12050, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 900, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 27247, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 5407, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 7113, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 16506, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 21538, 18, 14963, 12, 3726, 620, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 4199, 620, 6207, 12, 514, 3726, 620, 262, 202, 95, 202, 202, 430, 261, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 15409, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 21053, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 18724, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 8560, 18, 14963, 12, 3726, 620, 262, 9506, 202, 20081, 29703, 10538, 2918, 18, 8352, 67, 26110, 67, 4400, 67, 8560, 18, 14963, 12, 3726, 620, 262, 262, 202, 202, 95, 1082, 202, 2463, 374, 31, 202, 202, 2 ]
col.setCellEditor(cbce); col.setCellRenderer(cbce);
col.setCellEditor(dce);
private void configureTables() { _headerTableModel = new HeaderTableModel(); headerTable.setModel(_headerTableModel); _parameterTableModel = new ParameterTableModel(); paramTable.setModel(_parameterTableModel); DefaultComboBoxModel paramTypes = new DefaultComboBoxModel(Parameter.getParameterLocations()); ComboBoxCellEditor cbce = new ComboBoxCellEditor(paramTypes); TableColumn col = paramTable.getColumnModel().getColumn(0); col.setCellEditor(cbce); col.setCellRenderer(cbce); _fuzzSources = new DefaultComboBoxModel(_fuzzFactory.getSourceDescriptions()); _fuzzSources.insertElementAt("", 0); cbce = new ComboBoxCellEditor(_fuzzSources); col = paramTable.getColumnModel().getColumn(5); col.setCellEditor(cbce); col.setCellRenderer(cbce); paramTable.setRowHeight((int)cbce.getComponent().getPreferredSize().getHeight()); }
8554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8554/6db137330f99fed3ae440ea47133664c440d8902/FuzzerPanel.java/buggy/src/org/owasp/webscarab/plugin/fuzz/swing/FuzzerPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5068, 6905, 1435, 288, 3639, 389, 3374, 1388, 1488, 273, 394, 4304, 1388, 1488, 5621, 3639, 1446, 1388, 18, 542, 1488, 24899, 3374, 1388, 1488, 1769, 7734, 389, 6775, 1388, 1488, 273, 394, 5498, 1388, 1488, 5621, 3639, 579, 1388, 18, 542, 1488, 24899, 6775, 1388, 1488, 1769, 3639, 2989, 22199, 1488, 21265, 273, 394, 2989, 22199, 1488, 12, 1662, 18, 588, 1662, 10985, 10663, 3639, 1286, 1075, 3514, 4020, 6946, 2875, 311, 273, 394, 1286, 1075, 3514, 4020, 6946, 12, 891, 2016, 1769, 3639, 3555, 1494, 645, 273, 579, 1388, 18, 588, 1494, 1488, 7675, 588, 1494, 12, 20, 1769, 3639, 645, 18, 542, 4020, 6946, 12, 7358, 311, 1769, 3639, 645, 18, 542, 4020, 6747, 12, 7358, 311, 1769, 3639, 389, 74, 9510, 8628, 273, 394, 2989, 22199, 1488, 24899, 74, 9510, 1733, 18, 588, 1830, 16844, 10663, 3639, 389, 74, 9510, 8628, 18, 6387, 1046, 861, 2932, 3113, 374, 1769, 3639, 2875, 311, 273, 394, 1286, 1075, 3514, 4020, 6946, 24899, 74, 9510, 8628, 1769, 3639, 645, 273, 579, 1388, 18, 588, 1494, 1488, 7675, 588, 1494, 12, 25, 1769, 3639, 645, 18, 542, 4020, 6946, 12, 7358, 311, 1769, 3639, 645, 18, 542, 4020, 6747, 12, 7358, 311, 1769, 3639, 579, 1388, 18, 542, 1999, 2686, 12443, 474, 13, 7358, 311, 18, 588, 1841, 7675, 588, 16028, 1225, 7675, 588, 2686, 10663, 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542, 1488, 24899, 6775, 1388, 1488, 1769, 3639, 2989, 22199, 1488, 21265, 273, 394, 2989, 22199, 1488, 12, 1662, 18, 588, 1662, 10985, 10663, 3639, 1286, 1075, 3514, 4020, 6946, 2875, 311, 273, 394, 1286, 1075, 3514, 4020, 6946, 12, 891, 2016, 1769, 3639, 3555, 1494, 645, 273, 579, 1388, 18, 588, 1494, 1488, 7675, 588, 1494, 12, 20, 1769, 3639, 645, 18, 542, 4020, 6946, 12, 7358, 311, 1769, 3639, 645, 18, 542, 4020, 2 ]
public void storePatch (Patch p, int bankNum,int patchNum)
public void storePatch (IPatch p, int bankNum,int patchNum)
public void storePatch (Patch p, int bankNum,int patchNum) { if ( ( ((DX7FamilyDevice)(getDevice())).getTipsMsgFlag() & 0x01 ) == 1 ) // show Information YamahaTX7Strings.dxShowInformation(toString(), YamahaTX7Strings.STORE_SINGLE_PERFORMANCE_STRING); sendPatchWorker (p); }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/YamahaTX7PerformanceSingleDriver.java/buggy/JSynthLib/synthdrivers/YamahaTX7/YamahaTX7PerformanceSingleDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1707, 7332, 261, 7332, 293, 16, 509, 11218, 2578, 16, 474, 4729, 2578, 13, 202, 95, 202, 202, 430, 261, 261, 14015, 28826, 27, 9203, 3654, 21433, 588, 3654, 10756, 2934, 588, 56, 7146, 3332, 4678, 1435, 473, 374, 92, 1611, 262, 422, 404, 262, 1082, 202, 759, 2405, 15353, 1875, 202, 61, 20789, 3395, 16556, 27, 7957, 18, 13437, 5706, 5369, 12, 10492, 9334, 1624, 20789, 3395, 16556, 27, 7957, 18, 13651, 67, 20184, 67, 3194, 4983, 4722, 67, 5804, 1769, 202, 202, 4661, 7332, 6671, 261, 84, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1707, 7332, 261, 7332, 293, 16, 509, 11218, 2578, 16, 474, 4729, 2578, 13, 202, 95, 202, 202, 430, 261, 261, 14015, 28826, 27, 9203, 3654, 21433, 588, 3654, 10756, 2934, 588, 56, 7146, 3332, 4678, 1435, 473, 374, 92, 1611, 262, 422, 404, 262, 1082, 202, 759, 2405, 15353, 1875, 202, 61, 20789, 3395, 16556, 27, 7957, 18, 13437, 5706, 5369, 12, 10492, 9334, 1624, 20789, 3395, 16556, 27, 7957, 18, 13651, 67, 20184, 67, 3194, 4983, 4722, 67, 5804, 1769, 202, 202, 4661, 7332, 6671, 261, 84, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
stack.remove(pane);
stack.getPresentation().movePart(pane.getPresentablePart(), dropResult.getCookie());
public void drop() { // If we're dragging a pane over itself do nothing //if (dropResult.getInsertionPoint() == pane.getPresentablePart()) { return; }; // Don't worry about reparenting the view if we're // simply rearranging tabs within this folder if (pane.getContainer() != stack) { stack.derefPart(pane); pane.reparent(stack.getParent()); } else { stack.remove(pane); } stack.add(pane, dropResult.getCookie()); stack.setSelection(pane); pane.setFocus(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a44e3679b294ff539fce71b7e835499b2c444fa7/PartStack.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3640, 1435, 288, 5411, 368, 971, 732, 4565, 25434, 279, 13618, 1879, 6174, 741, 5083, 5411, 368, 430, 261, 7285, 1253, 18, 588, 29739, 2148, 1435, 422, 13618, 18, 588, 6351, 429, 1988, 10756, 288, 327, 31, 289, 31, 5411, 368, 7615, 1404, 26784, 2973, 2071, 817, 310, 326, 1476, 309, 732, 4565, 5411, 368, 8616, 283, 5399, 18183, 10920, 3470, 333, 3009, 5411, 309, 261, 29009, 18, 588, 2170, 1435, 480, 2110, 13, 288, 7734, 2110, 18, 765, 10241, 1988, 12, 29009, 1769, 7734, 13618, 18, 266, 2938, 12, 3772, 18, 588, 3054, 10663, 5411, 289, 469, 288, 1171, 2110, 18, 588, 6351, 367, 7675, 8501, 1988, 12, 29009, 18, 588, 6351, 429, 1988, 9334, 3640, 1253, 18, 588, 6151, 10663, 5411, 289, 5411, 2110, 18, 1289, 12, 29009, 16, 3640, 1253, 18, 588, 6151, 10663, 5411, 2110, 18, 542, 6233, 12, 29009, 1769, 5411, 13618, 18, 542, 9233, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3640, 1435, 288, 5411, 368, 971, 732, 4565, 25434, 279, 13618, 1879, 6174, 741, 5083, 5411, 368, 430, 261, 7285, 1253, 18, 588, 29739, 2148, 1435, 422, 13618, 18, 588, 6351, 429, 1988, 10756, 288, 327, 31, 289, 31, 5411, 368, 7615, 1404, 26784, 2973, 2071, 817, 310, 326, 1476, 309, 732, 4565, 5411, 368, 8616, 283, 5399, 18183, 10920, 3470, 333, 3009, 5411, 309, 261, 29009, 18, 588, 2170, 1435, 480, 2110, 13, 288, 7734, 2110, 18, 765, 10241, 1988, 12, 29009, 1769, 7734, 13618, 18, 266, 2938, 12, 3772, 18, 588, 3054, 10663, 5411, 289, 469, 288, 1171, 2110, 18, 588, 6351, 367, 7675, 8501, 1988, 12, 29009, 18, 588, 6351, 429, 1988, 9334, 2 ]
if ( sqlType != Types.INTEGER && sqlType != Types.NUMERIC && sqlType != Types.DECIMAL && sqlType != Types.BIGINT) throw new MappingException( Messages.format( "mapping.keyGenSQLType", getClass().getName(), new Integer( sqlType ) ) );
supportsSqlType( sqlType );
public MaxKeyGenerator( PersistenceFactory factory, int sqlType ) throws MappingException { _factory = factory; _sqlType = sqlType; if ( sqlType != Types.INTEGER && sqlType != Types.NUMERIC && sqlType != Types.DECIMAL && sqlType != Types.BIGINT) throw new MappingException( Messages.format( "mapping.keyGenSQLType", getClass().getName(), new Integer( sqlType ) ) ); }
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/67128a32f4d4e1917d29ce89c80dfd7a9546195a/MaxKeyGenerator.java/buggy/trunk/castor/src/main/org/exolab/castor/jdo/drivers/MaxKeyGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4238, 653, 3908, 12, 13381, 1733, 3272, 16, 509, 1847, 559, 262, 5411, 1216, 30896, 565, 288, 3639, 389, 6848, 273, 3272, 31, 3639, 389, 4669, 559, 273, 1847, 559, 31, 3639, 309, 261, 1847, 559, 480, 7658, 18, 14217, 597, 1847, 559, 480, 7658, 18, 22998, 597, 1847, 559, 480, 7658, 18, 23816, 597, 1847, 559, 480, 7658, 18, 19044, 3217, 13, 5411, 604, 394, 30896, 12, 4838, 18, 2139, 12, 315, 6770, 18, 856, 7642, 3997, 559, 3113, 4766, 3639, 2900, 7675, 17994, 9334, 394, 2144, 12, 1847, 559, 262, 262, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 16, 509, 1847, 559, 262, 5411, 1216, 30896, 565, 288, 3639, 389, 6848, 273, 3272, 31, 3639, 389, 4669, 559, 273, 1847, 559, 31, 3639, 309, 261, 1847, 559, 480, 7658, 18, 14217, 597, 1847, 559, 480, 7658, 18, 22998, 597, 1847, 559, 480, 7658, 18, 23816, 597, 1847, 559, 480, 7658, 18, 19044, 3217, 13, 5411, 604, 394, 30896, 12, 4838, 18, 2139, 12, 315, 6770, 18, 856, 7642, 3997, 559, 3113, 4766, 3639, 2900, 7675, 17994, 9334, 394, 2144, 12, 1847, 559, 262, 262, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
warn("Out of order access or missing metadata 'sizeC'.");
public void setDefaultDisplaySettings(Integer i) { int ndx = i == null ? 0 : i.intValue(); /* CTR TODO FIX THIS if (i == null) i = new Integer(0); Float sizeCAsFloat = getPixelSizeC(i); if (sizeCAsFloat == null) { //log.warn("Out of order access or missing metadata 'sizeC'."); return; } int sizeC = sizeCAsFloat.intValue(); // Sanity check if (sizeC < 1) { //log.warn("Ignoring request for default display options: sizeC < 1."); return; } Object displayOptions = null; try { r.setVar("ome", root); Object image = getChild(root, "Image", i); r.setVar("image", image); r.exec("import org.openmicroscopy.xml.st.DisplayOptionsNode"); displayOptions = getChild(image, "DisplayOptions", i); r.setVar("displayOptions", displayOptions); // The strategy here is to use the already populated (hopefully :)) // global minimum and global maximum for the black and white levels. Object[] displayChannels = createRGBDisplayChannels(sizeC, displayOptions); Object greyscaleChannel = createGreyscaleDisplayChannel(displayOptions, new Integer(sizeC + 1)); // Populate the RGB channels if (displayChannels.length > 0) { // Red only r.setVar("channel", displayChannels[0]); r.exec("displayOptions.setRedChannel(channel)"); r.exec("displayOptions.setRedChannelOn(Boolean.TRUE)"); } if (displayChannels.length > 1) { // Red and green r.setVar("channel", displayChannels[1]); r.exec("displayOptions.setGreenChannel(channel)"); r.exec("displayOptions.setGreenChannelOn(Boolean.TRUE)"); } if (displayChannels.length > 2) { // Red, green and blue r.setVar("channel", displayChannels[2]); r.exec("displayOptions.setBlueChannel(channel)"); r.exec("displayOptions.setBlueChannelOn(Boolean.TRUE)"); } // Populate the greyscale channel r.setVar("channel", greyscaleChannel); r.exec("displayOptions.setGreyChannel(channel)"); r.exec("displayOptions.setGreyChannelOn(Boolean.TRUE)"); } catch (ReflectException e) { // We want potential errors in the reflected universe to be exposed to a // developer. //log.warn(e); } */ }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/26045e26581487ca0ee88577433c810b05547aa6/OMEXMLMetadataStore.java/buggy/loci/formats/OMEXMLMetadataStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1071, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 918, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 9277, 4236, 2628, 12, 4522, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 277, 13, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 288, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 509, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 5346, 92, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 273, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 277, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 422, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 446, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 692, 8935, 2932, 1182, 434, 1353, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1071, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 918, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 9277, 4236, 2628, 12, 4522, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 277, 13, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 288, 8935, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 39, 14550, 1769, 1894, 2932, 1182, 434, 1353, 2006, 578, 3315, 1982, 296, 1467, 2 ]
public EditorTabDropTarget(int editorIdx) {
public EditorTabDropTarget(IWorkbenchWindowProvider provider, int editorIdx) { super(provider);
public EditorTabDropTarget(int editorIdx) { this.editorIdx = editorIdx; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7e6ce7164ebc7d8454b80fdbc69144b9e0def19d/EditorTabDropTarget.java/buggy/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/dnd/EditorTabDropTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18451, 5661, 7544, 2326, 12, 45, 2421, 22144, 3829, 2249, 2893, 16, 509, 4858, 4223, 13, 288, 2240, 12, 6778, 1769, 3639, 333, 18, 9177, 4223, 273, 4858, 4223, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18451, 5661, 7544, 2326, 12, 45, 2421, 22144, 3829, 2249, 2893, 16, 509, 4858, 4223, 13, 288, 2240, 12, 6778, 1769, 3639, 333, 18, 9177, 4223, 273, 4858, 4223, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (sign == null) { return false; } if (!(sign.getTokenType().equals(JavaTokenType.EQ))) {
if (!sign.getTokenType().equals(JavaTokenType.EQ)) {
private static boolean expressionIsArrayMove(PsiExpression exp, PsiLocalVariable var) { final PsiExpression strippedExpression = ParenthesesUtils.stripParentheses(exp); if (strippedExpression == null) { return false; } if (!(strippedExpression instanceof PsiAssignmentExpression)) { return false; } final PsiAssignmentExpression assignment = (PsiAssignmentExpression) strippedExpression; final PsiJavaToken sign = assignment.getOperationSign(); if (sign == null) { return false; } if (!(sign.getTokenType().equals(JavaTokenType.EQ))) { return false; } final PsiExpression lhs = assignment.getLExpression(); if (lhs == null) { return false; } if (SideEffectChecker.mayHaveSideEffects(lhs)) { return false; } if (!isOffsetArrayAccess(lhs, var)) { return false; } final PsiExpression rhs = assignment.getRExpression(); if (rhs == null) { return false; } if (SideEffectChecker.mayHaveSideEffects(rhs)) { return false; } return isOffsetArrayAccess(rhs, var); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/10dfc0821a579a6a0ff949a64d378572f57a4625/ManualArrayCopyInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/ManualArrayCopyInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 1250, 2652, 2520, 1076, 7607, 12, 52, 7722, 2300, 1329, 16, 453, 7722, 2042, 3092, 569, 13, 288, 5411, 727, 453, 7722, 2300, 13300, 2300, 273, 453, 10640, 281, 1989, 18, 6406, 17880, 281, 12, 2749, 1769, 5411, 309, 261, 6406, 1845, 2300, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 12, 6406, 1845, 2300, 1276, 453, 7722, 7729, 2300, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 7729, 2300, 6661, 273, 261, 52, 7722, 7729, 2300, 13, 13300, 2300, 31, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 6661, 18, 588, 2988, 2766, 5621, 5411, 309, 261, 2977, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 12, 2977, 18, 588, 28675, 7675, 14963, 12, 5852, 28675, 18, 27247, 20349, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 8499, 273, 6661, 18, 588, 48, 2300, 5621, 5411, 309, 261, 80, 4487, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 8895, 12477, 8847, 18, 24877, 17944, 8895, 29013, 12, 80, 4487, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 291, 2335, 1076, 1862, 12, 80, 4487, 16, 569, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 7711, 273, 6661, 18, 588, 54, 2300, 5621, 5411, 309, 261, 86, 4487, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 8895, 12477, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 1250, 2652, 2520, 1076, 7607, 12, 52, 7722, 2300, 1329, 16, 453, 7722, 2042, 3092, 569, 13, 288, 5411, 727, 453, 7722, 2300, 13300, 2300, 273, 453, 10640, 281, 1989, 18, 6406, 17880, 281, 12, 2749, 1769, 5411, 309, 261, 6406, 1845, 2300, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 12, 6406, 1845, 2300, 1276, 453, 7722, 7729, 2300, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 7729, 2300, 6661, 273, 261, 52, 7722, 7729, 2300, 13, 13300, 2300, 31, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 6661, 18, 588, 2988, 2766, 5621, 5411, 309, 261, 2977, 422, 446, 13, 288, 7734, 327, 629, 31, 2 ]
PDEPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, monitor);
PDEPlugin.getWorkspace().build(IncrementalProjectBuilder.INCREMENTAL_BUILD, monitor);
protected IStatus run(IProgressMonitor monitor) { try { PDEPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, monitor); } catch (CoreException e) { } return Status.OK_STATUS; }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/a37af657c520faa0e5786a1f5dbed800b67c98bb/PluginImportOperation.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 698, 288, 6862, 202, 52, 1639, 3773, 18, 588, 8241, 7675, 3510, 12, 10798, 287, 4109, 1263, 18, 18111, 67, 20215, 16, 6438, 1769, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 9506, 202, 97, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 698, 288, 6862, 202, 52, 1639, 3773, 18, 588, 8241, 7675, 3510, 12, 10798, 287, 4109, 1263, 18, 18111, 67, 20215, 16, 6438, 1769, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 9506, 202, 97, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { fileBlock.loadNexBlock(); ftsRemote.saveFileBlock(fileBlock); numBlocks++; } catch (IOException e) { logger.error("Can not send File to:" + ftsRemote.getHostName()); logger.error(e.getMessage()); return new BooleanWrapper(false); } if (logger.isDebugEnabled()) { long fin = System.currentTimeMillis(); long delta = (fin - init); logger.debug("File sent using " + numBlocks + " blocks, in: " + delta + "[ms]"); }
private File sendFile(FileTransferService ftsRemote, File srcFile, File dstFile) throws IOException { long init=System.currentTimeMillis(); long numBlocks=0; FileBlock fileBlock = new FileBlock(srcFile.getAbsolutePath()); fileBlock.setDstFilename(dstFile.getAbsolutePath()); Boolean[] sent_blocks = new Boolean[DEFAULT_MAX_SIMULTANEOUS_BLOCKS]; while (fileBlock.hasNextBlock()) { int i; //Exceptions can happen here for (i = 0; (i < sent_blocks.length) && fileBlock.hasNextBlock(); i++) { fileBlock.loadNexBlock(); numBlocks++; ftsRemote.saveFileBlock(fileBlock); //remote (async) invocation (not yet since it's void an throws Exception) } //Wait for exceptions here } if(logger.isDebugEnabled()){ long fin=System.currentTimeMillis(); long delta = (fin-init); logger.debug("File sent using "+numBlocks+" blocks, in: "+ delta + "[ms]"); } //TODO Here We could register this FTS AO into a Node or RunTime pool for reuse! return dstFile; }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/efad12ff223250b786d8e78eee36a4cdbeaad898/FileTransferService.java/clean/src/org/objectweb/proactive/core/filetransfer/FileTransferService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 775, 288, 585, 1768, 18, 945, 50, 338, 1768, 5621, 284, 3428, 5169, 18, 5688, 812, 1768, 12, 768, 1768, 1769, 818, 6450, 9904, 31, 289, 1044, 261, 14106, 425, 13, 288, 1194, 18, 1636, 2932, 2568, 486, 1366, 1387, 358, 2773, 397, 284, 3428, 5169, 18, 588, 20946, 10663, 1194, 18, 1636, 12, 73, 18, 24906, 10663, 327, 394, 3411, 3611, 12, 5743, 1769, 289, 225, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 1525, 574, 273, 2332, 18, 2972, 28512, 5621, 1525, 3622, 273, 261, 926, 300, 1208, 1769, 1194, 18, 4148, 2932, 812, 3271, 1450, 315, 397, 818, 6450, 397, 315, 4398, 16, 225, 316, 30, 315, 397, 3622, 397, 5158, 959, 4279, 1769, 289, 565, 775, 288, 585, 1768, 18, 945, 50, 338, 1768, 5621, 284, 3428, 5169, 18, 5688, 812, 1768, 12, 768, 1768, 1769, 818, 6450, 9904, 31, 289, 1044, 261, 14106, 425, 13, 288, 1194, 18, 1636, 2932, 2568, 486, 1366, 1387, 358, 2773, 397, 284, 3428, 5169, 18, 588, 20946, 10663, 1194, 18, 1636, 12, 73, 18, 24906, 10663, 327, 394, 3411, 3611, 12, 5743, 1769, 289, 225, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 1525, 574, 273, 2332, 18, 2972, 28512, 5621, 1525, 3622, 273, 261, 926, 300, 1208, 1769, 1194, 18, 4148, 2932, 812, 3271, 1450, 315, 397, 818, 6450, 397, 315, 4398, 16, 225, 316, 30, 315, 397, 3622, 397, 5158, 959, 4279, 1769, 289, 565, 775, 288, 585, 1768, 18, 945, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 775, 288, 585, 1768, 18, 945, 50, 338, 1768, 5621, 284, 3428, 5169, 18, 5688, 812, 1768, 12, 768, 1768, 1769, 818, 6450, 9904, 31, 289, 1044, 261, 14106, 425, 13, 288, 1194, 18, 1636, 2932, 2568, 486, 1366, 1387, 358, 2773, 397, 284, 3428, 5169, 18, 588, 20946, 10663, 1194, 18, 1636, 12, 73, 18, 24906, 10663, 327, 394, 3411, 3611, 12, 5743, 1769, 289, 225, 309, 261, 4901, 18, 291, 2829, 1526, 10756, 288, 1525, 574, 273, 2332, 18, 2972, 28512, 5621, 1525, 3622, 273, 261, 926, 300, 1208, 1769, 1194, 18, 4148, 2932, 812, 3271, 1450, 315, 397, 818, 6450, 397, 315, 4398, 16, 225, 316, 30, 315, 397, 3622, 397, 5158, 959, 4279, 1769, 2 ]
Object result = "invoke result";
Object result = "invoke result";
public void testInvokesInvokableThatMatches() throws Throwable { Object result = "invoke result"; invokable1.matchesInvocation.setExpected(invocation); invokable1.matchesResult = true; invokable1.invokeInvocation.setExpected(invocation); invokable1.invokeResult = result; dispatcher.add(invokable1); dispatcher.dispatch(invocation); invokable1.verifyExpectations(); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/LIFOInvocationDispatcherTest.java/clean/jmock/core/src/test/jmock/core/LIFOInvocationDispatcherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 20749, 11354, 429, 18163, 6869, 1435, 1216, 4206, 288, 202, 202, 921, 563, 273, 315, 14407, 563, 14432, 202, 202, 5768, 601, 429, 21, 18, 8436, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 202, 202, 5768, 601, 429, 21, 18, 8436, 1253, 273, 638, 31, 202, 202, 5768, 601, 429, 21, 18, 14407, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 202, 202, 5768, 601, 429, 21, 18, 14407, 1253, 273, 563, 31, 202, 202, 18495, 18, 1289, 12, 5768, 601, 429, 21, 1769, 202, 202, 18495, 18, 10739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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 20749, 11354, 429, 18163, 6869, 1435, 1216, 4206, 288, 202, 202, 921, 563, 273, 315, 14407, 563, 14432, 202, 202, 5768, 601, 429, 21, 18, 8436, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 202, 202, 5768, 601, 429, 21, 18, 8436, 1253, 273, 638, 31, 202, 202, 5768, 601, 429, 21, 18, 14407, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 202, 202, 5768, 601, 429, 21, 18, 14407, 1253, 273, 563, 31, 202, 202, 18495, 18, 1289, 12, 5768, 601, 429, 21, 1769, 202, 202, 18495, 18, 10739, 12, 5768, 4431, 1769, 202, 202, 5768, 601, 429, 21, 18, 8705, 11988, 1012, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
IProject oldProject = getProject();
public void initialize( ILaunchConfiguration configuration ) { IProject project = getProjectFromLaunchConfiguration( configuration ); if ( project != null ) { IProject oldProject = getProject(); setProject( project ); if ( project.equals( oldProject ) ) { try { String id = configuration.getAttribute( ILaunchConfiguration.ATTR_SOURCE_LOCATOR_ID, "" ); if ( isEmpty( id ) || CDebugUIPlugin.getDefaultSourceLocatorID().equals( id ) || CDebugUIPlugin.getDefaultSourceLocatorOldID().equals( id ) ) { String memento = configuration.getAttribute( ILaunchConfiguration.ATTR_SOURCE_LOCATOR_MEMENTO, "" ); if ( !isEmpty( memento ) ) initializeFromMemento( memento ); else initializeDefaults(); } } catch( CoreException e ) { initializeDefaults(); } } else initializeDefaults(); } else { initializeGeneratedLocations( null, new ICSourceLocation[0] ); resetAdditionalLocations( CDebugCorePlugin.getDefault().getCommonSourceLocations() ); fSearchForDuplicateFiles.setSelection( CDebugCorePlugin.getDefault().getPluginPreferences().getBoolean( ICDebugConstants.PREF_SEARCH_DUPLICATE_FILES ) ); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e2724066ac22b6a8bccdbff35512c3ae8720e2b2/SourceLookupBlock.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/sourcelookup/SourceLookupBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4046, 12, 467, 9569, 1750, 1664, 262, 202, 95, 202, 202, 45, 4109, 1984, 273, 11080, 1265, 9569, 1750, 12, 1664, 11272, 202, 202, 430, 261, 1984, 480, 446, 262, 202, 202, 95, 1082, 202, 45, 4109, 1592, 4109, 273, 11080, 5621, 1082, 202, 542, 4109, 12, 1984, 11272, 1082, 202, 430, 261, 1984, 18, 14963, 12, 1592, 4109, 262, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 780, 612, 273, 1664, 18, 588, 1499, 12, 467, 9569, 1750, 18, 12043, 67, 6537, 67, 29450, 3575, 67, 734, 16, 1408, 11272, 6862, 202, 430, 261, 2709, 12, 612, 262, 747, 15106, 385, 2829, 5370, 3773, 18, 588, 1868, 1830, 5786, 734, 7675, 14963, 12, 612, 262, 747, 15106, 385, 2829, 5370, 3773, 18, 588, 1868, 1830, 5786, 7617, 734, 7675, 14963, 12, 612, 262, 262, 6862, 202, 95, 25083, 202, 780, 312, 820, 83, 273, 1664, 18, 588, 1499, 12, 467, 9569, 1750, 18, 12043, 67, 6537, 67, 29450, 3575, 67, 958, 3212, 51, 16, 1408, 11272, 25083, 202, 430, 261, 401, 291, 1921, 12, 312, 820, 83, 262, 262, 6862, 1082, 202, 11160, 1265, 49, 820, 83, 12, 312, 820, 83, 11272, 25083, 202, 12107, 6862, 1082, 202, 11160, 7019, 5621, 6862, 202, 97, 9506, 202, 97, 9506, 202, 14683, 12, 30015, 425, 262, 9506, 202, 95, 6862, 202, 11160, 7019, 5621, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 9506, 202, 11160, 7019, 5621, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4046, 12, 467, 9569, 1750, 1664, 262, 202, 95, 202, 202, 45, 4109, 1984, 273, 11080, 1265, 9569, 1750, 12, 1664, 11272, 202, 202, 430, 261, 1984, 480, 446, 262, 202, 202, 95, 1082, 202, 45, 4109, 1592, 4109, 273, 11080, 5621, 1082, 202, 542, 4109, 12, 1984, 11272, 1082, 202, 430, 261, 1984, 18, 14963, 12, 1592, 4109, 262, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 780, 612, 273, 1664, 18, 588, 1499, 12, 467, 9569, 1750, 18, 12043, 67, 6537, 67, 29450, 3575, 67, 734, 16, 1408, 11272, 6862, 202, 430, 261, 2709, 12, 612, 262, 747, 15106, 385, 2829, 5370, 3773, 18, 588, 1868, 1830, 5786, 734, 2 ]
public PerspectiveSwitcher(WorkbenchWindow window, CBanner topBar, int style) {
public PerspectiveSwitcher(IWorkbenchWindow window, CBanner topBar, int style) {
public PerspectiveSwitcher(WorkbenchWindow window, CBanner topBar, int style) { this.window = window; this.topBar = topBar; this.style = style; setPropertyChangeListener(); // this listener will only be run when the Shell is being disposed // and each WorkbenchWindow has its own PerspectiveSwitcher toolBarListener = new DisposeListener() { public void widgetDisposed(DisposeEvent e) { dispose(); } }; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/7492b2d89e421d819724566c58a91d81b97ce989/PerspectiveSwitcher.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveSwitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 453, 414, 16772, 10200, 264, 12, 2421, 22144, 3829, 2742, 16, 21262, 3818, 1760, 5190, 16, 509, 2154, 13, 288, 202, 202, 2211, 18, 5668, 273, 2742, 31, 202, 202, 2211, 18, 3669, 5190, 273, 1760, 5190, 31, 202, 202, 2211, 18, 4060, 273, 2154, 31, 202, 202, 542, 1396, 15744, 5621, 202, 202, 759, 333, 2991, 903, 1338, 506, 1086, 1347, 326, 19433, 353, 3832, 1015, 7423, 202, 202, 759, 471, 1517, 4147, 22144, 3829, 711, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 453, 414, 16772, 10200, 264, 12, 2421, 22144, 3829, 2742, 16, 21262, 3818, 1760, 5190, 16, 509, 2154, 13, 288, 202, 202, 2211, 18, 5668, 273, 2742, 31, 202, 202, 2211, 18, 3669, 5190, 273, 1760, 5190, 31, 202, 202, 2211, 18, 4060, 273, 2154, 31, 202, 202, 542, 1396, 15744, 5621, 202, 202, 759, 333, 2991, 903, 1338, 506, 1086, 1347, 326, 19433, 353, 3832, 1015, 7423, 202, 202, 759, 471, 1517, 4147, 22144, 3829, 711, 2097, 4953, 453, 414, 16772, 10200, 264, 202, 202, 6738, 5190, 2223, 273, 394, 3035, 4150, 2223, 1435, 288, 1082, 202, 482, 918, 3604, 1669, 7423, 12, 1669, 4150, 1133, 425, 13, 288, 9506, 202, 2251, 4150, 5621, 1082, 2 ]
path1 = vfs._canonPath(session,path1,browser);
private void listDirectory() { VFS.DirectoryEntry[] directory = null; String[] args = { path1 }; setStatus(jEdit.getProperty("vfs.status.listing-directory",args)); try { setAbortable(true); path1 = vfs._canonPath(session,path1,browser); directory = vfs._listDirectory(session,path1,browser); } catch(IOException io) { setAbortable(false); String[] pp = { io.toString() }; VFSManager.error(browser,path1,"ioerror.directory-error",pp); } catch(WorkThread.Abort a) { } finally { try { vfs._endVFSSession(session,browser); } catch(IOException io) { setAbortable(false); String[] pp = { io.toString() }; VFSManager.error(browser,path1,"ioerror.directory-error",pp); } } setAbortable(false); browser.directoryLoaded(path1,directory); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/1e0f3a9216d385879ba26f92591fceef09855af9/BrowserIORequest.java/buggy/org/gjt/sp/jedit/browser/BrowserIORequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 666, 2853, 1435, 202, 95, 202, 202, 58, 4931, 18, 2853, 1622, 8526, 1867, 273, 446, 31, 202, 202, 780, 8526, 833, 273, 288, 589, 21, 289, 31, 202, 202, 542, 1482, 12, 78, 4666, 18, 588, 1396, 2932, 90, 2556, 18, 2327, 18, 21228, 17, 5149, 3113, 1968, 10019, 202, 202, 698, 202, 202, 95, 1082, 202, 542, 13572, 429, 12, 3767, 1769, 1082, 202, 803, 21, 273, 20682, 6315, 4169, 265, 743, 12, 3184, 16, 803, 21, 16, 11213, 1769, 1082, 202, 5149, 273, 20682, 6315, 1098, 2853, 12, 3184, 16, 803, 21, 16, 11213, 1769, 202, 202, 97, 202, 202, 14683, 12, 14106, 2527, 13, 202, 202, 95, 1082, 202, 542, 13572, 429, 12, 5743, 1769, 1082, 202, 780, 8526, 8228, 273, 288, 2527, 18, 10492, 1435, 289, 31, 1082, 202, 58, 4931, 1318, 18, 1636, 12, 11213, 16, 803, 21, 10837, 1594, 1636, 18, 5149, 17, 1636, 3113, 11858, 1769, 202, 202, 97, 202, 202, 14683, 12, 2421, 3830, 18, 13572, 279, 13, 202, 202, 95, 202, 202, 97, 202, 202, 23417, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 90, 2556, 6315, 409, 58, 42, 1260, 893, 12, 3184, 16, 11213, 1769, 1082, 202, 97, 1082, 202, 14683, 12, 14106, 2527, 13, 1082, 202, 95, 9506, 202, 542, 13572, 429, 12, 5743, 1769, 9506, 202, 780, 8526, 8228, 273, 288, 2527, 18, 10492, 1435, 289, 31, 9506, 202, 58, 4931, 1318, 18, 1636, 12, 11213, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 666, 2853, 1435, 202, 95, 202, 202, 58, 4931, 18, 2853, 1622, 8526, 1867, 273, 446, 31, 202, 202, 780, 8526, 833, 273, 288, 589, 21, 289, 31, 202, 202, 542, 1482, 12, 78, 4666, 18, 588, 1396, 2932, 90, 2556, 18, 2327, 18, 21228, 17, 5149, 3113, 1968, 10019, 202, 202, 698, 202, 202, 95, 1082, 202, 542, 13572, 429, 12, 3767, 1769, 1082, 202, 803, 21, 273, 20682, 6315, 4169, 265, 743, 12, 3184, 16, 803, 21, 16, 11213, 1769, 1082, 202, 5149, 273, 20682, 6315, 1098, 2853, 12, 3184, 16, 803, 21, 16, 11213, 1769, 202, 202, 97, 202, 202, 14683, 12, 14106, 2527, 13, 202, 202, 95, 1082, 202, 542, 13572, 2 ]
switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case LayoutPackage.LABEL_BLOCK__CHILDREN : return children != null && !children.isEmpty( ); case LayoutPackage.LABEL_BLOCK__BOUNDS : return bounds != null; case LayoutPackage.LABEL_BLOCK__ANCHOR : return isSetAnchor( ); case LayoutPackage.LABEL_BLOCK__STRETCH : return isSetStretch( ); case LayoutPackage.LABEL_BLOCK__INSETS : return insets != null; case LayoutPackage.LABEL_BLOCK__ROW : return isSetRow( ); case LayoutPackage.LABEL_BLOCK__COLUMN : return isSetColumn( ); case LayoutPackage.LABEL_BLOCK__ROWSPAN : return isSetRowspan( ); case LayoutPackage.LABEL_BLOCK__COLUMNSPAN : return isSetColumnspan( ); case LayoutPackage.LABEL_BLOCK__MIN_SIZE : return minSize != null; case LayoutPackage.LABEL_BLOCK__OUTLINE : return outline != null; case LayoutPackage.LABEL_BLOCK__BACKGROUND : return background != null; case LayoutPackage.LABEL_BLOCK__VISIBLE : return isSetVisible( ); case LayoutPackage.LABEL_BLOCK__TRIGGERS : return triggers != null && !triggers.isEmpty( ); case LayoutPackage.LABEL_BLOCK__LABEL : return label != null; } return eDynamicIsSet( eFeature ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/036e8c78765730b146e5854b9d6c397a296fed86/LabelBlockImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LabelBlockImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 27043, 24296, 294, 9506, 202, 2463, 2325, 480, 446, 597, 401, 5906, 18, 291, 1921, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 5315, 2124, 3948, 294, 9506, 202, 2463, 4972, 480, 446, 31, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 20360, 916, 294, 9506, 202, 2463, 13532, 11605, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 882, 10238, 1792, 294, 9506, 202, 2463, 13532, 510, 20783, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 706, 28092, 294, 9506, 202, 2463, 23576, 480, 446, 31, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 11226, 294, 9506, 202, 2463, 13532, 1999, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 11009, 294, 9506, 202, 2463, 13532, 1494, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 28402, 30819, 294, 9506, 202, 2463, 13532, 1999, 3969, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 11009, 3118, 1258, 294, 9506, 202, 2463, 13532, 1494, 3969, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 6236, 67, 4574, 294, 9506, 202, 2463, 29343, 480, 446, 31, 1082, 202, 3593, 9995, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20372, 12, 512, 14372, 4595, 425, 4595, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 27043, 24296, 294, 9506, 202, 2463, 2325, 480, 446, 597, 401, 5906, 18, 291, 1921, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 5315, 2124, 3948, 294, 9506, 202, 2463, 4972, 480, 446, 31, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 20360, 916, 294, 9506, 202, 2463, 13532, 11605, 12, 11272, 1082, 202, 3593, 9995, 2261, 18, 13545, 67, 11403, 972, 882, 10238, 1792, 294, 9506, 202, 2463, 13532, 510, 20783, 2 ]
System.loadLibrary("javaxpcom");
GREVersionRange[] range = new GREVersionRange[1]; range[0] = new GREVersionRange("1.8", true, "1.9+", true); Properties props = null; File grePath = null; try { grePath = Mozilla.getGREPathWithProperties(range, props); } catch (FileNotFoundException e) { } if (grePath == null) { System.out.println("found no GRE PATH"); return; } System.out.println("GRE PATH = " + grePath.getPath()); Mozilla Moz = Mozilla.getInstance(); try { Moz.initXPCOM(grePath, null); } catch (IllegalArgumentException e) { System.out.println("no javaxpcom.jar found in given path"); return; } catch (Throwable t) { System.out.println("initXPCOM failed"); t.printStackTrace(); return; } System.out.println("\n--> initialized\n");
public static void main(String [] args) { System.loadLibrary("javaxpcom"); String mozillaPath = System.getProperty("MOZILLA_FIVE_HOME"); if (mozillaPath == null) { throw new RuntimeException("MOZILLA_FIVE_HOME system property not set."); } File localFile = new File(mozillaPath); XPCOM.initXPCOM(localFile, null); // XPCOM.initXPCOM() only initializes XPCOM. If you want to initialize // Gecko, you would do the following instead: // GeckoEmbed.initEmbedding(localFile, null); nsIComponentManager componentManager = XPCOM.getComponentManager(); nsIMutableArray array = (nsIMutableArray) componentManager.createInstanceByContractID(NS_ARRAY_CONTRACTID, null, nsIMutableArray.NS_IMUTABLEARRAY_IID); if (array == null) { throw new RuntimeException("Failed to create nsIMutableArray."); } fillArray(array, 10); System.out.println("Array created:"); int fillResult[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; dumpArray(array, 10, fillResult, 10); // test insert IFoo foo = (IFoo) array.queryElementAt(3, IFoo.IFOO_IID); array.insertElementAt(foo, 5, false); System.out.println("insert 3 at 5:"); int insertResult[] = {0, 1, 2, 3, 4, 3, 5, 6, 7, 8, 9}; dumpArray(array, 11, insertResult, 10); System.out.println("insert 3 at 0:"); array.insertElementAt(foo, 0, false); int insertResult2[] = {3, 0, 1, 2, 3, 4, 3, 5, 6, 7, 8, 9}; dumpArray(array, 12, insertResult2, 10); System.out.println("append 3:"); array.appendElement(foo, false); int appendResult[] = {3, 0, 1, 2, 3, 4, 3, 5, 6, 7, 8, 9, 3}; dumpArray(array, 13, appendResult, 10); // test IndexOf && LastIndexOf int expectedIndex[] = {0, 4, 6, 12, -1}; int count = 0; long index = array.indexOf(0, foo); System.out.println("IndexOf(foo): " + index + "=" + expectedIndex[count] + " " + assertEqual(index, expectedIndex[count])); try { do { count++; index = array.indexOf(index + 1, foo); System.out.println("IndexOf(foo): " + index + "=" + expectedIndex[count] + " " + assertEqual(index, expectedIndex[count])); } while (true); } catch (XPCOMException e) { // If array.indexOf() did not find the element, it returns // NS_ERROR_FAILURE. if (e.errorcode != XPCOM.NS_ERROR_FAILURE) { throw e; } } index = lastIndexOf(array, foo); count--; System.out.println("LastIndexOf(foo): " + index + "=" + expectedIndex[count] + " " + assertEqual(index, expectedIndex[count])); System.out.println("ReplaceElementAt(8):"); replaceElementAt(array, foo, 8); System.gc(); int replaceResult[] = {3, 0, 1, 2, 3, 4, 3, 5, 3, 7, 8, 9, 3}; dumpArray(array, 13, replaceResult, 9); System.out.println("RemoveElementAt(0):"); array.removeElementAt(0); System.gc(); int removeResult[] = {0, 1, 2, 3, 4, 3, 5, 3, 7, 8, 9, 3}; dumpArray(array, 12, removeResult, 9); System.out.println("RemoveElementAt(7):"); array.removeElementAt(7); System.gc(); int removeResult2[] = {0, 1, 2, 3, 4, 3, 5, 7, 8, 9, 3}; dumpArray(array, 11, removeResult2, 9); System.out.println("RemoveElement(foo):"); removeElement(array, foo); System.gc(); int removeResult3[] = {0, 1, 2, 4, 3, 5, 7, 8, 9, 3}; dumpArray(array, 10, removeResult3, 9); System.out.println("RemoveLastElement(foo):"); removeLastElement(array, foo); System.gc(); int removeResult4[] = {0, 1, 2, 4, 3, 5, 7, 8, 9}; dumpArray(array, 9, removeResult4, 9); // test clear foo = null; // remove ref now, so everything is cleared System.out.println("clear array:"); array.clear(); System.gc(); dumpArray(array, 0, null, 0); System.out.println("add 4 new:"); fillArray(array, 4); dumpArray(array, 4, fillResult, 4); // test deleting of array System.out.println("release array:"); array = null; System.gc(); dumpArray(array, 0, null, 0); localFile = null; componentManager = null; System.gc(); XPCOM.shutdownXPCOM(null); // GeckoEmbed.termEmbedding(); System.out.println("Test Passed."); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/ed02b645af82c3d5c90a1114b2da532353eb59c9/TestArray.java/clean/extensions/java/xpcom/tests/TestArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 5378, 833, 13, 288, 565, 611, 862, 1444, 2655, 8526, 1048, 273, 394, 611, 862, 1444, 2655, 63, 21, 15533, 1048, 63, 20, 65, 273, 394, 611, 862, 1444, 2655, 2932, 21, 18, 28, 3113, 638, 16, 315, 21, 18, 29, 15, 3113, 638, 1769, 6183, 3458, 273, 446, 31, 225, 1387, 5174, 743, 273, 446, 31, 775, 288, 5174, 743, 273, 19058, 10745, 18, 588, 43, 862, 743, 1190, 2297, 12, 3676, 16, 3458, 1769, 289, 1044, 261, 812, 3990, 425, 13, 288, 289, 225, 309, 261, 11556, 743, 422, 446, 13, 288, 2332, 18, 659, 18, 8222, 2932, 7015, 1158, 611, 862, 7767, 8863, 327, 31, 289, 2332, 18, 659, 18, 8222, 2932, 43, 862, 7767, 273, 315, 397, 5174, 743, 18, 588, 743, 10663, 225, 19058, 10745, 19058, 273, 19058, 10745, 18, 588, 1442, 5621, 775, 288, 19058, 18, 2738, 60, 3513, 1872, 12, 11556, 743, 16, 446, 1769, 289, 1044, 261, 31237, 425, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2135, 6863, 84, 832, 18, 11930, 1392, 316, 864, 589, 8863, 327, 31, 289, 1044, 261, 15155, 268, 13, 288, 2332, 18, 659, 18, 8222, 2932, 2738, 60, 3513, 1872, 2535, 8863, 268, 18, 1188, 6332, 5621, 327, 31, 289, 2332, 18, 659, 18, 8222, 31458, 82, 413, 34, 6454, 64, 82, 8863, 565, 514, 27513, 743, 273, 2332, 18, 588, 1396, 2932, 5980, 62, 2627, 2534, 67, 1653, 3412, 67, 14209, 8863, 565, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 5378, 833, 13, 288, 565, 611, 862, 1444, 2655, 8526, 1048, 273, 394, 611, 862, 1444, 2655, 63, 21, 15533, 1048, 63, 20, 65, 273, 394, 611, 862, 1444, 2655, 2932, 21, 18, 28, 3113, 638, 16, 315, 21, 18, 29, 15, 3113, 638, 1769, 6183, 3458, 273, 446, 31, 225, 1387, 5174, 743, 273, 446, 31, 775, 288, 5174, 743, 273, 19058, 10745, 18, 588, 43, 862, 743, 1190, 2297, 12, 3676, 16, 3458, 1769, 289, 1044, 261, 812, 3990, 425, 13, 288, 289, 225, 309, 261, 11556, 743, 422, 446, 13, 288, 2332, 18, 659, 18, 8222, 2932, 7015, 1158, 611, 862, 7767, 8863, 327, 31, 289, 2332, 18, 659, 2 ]
System.out.print("OPERATIONHISTORY >>> Undo operation not valid - ");
System.out .print("OPERATIONHISTORY >>> Undo operation not valid - ");
public IStatus undoOperation(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) throws ExecutionException{ Assert.isNotNull(operation); IStatus status; if (operation.canUndo()) { status = getUndoApproval(operation, info); if (status.isOK()) { status = doUndo(monitor, info, operation, false); } } else { if (DEBUG_OPERATION_HISTORY_UNEXPECTED) { System.out.print("OPERATIONHISTORY >>> Undo operation not valid - "); //$NON-NLS-1$ System.out.print(operation); System.out.println(); } status = OPERATION_INVALID_STATUS; } return status; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3bad50e6f68ff26b260565b7df8938cfe4826b83/DefaultOperationHistory.java/clean/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 15436, 2988, 12, 45, 31224, 429, 2988, 1674, 16, 467, 5491, 7187, 6438, 16, 467, 13716, 429, 1123, 13, 1216, 20205, 95, 202, 202, 8213, 18, 291, 5962, 12, 7624, 1769, 202, 202, 45, 1482, 1267, 31, 202, 202, 430, 261, 7624, 18, 4169, 31224, 10756, 288, 1082, 202, 2327, 273, 10833, 2896, 23461, 12, 7624, 16, 1123, 1769, 1082, 202, 430, 261, 2327, 18, 291, 3141, 10756, 288, 9506, 202, 2327, 273, 741, 31224, 12, 10259, 16, 1123, 16, 1674, 16, 629, 1769, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 430, 261, 9394, 67, 22040, 67, 31746, 67, 2124, 27409, 13, 288, 9506, 202, 3163, 18, 659, 263, 1188, 2932, 22040, 31746, 4080, 1351, 2896, 1674, 486, 923, 300, 315, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4697, 202, 3163, 18, 659, 18, 1188, 12, 7624, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 5621, 1082, 202, 97, 1082, 202, 2327, 273, 31294, 67, 9347, 67, 8608, 31, 202, 202, 97, 202, 202, 2463, 1267, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 1482, 15436, 2988, 12, 45, 31224, 429, 2988, 1674, 16, 467, 5491, 7187, 6438, 16, 467, 13716, 429, 1123, 13, 1216, 20205, 95, 202, 202, 8213, 18, 291, 5962, 12, 7624, 1769, 202, 202, 45, 1482, 1267, 31, 202, 202, 430, 261, 7624, 18, 4169, 31224, 10756, 288, 1082, 202, 2327, 273, 10833, 2896, 23461, 12, 7624, 16, 1123, 1769, 1082, 202, 430, 261, 2327, 18, 291, 3141, 10756, 288, 9506, 202, 2327, 273, 741, 31224, 12, 10259, 16, 1123, 16, 1674, 16, 629, 1769, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 430, 261, 9394, 67, 22040, 67, 31746, 67, 2124, 27409, 13, 288, 9506, 202, 3163, 18, 659, 263, 1188, 2932, 2 ]
logger.debug("Case 4");
logger.debug("Case R4");
public final double removeNode(QSortedTreeNode o) { Node p = (Node) o; double ret = p.value; Node q = (Node) p.parent; int lastDir = 0; if (q.child[1] == p) lastDir = 1; if (p.child[1] == null) { q.child[lastDir] = p.child[0]; if (q.child[lastDir] != null) q.child[lastDir].parent = q; } else if (p.child[0] == null) { q.child[lastDir] = p.child[1]; if (q.child[lastDir] != null) q.child[lastDir].parent = q; } else { // Swap p with its successor, and delete it Node r = (Node) p.nextNode(); // Do not modify p's color! copyNode(r, p); p = r; q = (Node) p.parent; if (q.child[0] == p) lastDir = 0; else lastDir = 1; assert p.child[0] == null; q.child[lastDir] = p.child[1]; if (q.child[lastDir] != null) q.child[lastDir].parent = q; } if (p.isRed) return ret; for (;;) { p = (Node) q.child[lastDir]; if (isRedNode(p)) { p.isRed = false; logger.debug("Red node :-)"); break; } // Case 1: root tree if (q == root || q.child[0] == root) { logger.debug("Case 1"); break; } int sibDir = 1 - lastDir; Node grandparent = (Node) q.parent; int gLastDir = 0; if (grandparent.child[1] == q) gLastDir = 1; Node sibling = (Node) q.child[sibDir]; if (sibling.isRed) { // Case 2: sibling is red logger.debug("Case 2"); sibling.isRed = false; q.isRed = true; /* Example with lastDir == 0 qB qR sB => gB / \ ----> / \ ----> / \ pB sR pB sB qR bB / \ / \ / \ aB bB aB bB pB aB => sB */ if (lastDir == 0) grandparent.child[gLastDir] = q.rotateL(); else grandparent.child[gLastDir] = q.rotateR(); grandparent = sibling; sibling = (Node) q.child[sibDir]; if (grandparent.child[0] == q) gLastDir = 1; else gLastDir = 1; } if (!q.isRed && !sibling.isRed && !isRedNode(sibling.child[0]) && !isRedNode(sibling.child[1])) { // Case 3: parent, sibling and sibling's // children are black logger.debug("Case 3"); sibling.isRed = true; } else { assert !isRedNode(sibling); // Now sibling is black. if (!isRedNode(sibling.child[0]) && !isRedNode(sibling.child[1])) { // Case 4: sibling and sibling's // children are black, but parent is // red. assert q.isRed; logger.debug("Case 4"); sibling.isRed = true; q.isRed = false; break; } else { if (isRedNode(sibling.child[lastDir]) && !isRedNode(sibling.child[sibDir])) { // Case 5: sibling is black, left child is // red and right child is black. // Rotate at sibling and paint nodes // so that sibling.child[sibDir] is red. logger.debug("Case 5"); Node y = (Node) sibling.child[lastDir]; y.isRed = false; sibling.isRed = true; if (lastDir == 0) q.child[sibDir] = sibling.rotateR(); else q.child[sibDir] = sibling.rotateL(); sibling = y; /* Example with lastDir == 0 qR qR qB / \ ---> / \ ---> / \ xB sB xB yR xB yB / \ / \ / \ yR zB T1 sB T1 sR / \ / \ / \ T1 T2 T2 zB T2 zB */ } logger.debug("Case 6"); // Case 6: sibling is black and its right child // is red. /* q* qB s* / \ ---> / \ ---> / \ xB sB xB s* qB yB / \ / \ / \ / \ T1 yR T1 yB xB T1 T2 zB / \ / \ T2 zB T2 zB */ assert !isRedNode(sibling) && isRedNode(sibling.child[sibDir]); sibling.isRed = q.isRed; q.isRed = false; ((Node) sibling.child[sibDir]).isRed = false; if (lastDir == 0) grandparent.child[gLastDir] = q.rotateL(); else grandparent.child[gLastDir] = q.rotateR(); break; } } if (q.parent.child[0] == q) lastDir = 0; else lastDir = 1; q = (Node) q.parent; } assert isValid(); return ret; }
46701 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46701/aabb0b5f67b561171594de4a3b264eb276b1df17/PRedBlackSortedTree.java/buggy/amibe/src/org/jcae/mesh/amibe/util/PRedBlackSortedTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 1645, 1206, 907, 12, 53, 11739, 12513, 320, 13, 202, 95, 202, 202, 907, 293, 273, 261, 907, 13, 320, 31, 202, 202, 9056, 325, 273, 293, 18, 1132, 31, 202, 202, 907, 1043, 273, 261, 907, 13, 293, 18, 2938, 31, 202, 202, 474, 1142, 1621, 273, 374, 31, 202, 202, 430, 261, 85, 18, 3624, 63, 21, 65, 422, 293, 13, 1082, 202, 2722, 1621, 273, 404, 31, 202, 202, 430, 261, 84, 18, 3624, 63, 21, 65, 422, 446, 13, 202, 202, 95, 1082, 202, 85, 18, 3624, 63, 2722, 1621, 65, 273, 293, 18, 3624, 63, 20, 15533, 1082, 202, 430, 261, 85, 18, 3624, 63, 2722, 1621, 65, 480, 446, 13, 9506, 202, 85, 18, 3624, 63, 2722, 1621, 8009, 2938, 273, 1043, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 84, 18, 3624, 63, 20, 65, 422, 446, 13, 202, 202, 95, 1082, 202, 85, 18, 3624, 63, 2722, 1621, 65, 273, 293, 18, 3624, 63, 21, 15533, 1082, 202, 430, 261, 85, 18, 3624, 63, 2722, 1621, 65, 480, 446, 13, 9506, 202, 85, 18, 3624, 63, 2722, 1621, 8009, 2938, 273, 1043, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 759, 12738, 293, 598, 2097, 19532, 16, 471, 1430, 518, 1082, 202, 907, 436, 273, 261, 907, 13, 293, 18, 4285, 907, 5621, 1082, 202, 759, 2256, 486, 5612, 293, 1807, 2036, 5, 1082, 202, 3530, 907, 12, 86, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 1645, 1206, 907, 12, 53, 11739, 12513, 320, 13, 202, 95, 202, 202, 907, 293, 273, 261, 907, 13, 320, 31, 202, 202, 9056, 325, 273, 293, 18, 1132, 31, 202, 202, 907, 1043, 273, 261, 907, 13, 293, 18, 2938, 31, 202, 202, 474, 1142, 1621, 273, 374, 31, 202, 202, 430, 261, 85, 18, 3624, 63, 21, 65, 422, 293, 13, 1082, 202, 2722, 1621, 273, 404, 31, 202, 202, 430, 261, 84, 18, 3624, 63, 21, 65, 422, 446, 13, 202, 202, 95, 1082, 202, 85, 18, 3624, 63, 2722, 1621, 65, 273, 293, 18, 3624, 63, 20, 15533, 1082, 202, 430, 261, 85, 18, 3624, 63, 2722, 1621, 65, 480, 446, 2 ]
linkRefresh.setImageDescriptor(MylarImages.SYNCHED);
linkRefresh.setImageDescriptor(ContextUiImages.SYNCHED);
private void makeActions() { linkRefresh = new ActiveRefreshAction(); linkRefresh.setToolTipText("Active Refresh"); linkRefresh.setImageDescriptor(MylarImages.SYNCHED); linkRefresh.setChecked(activeRefresh); decorateInterestLevel = new ToggleDecorateInterestLevelAction(); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/302873bb5e04b391c49604109e33390d2cff2861/MylarContextTreeView.java/clean/sandbox/org.eclipse.mylyn.sandbox.ui/src/org/eclipse/mylyn/internal/sandbox/devtools/MylarContextTreeView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 6100, 1435, 288, 202, 202, 1232, 8323, 273, 394, 8857, 8323, 1803, 5621, 202, 202, 1232, 8323, 18, 542, 29250, 1528, 2932, 3896, 14179, 8863, 202, 202, 1232, 8323, 18, 542, 2040, 3187, 12, 12062, 7901, 8946, 18, 7474, 50, 15023, 1769, 202, 202, 1232, 8323, 18, 542, 11454, 12, 3535, 8323, 1769, 202, 202, 11880, 340, 29281, 2355, 273, 394, 399, 9891, 7859,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1221, 6100, 1435, 288, 202, 202, 1232, 8323, 273, 394, 8857, 8323, 1803, 5621, 202, 202, 1232, 8323, 18, 542, 29250, 1528, 2932, 3896, 14179, 8863, 202, 202, 1232, 8323, 18, 542, 2040, 3187, 12, 12062, 7901, 8946, 18, 7474, 50, 15023, 1769, 202, 202, 1232, 8323, 18, 542, 11454, 12, 3535, 8323, 1769, 202, 202, 11880, 340, 29281, 2355, 273, 394, 399, 9891, 7859, 340, 29281, 2355, 1803, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.PartySubID get(org.quickfix.field.PartySubID value)
public quickfix.field.PartySubID get(quickfix.field.PartySubID value)
public org.quickfix.field.PartySubID get(org.quickfix.field.PartySubID value) throws FieldNotFound { getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderStatusRequest.java/buggy/src/java/src/quickfix/fix44/OrderStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 17619, 1676, 734, 336, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 17619, 1676, 734, 336, 12, 19525, 904, 18, 1518, 18, 17619, 1676, 734, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return rootFile.toURI( ).relativize( file.toURI( ) ).toString( );
return rootFile.toURI( ).relativize( file.toURI( ) ).getPath( );
public String getPath( ) { Object[] selected = getResult( ); if ( selected.length > 0 && rootFile != null ) { File file = (File) selected[0]; return rootFile.toURI( ).relativize( file.toURI( ) ).toString( ); } return null; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c5b824f6157b5e2e24177741a35f75c6cce3a484/ResourceFileFolderSelectionDialog.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/ResourceFileFolderSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 4339, 12, 262, 202, 95, 202, 202, 921, 8526, 3170, 273, 8601, 12, 11272, 202, 202, 430, 261, 3170, 18, 2469, 405, 374, 597, 1365, 812, 480, 446, 262, 202, 202, 95, 1082, 202, 812, 585, 273, 261, 812, 13, 3170, 63, 20, 15533, 1082, 202, 2463, 1365, 812, 18, 869, 3098, 12, 262, 18, 2878, 270, 427, 554, 12, 585, 18, 869, 3098, 12, 262, 262, 18, 10492, 12, 11272, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 4339, 12, 262, 202, 95, 202, 202, 921, 8526, 3170, 273, 8601, 12, 11272, 202, 202, 430, 261, 3170, 18, 2469, 405, 374, 597, 1365, 812, 480, 446, 262, 202, 202, 95, 1082, 202, 812, 585, 273, 261, 812, 13, 3170, 63, 20, 15533, 1082, 202, 2463, 1365, 812, 18, 869, 3098, 12, 262, 18, 2878, 270, 427, 554, 12, 585, 18, 869, 3098, 12, 262, 262, 18, 10492, 12, 11272, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
theInputStr = PresentationResourceManager .getI18NString("ConnectorHandle.Popup.CreateXFromNewY");
theInputStr = DiagramResourceManager .getI18NString("ConnectionHandle.Popup.CreateXFromNewY");
public String getText(Object element) { String theInputStr = null; if (element instanceof IElementType) { if (isDirectionReversed()) theInputStr = PresentationResourceManager .getI18NString("ConnectorHandle.Popup.CreateXFromNewY"); //$NON-NLS-1$ else theInputStr = PresentationResourceManager .getI18NString("ConnectorHandle.Popup.CreateXToNewY"); //$NON-NLS-1$ String text = MessageFormat.format(theInputStr, new Object[] { super.getText(connectorItem), super.getText(element)}); return text; } else { if (isDirectionReversed()) theInputStr = PresentationResourceManager .getI18NString("ConnectorHandle.Popup.CreateXFromY"); //$NON-NLS-1$ else theInputStr = PresentationResourceManager .getI18NString("ConnectorHandle.Popup.CreateXToY"); //$NON-NLS-1$ String text = MessageFormat.format(theInputStr, new Object[] { super.getText(connectorItem), super.getText(element)}); return text; } }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/8cde65fc058a9faaf847d04bf9b28594ea600f8f/GetConnectorTypeAndEndCommand.java/buggy/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/commands/GetConnectorTypeAndEndCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 1082, 202, 780, 326, 1210, 1585, 273, 446, 31, 1082, 202, 430, 261, 2956, 1276, 467, 17481, 13, 288, 9506, 202, 430, 261, 291, 8212, 426, 7548, 10756, 6862, 202, 5787, 1210, 1585, 273, 25130, 367, 1420, 1318, 25083, 202, 18, 588, 45, 2643, 50, 780, 2932, 7487, 3259, 18, 13770, 18, 1684, 60, 1265, 1908, 61, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 12107, 6862, 202, 5787, 1210, 1585, 273, 25130, 367, 1420, 1318, 25083, 202, 18, 588, 45, 2643, 50, 780, 2932, 7487, 3259, 18, 13770, 18, 1684, 60, 774, 1908, 61, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 780, 977, 273, 17377, 18, 2139, 12, 5787, 1210, 1585, 16, 394, 1033, 8526, 288, 6862, 202, 9565, 18, 588, 1528, 12, 23159, 1180, 3631, 2240, 18, 588, 1528, 12, 2956, 16869, 1769, 9506, 202, 2463, 977, 31, 1082, 202, 97, 469, 288, 9506, 202, 430, 261, 291, 8212, 426, 7548, 10756, 6862, 202, 5787, 1210, 1585, 273, 25130, 367, 1420, 1318, 25083, 202, 18, 588, 45, 2643, 50, 780, 2932, 7487, 3259, 18, 13770, 18, 1684, 60, 1265, 61, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 12107, 6862, 202, 5787, 1210, 1585, 273, 25130, 367, 1420, 1318, 25083, 202, 18, 588, 45, 2643, 50, 780, 2932, 7487, 3259, 18, 13770, 18, 1684, 60, 774, 61, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 780, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 1082, 202, 780, 326, 1210, 1585, 273, 446, 31, 1082, 202, 430, 261, 2956, 1276, 467, 17481, 13, 288, 9506, 202, 430, 261, 291, 8212, 426, 7548, 10756, 6862, 202, 5787, 1210, 1585, 273, 25130, 367, 1420, 1318, 25083, 202, 18, 588, 45, 2643, 50, 780, 2932, 7487, 3259, 18, 13770, 18, 1684, 60, 1265, 1908, 61, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 12107, 6862, 202, 5787, 1210, 1585, 273, 25130, 367, 1420, 1318, 25083, 202, 18, 588, 45, 2643, 50, 780, 2932, 7487, 3259, 18, 13770, 18, 1684, 60, 774, 1908, 61, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 780, 977, 2 ]
public org.quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { org.quickfix.field.TradingSessionID value = new org.quickfix.field.TradingSessionID();
public quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { quickfix.field.TradingSessionID value = new quickfix.field.TradingSessionID();
public org.quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { org.quickfix.field.TradingSessionID value = new org.quickfix.field.TradingSessionID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CrossOrderCancelReplaceRequest.java/clean/src/java/src/quickfix/fix44/CrossOrderCancelReplaceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 336, 1609, 7459, 2157, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 336, 1609, 7459, 2157, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
type = cm.parseType(typeName); return type;
jType = cm.parseType(type); return jType;
private JType getType(String typeName) throws IOException { JType type = null; try { type = cm.parseType(typeName); return type; } catch (ClassNotFoundException e) { type = cm.ref(typeName); } return type; }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/f6c527a766c6509ad9bdf655bf9683d77b39e187/WebServiceWrapperGenerator.java/buggy/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 559, 3130, 12, 780, 8173, 13, 1216, 1860, 288, 3639, 804, 559, 618, 273, 446, 31, 3639, 775, 288, 5411, 618, 273, 5003, 18, 2670, 559, 12, 723, 461, 1769, 5411, 327, 618, 31, 3639, 289, 1044, 261, 797, 3990, 425, 13, 288, 5411, 618, 273, 5003, 18, 1734, 12, 723, 461, 1769, 3639, 289, 3639, 327, 618, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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769, 5411, 327, 618, 31, 3639, 289, 1044, 261, 797, 3990, 425, 13, 288, 5411, 618, 273, 5003, 18, 1734, 12, 723, 461, 1769, 3639, 289, 3639, 327, 618, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Object remove(Object oldInstance) { //TODO - notify refernces on node deletion if(oldInstance == null) { return null; } ObjectNode node = (ObjectNode) nodes.remove(oldInstance); return getValue(node); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/05d418921ff60e1f4923fdfa958156a76ce9c068/Encoder.java/buggy/modules/beans/src/main/java/java/beans/Encoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1206, 12, 921, 1592, 1442, 13, 288, 3639, 368, 6241, 300, 5066, 8884, 82, 764, 603, 756, 10899, 3639, 309, 12, 1673, 1442, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 7734, 1033, 907, 756, 273, 261, 921, 907, 13, 2199, 18, 4479, 12, 1673, 1442, 1769, 3639, 327, 2366, 12, 2159, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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398, 316, 326, 981, 30, 377, 1071, 1033, 1206, 12, 921, 1592, 1442, 13, 288, 3639, 368, 6241, 300, 5066, 8884, 82, 764, 603, 756, 10899, 3639, 309, 12, 1673, 1442, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 7734, 1033, 907, 756, 273, 261, 921, 907, 13, 2199, 18, 4479, 12, 1673, 1442, 1769, 3639, 327, 2366, 12, 2159, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String oldFile = ruby.getSourceFile(); int oldLine = ruby.getSourceLine();
try { String oldFile = ruby.getSourceFile(); int oldLine = ruby.getSourceLine();
public void exec(String file, int line, int col, Object expr) throws BSFException { String oldFile = ruby.getSourceFile(); int oldLine = ruby.getSourceLine(); ruby.setSourceFile(file); ruby.setSourceLine(line); ruby.evalScript((String) expr, Object.class); ruby.setSourceFile(oldFile); ruby.setSourceLine(oldLine); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/786cea08c1dd2092a02d1254b49fbee371ace5f9/JRubyEngine.java/clean/org/jruby/javasupport/bsf/JRubyEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 12, 780, 585, 16, 509, 980, 16, 509, 645, 16, 1033, 3065, 13, 1216, 605, 22395, 503, 288, 3639, 514, 1592, 812, 273, 22155, 18, 588, 31150, 5621, 3639, 509, 1592, 1670, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 22155, 18, 542, 31150, 12, 768, 1769, 3639, 22155, 18, 542, 1830, 1670, 12, 1369, 1769, 3639, 22155, 18, 8622, 3651, 12443, 780, 13, 3065, 16, 1033, 18, 1106, 1769, 3639, 22155, 18, 542,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1196, 12, 780, 585, 16, 509, 980, 16, 509, 645, 16, 1033, 3065, 13, 1216, 605, 22395, 503, 288, 3639, 514, 1592, 812, 273, 22155, 18, 588, 31150, 5621, 3639, 509, 1592, 1670, 273, 22155, 18, 588, 1830, 1670, 5621, 3639, 22155, 18, 542, 31150, 12, 768, 1769, 3639, 22155, 18, 542, 1830, 1670, 12, 1369, 1769, 3639, 22155, 18, 8622, 3651, 12443, 780, 13, 3065, 16, 1033, 18, 1106, 1769, 3639, 22155, 18, 542, 31150, 12, 1673, 812, 1769, 3639, 22155, 18, 542, 1830, 1670, 12, 1673, 1670, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
resetResults = new JButton(java.util.ResourceBundle.getBundle("global").getString("resetOut"));
resetResults = new JButton("Clear Output");
public Sidebar(AutWindow _autWin) { super(); JSplitPane splitter; JScrollPane listScroller; JPanel upperPanel, buttonPanel, lowerPanel; autWin = _autWin; upperPanel = new JPanel(new BorderLayout()); newAut = new JButton(new ImageIcon("images/stock_new.png")); renAut = new JButton(new ImageIcon("images/stock_edit.png")); delAut = new JButton(new ImageIcon("images/stock_cancel.png")); newAut.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("insAut")); renAut.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("renAut")); delAut.setToolTipText(java.util.ResourceBundle.getBundle("global").getString("remAut")); autList = new JList(); autList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); listModel = new DefaultListModel(); autList.setModel(listModel); lastSel = -1; listData = new LinkedList<FSA>(); listScroller = new JScrollPane(autList); upperPanel.add(listScroller, BorderLayout.CENTER); buttonPanel = new JPanel(); buttonPanel.add(newAut); buttonPanel.add(renAut); buttonPanel.add(delAut); // initial ist nur ein Automat in der Liste, dieser kann nicht gelscht werden delAut.setEnabled(false); upperPanel.add(buttonPanel, BorderLayout.SOUTH); results = new JTextArea(); results.setEditable(false); resultScroller = new JScrollPane(results); lowerPanel = new JPanel(new BorderLayout()); resetResults = new JButton(java.util.ResourceBundle.getBundle("global").getString("resetOut")); lowerPanel.add(resultScroller, BorderLayout.CENTER); lowerPanel.add(resetResults, BorderLayout.SOUTH); splitter = new JSplitPane(JSplitPane.VERTICAL_SPLIT, upperPanel, lowerPanel); splitter.setResizeWeight(0.55); this.setLayout(new BorderLayout()); this.add(splitter, BorderLayout.CENTER); // das Ausgabefenster wird zurckgesetzt resetResults.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { results.setText(""); insertResults("Welcome!"); } }); // entfernen den gewhlten Automaten delAut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { int lastSelCopy = lastSel; if (lastSelCopy!=-1) { lastSel = -1; listData.remove(lastSelCopy); listModel.removeElementAt(lastSelCopy); autList.setSelectedIndex(listModel.getSize()-1); if (listModel.getSize()<=1) delAut.setEnabled(false); } } }); // zeigt ein Dialogfenster mit dem der Automatenname gendert werden kann renAut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { String newName; if (lastSel!=-1) { newName = JOptionPane.showInputDialog(autWin, java.util.ResourceBundle.getBundle("global").getString("newName"), listModel.elementAt(lastSel)); if (newName==null) return; // cancel gedrckt newName = newName.trim(); for (int i = 0 ; i < newName.length() ; i++ ) { if (!Character.isJavaIdentifierPart(newName.charAt(i))) { JOptionPane.showMessageDialog(autWin, java.util.ResourceBundle.getBundle("global").getString("InvalidName"), java.util.ResourceBundle.getBundle("global").getString("Error"), JOptionPane.ERROR_MESSAGE); return; } } listModel.setElementAt(newName, lastSel); autWin.setCurrentName(newName); } } }); // fge einen neuen Automaten in die Liste ein, bis zur Obergrenze newAut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (listModel.getSize()<MAX_AUT) { insertNewAut(); } else { newAut.setEnabled(false); } } }); autList.addListSelectionListener(new ListSelectionListener() { public void valueChanged(ListSelectionEvent ev) { int selection = autList.getSelectedIndex(); if (selection!=lastSel) { if (lastSel!=-1) { listData.set(lastSel, autWin.toFSA()); } lastSel = selection; autWin.insertAut(listData.get(selection)); } } }); }
11750 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11750/fcb4f8fd8569f4c71a546309775c97c3cc118462/Sidebar.java/buggy/src/gui/Sidebar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26248, 3215, 12, 7150, 3829, 389, 5854, 18049, 13, 288, 3639, 2240, 5621, 7734, 804, 5521, 8485, 21553, 31, 3639, 804, 26360, 666, 1541, 1539, 31, 3639, 24048, 3854, 5537, 16, 3568, 5537, 16, 2612, 5537, 31, 7734, 2059, 18049, 273, 389, 5854, 18049, 31, 7734, 3854, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 7734, 394, 7150, 273, 394, 28804, 12, 2704, 3421, 5554, 2932, 7369, 19, 15381, 67, 2704, 18, 6446, 7923, 1769, 3639, 1654, 7150, 273, 394, 28804, 12, 2704, 3421, 5554, 2932, 7369, 19, 15381, 67, 4619, 18, 6446, 7923, 1769, 3639, 1464, 7150, 273, 394, 28804, 12, 2704, 3421, 5554, 2932, 7369, 19, 15381, 67, 10996, 18, 6446, 7923, 1769, 7734, 394, 7150, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 2679, 7150, 7923, 1769, 3639, 1654, 7150, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 1187, 7150, 7923, 1769, 3639, 1464, 7150, 18, 542, 29250, 1528, 12, 6290, 18, 1367, 18, 18731, 18, 588, 3405, 2932, 6347, 20387, 588, 780, 2932, 2764, 7150, 7923, 1769, 7734, 2059, 682, 273, 394, 804, 682, 5621, 3639, 2059, 682, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 3639, 666, 1488, 273, 394, 2989, 682, 1488, 5621, 3639, 2059, 682, 18, 542, 1488, 12, 1098, 1488, 1769, 3639, 1142, 1877, 273, 300, 21, 31, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26248, 3215, 12, 7150, 3829, 389, 5854, 18049, 13, 288, 3639, 2240, 5621, 7734, 804, 5521, 8485, 21553, 31, 3639, 804, 26360, 666, 1541, 1539, 31, 3639, 24048, 3854, 5537, 16, 3568, 5537, 16, 2612, 5537, 31, 7734, 2059, 18049, 273, 389, 5854, 18049, 31, 7734, 3854, 5537, 273, 394, 24048, 12, 2704, 30814, 10663, 7734, 394, 7150, 273, 394, 28804, 12, 2704, 3421, 5554, 2932, 7369, 19, 15381, 67, 2704, 18, 6446, 7923, 1769, 3639, 1654, 7150, 273, 394, 28804, 12, 2704, 3421, 5554, 2932, 7369, 19, 15381, 67, 4619, 18, 6446, 7923, 1769, 3639, 1464, 7150, 273, 394, 28804, 12, 2704, 3421, 5554, 2932, 7369, 19, 15381, 67, 10996, 18, 6446, 7923, 1769, 7734, 394, 2 ]
return 0.3528f;
return 0.26458333333333333333333333333333f;
public float getPixelToMM() { return 0.3528f; }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/5db1f6fe04792073c02c0e56be949ca13ba3b79b/ViewerFrame.java/clean/sources/org/apache/batik/apps/svgviewer/ViewerFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1431, 1689, 3556, 774, 8206, 1435, 288, 540, 327, 374, 18, 23728, 8204, 18094, 18094, 18094, 18094, 18094, 18094, 3707, 23, 74, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1431, 1689, 3556, 774, 8206, 1435, 288, 540, 327, 374, 18, 23728, 8204, 18094, 18094, 18094, 18094, 18094, 18094, 3707, 23, 74, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
preferences.insert_space_after_open_paren_in_parenthesized_expression = true;
preferences.insert_space_after_opening_paren_in_parenthesized_expression = true;
public void test089() { DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getDefaultSettings()); preferences.use_tab = true; preferences.insert_space_after_open_paren_in_parenthesized_expression = true; preferences.insert_space_before_closing_paren_in_parenthesized_expression = true; DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences); runTest(codeFormatter, "test089", "A.java", CodeFormatter.K_STATEMENTS);//$NON-NLS-1$ //$NON-NLS-2$ }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/47b4b871bf6d388352229c39f2d0357c2b36e470/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, 20, 6675, 1435, 288, 202, 202, 1868, 1085, 5074, 1320, 12750, 273, 394, 2989, 1085, 5074, 1320, 12, 1868, 1085, 5074, 2918, 18, 588, 1868, 2628, 10663, 202, 202, 23219, 18, 1202, 67, 7032, 273, 638, 31, 202, 202, 23219, 18, 6387, 67, 2981, 67, 5205, 67, 3190, 67, 13012, 67, 267, 67, 13012, 7915, 1235, 67, 8692, 273, 638, 31, 202, 202, 23219, 18, 6387, 67, 2981, 67, 5771, 67, 19506, 67, 13012, 67, 267, 67, 13012, 7915, 1235, 67, 8692, 273, 638, 31, 202, 202, 1868, 1085, 5074, 981, 5074, 273, 394, 2989, 1085, 5074, 12, 23219, 1769, 202, 202, 2681, 4709, 12, 710, 5074, 16, 315, 3813, 20, 6675, 3113, 315, 37, 18, 6290, 3113, 3356, 5074, 18, 47, 67, 28411, 55, 1769, 759, 8, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 20, 6675, 1435, 288, 202, 202, 1868, 1085, 5074, 1320, 12750, 273, 394, 2989, 1085, 5074, 1320, 12, 1868, 1085, 5074, 2918, 18, 588, 1868, 2628, 10663, 202, 202, 23219, 18, 1202, 67, 7032, 273, 638, 31, 202, 202, 23219, 18, 6387, 67, 2981, 67, 5205, 67, 3190, 67, 13012, 67, 267, 67, 13012, 7915, 1235, 67, 8692, 273, 638, 31, 202, 202, 23219, 18, 6387, 67, 2981, 67, 5771, 67, 19506, 67, 13012, 67, 267, 67, 13012, 7915, 1235, 67, 8692, 273, 638, 31, 202, 202, 1868, 1085, 5074, 981, 5074, 273, 394, 2989, 1085, 5074, 12, 23219, 1769, 202, 202, 2681, 4709, 12, 710, 5074, 16, 315, 3813, 20, 6675, 3113, 315, 2 ]
groupBO = (GroupBO) getGroupBusinessService().findBySystemId(
groupBO = getGroupBusinessService().findBySystemId(
public ActionForward get(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { logger.debug("In GroupCustAction get method " ); GroupCustActionForm actionForm = (GroupCustActionForm) form; GroupBO groupBO; groupBO = (GroupBO) getGroupBusinessService().findBySystemId( actionForm.getGlobalCustNum()); groupBO.setUserContext(getUserContext(request)); groupBO.getCustomerStatus().setLocaleId( getUserContext(request).getLocaleId()); loadMasterDataForDetailsPage(request, groupBO, getUserContext(request) .getLocaleId()); setLocaleForMasterEntities(groupBO, getUserContext(request) .getLocaleId()); SessionUtils.removeAttribute(Constants.BUSINESS_KEY, request); SessionUtils.setAttribute(Constants.BUSINESS_KEY, groupBO, request); logger.debug("Exiting GroupCustAction get method " ); return mapping.findForward(ActionForwards.get_success.toString()); }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/1221bd299ad4af38d080d6acce197a83a23cf03f/GroupCustAction.java/clean/mifos/src/org/mifos/application/customer/group/struts/action/GroupCustAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 336, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 1082, 202, 2940, 18572, 590, 16, 12446, 766, 13, 1082, 202, 15069, 1185, 288, 202, 202, 4901, 18, 4148, 2932, 382, 3756, 39, 641, 1803, 336, 707, 315, 11272, 202, 202, 1114, 39, 641, 1803, 1204, 1301, 1204, 273, 261, 1114, 39, 641, 1803, 1204, 13, 646, 31, 202, 202, 1114, 5315, 1041, 5315, 31, 202, 202, 1655, 5315, 273, 261, 1114, 5315, 13, 11751, 13423, 1179, 7675, 4720, 858, 3163, 548, 12, 6862, 202, 1128, 1204, 18, 588, 5160, 39, 641, 2578, 10663, 202, 202, 1655, 5315, 18, 542, 1299, 1042, 12, 588, 1299, 1042, 12, 2293, 10019, 202, 202, 1655, 5315, 18, 588, 8883, 1482, 7675, 542, 3916, 548, 12, 9506, 202, 588, 1299, 1042, 12, 2293, 2934, 588, 3916, 548, 10663, 202, 202, 945, 7786, 751, 1290, 3790, 1964, 12, 2293, 16, 1041, 5315, 16, 4735, 1042, 12, 2293, 13, 9506, 202, 18, 588, 3916, 548, 10663, 202, 202, 542, 3916, 1290, 7786, 8108, 12, 1655, 5315, 16, 4735, 1042, 12, 2293, 13, 9506, 202, 18, 588, 3916, 548, 10663, 202, 202, 2157, 1989, 18, 4479, 1499, 12, 2918, 18, 3000, 55, 3740, 1260, 67, 3297, 16, 590, 1769, 202, 202, 2157, 1989, 18, 542, 1499, 12, 2918, 18, 3000, 55, 3740, 1260, 67, 3297, 16, 1041, 5315, 16, 590, 1769, 202, 202, 4901, 18, 4148, 2932, 6767, 310, 3756, 39, 641, 1803, 336, 707, 315, 11272, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 336, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 1082, 202, 2940, 18572, 590, 16, 12446, 766, 13, 1082, 202, 15069, 1185, 288, 202, 202, 4901, 18, 4148, 2932, 382, 3756, 39, 641, 1803, 336, 707, 315, 11272, 202, 202, 1114, 39, 641, 1803, 1204, 1301, 1204, 273, 261, 1114, 39, 641, 1803, 1204, 13, 646, 31, 202, 202, 1114, 5315, 1041, 5315, 31, 202, 202, 1655, 5315, 273, 261, 1114, 5315, 13, 11751, 13423, 1179, 7675, 4720, 858, 3163, 548, 12, 6862, 202, 1128, 1204, 18, 588, 5160, 39, 641, 2578, 10663, 202, 202, 1655, 5315, 18, 542, 1299, 1042, 12, 588, 1299, 1042, 12, 2293, 10019, 202, 202, 1655, 5315, 18, 2 ]
if (!myAffectedContentRoots.contains(getRootFor(myIndex, path))) return false;
return ApplicationManager.getApplication().runReadAction(new Computable<Boolean>() { public Boolean compute() { if (!myAffectedContentRoots.contains(getRootFor(myIndex, path))) return Boolean.FALSE;
public boolean belongsTo(FilePath path) { if (myProject.isDisposed()) return false; if (!myAffectedContentRoots.contains(getRootFor(myIndex, path))) return false; for (FilePath filePath : myDirtyDirectoriesRecursively) { if (path.isUnder(filePath, false)) return true; } FilePath parent = PeerFactory.getInstance().getVcsContextFactory().createFilePathOn(path.getIOFile().getParentFile()); for (FilePath filePath : myDirtyFiles) { if (filePath.equals(parent) || filePath.equals(path)) return true; } return false; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/62faabea52be20260549f1d2affe8221856a2438/VcsDirtyScope.java/buggy/openapi/src/com/intellij/openapi/vcs/changes/VcsDirtyScope.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 11081, 774, 12, 5598, 589, 13, 288, 565, 309, 261, 4811, 4109, 18, 291, 1669, 7423, 10756, 327, 629, 31, 565, 327, 4257, 1318, 18, 588, 3208, 7675, 2681, 1994, 1803, 12, 2704, 14169, 429, 32, 5507, 34, 1435, 288, 1071, 3411, 3671, 1435, 288, 309, 16051, 4811, 23775, 1350, 17540, 18, 12298, 12, 588, 2375, 1290, 12, 4811, 1016, 16, 589, 20349, 327, 3411, 18, 21053, 31, 565, 364, 261, 5598, 4612, 294, 3399, 10785, 13071, 12474, 13, 288, 1377, 309, 261, 803, 18, 291, 14655, 12, 22787, 16, 629, 3719, 327, 638, 31, 565, 289, 565, 24564, 982, 273, 10669, 1733, 18, 588, 1442, 7675, 588, 58, 2143, 29871, 7675, 2640, 5598, 1398, 12, 803, 18, 588, 4294, 812, 7675, 588, 3054, 812, 10663, 565, 364, 261, 5598, 4612, 294, 3399, 10785, 2697, 13, 288, 1377, 309, 261, 22787, 18, 14963, 12, 2938, 13, 747, 4612, 18, 14963, 12, 803, 3719, 327, 638, 31, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 11081, 774, 12, 5598, 589, 13, 288, 565, 309, 261, 4811, 4109, 18, 291, 1669, 7423, 10756, 327, 629, 31, 565, 327, 4257, 1318, 18, 588, 3208, 7675, 2681, 1994, 1803, 12, 2704, 14169, 429, 32, 5507, 34, 1435, 288, 1071, 3411, 3671, 1435, 288, 309, 16051, 4811, 23775, 1350, 17540, 18, 12298, 12, 588, 2375, 1290, 12, 4811, 1016, 16, 589, 20349, 327, 3411, 18, 21053, 31, 565, 364, 261, 5598, 4612, 294, 3399, 10785, 13071, 12474, 13, 288, 1377, 309, 261, 803, 18, 291, 14655, 12, 22787, 16, 629, 3719, 327, 638, 31, 565, 289, 565, 24564, 982, 273, 10669, 1733, 18, 588, 1442, 7675, 588, 58, 2143, 29871, 7675, 2640, 5598, 1398, 12, 2 ]
public final void finalize() { dispose(); }
public final void finalize( ) { dispose( ); }
public final void finalize() { dispose(); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/06c72eb7a3005a63bbe971e6978d2c9e6d624dd8/SwingTextMetrics.java/clean/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/swing/SwingTextMetrics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 12409, 1435, 565, 288, 3639, 15825, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
area.setAbsoluteHeight(areaContainer.getAbsoluteHeight());
area.setAbsoluteHeight(originalAbsoluteHeight);
public Status layout(Area area) throws FOPException { if (this.marker == BREAK_AFTER) { return new Status(Status.OK); } if (this.marker == START) { if(!setup) doSetup(area); if (area instanceof BlockArea) { area.end(); } //if (this.isInListBody) { //startIndent += bodyIndent + distanceBetweenStarts; //} area.getIDReferences().createID(id); this.marker = 0; } if ((spaceBefore != 0) && (this.marker ==0)) { area.addDisplaySpace(spaceBefore); } if ( marker==0 ) { // configure id area.getIDReferences().configureID(id,area); } this.areaContainer = new AreaContainer(fs, startOffset - area.borderWidthLeft, - area.borderWidthTop, width, area.spaceLeft(), Position.RELATIVE); areaContainer.setPage(area.getPage()); areaContainer.setPadding(paddingTop, paddingLeft, paddingBottom, paddingRight); areaContainer.setBackgroundColor(backgroundColor); areaContainer.setBorderStyle(borderTopStyle, borderLeftStyle, borderBottomStyle, borderRightStyle); areaContainer.setBorderWidth(borderTopWidth, borderLeftWidth, borderBottomWidth, borderRightWidth); areaContainer.setBorderColor(borderTopColor, borderLeftColor, borderBottomColor, borderRightColor); areaContainer.start(); areaContainer.setAbsoluteHeight(area.getAbsoluteHeight()); areaContainer.setIDReferences(area.getIDReferences()); areaContainer.setTableCellXOffset(startOffset); int numChildren = this.children.size(); for (int i = this.marker; i < numChildren; i++) { FObj fo = (FObj) children.elementAt(i); fo.setIsInTableCell(); fo.forceWidth(width); verticalAlign = fo.properties.get("vertical-align").getEnum(); Status status; if ((status = fo.layout(areaContainer)).isIncomplete()) { this.marker = i; if ((i == 0) && (status.getCode() == Status.AREA_FULL_NONE)) { return new Status(Status.AREA_FULL_NONE); } else { // hani Elabed 11/21/2000 area.addChild(areaContainer);// area.setHeight(getHeight()); area.setAbsoluteHeight(areaContainer.getAbsoluteHeight()); return new Status(Status.AREA_FULL_SOME); } } } areaContainer.end(); area.addChild(areaContainer); height = getHeight(); top = areaContainer.getCurrentYPosition(); area.setHeight(getHeight()); // reset absoluteHeight to beginning of row area.setAbsoluteHeight(areaContainer.getAbsoluteHeight()); return new Status(Status.OK); }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/5a4db9107e2f5c4c859bd6d5c582680905825c04/TableCell.java/buggy/src/org/apache/fop/fo/flow/TableCell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2685, 3511, 12, 5484, 5091, 13, 1216, 478, 3665, 503, 288, 202, 430, 261, 2211, 18, 11145, 422, 605, 22176, 67, 18249, 13, 288, 202, 565, 327, 394, 2685, 12, 1482, 18, 3141, 1769, 202, 97, 202, 430, 261, 2211, 18, 11145, 422, 10485, 13, 288, 202, 565, 309, 12, 5, 8401, 13, 202, 3639, 741, 7365, 12, 5036, 1769, 202, 565, 309, 261, 5036, 1276, 3914, 5484, 13, 288, 202, 202, 5036, 18, 409, 5621, 202, 565, 289, 202, 565, 368, 430, 261, 2211, 18, 291, 24218, 2250, 13, 288, 202, 565, 368, 1937, 7790, 1011, 1417, 7790, 397, 3888, 11831, 11203, 31, 202, 565, 19363, 5411, 5091, 18, 588, 734, 8221, 7675, 2640, 734, 12, 350, 1769, 7682, 202, 565, 333, 18, 11145, 273, 374, 31, 202, 97, 202, 430, 14015, 2981, 4649, 480, 374, 13, 597, 261, 2211, 18, 11145, 422, 20, 3719, 288, 202, 565, 5091, 18, 1289, 4236, 3819, 12, 2981, 4649, 1769, 202, 97, 3639, 309, 261, 5373, 631, 20, 262, 288, 5411, 368, 5068, 612, 4766, 7682, 5091, 18, 588, 734, 8221, 7675, 14895, 734, 12, 350, 16, 5036, 1769, 27573, 289, 202, 2211, 18, 5036, 2170, 273, 202, 565, 394, 16668, 2170, 12, 2556, 16, 18245, 300, 5091, 18, 8815, 2384, 3910, 16, 17311, 300, 5091, 18, 8815, 2384, 3401, 16, 12900, 1835, 16, 5091, 18, 2981, 3910, 9334, 11010, 18, 862, 12190, 5354, 1769, 202, 5036, 2170, 18, 542, 1964, 12, 5036, 18, 588, 1964, 10663, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2685, 3511, 12, 5484, 5091, 13, 1216, 478, 3665, 503, 288, 202, 430, 261, 2211, 18, 11145, 422, 605, 22176, 67, 18249, 13, 288, 202, 565, 327, 394, 2685, 12, 1482, 18, 3141, 1769, 202, 97, 202, 430, 261, 2211, 18, 11145, 422, 10485, 13, 288, 202, 565, 309, 12, 5, 8401, 13, 202, 3639, 741, 7365, 12, 5036, 1769, 202, 565, 309, 261, 5036, 1276, 3914, 5484, 13, 288, 202, 202, 5036, 18, 409, 5621, 202, 565, 289, 202, 565, 368, 430, 261, 2211, 18, 291, 24218, 2250, 13, 288, 202, 565, 368, 1937, 7790, 1011, 1417, 7790, 397, 3888, 11831, 11203, 31, 202, 565, 19363, 5411, 5091, 18, 588, 734, 8221, 7675, 2640, 734, 12, 2 ]
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, "UUID of destination repository ({0}) does not match expected UUID ({1})", new String[] {reposUUID, fromUUID});
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, "UUID of destination repository ({0}) does not match expected UUID ({1})", new String[] { reposUUID, fromUUID });
private SessionInfo openSourceRepository(SVNRepository targetRepos) throws SVNException { String fromURL = targetRepos.getRevisionPropertyValue(0, SVNRevisionProperty.FROM_URL); String fromUUID = targetRepos.getRevisionPropertyValue(0, SVNRevisionProperty.FROM_UUID); String lastMergedRev = targetRepos.getRevisionPropertyValue(0, SVNRevisionProperty.LAST_MERGED_REVISION); if (fromURL == null || fromUUID == null || lastMergedRev == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, "Destination repository has not been initialized"); SVNErrorManager.error(err); } SVNURL srcURL = SVNURL.parseURIDecoded(fromURL); SVNRepository srcRepos = createRepository(srcURL, false); checkIfRepositoryIsAtRoot(srcRepos, srcURL); String reposUUID = srcRepos.getRepositoryUUID(true); if (!fromUUID.equals(reposUUID)) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, "UUID of destination repository ({0}) does not match expected UUID ({1})", new String[] {reposUUID, fromUUID}); SVNErrorManager.error(err); } return new SessionInfo(srcRepos, Long.parseLong(lastMergedRev)); }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/c0a7e47652ca50d3620b4e1407729e6e0625fb16/SVNAdminClient.java/clean/javasvn/src/org/tmatesoft/svn/core/wc/SVNAdminClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3877, 966, 1696, 1830, 3305, 12, 23927, 50, 3305, 1018, 28453, 13, 1216, 29537, 50, 503, 288, 3639, 514, 628, 1785, 273, 1018, 28453, 18, 588, 7939, 16107, 12, 20, 16, 29537, 50, 7939, 1396, 18, 11249, 67, 1785, 1769, 3639, 514, 628, 5562, 273, 1018, 28453, 18, 588, 7939, 16107, 12, 20, 16, 29537, 50, 7939, 1396, 18, 11249, 67, 5562, 1769, 3639, 514, 1142, 19043, 10070, 273, 1018, 28453, 18, 588, 7939, 16107, 12, 20, 16, 29537, 50, 7939, 1396, 18, 14378, 67, 20969, 31602, 67, 862, 25216, 1769, 7734, 309, 261, 2080, 1785, 422, 446, 747, 628, 5562, 422, 446, 747, 1142, 19043, 10070, 422, 446, 13, 288, 5411, 29537, 50, 14935, 393, 273, 29537, 50, 14935, 18, 2640, 12, 23927, 50, 12012, 18, 4294, 67, 3589, 16, 315, 5683, 3352, 711, 486, 2118, 6454, 8863, 5411, 29537, 50, 668, 1318, 18, 1636, 12, 370, 1769, 3639, 289, 7734, 29537, 50, 1785, 1705, 1785, 273, 29537, 50, 1785, 18, 2670, 1099, 734, 557, 390, 72, 12, 2080, 1785, 1769, 3639, 29537, 50, 3305, 1705, 28453, 273, 752, 3305, 12, 4816, 1785, 16, 629, 1769, 3639, 19130, 3305, 2520, 861, 2375, 12, 4816, 28453, 16, 1705, 1785, 1769, 3639, 514, 13686, 5562, 273, 1705, 28453, 18, 588, 3305, 5562, 12, 3767, 1769, 3639, 309, 16051, 2080, 5562, 18, 14963, 12, 15564, 5562, 3719, 288, 5411, 29537, 50, 14935, 393, 273, 29537, 50, 14935, 18, 2640, 12, 23927, 50, 12012, 18, 4294, 67, 3589, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3877, 966, 1696, 1830, 3305, 12, 23927, 50, 3305, 1018, 28453, 13, 1216, 29537, 50, 503, 288, 3639, 514, 628, 1785, 273, 1018, 28453, 18, 588, 7939, 16107, 12, 20, 16, 29537, 50, 7939, 1396, 18, 11249, 67, 1785, 1769, 3639, 514, 628, 5562, 273, 1018, 28453, 18, 588, 7939, 16107, 12, 20, 16, 29537, 50, 7939, 1396, 18, 11249, 67, 5562, 1769, 3639, 514, 1142, 19043, 10070, 273, 1018, 28453, 18, 588, 7939, 16107, 12, 20, 16, 29537, 50, 7939, 1396, 18, 14378, 67, 20969, 31602, 67, 862, 25216, 1769, 7734, 309, 261, 2080, 1785, 422, 446, 747, 628, 5562, 422, 446, 747, 1142, 19043, 10070, 422, 446, 13, 288, 5411, 29537, 50, 14935, 393, 273, 2 ]
conn = getConnection(); stmt = conn.prepareStatement("UPDATE comments SET from_user_id=?, to_user_id=?, item_id=?, rating=?, date=?, comment=? WHERE id=?"); stmt.setInt(1,fromUserId.intValue()); stmt.setInt(2,toUserId.intValue()); stmt.setInt(3, itemId.intValue()); stmt.setInt(4, rating); stmt.setString(5, date); stmt.setString(6, comment); stmt.setInt(7, id.intValue()); stmt.executeUpdate(); stmt.close(); conn.close();
conn = getConnection(); stmt = conn.prepareStatement( "UPDATE comments SET from_user_id=?, to_user_id=?, item_id=?, rating=?, date=?, comment=? WHERE id=?"); stmt.setInt(1, fromUserId.intValue()); stmt.setInt(2, toUserId.intValue()); stmt.setInt(3, itemId.intValue()); stmt.setInt(4, rating); stmt.setString(5, date); stmt.setString(6, comment); stmt.setInt(7, id.intValue()); stmt.executeUpdate(); stmt.close(); conn.close();
public void ejbStore() throws RemoteException { PreparedStatement stmt= null; Connection conn = null; if (isDirty) { isDirty = false; try { conn = getConnection(); stmt = conn.prepareStatement("UPDATE comments SET from_user_id=?, to_user_id=?, item_id=?, rating=?, date=?, comment=? WHERE id=?"); stmt.setInt(1,fromUserId.intValue()); stmt.setInt(2,toUserId.intValue()); stmt.setInt(3, itemId.intValue()); stmt.setInt(4, rating); stmt.setString(5, date); stmt.setString(6, comment); stmt.setInt(7, id.intValue()); stmt.executeUpdate(); stmt.close(); conn.close(); } catch (Exception e) { try { if(stmt != null) stmt.close(); if(conn != null) conn.close(); } catch (Exception ignore){} throw new RemoteException("Failed to update the record for comment: " +e); } } }
5750 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5750/3d57ae5a342bc10d6c418636c07193a0289ffd6b/CommentBean.java/buggy/EJB_EntityBean_id_BMP/edu/rice/rubis/beans/CommentBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18024, 2257, 1435, 1216, 18361, 225, 288, 565, 16913, 3480, 33, 446, 31, 565, 4050, 1487, 273, 446, 31, 565, 309, 261, 291, 10785, 13, 565, 288, 1377, 25206, 273, 629, 31, 1377, 775, 1377, 288, 202, 4646, 273, 6742, 5621, 202, 10589, 273, 1487, 18, 9366, 3406, 2932, 8217, 5678, 7855, 628, 67, 1355, 67, 350, 17282, 16, 358, 67, 1355, 67, 350, 17282, 16, 761, 67, 350, 17282, 16, 13953, 17282, 16, 1509, 17282, 16, 2879, 17282, 4852, 612, 25501, 1769, 202, 10589, 18, 542, 1702, 12, 21, 16, 2080, 10502, 18, 474, 620, 10663, 202, 10589, 18, 542, 1702, 12, 22, 16, 869, 10502, 18, 474, 620, 10663, 202, 10589, 18, 542, 1702, 12, 23, 16, 18424, 18, 474, 620, 10663, 202, 10589, 18, 542, 1702, 12, 24, 16, 13953, 1769, 202, 10589, 18, 542, 780, 12, 25, 16, 1509, 1769, 202, 10589, 18, 542, 780, 12, 26, 16, 2879, 1769, 202, 10589, 18, 542, 1702, 12, 27, 16, 612, 18, 474, 620, 10663, 202, 10589, 18, 8837, 1891, 5621, 202, 10589, 18, 4412, 5621, 202, 4646, 18, 4412, 5621, 1377, 289, 1377, 1044, 261, 503, 425, 13, 1377, 288, 202, 698, 3639, 288, 1850, 309, 12, 10589, 480, 446, 13, 3480, 18, 4412, 5621, 1850, 309, 12, 4646, 480, 446, 13, 1487, 18, 4412, 5621, 3639, 289, 202, 14683, 261, 503, 2305, 13, 2916, 3639, 604, 394, 18361, 2932, 2925, 358, 1089, 326, 1409, 364, 2879, 30, 315, 397, 73, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18024, 2257, 1435, 1216, 18361, 225, 288, 565, 16913, 3480, 33, 446, 31, 565, 4050, 1487, 273, 446, 31, 565, 309, 261, 291, 10785, 13, 565, 288, 1377, 25206, 273, 629, 31, 1377, 775, 1377, 288, 202, 4646, 273, 6742, 5621, 202, 10589, 273, 1487, 18, 9366, 3406, 2932, 8217, 5678, 7855, 628, 67, 1355, 67, 350, 17282, 16, 358, 67, 1355, 67, 350, 17282, 16, 761, 67, 350, 17282, 16, 13953, 17282, 16, 1509, 17282, 16, 2879, 17282, 4852, 612, 25501, 1769, 202, 10589, 18, 542, 1702, 12, 21, 16, 2080, 10502, 18, 474, 620, 10663, 202, 10589, 18, 542, 1702, 12, 22, 16, 869, 10502, 18, 474, 620, 10663, 202, 10589, 18, 542, 1702, 2 ]
public double jsFunction_getTimezoneOffset() {
private double jsFunction_getTimezoneOffset() {
public double jsFunction_getTimezoneOffset() { if (this.date != this.date) return this.date; return (this.date - LocalTime(this.date)) / msPerMinute; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/1f40b84b6c54487dd6f26829d1ebda36a7567a38/NativeDate.java/buggy/js/rhino/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 17989, 2335, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 261, 2211, 18, 712, 300, 25515, 12, 2211, 18, 712, 3719, 342, 4086, 2173, 18329, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 2083, 67, 588, 17989, 2335, 1435, 288, 3639, 309, 261, 2211, 18, 712, 480, 333, 18, 712, 13, 5411, 327, 333, 18, 712, 31, 3639, 327, 261, 2211, 18, 712, 300, 25515, 12, 2211, 18, 712, 3719, 342, 4086, 2173, 18329, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
updateIndexRemoveResource(element, delta);
private boolean updateCurrentDeltaAndIndex(ICElement element, IResourceDelta delta) throws CModelException { IResource resource = delta.getResource(); switch (delta.getKind()) { case IResourceDelta.ADDED : if (element != null) { updateIndexAddResource(element, delta, false); elementAdded(element, delta); return element instanceof ICContainer; } return false; case IResourceDelta.REMOVED : if (element != null) { updateIndexRemoveResource(element, delta); elementRemoved(element, delta); } return element instanceof ICContainer; case IResourceDelta.CHANGED : int flags = delta.getFlags(); if ((flags & IResourceDelta.CONTENT) != 0) { // content has changed if (element != null) { elementChanged(element, delta); updateIndexAddResource(element, delta, true); //check to see if any projects need to be reindexed updateDependencies(element); } } else if (resource.getType() == IResource.PROJECT) { if ((flags & IResourceDelta.OPEN) != 0) { // project has been opened or closed IProject project = (IProject)resource; if (element != null) { if (project.isOpen()) { elementOpened(element, delta); updateIndexAddResource(element, delta, true); return false; } elementClosed(element, delta); updateIndexRemoveResource(element, delta); //Don't process children return false; } } if ((flags & IResourceDelta.DESCRIPTION) != 0) { IProject res = (IProject)delta.getResource(); CModel cModel = CModelManager.getDefault().getCModel(); boolean wasCProject = cModel.findCProject(res) != null; boolean isCProject = CProject.hasCNature(res); if (wasCProject != isCProject) { // project's nature has been added or removed if (element != null) { // note its resources are still visible as roots to other projects if (isCProject) { elementOpened(element, delta); updateIndexAddResource(element, delta, true); } else { elementRemoved(element, delta); updateIndexRemoveResource(element, delta); } return true; } } } } return true; } return true; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c394f40e489dd37280520439c09530c1c4a9e61f/DeltaProcessor.java/clean/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1089, 3935, 9242, 1876, 1016, 12, 2871, 1046, 930, 16, 467, 1420, 9242, 3622, 13, 1216, 385, 1488, 503, 288, 202, 202, 45, 1420, 1058, 273, 3622, 18, 588, 1420, 5621, 202, 202, 9610, 261, 9878, 18, 588, 5677, 10756, 288, 1082, 202, 3593, 467, 1420, 9242, 18, 1880, 7660, 294, 9506, 202, 430, 261, 2956, 480, 446, 13, 288, 6862, 202, 2725, 1016, 986, 1420, 12, 2956, 16, 3622, 16, 629, 1769, 6862, 202, 2956, 8602, 12, 2956, 16, 3622, 1769, 6862, 202, 2463, 930, 1276, 26899, 2170, 31, 9506, 202, 97, 9506, 202, 2463, 629, 31, 1082, 202, 3593, 467, 1420, 9242, 18, 11122, 12135, 294, 9506, 202, 430, 261, 2956, 480, 446, 13, 288, 6862, 202, 2725, 1016, 3288, 1420, 12, 2956, 16, 3622, 1769, 6862, 202, 2956, 10026, 12, 2956, 16, 3622, 1769, 9506, 202, 97, 9506, 202, 2463, 930, 1276, 26899, 2170, 31, 1082, 202, 3593, 467, 1420, 9242, 18, 24435, 294, 9506, 202, 474, 2943, 273, 3622, 18, 588, 5094, 5621, 9506, 202, 430, 14015, 7133, 473, 467, 1420, 9242, 18, 9689, 13, 480, 374, 13, 288, 6862, 202, 759, 913, 711, 3550, 6862, 202, 430, 261, 2956, 480, 446, 13, 288, 25083, 202, 2956, 5033, 12, 2956, 16, 3622, 1769, 25083, 202, 2725, 1016, 986, 1420, 12, 2956, 16, 3622, 16, 638, 1769, 25083, 202, 759, 1893, 358, 2621, 309, 1281, 10137, 1608, 358, 506, 17492, 329, 25083, 202, 2725, 8053, 12, 2956, 1769, 6862, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1089, 3935, 9242, 1876, 1016, 12, 2871, 1046, 930, 16, 467, 1420, 9242, 3622, 13, 1216, 385, 1488, 503, 288, 202, 202, 45, 1420, 1058, 273, 3622, 18, 588, 1420, 5621, 202, 202, 9610, 261, 9878, 18, 588, 5677, 10756, 288, 1082, 202, 3593, 467, 1420, 9242, 18, 1880, 7660, 294, 9506, 202, 430, 261, 2956, 480, 446, 13, 288, 6862, 202, 2725, 1016, 986, 1420, 12, 2956, 16, 3622, 16, 629, 1769, 6862, 202, 2956, 8602, 12, 2956, 16, 3622, 1769, 6862, 202, 2463, 930, 1276, 26899, 2170, 31, 9506, 202, 97, 9506, 202, 2463, 629, 31, 1082, 202, 3593, 467, 1420, 9242, 18, 11122, 12135, 294, 9506, 202, 430, 261, 2956, 480, 446, 2 ]
TreePath curr = new TreePath(((DefaultMutableTreeNode) node).getPath());
TreePath curr = new TreePath(getPathToRoot(((TreeNode) node), 0));
void paintNode(Graphics g, int x, int y, JTree tree, Object node, boolean isLeaf) { TreePath curr = new TreePath(((DefaultMutableTreeNode) node).getPath()); boolean selected = tree.isPathSelected(curr); boolean expanded = false; boolean hasIcons = false; if (tree.isVisible(curr)) { DefaultTreeCellRenderer dtcr = (DefaultTreeCellRenderer) tree .getCellRenderer(); if (!isLeaf) expanded = tree.isExpanded(curr); Icon icon = null; if (!isLeaf && expanded) icon = dtcr.getOpenIcon(); else if (!isLeaf && !expanded) icon = dtcr.getClosedIcon(); else icon = dtcr.getLeafIcon(); if (icon.getIconHeight() > -1 && icon.getIconWidth() > -1) hasIcons = true; Component c = dtcr.getTreeCellRendererComponent(tree, node, selected, expanded, isLeaf, 0, false); if (hasIcons) { if (selected) { Rectangle cell = getPathBounds(tree, curr); g.setColor(dtcr.getBackgroundSelectionColor()); g.fillRect(cell.x + icon.getIconWidth()/2, cell.y, cell.width, cell.height); if (curr.equals(tree.getLeadSelectionPath())) { g.setColor(UIManager.getLookAndFeelDefaults().getColor( "Tree.selectionBorderColor")); g.drawRect(cell.x + icon.getIconWidth()/2, cell.y, cell.width, cell.height); } } g.translate(x, y); c.paint(g); g.translate(-x, -y); } else rendererPane.paintComponent(g, c, c.getParent(), getCellBounds(x, y, node)); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/03ccc48ad99f370100d28d05282f5ecf9aba8ad6/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 12574, 907, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 804, 2471, 2151, 16, 1033, 756, 16, 540, 1250, 31356, 13, 202, 95, 1377, 4902, 743, 4306, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12443, 12, 12513, 13, 756, 3631, 374, 10019, 1377, 1250, 3170, 273, 2151, 18, 291, 743, 7416, 12, 17016, 1769, 1377, 1250, 8406, 273, 629, 31, 565, 1250, 711, 27510, 273, 629, 31, 1377, 309, 261, 3413, 18, 291, 6207, 12, 17016, 3719, 1377, 288, 540, 2989, 2471, 4020, 6747, 3681, 3353, 273, 261, 1868, 2471, 4020, 6747, 13, 2151, 9079, 263, 588, 4020, 6747, 5621, 540, 309, 16051, 291, 9858, 13, 5411, 8406, 273, 2151, 18, 291, 17957, 12, 17016, 1769, 3639, 16011, 4126, 273, 446, 31, 3639, 309, 16051, 291, 9858, 597, 8406, 13, 1850, 4126, 273, 3681, 3353, 18, 588, 3678, 5554, 5621, 3639, 469, 309, 16051, 291, 9858, 597, 401, 17336, 13, 1850, 4126, 273, 3681, 3353, 18, 588, 7395, 5554, 5621, 3639, 469, 1850, 4126, 273, 3681, 3353, 18, 588, 9858, 5554, 5621, 7734, 309, 261, 3950, 18, 588, 5554, 2686, 1435, 405, 300, 21, 597, 4126, 18, 588, 5554, 2384, 1435, 405, 300, 21, 13, 1850, 711, 27510, 273, 638, 31, 1171, 5435, 276, 273, 3681, 3353, 18, 588, 2471, 4020, 6747, 1841, 12, 3413, 16, 756, 16, 3170, 16, 9079, 8406, 16, 31356, 16, 374, 16, 629, 1769, 3639, 309, 261, 5332, 27510, 13, 1850, 288, 202, 202, 430, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 918, 12574, 907, 12, 17558, 314, 16, 509, 619, 16, 509, 677, 16, 804, 2471, 2151, 16, 1033, 756, 16, 540, 1250, 31356, 13, 202, 95, 1377, 4902, 743, 4306, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12443, 12, 12513, 13, 756, 3631, 374, 10019, 1377, 1250, 3170, 273, 2151, 18, 291, 743, 7416, 12, 17016, 1769, 1377, 1250, 8406, 273, 629, 31, 565, 1250, 711, 27510, 273, 629, 31, 1377, 309, 261, 3413, 18, 291, 6207, 12, 17016, 3719, 1377, 288, 540, 2989, 2471, 4020, 6747, 3681, 3353, 273, 261, 1868, 2471, 4020, 6747, 13, 2151, 9079, 263, 588, 4020, 6747, 5621, 540, 309, 16051, 291, 9858, 13, 5411, 8406, 273, 2151, 18, 291, 17957, 2 ]
String arg2Alias = (String) state.getFieldToAlias(arg2) .get(arg1Desc.getReverseReferenceDescriptor().getName()); queryClassToString(state.getWhereBuffer(), arg1.getQueryClass(), q, schema, ID_ONLY, state); state.addToWhere((c.getOp() == ConstraintOp.CONTAINS ? " = " : " != ") + arg2Alias + "." + DatabaseUtil.getColumnName(arg1Desc.getReverseReferenceDescriptor()));
if (arg2 == null) { ReferenceDescriptor reverse = arg1Desc.getReverseReferenceDescriptor(); String indirectTableAlias = state.getIndirectAlias(); ClassDescriptor tableMaster = schema.getTableMaster(reverse .getClassDescriptor()); state.addToFrom(DatabaseUtil.getTableName(tableMaster) + " AS " + indirectTableAlias); if (schema.isTruncated(tableMaster)) { state.addToWhere(indirectTableAlias + ".class = '" + reverse.getClassDescriptor().getType().getName() + "' AND "); } state.addToWhere("("); queryClassToString(state.getWhereBuffer(), arg1.getQueryClass(), q, schema, ID_ONLY, state); state.addToWhere((c.getOp() == ConstraintOp.CONTAINS ? " = " : " != ") + indirectTableAlias + "." + DatabaseUtil.getColumnName(reverse) + " AND " + indirectTableAlias + ".id = " + arg2Obj.getId() + ")"); } else { String arg2Alias = (String) state.getFieldToAlias(arg2) .get(arg1Desc.getReverseReferenceDescriptor().getName()); queryClassToString(state.getWhereBuffer(), arg1.getQueryClass(), q, schema, ID_ONLY, state); state.addToWhere((c.getOp() == ConstraintOp.CONTAINS ? " = " : " != ") + arg2Alias + "." + DatabaseUtil.getColumnName(arg1Desc.getReverseReferenceDescriptor())); }
protected static void containsConstraintToString(State state, ContainsConstraint c, Query q, DatabaseSchema schema) throws ObjectStoreException { QueryReference arg1 = c.getReference(); QueryClass arg2 = c.getQueryClass(); InterMineObject arg2Obj = c.getObject(); Map fieldNameToFieldDescriptor = schema.getModel().getFieldDescriptorsForClass(arg1 .getQueryClass().getType()); ReferenceDescriptor arg1Desc = (ReferenceDescriptor) fieldNameToFieldDescriptor.get(arg1.getFieldName()); if (arg1Desc == null) { throw new ObjectStoreException(arg1.getQueryClass().getType().toString() + " is not in the model"); } if (arg1 instanceof QueryObjectReference) { String arg1Alias = (String) state.getFieldToAlias(arg1.getQueryClass()).get(arg1Desc .getName()); if (c.getOp().equals(ConstraintOp.IS_NULL) || c.getOp().equals(ConstraintOp .IS_NOT_NULL)) { state.addToWhere(arg1Alias + "." + DatabaseUtil.getColumnName(arg1Desc) + " " + c.getOp().toString()); } else { state.addToWhere(arg1Alias + "." + DatabaseUtil.getColumnName(arg1Desc) + (c.getOp() == ConstraintOp.CONTAINS ? " = " : " != ")); if (arg2 == null) { objectToString(state.getWhereBuffer(), arg2Obj); } else { queryClassToString(state.getWhereBuffer(), arg2, q, schema, ID_ONLY, state); } } } else if (arg1 instanceof QueryCollectionReference) { if (arg1Desc.relationType() == FieldDescriptor.ONE_N_RELATION) { String arg2Alias = (String) state.getFieldToAlias(arg2) .get(arg1Desc.getReverseReferenceDescriptor().getName()); queryClassToString(state.getWhereBuffer(), arg1.getQueryClass(), q, schema, ID_ONLY, state); state.addToWhere((c.getOp() == ConstraintOp.CONTAINS ? " = " : " != ") + arg2Alias + "." + DatabaseUtil.getColumnName(arg1Desc.getReverseReferenceDescriptor())); } else { CollectionDescriptor arg1ColDesc = (CollectionDescriptor) arg1Desc; String indirectTableAlias = state.getIndirectAlias(); state.addToFrom(DatabaseUtil.getIndirectionTableName(arg1ColDesc) + " AS " + indirectTableAlias); state.addToWhere(c.getOp().equals(ConstraintOp.CONTAINS) ? "(" : "( NOT ("); queryClassToString(state.getWhereBuffer(), arg1.getQueryClass(), q, schema, ID_ONLY, state); state.addToWhere(" = " + indirectTableAlias + "." + DatabaseUtil.getInwardIndirectionColumnName(arg1ColDesc) + " AND " + indirectTableAlias + "." + DatabaseUtil.getOutwardIndirectionColumnName(arg1ColDesc) + " = "); queryClassToString(state.getWhereBuffer(), arg2, q, schema, ID_ONLY, state); state.addToWhere(c.getOp().equals(ConstraintOp.CONTAINS) ? ")" : "))"); } } }
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/228c62238206372db75ccf4c3a08c888a2ce681d/SqlGenerator.java/buggy/intermine/objectstore/main/src/org/intermine/objectstore/intermine/SqlGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1914, 5806, 5808, 12, 1119, 919, 16, 8398, 5806, 276, 16, 5411, 2770, 1043, 16, 5130, 3078, 1963, 13, 1216, 1033, 21151, 288, 3639, 2770, 2404, 1501, 21, 273, 276, 18, 588, 2404, 5621, 3639, 2770, 797, 1501, 22, 273, 276, 18, 588, 1138, 797, 5621, 3639, 5294, 49, 558, 921, 1501, 22, 2675, 273, 276, 18, 588, 921, 5621, 3639, 1635, 4289, 774, 974, 3187, 273, 1963, 18, 588, 1488, 7675, 588, 974, 12705, 22581, 12, 3175, 21, 7734, 263, 588, 1138, 797, 7675, 588, 559, 10663, 3639, 6268, 3187, 1501, 21, 4217, 273, 261, 2404, 3187, 13, 5411, 4289, 774, 974, 3187, 18, 588, 12, 3175, 21, 18, 588, 7287, 10663, 3639, 309, 261, 3175, 21, 4217, 422, 446, 13, 288, 5411, 604, 394, 1033, 21151, 12, 3175, 21, 18, 588, 1138, 797, 7675, 588, 559, 7675, 10492, 1435, 10792, 397, 315, 353, 486, 316, 326, 938, 8863, 3639, 289, 3639, 309, 261, 3175, 21, 1276, 2770, 22101, 13, 288, 5411, 514, 1501, 21, 2936, 273, 261, 780, 13, 919, 18, 588, 974, 774, 2936, 12, 3175, 21, 18, 588, 1138, 797, 1435, 2934, 588, 12, 3175, 21, 4217, 10792, 263, 17994, 10663, 5411, 309, 261, 71, 18, 588, 3817, 7675, 14963, 12, 5806, 3817, 18, 5127, 67, 8560, 13, 747, 276, 18, 588, 3817, 7675, 14963, 12, 5806, 3817, 13491, 263, 5127, 67, 4400, 67, 8560, 3719, 288, 7734, 919, 18, 1289, 774, 5262, 12, 3175, 21, 2936, 397, 4585, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 1914, 5806, 5808, 12, 1119, 919, 16, 8398, 5806, 276, 16, 5411, 2770, 1043, 16, 5130, 3078, 1963, 13, 1216, 1033, 21151, 288, 3639, 2770, 2404, 1501, 21, 273, 276, 18, 588, 2404, 5621, 3639, 2770, 797, 1501, 22, 273, 276, 18, 588, 1138, 797, 5621, 3639, 5294, 49, 558, 921, 1501, 22, 2675, 273, 276, 18, 588, 921, 5621, 3639, 1635, 4289, 774, 974, 3187, 273, 1963, 18, 588, 1488, 7675, 588, 974, 12705, 22581, 12, 3175, 21, 7734, 263, 588, 1138, 797, 7675, 588, 559, 10663, 3639, 6268, 3187, 1501, 21, 4217, 273, 261, 2404, 3187, 13, 5411, 4289, 774, 974, 3187, 18, 588, 12, 3175, 21, 18, 588, 7287, 10663, 3639, 309, 2 ]
request.addEventMonitor( new DefaultEventMonitor( logger ) );
request.addEventMonitor( new DefaultEventMonitor( mojoLogger ) );
public void execute( MavenExecutionRequest request ) throws MavenExecutionException { boolean snapshotPolicySet = false; if ( request.isOffline() ) { snapshotPolicySet = true; } if ( !snapshotPolicySet && request.isUpdateSnapshots() ) { artifactRepositoryFactory.setGlobalUpdatePolicy( ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS ); } artifactRepositoryFactory.setGlobalChecksumPolicy( request.getGlobalChecksumPolicy() ); if ( request.getLocalRepository() == null ) { request.setLocalRepository( mavenTools.createLocalRepository( request.getLocalRepositoryPath() ) ); } Logger logger = loggerManager.getLoggerForComponent( Mojo.ROLE ); if ( request.isDefaultEventMonitorActive() ) { request.addEventMonitor( new DefaultEventMonitor( logger ) ); } loggerManager.setThreshold( request.getLoggingLevel() ); request.setStartTime( new Date() ); wagonManager.setInteractive( request.isInteractive() ); wagonManager.setDownloadMonitor( request.getTransferListener() ); wagonManager.setOnline( !request.getSettings().isOffline() ); EventDispatcher dispatcher = new DefaultEventDispatcher( request.getEventMonitors() ); String event = MavenEvents.REACTOR_EXECUTION; dispatcher.dispatchStart( event, request.getBaseDirectory() ); ReactorManager rm; try { rm = doExecute( request, dispatcher ); } catch ( LifecycleExecutionException e ) { dispatcher.dispatchError( event, request.getBaseDirectory(), e ); logError( e, request.isShowErrors() ); stats( request.getStartTime() ); line(); throw new MavenExecutionException( e.getMessage(), e ); } catch ( BuildFailureException e ) { dispatcher.dispatchError( event, request.getBaseDirectory(), e ); logFailure( e, request.isShowErrors() ); stats( request.getStartTime() ); line(); throw new MavenExecutionException( e.getMessage(), e ); } catch ( Throwable t ) { dispatcher.dispatchError( event, request.getBaseDirectory(), t ); logFatal( t ); stats( request.getStartTime() ); line(); throw new MavenExecutionException( "Error executing project within the reactor", t ); } // Either the build was successful, or it was a fail_at_end/fail_never reactor build // TODO: should all the logging be left to the CLI? logReactorSummary( rm ); if ( rm.hasBuildFailures() ) { logErrors( rm, request.isShowErrors() ); if ( !ReactorManager.FAIL_NEVER.equals( rm.getFailureBehavior() ) ) { dispatcher.dispatchError( event, request.getBaseDirectory(), null ); getLogger().info( "BUILD ERRORS" ); line(); stats( request.getStartTime() ); line(); throw new MavenExecutionException( "Some builds failed" ); } else { getLogger().info( " + Ignoring failures" ); } } logSuccess( rm ); stats( request.getStartTime() ); line(); dispatcher.dispatchEnd( event, request.getBaseDirectory() ); }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/7c43aa27d76581ca0d19d6a482f4e0f023ef9fbb/DefaultMaven.java/buggy/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 17176, 3210, 691, 590, 262, 3639, 1216, 17176, 14576, 565, 288, 3639, 1250, 4439, 2582, 694, 273, 629, 31, 3639, 309, 261, 590, 18, 291, 23106, 1435, 262, 3639, 288, 5411, 4439, 2582, 694, 273, 638, 31, 3639, 289, 3639, 309, 261, 401, 11171, 2582, 694, 597, 590, 18, 291, 1891, 17095, 1435, 262, 3639, 288, 5411, 6462, 3305, 1733, 18, 542, 5160, 1891, 2582, 12, 14022, 3305, 2582, 18, 8217, 67, 26366, 67, 1013, 29295, 11272, 3639, 289, 3639, 6462, 3305, 1733, 18, 542, 5160, 10723, 2582, 12, 590, 18, 588, 5160, 10723, 2582, 1435, 11272, 7734, 309, 261, 590, 18, 588, 2042, 3305, 1435, 422, 446, 262, 3639, 288, 5411, 590, 18, 542, 2042, 3305, 12, 20499, 10348, 18, 2640, 2042, 3305, 12, 590, 18, 588, 2042, 3305, 743, 1435, 262, 11272, 3639, 289, 3639, 4242, 1194, 273, 1194, 1318, 18, 588, 3328, 1290, 1841, 12, 15931, 18, 16256, 11272, 3639, 309, 261, 590, 18, 291, 1868, 1133, 7187, 3896, 1435, 262, 3639, 288, 5411, 590, 18, 1289, 1133, 7187, 12, 394, 2989, 1133, 7187, 12, 312, 10007, 3328, 262, 11272, 3639, 289, 3639, 1194, 1318, 18, 542, 7614, 12, 590, 18, 588, 7735, 2355, 1435, 11272, 3639, 590, 18, 542, 13649, 12, 394, 2167, 1435, 11272, 3639, 341, 346, 265, 1318, 18, 542, 26442, 12, 590, 18, 291, 26442, 1435, 11272, 3639, 341, 346, 265, 1318, 18, 542, 7109, 7187, 12, 590, 18, 588, 5912, 2223, 1435, 11272, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 17176, 3210, 691, 590, 262, 3639, 1216, 17176, 14576, 565, 288, 3639, 1250, 4439, 2582, 694, 273, 629, 31, 3639, 309, 261, 590, 18, 291, 23106, 1435, 262, 3639, 288, 5411, 4439, 2582, 694, 273, 638, 31, 3639, 289, 3639, 309, 261, 401, 11171, 2582, 694, 597, 590, 18, 291, 1891, 17095, 1435, 262, 3639, 288, 5411, 6462, 3305, 1733, 18, 542, 5160, 1891, 2582, 12, 14022, 3305, 2582, 18, 8217, 67, 26366, 67, 1013, 29295, 11272, 3639, 289, 3639, 6462, 3305, 1733, 18, 542, 5160, 10723, 2582, 12, 590, 18, 588, 5160, 10723, 2582, 1435, 11272, 7734, 309, 261, 590, 18, 588, 2042, 3305, 1435, 422, 446, 262, 3639, 288, 5411, 590, 18, 2 ]
protected void fullBuild(IProgressMonitor monitor, IManagedBuildInfo info) throws CoreException { // Always need one of these bad boys if (monitor == null) { monitor = new NullProgressMonitor(); } // Regenerate the makefiles for any managed projects this project depends on IProject[] deps = getProject().getReferencedProjects(); for (int i = 0; i < deps.length; i++) { IProject depProject = deps[i]; if (ManagedBuildManager.manages(depProject)) { IManagedBuildInfo depInfo = ManagedBuildManager.getBuildInfo(depProject); String targetID = depInfo.getDefaultTarget().getParent().getId(); IManagedBuilderMakefileGenerator generator = ManagedBuildManager.getMakefileGenerator(targetID); generator.initialize(depProject, depInfo, monitor); try { generator.regenerateMakefiles(); } catch (CoreException e) { // Throw the exception back to the builder throw e; } } } // Need to report status to the user String statusMsg = ManagedMakeMessages.getFormattedString(REBUILD, getProject().getName()); monitor.subTask(statusMsg); // Regenerate the makefiles for this project String targetID = info.getDefaultTarget().getParent().getId(); generator = ManagedBuildManager.getMakefileGenerator(targetID); generator.initialize(getProject(), info, monitor); try { generator.regenerateMakefiles(); } catch (CoreException e) { // Throw the exception back to the builder throw e; } // Now call make IPath topBuildDir = generator.getBuildWorkingDir(); if (topBuildDir != null) { invokeMake(true, topBuildDir, info, monitor); } else { monitor.done(); return; } // Now regenerate the dependencies try { generator.regenerateDependencies(false); } catch (CoreException e) { // Throw the exception back to the builder throw e; } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/77a7513b82466bcfc73a61cc9f34581b758ec8f5/GeneratedMakefileBuilder.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/GeneratedMakefileBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1983, 3116, 12, 45, 5491, 7187, 6438, 16, 6246, 4184, 3116, 966, 1123, 13, 1216, 30015, 288, 202, 202, 759, 14178, 1608, 1245, 434, 4259, 5570, 800, 1900, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 9506, 202, 759, 2526, 14681, 326, 1221, 2354, 364, 1281, 7016, 10137, 333, 1984, 10935, 603, 202, 202, 45, 4109, 8526, 8740, 273, 11080, 7675, 588, 22344, 15298, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8740, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 4109, 5993, 4109, 273, 8740, 63, 77, 15533, 1082, 202, 430, 261, 10055, 3116, 1318, 18, 81, 940, 281, 12, 15037, 4109, 3719, 288, 9506, 202, 3445, 4184, 3116, 966, 5993, 966, 273, 10024, 3116, 1318, 18, 588, 3116, 966, 12, 15037, 4109, 1769, 9506, 202, 780, 1018, 734, 273, 5993, 966, 18, 588, 1868, 2326, 7675, 588, 3054, 7675, 26321, 5621, 9506, 202, 3445, 4184, 1263, 6464, 768, 3908, 4456, 273, 10024, 3116, 1318, 18, 588, 6464, 768, 3908, 12, 3299, 734, 1769, 9506, 202, 8812, 18, 11160, 12, 15037, 4109, 16, 5993, 966, 16, 6438, 1769, 9506, 202, 698, 288, 6862, 202, 8812, 18, 1574, 14681, 6464, 2354, 5621, 25083, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 759, 3743, 326, 1520, 1473, 358, 326, 2089, 6862, 202, 12849, 425, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1983, 3116, 12, 45, 5491, 7187, 6438, 16, 6246, 4184, 3116, 966, 1123, 13, 1216, 30015, 288, 202, 202, 759, 14178, 1608, 1245, 434, 4259, 5570, 800, 1900, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 9506, 202, 759, 2526, 14681, 326, 1221, 2354, 364, 1281, 7016, 10137, 333, 1984, 10935, 603, 202, 202, 45, 4109, 8526, 8740, 273, 11080, 7675, 588, 22344, 15298, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8740, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 4109, 5993, 4109, 273, 8740, 63, 77, 15533, 1082, 202, 430, 261, 10055, 3116, 1318, 18, 2 ]
boolean includeSuper = false;
boolean includeSuper = false;
public RubyObject m_private_instance_methods(RubyObject[] args) { boolean includeSuper = false; if (args.length > 0) { includeSuper = args[0].isTrue(); } return methodList(includeSuper, new RubyMapMethod() { public int execute(Object key, Object value, Object arg) { // cast args RubyId id = (RubyId) key; MethodNode body = (MethodNode) value; RubyArray ary = (RubyArray) arg; if (body.getBodyNode() == null) { ary.push(getRuby().getNil()); ary.push(RubyString.m_newString(getRuby(), id.toName())); } else if ((body.getNoex() & Constants.NOEX_PRIVATE) != 0) { RubyString name = RubyString.m_newString(getRuby(), id.toName()); if (ary.m_includes(name).isFalse()) { ary.push(name); } } else if (body.getBodyNode() instanceof ZSuperNode) { ary.push(getRuby().getNil()); ary.push(RubyString.m_newString(getRuby(), id.toName())); } return RubyMapMethod.CONTINUE; } }); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 312, 67, 1152, 67, 1336, 67, 5163, 12, 54, 10340, 921, 8526, 833, 13, 288, 202, 202, 6494, 2341, 8051, 273, 629, 31, 202, 202, 430, 261, 1968, 18, 2469, 405, 374, 13, 288, 1082, 202, 6702, 8051, 273, 833, 63, 20, 8009, 291, 5510, 5621, 202, 202, 97, 202, 202, 2463, 707, 682, 12, 6702, 8051, 16, 394, 19817, 863, 1305, 1435, 288, 1082, 202, 482, 509, 1836, 12, 921, 498, 16, 1033, 460, 16, 1033, 1501, 13, 288, 9506, 202, 759, 4812, 833, 9506, 202, 54, 10340, 548, 612, 273, 261, 54, 10340, 548, 13, 498, 31, 9506, 202, 1305, 907, 1417, 273, 261, 1305, 907, 13, 460, 31, 9506, 202, 54, 10340, 1076, 11841, 273, 261, 54, 10340, 1076, 13, 1501, 31, 9506, 202, 430, 261, 3432, 18, 588, 2250, 907, 1435, 422, 446, 13, 288, 6862, 202, 814, 18, 6206, 12, 588, 54, 10340, 7675, 588, 12616, 10663, 6862, 202, 814, 18, 6206, 12, 54, 10340, 780, 18, 81, 67, 2704, 780, 12, 588, 54, 10340, 9334, 612, 18, 869, 461, 1435, 10019, 9506, 202, 97, 469, 309, 14015, 3432, 18, 588, 2279, 338, 1435, 473, 5245, 18, 3417, 2294, 67, 20055, 13, 480, 374, 13, 288, 6862, 202, 54, 10340, 780, 508, 273, 19817, 780, 18, 81, 67, 2704, 780, 12, 588, 54, 10340, 9334, 612, 18, 869, 461, 10663, 6862, 202, 430, 261, 814, 18, 81, 67, 18499, 12, 529, 2934, 291, 8381, 10756, 288, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 312, 67, 1152, 67, 1336, 67, 5163, 12, 54, 10340, 921, 8526, 833, 13, 288, 202, 202, 6494, 2341, 8051, 273, 629, 31, 202, 202, 430, 261, 1968, 18, 2469, 405, 374, 13, 288, 1082, 202, 6702, 8051, 273, 833, 63, 20, 8009, 291, 5510, 5621, 202, 202, 97, 202, 202, 2463, 707, 682, 12, 6702, 8051, 16, 394, 19817, 863, 1305, 1435, 288, 1082, 202, 482, 509, 1836, 12, 921, 498, 16, 1033, 460, 16, 1033, 1501, 13, 288, 9506, 202, 759, 4812, 833, 9506, 202, 54, 10340, 548, 612, 273, 261, 54, 10340, 548, 13, 498, 31, 9506, 202, 1305, 907, 1417, 273, 261, 1305, 907, 13, 460, 31, 9506, 202, 54, 2 ]
if (scopeString != null)
if (scopeString != null) {
protected String getSystemFilterString(ProblemFilter filter) { StringBuffer filterBuffer = new StringBuffer(); String scopeString = getScopeString(filter); if (scopeString != null) filterBuffer.append(scopeString); String descriptionString = getDescriptionString(filter); if (descriptionString != null) { filterBuffer.append(Util.TWO_LINE_FEED); filterBuffer.append(descriptionString); } String severityString = getSeverityString(filter); if (severityString != null) { filterBuffer.append(Util.TWO_LINE_FEED); filterBuffer.append(severityString); } String typesString = getProblemTypesString(filter); filterBuffer.append(Util.TWO_LINE_FEED); filterBuffer.append(typesString); return filterBuffer.toString(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/DialogProblemFilter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogProblemFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 12996, 1586, 780, 12, 13719, 1586, 1034, 13, 288, 202, 202, 780, 1892, 1034, 1892, 273, 394, 6674, 5621, 202, 202, 780, 2146, 780, 273, 19203, 780, 12, 2188, 1769, 202, 202, 430, 261, 4887, 780, 480, 446, 13, 1082, 202, 2188, 1892, 18, 6923, 12, 4887, 780, 1769, 202, 202, 780, 2477, 780, 273, 11056, 780, 12, 2188, 1769, 202, 202, 430, 261, 3384, 780, 480, 446, 13, 288, 1082, 202, 2188, 1892, 18, 6923, 12, 1304, 18, 18869, 51, 67, 5997, 67, 29195, 1769, 1082, 202, 2188, 1892, 18, 6923, 12, 3384, 780, 1769, 202, 202, 97, 202, 202, 780, 11426, 780, 273, 1322, 6084, 560, 780, 12, 2188, 1769, 202, 202, 430, 261, 27341, 780, 480, 446, 13, 288, 1082, 202, 2188, 1892, 18, 6923, 12, 1304, 18, 18869, 51, 67, 5997, 67, 29195, 1769, 1082, 202, 2188, 1892, 18, 6923, 12, 27341, 780, 1769, 202, 202, 97, 202, 202, 780, 1953, 780, 273, 3570, 70, 3269, 2016, 780, 12, 2188, 1769, 202, 202, 2188, 1892, 18, 6923, 12, 1304, 18, 18869, 51, 67, 5997, 67, 29195, 1769, 202, 202, 2188, 1892, 18, 6923, 12, 2352, 780, 1769, 202, 202, 2463, 1034, 1892, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 12996, 1586, 780, 12, 13719, 1586, 1034, 13, 288, 202, 202, 780, 1892, 1034, 1892, 273, 394, 6674, 5621, 202, 202, 780, 2146, 780, 273, 19203, 780, 12, 2188, 1769, 202, 202, 430, 261, 4887, 780, 480, 446, 13, 1082, 202, 2188, 1892, 18, 6923, 12, 4887, 780, 1769, 202, 202, 780, 2477, 780, 273, 11056, 780, 12, 2188, 1769, 202, 202, 430, 261, 3384, 780, 480, 446, 13, 288, 1082, 202, 2188, 1892, 18, 6923, 12, 1304, 18, 18869, 51, 67, 5997, 67, 29195, 1769, 1082, 202, 2188, 1892, 18, 6923, 12, 3384, 780, 1769, 202, 202, 97, 202, 202, 780, 11426, 780, 273, 1322, 6084, 560, 780, 12, 2188, 1769, 202, 202, 430, 2 ]
gl.glPushMatrix();
private static void teapot(GL gl, int grid, double scale, int type, boolean backCompatible) { // As mentioned above, GL.glMap2f expects a packed array of floats float[] p = new float[4*4*3]; float[] q = new float[4*4*3]; float[] r = new float[4*4*3]; float[] s = new float[4*4*3]; int i, j, k, l; gl.glPushAttrib(GL.GL_ENABLE_BIT | GL.GL_EVAL_BIT | GL.GL_POLYGON_BIT); gl.glEnable(GL.GL_AUTO_NORMAL); gl.glEnable(GL.GL_NORMALIZE); gl.glEnable(GL.GL_MAP2_VERTEX_3); gl.glEnable(GL.GL_MAP2_TEXTURE_COORD_2); if (!backCompatible) { // The time has come to have the teapot no longer be inside out gl.glFrontFace(GL.GL_CW); gl.glScaled(0.5*scale, 0.5*scale, 0.5*scale); } else { // We want the teapot in it's backward compatible position and // orientation gl.glPushMatrix(); gl.glRotatef(270.0f, 1, 0, 0); gl.glScalef((float)(0.5 * scale), (float)(0.5 * scale), (float)(0.5 * scale)); gl.glTranslatef(0.0f, 0.0f, -1.5f); } for (i = 0; i < 10; i++) { for (j = 0; j < 4; j++) { for (k = 0; k < 4; k++) { for (l = 0; l < 3; l++) { p[(j*4+k)*3+l] = teapotCPData[teapotPatchData[i][j * 4 + k]][l]; q[(j*4+k)*3+l] = teapotCPData[teapotPatchData[i][j * 4 + (3 - k)]][l]; if (l == 1) q[(j*4+k)*3+l] *= -1.0; if (i < 6) { r[(j*4+k)*3+l] = teapotCPData[teapotPatchData[i][j * 4 + (3 - k)]][l]; if (l == 0) r[(j*4+k)*3+l] *= -1.0; s[(j*4+k)*3+l] = teapotCPData[teapotPatchData[i][j * 4 + k]][l]; if (l == 0) s[(j*4+k)*3+l] *= -1.0; if (l == 1) s[(j*4+k)*3+l] *= -1.0; } } } } gl.glMap2f(GL.GL_MAP2_TEXTURE_COORD_2, 0, 1, 2, 2, 0, 1, 4, 2, teapotTex, 0); gl.glMap2f(GL.GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, p, 0); gl.glMapGrid2f(grid, 0.0f, 1.0f, grid, 0.0f, 1.0f); evaluateTeapotMesh(gl, grid, type, i, !backCompatible); gl.glMap2f(GL.GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, q, 0); evaluateTeapotMesh(gl, grid, type, i, !backCompatible); if (i < 6) { gl.glMap2f(GL.GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, r, 0); evaluateTeapotMesh(gl, grid, type, i, !backCompatible); gl.glMap2f(GL.GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, s, 0); evaluateTeapotMesh(gl, grid, type, i, !backCompatible); } } if (backCompatible) { gl.glPopMatrix(); } gl.glPopAttrib(); }
53985 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53985/7f700910e4e885623cf170a04de4c7b20a169988/GLUT.java/buggy/src/classes/com/sun/opengl/util/GLUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 6489, 438, 352, 12, 11261, 5118, 16, 11794, 509, 3068, 16, 11794, 1645, 3159, 16, 11794, 509, 618, 16, 11794, 1250, 1473, 14599, 13, 225, 288, 565, 368, 2970, 27635, 5721, 16, 10252, 18, 7043, 863, 22, 74, 10999, 279, 12456, 526, 434, 19172, 565, 1431, 8526, 293, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 1431, 8526, 1043, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 1431, 8526, 436, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 1431, 8526, 272, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 509, 277, 16, 525, 16, 417, 16, 328, 31, 1377, 5118, 18, 7043, 7621, 12399, 12, 11261, 18, 11261, 67, 29377, 67, 15650, 571, 10252, 18, 11261, 67, 41, 2669, 67, 15650, 571, 10252, 18, 11261, 67, 14232, 30317, 673, 67, 15650, 1769, 565, 5118, 18, 7043, 8317, 12, 11261, 18, 11261, 67, 18909, 67, 15480, 1769, 565, 5118, 18, 7043, 8317, 12, 11261, 18, 11261, 67, 15480, 15641, 1769, 565, 5118, 18, 7043, 8317, 12, 11261, 18, 11261, 67, 8352, 22, 67, 18937, 67, 23, 1769, 565, 5118, 18, 7043, 8317, 12, 11261, 18, 11261, 67, 8352, 22, 67, 24652, 67, 27237, 40, 67, 22, 1769, 565, 309, 16051, 823, 14599, 13, 288, 1377, 368, 1021, 813, 711, 12404, 358, 1240, 326, 6489, 438, 352, 1158, 7144, 506, 4832, 596, 1377, 5118, 18, 7043, 9580, 11824, 12, 11261, 18, 11261, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 6489, 438, 352, 12, 11261, 5118, 16, 11794, 509, 3068, 16, 11794, 1645, 3159, 16, 11794, 509, 618, 16, 11794, 1250, 1473, 14599, 13, 225, 288, 565, 368, 2970, 27635, 5721, 16, 10252, 18, 7043, 863, 22, 74, 10999, 279, 12456, 526, 434, 19172, 565, 1431, 8526, 293, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 1431, 8526, 1043, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 1431, 8526, 436, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 1431, 8526, 272, 273, 394, 1431, 63, 24, 14, 24, 14, 23, 15533, 565, 509, 277, 16, 525, 16, 417, 16, 328, 31, 1377, 5118, 18, 7043, 7621, 2 ]
byte[] CR_LF = new byte[] {0x0D, 0x0A};
private String processInput(String input) { if(input==null) return MailConstants.COMMAND_UNKNOWN; if(mail!=null && transmitionEnd) return MailConstants.COMMAND_TRANSMISSION_END; if (input.startsWith("MAIL")) { temp += input + "\n"; mail = new MimeMessage(Session.getInstance(new Properties(), new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return null; } })); int start = input.indexOf("<") + 1; int end; if(start<=0){ start = input.indexOf("FROM:") + 5; end = input.length(); }else{ end = input.indexOf(">"); } String from = input.substring(start,end); if(from!=null && !from.trim().equals("")){ //TODO this is an ugly hack to get the from address in. There should be a better way to do this. MailAddress mailFrom[] = new MailAddress[1]; mailFrom[0] = new MailAddress(from); try { mail.addFrom(mailFrom); } catch (MessagingException e) { // TODO Auto-generated catch block e.printStackTrace(); } } return MailConstants.MAIL_OK; } if (input.startsWith("HELO")) { return MailConstants.HELO_REPLY; } else if (input.startsWith("RCPT")) { String domain = MailConstants.SERVER_DOMAIN; //System.out.println("RCPT:" + input); temp += input + "\n"; int start = input.indexOf("<") + 1; int end; if(start<=0){ start = input.indexOf("TO:") + 3;/* if(!input.endsWith(domain)){ System.out.println("ERROR: wrong donmain name"); return MailConstants.RCPT_ERROR; }*/ }else{/* if(!input.endsWith(domain + ">")){ System.out.println("ERROR: wrong donmain name"); return MailConstants.RCPT_ERROR; }*/ } end = input.indexOf(">"); String toStr = input.substring(start,end); try { mail.addRecipient(Message.RecipientType.TO, new MailAddress(toStr)); recivers.add(toStr); } catch (MessagingException e) { // TODO Auto-generated catch block e.printStackTrace(); } return MailConstants.RCPT_OK; } else if (input.equalsIgnoreCase("DATA")) { //session.setDataWriting(true); dataWriting = true; return MailConstants.DATA_START_SUCCESS; } else if (input.equalsIgnoreCase("QUIT")) { dataWriting = true; transmitionEnd = true; return MailConstants.COMMAND_TRANSMISSION_END; } else if (input.equals(".")) { dataWriting = false; return MailConstants.DATA_END_SUCCESS; } else if (input.equals("") && !bodyData) { bodyData = true; return null; } else if(mail!=null && dataWriting){ temp += input + "\n"; try { if (bodyData) { mail.setContent(input, "text/plain"); } else { mail.addHeaderLine(input); } } catch (MessagingException e) { // TODO Auto-generated catch block e.printStackTrace(); } return null; }else { return MailConstants.COMMAND_UNKNOWN; } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/c4cdd3ef9f32812cc017decfcbbf1617eb548bbd/SMTPWorker.java/clean/modules/core/src/org/apache/axis/transport/mail/server/SMTPWorker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 3238, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 514, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1207, 1210, 12, 780, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 810, 13, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 288, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 1160, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 3238, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 20, 37, 20451, 514, 7229, 8526, 6732, 67, 9105, 273, 394, 1160, 8526, 288, 20, 92, 20, 40, 16, 374, 92, 2 ]
public void addEvent(EventWrapper eventWrapper) { synchronized (this.eventMutex) { pendingEvents.add(eventWrapper); // Add the event into the pending events list eventMutex.notify(); } }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/EventScanner.java/clean/trunk/src/gov/nist/javax/sip/EventScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 1289, 1133, 12, 1133, 3611, 2575, 3611, 15329, 202, 202, 22043, 12, 2211, 18, 2575, 11433, 15329, 1082, 202, 9561, 3783, 18, 1289, 12, 2575, 3611, 1769, 1082, 202, 759, 986, 451, 1340, 616, 474, 352, 580, 9561, 5989, 1098, 1082, 202, 2575, 11433, 18, 12336, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 1289, 1133, 12, 1133, 3611, 2575, 3611, 15329, 202, 202, 22043, 12, 2211, 18, 2575, 11433, 15329, 1082, 202, 9561, 3783, 18, 1289, 12, 2575, 3611, 1769, 1082, 202, 759, 986, 451, 1340, 616, 474, 352, 580, 9561, 5989, 1098, 1082, 202, 2575, 11433, 18, 12336, 5621, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"Tree.openIcon", new IconUIResource(new ImageIcon(getClass().getResource( "/gnu/javax/swing/plaf/gtk/icons/TreeOpen.png"))),
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoableEdit.undoText", "Undo", "AbstractUndoableEdit.redoText", "Redo", "Button.background", new ColorUIResource(light), "Button.border", new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { return BasicBorders.getButtonBorder(); } }, "Button.darkShadow", new ColorUIResource(shadow), "Button.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "Button.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Button.foreground", new ColorUIResource(darkShadow), "Button.highlight", new ColorUIResource(highLight), "Button.light", new ColorUIResource(highLight), "Button.margin", new InsetsUIResource(2, 2, 2, 2), "Button.shadow", new ColorUIResource(shadow), "Button.textIconGap", new Integer(4), "Button.textShiftOffset", new Integer(0), "CheckBox.background", new ColorUIResource(light), "CheckBox.border", new BorderUIResource.CompoundBorderUIResource(null, null), "CheckBox.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "CheckBox.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBox.foreground", new ColorUIResource(darkShadow), "CheckBox.icon", BasicIconFactory.getCheckBoxIcon(), "CheckBox.margin",new InsetsUIResource(2, 2, 2, 2), "CheckBox.textIconGap", new Integer(4), "CheckBox.textShiftOffset", new Integer(0), "CheckBoxMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "CheckBoxMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "CheckBoxMenuItem.background", new ColorUIResource(light), "CheckBoxMenuItem.border", new BasicBorders.MarginBorder(), "CheckBoxMenuItem.borderPainted", Boolean.FALSE, "CheckBoxMenuItem.checkIcon", BasicIconFactory.getCheckBoxMenuItemIcon(), "CheckBoxMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "CheckBoxMenuItem.foreground", new ColorUIResource(darkShadow), "CheckBoxMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "CheckBoxMenuItem.selectionBackground", new ColorUIResource(Color.black), "CheckBoxMenuItem.selectionForeground", new ColorUIResource(Color.white), "ColorChooser.background", new ColorUIResource(light), "ColorChooser.cancelText", "Cancel", "ColorChooser.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ColorChooser.foreground", new ColorUIResource(darkShadow), "ColorChooser.hsbBlueText", "B", "ColorChooser.hsbBrightnessText", "B", "ColorChooser.hsbGreenText", "G", "ColorChooser.hsbHueText", "H", "ColorChooser.hsbNameText", "HSB", "ColorChooser.hsbRedText", "R", "ColorChooser.hsbSaturationText", "S", "ColorChooser.okText", "OK", "ColorChooser.previewText", "Preview", "ColorChooser.resetText", "Reset", "ColorChooser.rgbBlueMnemonic", new Integer(66), "ColorChooser.rgbBlueText", "Blue", "ColorChooser.rgbGreenMnemonic", new Integer(71), "ColorChooser.rgbGreenText", "Green", "ColorChooser.rgbNameText", "RGB", "ColorChooser.rgbRedMnemonic", new Integer(82), "ColorChooser.rgbRedText", "Red", "ColorChooser.sampleText", "Sample Text Sample Text", "ColorChooser.swatchesDefaultRecentColor", new ColorUIResource(light), "ColorChooser.swatchesNameText", "Swatches", "ColorChooser.swatchesRecentSwatchSize", new Dimension(10, 10), "ColorChooser.swatchesRecentText", "Recent:", "ColorChooser.swatchesSwatchSize", new Dimension(10, 10), "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "hidePopup", "PAGE_UP", "pageUpPassThrough", "PAGE_DOWN", "pageDownPassThrough", "HOME", "homePassThrough", "END", "endPassThrough" }), "ComboBox.background", new ColorUIResource(light), "ComboBox.buttonBackground", new ColorUIResource(light), "ComboBox.buttonDarkShadow", new ColorUIResource(shadow), "ComboBox.buttonHighlight", new ColorUIResource(highLight), "ComboBox.buttonShadow", new ColorUIResource(shadow), "ComboBox.disabledBackground", new ColorUIResource(light), "ComboBox.disabledForeground", new ColorUIResource(Color.gray), "ComboBox.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ComboBox.foreground", new ColorUIResource(Color.black), "ComboBox.selectionBackground", new ColorUIResource(Color.black), "ComboBox.selectionForeground", new ColorUIResource(Color.white), "Desktop.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "KP_LEFT", "left", "KP_RIGHT", "right", "ctrl F5", "restore", "LEFT", "left", "ctrl alt F6", "selectNextFrame", "UP", "up", "ctrl F6", "selectNextFrame", "RIGHT", "right", "DOWN", "down", "ctrl F7", "move", "ctrl F8", "resize", "ESCAPE", "escape", "ctrl TAB", "selectNextFrame", "ctrl F9", "minimize", "KP_UP", "up", "ctrl F4", "close", "KP_DOWN", "down", "ctrl F10", "maximize", "ctrl alt shift F6","selectPreviousFrame" }), "Desktop.background", new ColorUIResource(0, 92, 92), "DesktopIcon.border", new BorderUIResource.CompoundBorderUIResource(null, null), "EditorPane.background", new ColorUIResource(Color.white), "EditorPane.border", new BasicBorders.MarginBorder(), "EditorPane.caretBlinkRate", new Integer(500), "EditorPane.caretForeground", new ColorUIResource(Color.black), "EditorPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "EditorPane.foreground", new ColorUIResource(Color.black), "EditorPane.inactiveForeground", new ColorUIResource(Color.gray), "EditorPane.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "caret-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "caret-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0), "page-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0), "page-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "insert-break"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0), "insert-tab") }, "EditorPane.margin", new InsetsUIResource(3, 3, 3, 3), "EditorPane.selectionBackground", new ColorUIResource(Color.black), "EditorPane.selectionForeground", new ColorUIResource(Color.white), "FileChooser.acceptAllFileFilterText", "All Files (*.*)", "FileChooser.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancelSelection" }), "FileChooser.cancelButtonMnemonic", new Integer(67), "FileChooser.cancelButtonText", "Cancel", "FileChooser.cancelButtonToolTipText", "Abort file chooser dialog", // XXX Don't use gif// "FileChooser.detailsViewIcon", new IconUIResource(new ImageIcon("icons/DetailsView.gif")), "FileChooser.directoryDescriptionText", "Directory", "FileChooser.fileDescriptionText", "Generic File", "FileChooser.helpButtonMnemonic", new Integer(72), "FileChooser.helpButtonText", "Help", "FileChooser.helpButtonToolTipText", "FileChooser help", // XXX Don't use gif// "FileChooser.homeFolderIcon", new IconUIResource(new ImageIcon("icons/HomeFolder.gif")), // XXX Don't use gif// "FileChooser.listViewIcon", new IconUIResource(new ImageIcon("icons/ListView.gif")), "FileChooser.newFolderErrorSeparator", ":", "FileChooser.newFolderErrorText", "Error creating new folder", // XXX Don't use gif// "FileChooser.newFolderIcon", new IconUIResource(new ImageIcon("icons/NewFolder.gif")), "FileChooser.openButtonMnemonic", new Integer(79), "FileChooser.openButtonText", "Open", "FileChooser.openButtonToolTipText", "Open selected file", "FileChooser.saveButtonMnemonic", new Integer(83), "FileChooser.saveButtonText", "Save", "FileChooser.saveButtonToolTipText", "Save selected file", // XXX Don't use gif// "FileChooser.upFolderIcon", new IconUIResource(new ImageIcon("icons/UpFolder.gif")), "FileChooser.updateButtonMnemonic", new Integer(85), "FileChooser.updateButtonText", "Update", "FileChooser.updateButtonToolTipText", "Update directory listing", // XXX Don't use gif// "FileView.computerIcon", new IconUIResource(new ImageIcon("icons/Computer.gif")), // XXX Don't use gif// "FileView.directoryIcon", new IconUIResource(new ImageIcon("icons/Directory.gif")), // XXX Don't use gif// "FileView.fileIcon", new IconUIResource(new ImageIcon("icons/File.gif")), // XXX Don't use gif// "FileView.floppyDriveIcon", new IconUIResource(new ImageIcon("icons/Floppy.gif")), // XXX Don't use gif// "FileView.hardDriveIcon", new IconUIResource(new ImageIcon("icons/HardDrive.gif")), "FocusManagerClassName", "TODO", "FormattedTextField.background", new ColorUIResource(light), "FormattedTextField.caretForeground", new ColorUIResource(Color.black), "FormattedTextField.foreground", new ColorUIResource(Color.black), "FormattedTextField.inactiveBackground", new ColorUIResource(light), "FormattedTextField.inactiveForeground", new ColorUIResource(Color.gray), "FormattedTextField.selectionBackground", new ColorUIResource(Color.black), "FormattedTextField.selectionForeground", new ColorUIResource(Color.white), "FormView.resetButtonText", "Reset", "FormView.submitButtonText", "Submit Query", "InternalFrame.activeTitleBackground", new ColorUIResource(0, 0, 128), "InternalFrame.activeTitleForeground", new ColorUIResource(Color.white), "InternalFrame.border", new BorderUIResource.CompoundBorderUIResource(null, null), "InternalFrame.borderColor", new ColorUIResource(light), "InternalFrame.borderDarkShadow", new ColorUIResource(shadow), "InternalFrame.borderHighlight", new ColorUIResource(highLight), "InternalFrame.borderLight", new ColorUIResource(light), "InternalFrame.borderShadow", new ColorUIResource(shadow), "InternalFrame.closeIcon", BasicIconFactory.createEmptyFrameIcon(), // XXX Don't use gif// "InternalFrame.icon", new IconUIResource(new ImageIcon("icons/JavaCup.gif")), "InternalFrame.iconifyIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.inactiveTitleBackground", new ColorUIResource(Color.gray), "InternalFrame.inactiveTitleForeground", new ColorUIResource(Color.lightGray), "InternalFrame.maximizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.minimizeIcon", BasicIconFactory.createEmptyFrameIcon(), "InternalFrame.titleFont", new FontUIResource("Dialog", Font.PLAIN, 12), "InternalFrame.windowBindings", new Object[] { "shift ESCAPE", "showSystemMenu", "ctrl SPACE", "showSystemMenu", "ESCAPE", "showSystemMenu" }, "Label.background", new ColorUIResource(light), "Label.disabledForeground", new ColorUIResource(Color.white), "Label.disabledShadow", new ColorUIResource(shadow), "Label.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Label.foreground", new ColorUIResource(darkShadow), "List.background", new ColorUIResource(light), "List.border", new BasicBorders.MarginBorder(), "List.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "ctrl \\", "clearSelection", "PAGE_DOWN", "scrollDown", "shift PAGE_DOWN","scrollDownExtendSelection", "END", "selectLastRow", "HOME", "selectFirstRow", "shift END", "selectLastRowExtendSelection", "shift HOME", "selectFirstRowExtendSelection", "UP", "selectPreviousRow", "ctrl /", "selectAll", "ctrl A", "selectAll", "DOWN", "selectNextRow", "shift UP", "selectPreviousRowExtendSelection", "ctrl SPACE", "selectNextRowExtendSelection", "shift DOWN", "selectNextRowExtendSelection", "KP_UP", "selectPreviousRow", "shift PAGE_UP","scrollUpExtendSelection", "KP_DOWN", "selectNextRow" }), "List.foreground", new ColorUIResource(darkShadow), "List.selectionBackground", new ColorUIResource(Color.black), "List.selectionForeground", new ColorUIResource(Color.white), "Menu.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.acceleratorForeground", new ColorUIResource(darkShadow), "Menu.acceleratorSelectionForeground", new ColorUIResource(Color.white), "Menu.arrowIcon", BasicIconFactory.getMenuArrowIcon(), "Menu.background", new ColorUIResource(light), "Menu.border", new BasicBorders.MarginBorder(), "Menu.borderPainted", Boolean.FALSE, "Menu.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "Menu.consumesTabs", Boolean.TRUE, "Menu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Menu.foreground", new ColorUIResource(darkShadow), "Menu.margin", new InsetsUIResource(2, 2, 2, 2), "Menu.selectedWindowInputMapBindings", new Object[] { "ESCAPE", "cancel", "DOWN", "selectNext", "KP_DOWN", "selectNext", "UP", "selectPrevious", "KP_UP", "selectPrevious", "LEFT", "selectParent", "KP_LEFT", "selectParent", "RIGHT", "selectChild", "KP_RIGHT", "selectChild", "ENTER", "return", "SPACE", "return" }, "Menu.selectionBackground", new ColorUIResource(Color.black), "Menu.selectionForeground", new ColorUIResource(Color.white), "MenuBar.background", new ColorUIResource(light), "MenuBar.border", new BasicBorders.MenuBarBorder(null, null), "MenuBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuBar.foreground", new ColorUIResource(darkShadow), "MenuBar.highlight", new ColorUIResource(highLight), "MenuBar.shadow", new ColorUIResource(shadow), "MenuBar.windowBindings", new Object[] { "F10", "takeFocus" }, "MenuItem.acceleratorDelimiter", "-", "MenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "MenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "MenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "MenuItem.background", new ColorUIResource(light), "MenuItem.border", new BasicBorders.MarginBorder(), "MenuItem.borderPainted", Boolean.FALSE, "MenuItem.checkIcon", BasicIconFactory.getMenuItemCheckIcon(), "MenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "MenuItem.foreground", new ColorUIResource(darkShadow), "MenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "MenuItem.selectionBackground", new ColorUIResource(Color.black), "MenuItem.selectionForeground", new ColorUIResource(Color.white), "OptionPane.background", new ColorUIResource(light), "OptionPane.border", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.buttonAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.cancelButtonText", "Cancel", // XXX Don't use gif// "OptionPane.errorIcon",// new IconUIResource(new ImageIcon("icons/Error.gif")), "OptionPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "OptionPane.foreground", new ColorUIResource(darkShadow), // XXX Don't use gif// "OptionPane.informationIcon",// new IconUIResource(new ImageIcon("icons/Inform.gif")), "OptionPane.messageAreaBorder", new BorderUIResource.EmptyBorderUIResource(0, 0, 0, 0), "OptionPane.messageForeground", new ColorUIResource(darkShadow), "OptionPane.minimumSize", new DimensionUIResource(262, 90), "OptionPane.noButtonText", "No", "OptionPane.okButtonText", "OK", // XXX Don't use gif// "OptionPane.questionIcon",// new IconUIResource(new ImageIcon("icons/Question.gif")), // XXX Don't use gif// "OptionPane.warningIcon",// new IconUIResource(new ImageIcon("icons/Warn.gif")), "OptionPane.windowBindings", new Object[] { "ESCAPE", "close" }, "OptionPane.yesButtonText", "Yes", "Panel.background", new ColorUIResource(light), "Panel.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Panel.foreground", new ColorUIResource(Color.black), "PasswordField.background", new ColorUIResource(light), "PasswordField.border", new BasicBorders.FieldBorder(null, null, null, null), "PasswordField.caretBlinkRate", new Integer(500), "PasswordField.caretForeground", new ColorUIResource(Color.black), "PasswordField.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "PasswordField.foreground", new ColorUIResource(Color.black), "PasswordField.inactiveBackground", new ColorUIResource(light), "PasswordField.inactiveForeground", new ColorUIResource(Color.gray), "PasswordField.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "notify-field-accept")}, "PasswordField.margin", new InsetsUIResource(0, 0, 0, 0), "PasswordField.selectionBackground", new ColorUIResource(Color.black), "PasswordField.selectionForeground", new ColorUIResource(Color.white), "PopupMenu.background", new ColorUIResource(light), "PopupMenu.border", new BorderUIResource.BevelBorderUIResource(0), "PopupMenu.font", new FontUIResource("Dialog", Font.PLAIN, 12), "PopupMenu.foreground", new ColorUIResource(darkShadow), "ProgressBar.background", new ColorUIResource(light), "ProgressBar.border", new BorderUIResource.LineBorderUIResource(Color.darkGray), "ProgressBar.cellLength", new Integer(1), "ProgressBar.cellSpacing", new Integer(0), "ProgressBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ProgressBar.foreground", new ColorUIResource(Color.black), "ProgressBar.selectionBackground", new ColorUIResource(Color.black), "ProgressBar.selectionForeground", new ColorUIResource(light), "ProgressBar.repaintInterval", new Integer(250), "ProgressBar.cycleTime", new Integer(6000), "RadioButton.background", new ColorUIResource(light), "RadioButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "RadioButton.darkShadow", new ColorUIResource(shadow), "RadioButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "RadioButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButton.foreground", new ColorUIResource(darkShadow), "RadioButton.highlight", new ColorUIResource(highLight), "RadioButton.icon", BasicIconFactory.getRadioButtonIcon(), "RadioButton.light", new ColorUIResource(highLight), "RadioButton.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButton.shadow", new ColorUIResource(shadow), "RadioButton.textIconGap", new Integer(4), "RadioButton.textShiftOffset", new Integer(0), "RadioButtonMenuItem.acceleratorFont", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.acceleratorForeground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.acceleratorSelectionForeground", new ColorUIResource(Color.white), "RadioButtonMenuItem.arrowIcon", BasicIconFactory.getMenuItemArrowIcon(), "RadioButtonMenuItem.background", new ColorUIResource(light), "RadioButtonMenuItem.border", new BasicBorders.MarginBorder(), "RadioButtonMenuItem.borderPainted", Boolean.FALSE, "RadioButtonMenuItem.checkIcon", BasicIconFactory.getRadioButtonMenuItemIcon(), "RadioButtonMenuItem.font", new FontUIResource("Dialog", Font.PLAIN, 12), "RadioButtonMenuItem.foreground", new ColorUIResource(darkShadow), "RadioButtonMenuItem.margin", new InsetsUIResource(2, 2, 2, 2), "RadioButtonMenuItem.selectionBackground", new ColorUIResource(Color.black), "RadioButtonMenuItem.selectionForeground", new ColorUIResource(Color.white), "RootPane.defaultButtonWindowKeyBindings", new Object[] { "ENTER", "press", "released ENTER", "release", "ctrl ENTER", "press", "ctrl released ENTER", "release" }, "ScrollBar.background", new ColorUIResource(224, 224, 224), "ScrollBar.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "negativeBlockIncrement", "PAGE_DOWN", "positiveBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "positiveUnitIncrement", "KP_UP", "negativeUnitIncrement", "KP_DOWN", "positiveUnitIncrement", "UP", "negativeUnitIncrement", "RIGHT", "negativeUnitIncrement", "KP_LEFT", "positiveUnitIncrement", "DOWN", "positiveUnitIncrement", "KP_RIGHT", "negativeUnitIncrement" }), "ScrollBar.foreground", new ColorUIResource(light), "ScrollBar.maximumThumbSize", new DimensionUIResource(4096, 4096), "ScrollBar.minimumThumbSize", new DimensionUIResource(8, 8), "ScrollBar.thumb", new ColorUIResource(light), "ScrollBar.thumbDarkShadow", new ColorUIResource(shadow), "ScrollBar.thumbHighlight", new ColorUIResource(highLight), "ScrollBar.thumbShadow", new ColorUIResource(shadow), "ScrollBar.track", new ColorUIResource(light), "ScrollBar.trackHighlight", new ColorUIResource(shadow), "ScrollPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "scrollUp", "KP_LEFT", "unitScrollLeft", "ctrl PAGE_DOWN","scrollRight", "PAGE_DOWN", "scrollDown", "KP_RIGHT", "unitScrollRight", "LEFT", "unitScrollLeft", "ctrl END", "scrollEnd", "UP", "unitScrollUp", "RIGHT", "unitScrollRight", "DOWN", "unitScrollDown", "ctrl HOME", "scrollHome", "ctrl PAGE_UP", "scrollLeft", "KP_UP", "unitScrollUp", "KP_DOWN", "unitScrollDown" }), "ScrollPane.background", new ColorUIResource(light), "ScrollPane.border", new BorderUIResource.EtchedBorderUIResource(), "ScrollPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ScrollPane.foreground", new ColorUIResource(darkShadow), "Separator.background", new ColorUIResource(highLight), "Separator.foreground", new ColorUIResource(shadow), "Separator.highlight", new ColorUIResource(highLight), "Separator.shadow", new ColorUIResource(shadow), "Slider.background", new ColorUIResource(light), "Slider.focus", new ColorUIResource(shadow), "Slider.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "PAGE_UP", "positiveBlockIncrement", "PAGE_DOWN", "negativeBlockIncrement", "END", "maxScroll", "HOME", "minScroll", "LEFT", "negativeUnitIncrement", "KP_UP", "positiveUnitIncrement", "KP_DOWN", "negativeUnitIncrement", "UP", "positiveUnitIncrement", "RIGHT", "positiveUnitIncrement", "KP_LEFT", "negativeUnitIncrement", "DOWN", "negativeUnitIncrement", "KP_RIGHT", "positiveUnitIncrement" }), "Slider.focusInsets", new InsetsUIResource(2, 2, 2, 2), "Slider.foreground", new ColorUIResource(light), "Slider.highlight", new ColorUIResource(highLight), "Slider.shadow", new ColorUIResource(shadow), "Slider.thumbHeight", new Integer(20), "Slider.thumbWidth", new Integer(10), "Slider.tickHeight", new Integer(12), "Spinner.background", new ColorUIResource(light), "Spinner.foreground", new ColorUIResource(light), "SplitPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "F6", "toggleFocus", "F8", "startResize", "END", "selectMax", "HOME", "selectMin", "LEFT", "negativeIncremnent", "KP_UP", "negativeIncrement", "KP_DOWN", "positiveIncrement", "UP", "negativeIncrement", "RIGHT", "positiveIncrement", "KP_LEFT", "negativeIncrement", "DOWN", "positiveIncrement", "KP_RIGHT", "positiveIncrement" }), "SplitPane.background", new ColorUIResource(light), "SplitPane.border", new BasicBorders.SplitPaneBorder(null, null), "SplitPane.darkShadow", new ColorUIResource(shadow), "SplitPane.dividerSize", new Integer(10), "SplitPane.highlight", new ColorUIResource(highLight), "SplitPane.shadow", new ColorUIResource(shadow), "TabbedPane.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ctrl PAGE_DOWN","navigatePageDown", "ctrl PAGE_UP", "navigatePageUp", "ctrl UP", "requestFocus", "ctrl KP_UP", "requestFocus" }), "TabbedPane.background", new ColorUIResource(light), "TabbedPane.contentBorderInsets", new InsetsUIResource(2, 2, 3, 3), "TabbedPane.darkShadow", new ColorUIResource(shadow), "TabbedPane.focus", new ColorUIResource(darkShadow), "TabbedPane.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "LEFT", "navigateLeft", "KP_UP", "navigateUp", "ctrl DOWN", "requestFocusForVisibleComponent", "UP", "navigateUp", "KP_DOWN", "navigateDown", "RIGHT", "navigateRight", "KP_LEFT", "navigateLeft", "ctrl KP_DOWN", "requestFocusForVisibleComponent", "KP_RIGHT", "navigateRight", "DOWN", "navigateDown" }), "TabbedPane.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TabbedPane.foreground", new ColorUIResource(darkShadow), "TabbedPane.highlight", new ColorUIResource(highLight), "TabbedPane.light", new ColorUIResource(highLight), "TabbedPane.selectedTabPadInsets", new InsetsUIResource(2, 2, 2, 1), "TabbedPane.shadow", new ColorUIResource(shadow), "TabbedPane.tabbedPaneTabAreaInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabInsets", new InsetsUIResource(1, 4, 1, 4), "TabbedPane.tabbedPaneContentBorderInsets", new InsetsUIResource(3, 2, 1, 2), "TabbedPane.tabbedPaneTabPadInsets", new InsetsUIResource(1, 1, 1, 1), "TabbedPane.tabRunOverlay", new Integer(2), "TabbedPane.textIconGap", new Integer(4), "Table.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "shift PAGE_DOWN","scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLastColumn", "shift END", "selectLastColumnExtendSelection", "HOME", "selectFirstColumn", "ctrl END", "selectLastRow", "ctrl shift END","selectLastRowExtendSelection", "LEFT", "selectPreviousColumn", "shift HOME", "selectFirstColumnExtendSelection", "UP", "selectPreviousRow", "RIGHT", "selectNextColumn", "ctrl HOME", "selectFirstRow", "shift LEFT", "selectPreviousColumnExtendSelection", "DOWN", "selectNextRow", "ctrl shift HOME","selectFirstRowExtendSelection", "shift UP", "selectPreviousRowExtendSelection", "F2", "startEditing", "shift RIGHT", "selectNextColumnExtendSelection", "TAB", "selectNextColumnCell", "shift DOWN", "selectNextRowExtendSelection", "ENTER", "selectNextRowCell", "KP_UP", "selectPreviousRow", "KP_DOWN", "selectNextRow", "KP_LEFT", "selectPreviousColumn", "KP_RIGHT", "selectNextColumn", "shift TAB", "selectPreviousColumnCell", "ctrl A", "selectAll", "shift ENTER", "selectPreviousRowCell", "shift KP_DOWN", "selectNextRowExtendSelection", "shift KP_LEFT", "selectPreviousColumnExtendSelection", "ESCAPE", "cancel", "ctrl shift PAGE_UP", "scrollRightExtendSelection", "shift KP_RIGHT", " selectNextColumnExtendSelection", "ctrl PAGE_UP", "scrollLeftChangeSelection", "shift PAGE_UP", "scrollUpExtendSelection", "ctrl shift PAGE_DOWN", "scrollLeftExtendSelection", "ctrl PAGE_DOWN", "scrollRightChangeSelection", "PAGE_UP", "scrollUpChangeSelection" }), "Table.background", new ColorUIResource(light), "Table.focusCellBackground", new ColorUIResource(light), "Table.focusCellForeground", new ColorUIResource(darkShadow), "Table.focusCellHighlightBorder", new BorderUIResource.LineBorderUIResource( new ColorUIResource(255, 255, 0)), "Table.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Table.foreground", new ColorUIResource(darkShadow), "Table.gridColor", new ColorUIResource(Color.gray), "Table.scrollPaneBorder", new BorderUIResource.BevelBorderUIResource(0), "Table.selectionBackground", new ColorUIResource(Color.black), "Table.selectionForeground", new ColorUIResource(Color.white), "TableHeader.background", new ColorUIResource(light), "TableHeader.cellBorder", new BorderUIResource.BevelBorderUIResource(0), "TableHeader.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TableHeader.foreground", new ColorUIResource(darkShadow), "TextArea.background", new ColorUIResource(light), "TextArea.border", new BasicBorders.MarginBorder(), "TextArea.caretBlinkRate", new Integer(500), "TextArea.caretForeground", new ColorUIResource(Color.black), "TextArea.font", new FontUIResource("MonoSpaced", Font.PLAIN, 12), "TextArea.foreground", new ColorUIResource(Color.black), "TextArea.inactiveForeground", new ColorUIResource(Color.gray), "TextArea.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "caret-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "caret-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0), "page-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0), "page-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "insert-break"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0), "insert-tab") }, "TextArea.margin", new InsetsUIResource(0, 0, 0, 0), "TextArea.selectionBackground", new ColorUIResource(Color.black), "TextArea.selectionForeground", new ColorUIResource(Color.white), "TextField.background", new ColorUIResource(light), "TextField.border", new BasicBorders.FieldBorder(null, null, null, null), "TextField.caretBlinkRate", new Integer(500), "TextField.caretForeground", new ColorUIResource(Color.black), "TextField.darkShadow", new ColorUIResource(shadow), "TextField.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "TextField.foreground", new ColorUIResource(Color.black), "TextField.highlight", new ColorUIResource(highLight), "TextField.inactiveBackground", new ColorUIResource(light), "TextField.inactiveForeground", new ColorUIResource(Color.gray), "TextField.light", new ColorUIResource(highLight), "TextField.highlight", new ColorUIResource(light), "TextField.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "notify-field-accept"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, InputEvent.SHIFT_DOWN_MASK), "selection-backward"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, InputEvent.SHIFT_DOWN_MASK), "selection-forward"), }, "TextField.margin", new InsetsUIResource(0, 0, 0, 0), "TextField.selectionBackground", new ColorUIResource(Color.black), "TextField.selectionForeground", new ColorUIResource(Color.white), "TextPane.background", new ColorUIResource(Color.white), "TextPane.border", new BasicBorders.MarginBorder(), "TextPane.caretBlinkRate", new Integer(500), "TextPane.caretForeground", new ColorUIResource(Color.black), "TextPane.font", new FontUIResource("Serif", Font.PLAIN, 12), "TextPane.foreground", new ColorUIResource(Color.black), "TextPane.inactiveForeground", new ColorUIResource(Color.gray), "TextPane.keyBindings", new JTextComponent.KeyBinding[] { new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0), "caret-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0), "caret-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0), "page-up"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0), "page-down"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "insert-break"), new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0), "insert-tab") }, "TextPane.margin", new InsetsUIResource(3, 3, 3, 3), "TextPane.selectionBackground", new ColorUIResource(Color.black), "TextPane.selectionForeground", new ColorUIResource(Color.white), "TitledBorder.border", new BorderUIResource.EtchedBorderUIResource(), "TitledBorder.font", new FontUIResource("Dialog", Font.PLAIN, 12), "TitledBorder.titleColor", new ColorUIResource(darkShadow), "ToggleButton.background", new ColorUIResource(light), "ToggleButton.border", new BorderUIResource.CompoundBorderUIResource(null, null), "ToggleButton.darkShadow", new ColorUIResource(shadow), "ToggleButton.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "SPACE", "pressed", "released SPACE", "released" }), "ToggleButton.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToggleButton.foreground", new ColorUIResource(darkShadow), "ToggleButton.highlight", new ColorUIResource(highLight), "ToggleButton.light", new ColorUIResource(light), "ToggleButton.margin", new InsetsUIResource(2, 14, 2, 14), "ToggleButton.shadow", new ColorUIResource(shadow), "ToggleButton.textIconGap", new Integer(4), "ToggleButton.textShiftOffset", new Integer(0), "ToolBar.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "UP", "navigateUp", "KP_UP", "navigateUp", "DOWN", "navigateDown", "KP_DOWN", "navigateDown", "LEFT", "navigateLeft", "KP_LEFT", "navigateLeft", "RIGHT", "navigateRight", "KP_RIGHT", "navigateRight" }), "ToolBar.background", new ColorUIResource(light), "ToolBar.border", new BorderUIResource.EtchedBorderUIResource(), "ToolBar.darkShadow", new ColorUIResource(shadow), "ToolBar.dockingBackground", new ColorUIResource(light), "ToolBar.dockingForeground", new ColorUIResource(Color.red), "ToolBar.floatingBackground", new ColorUIResource(light), "ToolBar.floatingForeground", new ColorUIResource(Color.darkGray), "ToolBar.font", new FontUIResource("Dialog", Font.PLAIN, 12), "ToolBar.foreground", new ColorUIResource(darkShadow), "ToolBar.highlight", new ColorUIResource(highLight), "ToolBar.light", new ColorUIResource(highLight), "ToolBar.separatorSize", new DimensionUIResource(20, 20), "ToolBar.shadow", new ColorUIResource(shadow), "ToolTip.background", new ColorUIResource(light), "ToolTip.border", new BorderUIResource.LineBorderUIResource(Color.lightGray), "ToolTip.font", new FontUIResource("SansSerif", Font.PLAIN, 12), "ToolTip.foreground", new ColorUIResource(darkShadow), "Tree.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] { "ESCAPE", "cancel" }), "Tree.background", new ColorUIResource(light), "Tree.changeSelectionWithFocus", Boolean.TRUE,// "Tree.closedIcon", new IconUIResource(new ImageIcon("icons/TreeClosed.png")),// "Tree.collapsedIcon", new IconUIResource(new ImageIcon("icons/TreeCollapsed.png")), "Tree.drawsFocusBorderAroundIcon", Boolean.FALSE, "Tree.editorBorder", new BorderUIResource.LineBorderUIResource(Color.lightGray), "Tree.focusInputMap", new UIDefaults.LazyInputMap(new Object[] { "shift PAGE_DOWN", "scrollDownExtendSelection", "PAGE_DOWN", "scrollDownChangeSelection", "END", "selectLast", "ctrl KP_UP", "selectPreviousChangeLead", "shift END", "selectLastExtendSelection", "HOME", "selectFirst", "ctrl END", "selectLastChangeLead", "ctrl /", "selectAll", "LEFT", "selectParent", "shift HOME", "selectFirstExtendSelection", "UP", "selectPrevious", "ctrl KP_DOWN", "selectNextChangeLead", "RIGHT", "selectChild", "ctrl HOME", "selectFirstChangeLead", "DOWN", "selectNext", "ctrl KP_LEFT", "scrollLeft", "shift UP", "selectPreviousExtendSelection", "F2", "startEditing", "ctrl LEFT", "scrollLeft", "ctrl KP_RIGHT","scrollRight", "ctrl UP", "selectPreviousChangeLead", "shift DOWN", "selectNextExtendSelection", "ENTER", "toggle", "KP_UP", "selectPrevious", "KP_DOWN", "selectNext", "ctrl RIGHT", "scrollRight", "KP_LEFT", "selectParent", "KP_RIGHT", "selectChild", "ctrl DOWN", "selectNextChangeLead", "ctrl A", "selectAll", "shift KP_UP", "selectPreviousExtendSelection", "shift KP_DOWN","selectNextExtendSelection", "ctrl SPACE", "toggleSelectionPreserveAnchor", "ctrl shift PAGE_UP", "scrollUpExtendSelection", "ctrl \\", "clearSelection", "shift SPACE", "extendSelection", "ctrl PAGE_UP", "scrollUpChangeLead", "shift PAGE_UP","scrollUpExtendSelection", "SPACE", "toggleSelectionPreserveAnchor", "ctrl shift PAGE_DOWN", "scrollDownExtendSelection", "PAGE_UP", "scrollUpChangeSelection", "ctrl PAGE_DOWN", "scrollDownChangeLead" }), "Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12),// "Tree.expandedIcon", new IconUIResource(new ImageIcon("icons/TreeExpanded.png")), "Tree.foreground", new ColorUIResource(Color.black), "Tree.hash", new ColorUIResource(Color.gray),// "Tree.leafIcon", new IconUIResource(new ImageIcon("icons/TreeLeaf.png")), "Tree.leftChildIndent", new Integer(7),// "Tree.openIcon", new IconUIResource(new ImageIcon("icons/TreeOpen.png")), "Tree.rightChildIndent", new Integer(13), "Tree.rowHeight", new Integer(16), "Tree.scrollsOnExpand", Boolean.TRUE, "Tree.selectionBackground", new ColorUIResource(Color.black), "Tree.selectionBorderColor", new ColorUIResource(Color.black), "Tree.selectionForeground", new ColorUIResource(Color.white), "Tree.textBackground", new ColorUIResource(Color.white), "Tree.textForeground", new ColorUIResource(Color.black), "Viewport.background", new ColorUIResource(light), "Viewport.foreground", new ColorUIResource(Color.black), "Viewport.font", new FontUIResource("Dialog", Font.PLAIN, 12) }; defaults.putDefaults(uiDefaults); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/BasicLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 315, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 315, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 4750, 6, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 918, 6, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 1208, 1841, 7019, 12, 3060, 73, 643, 87, 6, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 3467, 2225, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 315, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 315, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 310, 19, 412, 1727, 19, 4521, 79, 19, 14516, 19, 2471, 3678, 18, 6446, 6, 3719, 3631, 4750, 6, 2471, 18, 3190, 5554, 3113, 394, 16011, 5370, 1420, 12, 2704, 3421, 5554, 12, 588, 797, 7675, 588, 1420, 12, 2206, 1600, 89, 19, 28384, 19, 5328, 2 ]
if(result == null){ throw new InvalidArgumentsServiceException(); } final Person person = AccessControl.getUserView().getPerson();
public ResultEventAssociation run(ResultEventAssociationCreationBean bean) throws ExcepcaoPersistencia, FenixServiceException { final Result result = bean.getResult(); if(result == null){ throw new InvalidArgumentsServiceException(); } final Person person = AccessControl.getUserView().getPerson(); ResultEventAssociation association = null; if(bean.getEvent()==null) { final Event event = new Event(bean.getEventNameMLS(), bean.getEventType()); try { association = new ResultEventAssociation(result, event, bean.getRole(), person.getName()); } catch (DomainException e) { event.delete(); throw new FenixServiceException(e.getKey()); } } else { association = new ResultEventAssociation(result,bean.getEvent(), bean.getRole(), person.getName()); } return association; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/179a336416588f68edb5e41862665afb8821be99/CreateResultEventAssociation.java/clean/src/net/sourceforge/fenixedu/applicationTier/Servico/research/result/CreateResultEventAssociation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3438, 1133, 7174, 1086, 12, 1253, 1133, 7174, 9906, 3381, 3931, 13, 1216, 1312, 311, 2436, 6033, 12771, 28115, 16, 478, 275, 697, 15133, 288, 3639, 727, 3438, 563, 273, 3931, 18, 588, 1253, 5621, 3639, 309, 12, 2088, 422, 446, 15329, 604, 394, 1962, 4628, 15133, 5621, 289, 7734, 727, 11573, 6175, 273, 24349, 18, 588, 1299, 1767, 7675, 588, 8346, 5621, 7734, 3438, 1133, 7174, 6384, 273, 446, 31, 3639, 309, 12, 14496, 18, 588, 1133, 1435, 631, 2011, 13, 288, 5411, 727, 2587, 871, 273, 394, 2587, 12, 14496, 18, 588, 24320, 1495, 55, 9334, 3931, 18, 588, 16346, 10663, 13491, 775, 288, 7734, 6384, 273, 394, 3438, 1133, 7174, 12, 2088, 16, 871, 16, 3931, 18, 588, 2996, 9334, 6175, 18, 17994, 10663, 5411, 289, 1044, 261, 3748, 503, 425, 13, 288, 7734, 871, 18, 3733, 5621, 7734, 604, 394, 478, 275, 697, 15133, 12, 73, 18, 588, 653, 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 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, 3438, 1133, 7174, 1086, 12, 1253, 1133, 7174, 9906, 3381, 3931, 13, 1216, 1312, 311, 2436, 6033, 12771, 28115, 16, 478, 275, 697, 15133, 288, 3639, 727, 3438, 563, 273, 3931, 18, 588, 1253, 5621, 3639, 309, 12, 2088, 422, 446, 15329, 604, 394, 1962, 4628, 15133, 5621, 289, 7734, 727, 11573, 6175, 273, 24349, 18, 588, 1299, 1767, 7675, 588, 8346, 5621, 7734, 3438, 1133, 7174, 6384, 273, 446, 31, 3639, 309, 12, 14496, 18, 588, 1133, 1435, 631, 2011, 13, 288, 5411, 727, 2587, 871, 273, 394, 2587, 12, 14496, 18, 588, 24320, 1495, 55, 9334, 3931, 18, 588, 16346, 10663, 13491, 775, 288, 7734, 6384, 273, 394, 3438, 1133, 7174, 12, 2088, 16, 871, 2 ]
public Object clone() { try {
public Object clone() { try {
public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException e) { throw (Error) new InternalError().initCause(e); // Impossible } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Line2D.java/buggy/core/src/classpath/java/java/awt/geom/Line2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 288, 202, 202, 698, 288, 1082, 202, 2463, 2240, 18, 14056, 5621, 202, 202, 97, 1044, 261, 10930, 25482, 425, 13, 288, 1082, 202, 12849, 261, 668, 13, 394, 3186, 668, 7675, 2738, 10683, 12, 73, 1769, 368, 2221, 12708, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 3236, 1435, 288, 202, 202, 698, 288, 1082, 202, 2463, 2240, 18, 14056, 5621, 202, 202, 97, 1044, 261, 10930, 25482, 425, 13, 288, 1082, 202, 12849, 261, 668, 13, 394, 3186, 668, 7675, 2738, 10683, 12, 73, 1769, 368, 2221, 12708, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return checkAttribute(serv + "." + alg, attribute, val);
return checkAttribute(serv + "." + alg, attribute, val);
boolean implementsAlg(String serv, String alg, String attribute, String val) { String servAlg = serv + "." + alg; String prop = getPropertyIgnoreCase(servAlg); if (prop == null) { alg = getPropertyIgnoreCase("Alg.Alias." + servAlg); if (alg != null) { servAlg = serv + "." + alg; prop = getPropertyIgnoreCase(serv + "." + alg); } } if (prop != null) { if (attribute == null) { return true; } else { return checkAttribute(serv + "." + alg, attribute, val); } } return false; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/Provider.java/buggy/modules/security/src/main/java/common/java/security/Provider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 4792, 21883, 12, 780, 13515, 16, 514, 11989, 16, 514, 1566, 16, 514, 1244, 13, 288, 3639, 514, 13515, 21883, 273, 13515, 397, 4585, 397, 11989, 31, 3639, 514, 2270, 273, 3911, 5556, 12, 23039, 21883, 1769, 3639, 309, 261, 5986, 422, 446, 13, 288, 5411, 11989, 273, 3911, 5556, 2932, 21883, 18, 2936, 1199, 397, 13515, 21883, 1769, 5411, 309, 261, 18413, 480, 446, 13, 288, 7734, 13515, 21883, 273, 13515, 397, 4585, 397, 11989, 31, 7734, 2270, 273, 3911, 5556, 12, 23039, 397, 4585, 397, 11989, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 5986, 480, 446, 13, 288, 5411, 309, 261, 4589, 422, 446, 13, 288, 7734, 327, 638, 31, 5411, 289, 469, 288, 7734, 327, 866, 1499, 12, 23039, 397, 4585, 397, 11989, 16, 1566, 16, 1244, 1769, 5411, 289, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 4792, 21883, 12, 780, 13515, 16, 514, 11989, 16, 514, 1566, 16, 514, 1244, 13, 288, 3639, 514, 13515, 21883, 273, 13515, 397, 4585, 397, 11989, 31, 3639, 514, 2270, 273, 3911, 5556, 12, 23039, 21883, 1769, 3639, 309, 261, 5986, 422, 446, 13, 288, 5411, 11989, 273, 3911, 5556, 2932, 21883, 18, 2936, 1199, 397, 13515, 21883, 1769, 5411, 309, 261, 18413, 480, 446, 13, 288, 7734, 13515, 21883, 273, 13515, 397, 4585, 397, 11989, 31, 7734, 2270, 273, 3911, 5556, 12, 23039, 397, 4585, 397, 11989, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 5986, 480, 446, 13, 288, 5411, 309, 261, 4589, 422, 446, 13, 288, 7734, 327, 638, 31, 5411, 289, 469, 288, 2 ]
protected String getImageName() { return imageName; }
protected String getImageName() { if (imageName == null) return super.getImageName(); return imageName; }
protected String getImageName() { return imageName; }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/79c68841e32f59c9fb9b47e52395c52b534dd1a2/MetamorphReader.java/buggy/loci/formats/in/MetamorphReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 10567, 461, 1435, 288, 327, 29842, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 10567, 461, 1435, 288, 327, 29842, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Border getPadding(Context c, Box box) { if(box.isElement()) { if(box.padding == null) { box.padding = c.css.getPaddingWidth(box.getElement()); } } return box.padding; }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/buggy/src/java/org/joshy/html/BoxLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8107, 588, 9485, 12, 1042, 71, 16, 3514, 2147, 15329, 430, 12, 2147, 18, 291, 1046, 10756, 95, 430, 12, 2147, 18, 9598, 631, 2011, 15329, 2147, 18, 9598, 33, 71, 18, 5212, 18, 588, 9485, 2384, 12, 2147, 18, 21336, 10663, 9090, 2463, 2147, 18, 9598, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 8107, 588, 9485, 12, 1042, 71, 16, 3514, 2147, 15329, 430, 12, 2147, 18, 291, 1046, 10756, 95, 430, 12, 2147, 18, 9598, 631, 2011, 15329, 2147, 18, 9598, 33, 71, 18, 5212, 18, 588, 9485, 2384, 12, 2147, 18, 21336, 10663, 9090, 2463, 2147, 18, 9598, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
drop = new Drop(this.datasetSchemaName, null, tempTableName);
drop = new Drop(this.datasetSchemaName, table.getDataSetTable() .getName(), null, tempTableName);
private void processTable(MartConstructorAction firstActionDependsOn, MartConstructorActionGraph actionGraph, Schema mainTableSchema, Schema schema, MCDSTable table) throws Exception { // A placeholder for the last action performed on this table. MartConstructorAction lastActionPerformed = firstActionDependsOn; // Placeholder for name of the target temp table that will // contain the constructed table. String tempTableName = table.getTempTableName(); // If the table is a MAIN table, then we can select columns // directly from the underlying table. if (table.getDataSetTable().getType().equals(DataSetTableType.MAIN)) { // We now need to work out at which point to start the process // of transforming the table. That point is either the underlying // table, or the first table in the list of underlying relations, // if a list has been specified. Table firstTable = table.getRealTable(); // Work out what columns to include from the first table. List firstDSCols = table.getDataSetColumns(firstTable.getColumns()); // Include the schema name column if there is one (don't need // to do this for dimension/subclass tables as it will be part // of the primary key inherited from the parent table). for (Iterator i = table.getDataSetTable().getColumns().iterator(); i .hasNext();) { DataSetColumn dsCol = (DataSetColumn) i.next(); if (dsCol instanceof SchemaNameColumn) firstDSCols.add(dsCol); } // Create the table based on firstTable, and selecting // based on firstDSCols. MartConstructorAction create = new Create(this.datasetSchemaName, null, tempTableName, schema, firstTable.getName(), firstDSCols, firstTable.getPrimaryKey() == null, table .getDataSet().getRestrictedTableType(firstTable), true); actionGraph.addActionWithParent(create, lastActionPerformed); // Update last action performed, in case there are no merges. lastActionPerformed = create; } // Else, if the table is NOT a MAIN table, then we should select // the primary key columns from the parent dataset table. else { // Work out the parent dataset table. DataSetTable parentDSTable = (DataSetTable)((Relation)((Key)table.getDataSetTable().getForeignKeys().iterator().next()).getRelations().iterator().next()).getOneKey().getTable(); // Work out what columns to include from the first table. List firstDSCols = parentDSTable.getPrimaryKey().getColumns(); // Create the table based on firstTable, and selecting // based on firstDSCols. MartConstructorAction create = new Create(this.datasetSchemaName, null, tempTableName, null, parentDSTable.getName(), firstDSCols, false, null, false); actionGraph.addActionWithParent(create, lastActionPerformed); // Update last action performed, in case there are no merges. lastActionPerformed = create; } // Merge subsequent tables based on underlying relations. for (int i = 0; i < table.getDataSetTable().getUnderlyingKeys() .size(); i++) { // What key was followed from the previous table? Key sourceKey = (Key) table.getDataSetTable() .getUnderlyingKeys().get(i); // What relation was followed? Relation relation = (Relation) table.getDataSetTable() .getUnderlyingRelations().get(i); // Left or inner join? boolean useLeftJoin = relation.isOptional(); // What key did we reach by following the relation? Key targetKey = relation.getOtherKey(sourceKey); // What table did we reach, and therefore need to merge now? Table targetTable = targetKey.getTable(); String targetTableName = targetTable.getName(); // Is the target table going to need a union merge? boolean unionMerge = (targetTable.getSchema() instanceof SchemaGroup) && !targetTable.getSchema().equals(mainTableSchema); // What are the equivalent columns on the existing temp table // that correspond to the key on the previous table? List sourceDSKey = table.getDataSetColumns(sourceKey .getColumns()); // What are the columns we should merge from this new table? List targetDSCols = table.getDataSetColumns(relation); // If targetTable is in a group schema that is not the // same group schema we started with, create a union table // containing all the targetTable copies, then merge with // that instead. Schema targetSchema; if (unionMerge) { // Build a list of schemas to union tables from. List unionTableSchemas = new ArrayList(); List unionTableNames = new ArrayList(); if (targetTable.getSchema() instanceof SchemaGroup) { for (Iterator j = ((SchemaGroup) targetTable .getSchema()).getSchemas().iterator(); j .hasNext();) { Schema mergeSchema = (Schema) j.next(); unionTableSchemas.add(mergeSchema); unionTableNames.add(targetTable.getName()); } } else { unionTableSchemas.add(targetTable.getSchema()); unionTableNames.add(targetTable.getName()); } // Make name for union table, which is now the target table. targetTableName = this.helper.getNewTempTableName(); // Create union table. MartConstructorAction union = new Union( this.datasetSchemaName, null, targetTableName, unionTableSchemas, unionTableNames); actionGraph.addActionWithParent(union, lastActionPerformed); // Create index on targetKey on union table. MartConstructorAction index = new Index( this.datasetSchemaName, null, targetTableName, targetKey.getColumns()); actionGraph.addActionWithParent(index, union); // Update the last action performed to reflect the index // of the union table. lastActionPerformed = index; // Target schema is now the dataset schema. Null // represents this. targetSchema = null; } else { // Target schema is same as source schema. targetSchema = schema; } // Index sourceDSKey columns. MartConstructorAction index = new Index(this.datasetSchemaName, null, tempTableName, sourceDSKey); actionGraph.addActionWithParent(index, lastActionPerformed); // Generate new temp table name for merged table. String mergedTableName = this.helper.getNewTempTableName(); // Merge tables based on sourceDSKey -> targetKey, // and selecting based on targetDSCols. MartConstructorAction merge = new Merge(this.datasetSchemaName, null, mergedTableName, null, tempTableName, sourceDSKey, useLeftJoin, targetSchema, targetTableName, targetKey.getColumns(), targetDSCols, table.getDataSet().getRestrictedRelationType(relation), targetTable.equals(relation.getSecondKey().getTable()), relation.isManyToMany(), table.getDataSet() .getRestrictedTableType(targetTable), true); actionGraph.addActionWithParent(merge, index); // Last action performed for this table is the merge, as // the drop can be carried out later at any time. lastActionPerformed = merge; // Drop old temp table. MartConstructorAction drop = new Drop(this.datasetSchemaName, null, tempTableName); actionGraph.addActionWithParent(drop, merge); // Update temp table name to point to newly merged table. tempTableName = mergedTableName; // If targetTable was a union table, drop it. if (unionMerge) { // Drop union target table. Dependent on // lastActionPerformed, but does not update it. drop = new Drop(this.datasetSchemaName, null, targetTableName); actionGraph.addActionWithParent(drop, merge); } } // Add in all the concat-relation columns. for (Iterator i = table.getDataSetTable().getColumns().iterator(); i .hasNext();) { DataSetColumn datasetColumn = (DataSetColumn) i.next(); if (!(datasetColumn instanceof ConcatRelationColumn)) continue; ConcatRelationColumn concatColumn = (ConcatRelationColumn) datasetColumn; // Where does the concat column point? Relation concatRelation = concatColumn.getUnderlyingRelation(); // What key did it lead from? Key sourceKey = concatRelation.getOneKey(); // What key does it go to? Key targetKey = concatRelation.getManyKey(); // What is the table to be concatted? Table targetTable = targetKey.getTable(); String targetTableName = targetTable.getName(); // Is the target table going to need a union merge? boolean unionMerge = !targetTable.getSchema().equals( mainTableSchema); // What columns on the table should be concatted? Key targetConcatKey = targetTable.getPrimaryKey(); // What are the equivalent columns on the existing temp table // that correspond to the source key? List sourceDSKey = table.getNthDataSetColumns(sourceKey .getColumns(), concatRelation); // If concatColumn is in a table in a group schema // that is not the same group schema we started with, create // a union table containing all the concatTable copies, then // concat that instead. Schema targetSchema; if (unionMerge) { // Build a list of schemas to union tables from. List unionTableSchemas = new ArrayList(); List unionTableNames = new ArrayList(); if (targetTable.getSchema() instanceof SchemaGroup) { for (Iterator j = ((SchemaGroup) targetTable .getSchema()).getSchemas().iterator(); j .hasNext();) { Schema mergeSchema = (Schema) j.next(); unionTableSchemas.add(mergeSchema); unionTableNames.add(targetTable.getName()); } } else { unionTableSchemas.add(targetTable.getSchema()); unionTableNames.add(targetTable.getName()); } // Make name for union table, which is now the target table. targetTableName = this.helper.getNewTempTableName(); // Create union table. MartConstructorAction union = new Union( this.datasetSchemaName, null, targetTableName, unionTableSchemas, unionTableNames); actionGraph.addActionWithParent(union, lastActionPerformed); // Create index on targetKey on union table. Dependent // on lastActionPerformed, and updates it. MartConstructorAction index = new Index( this.datasetSchemaName, null, targetTableName, targetKey.getColumns()); actionGraph.addActionWithParent(index, union); lastActionPerformed = index; // Target schema is now the dataset schema. Null // represents this. targetSchema = null; } else { // Target schema name is same as source schema. targetSchema = schema; } // Create the concat table by selecting sourceKey. String concatTableName = this.helper.getNewTempTableName(); MartConstructorAction createCon = new Create( this.datasetSchemaName, null, concatTableName, null, tempTableName, sourceDSKey, false, null, false); actionGraph.addActionWithParent(createCon, lastActionPerformed); // Generate new temp table name for merged concat table. String mergedConcatTableName = this.helper .getNewTempTableName(); // Populate the concat table by selecting targetKey and // concatting targetConcatKey into a column with the same // name as concatColumn. Dependent on lastActionPerformed, and // updates it. MartConstructorAction concat = new Concat( this.datasetSchemaName, null, mergedConcatTableName, null, tempTableName, sourceDSKey, targetSchema, targetTableName, targetKey.getColumns(), targetConcatKey.getColumns(), concatColumn.getName(), table.getDataSet() .getConcatRelationType(concatRelation), table .getDataSet().getRestrictedRelationType( concatRelation), targetTable .equals(concatRelation.getSecondKey() .getTable()), table.getDataSet() .getRestrictedTableType(targetTable)); actionGraph.addActionWithParent(concat, createCon); // Drop old concat temp table and replace with new one. MartConstructorAction drop = new Drop(this.datasetSchemaName, null, concatTableName); actionGraph.addActionWithParent(drop, concat); concatTableName = mergedConcatTableName; // Index sourceDSKey columns. MartConstructorAction indexCon = new Index( this.datasetSchemaName, null, concatTableName, sourceDSKey); actionGraph.addActionWithParent(indexCon, concat); // Generate new temp table name for merged table. String mergedTableName = this.helper.getNewTempTableName(); // Merge with the concat table based on sourceDSKey -> // sourceDSKey and selecting the column with the same name as // concatColumn. MartConstructorAction merge = new Merge(this.datasetSchemaName, null, mergedTableName, null, tempTableName, sourceDSKey, true, null, concatTableName, sourceDSKey, Collections.singletonList(concatColumn), null, false, false, null, false); actionGraph.addActionWithParent(merge, indexCon); lastActionPerformed = merge; // Drop old temp table and replace with new one. drop = new Drop(this.datasetSchemaName, null, tempTableName); actionGraph.addActionWithParent(drop, merge); tempTableName = mergedTableName; // Drop concat table. Dependent on lastActionPerformed, but // does not update it. MartConstructorAction dropCon = new Drop( this.datasetSchemaName, null, concatTableName); actionGraph.addActionWithParent(dropCon, merge); // If concat table was a union table, drop it. if (unionMerge) { // Drop union concat table. Dependent on // lastActionPerformed, but does not update it. drop = new Drop(this.datasetSchemaName, null, targetTableName); actionGraph.addActionWithParent(drop, merge); } } // Add all the expression columns. List expressionColumns = new ArrayList(); List groupByDependentColumns = new ArrayList(); for (Iterator i = table.getDataSetTable().getColumns().iterator(); i .hasNext();) { Column col = (Column) i.next(); if (col instanceof ExpressionColumn) { ExpressionColumn exp = (ExpressionColumn) col; expressionColumns.add(exp); exp.dropUnusedAliases(); if (exp.getGroupBy()) groupByDependentColumns.addAll(exp .getDependentColumns()); } } if (!expressionColumns.isEmpty()) { // Construct list of columns to select (and optionally // group by). List contains all unmasked columns on table, // minus expression columns, minus dependency columns from // group-by expression columns. List selectColumns = new ArrayList(table.getDataSetTable() .getColumns()); selectColumns.removeAll(table.getDataSet() .getMaskedDataSetColumns()); selectColumns.removeAll(expressionColumns); selectColumns.removeAll(groupByDependentColumns); // Generate new temp table name for merged table. String mergedTableName = this.helper.getNewTempTableName(); // Create new table as select all from list // plus all expression columns using literal expression, // with optional group-by. ExpressionAddColumns expr = new ExpressionAddColumns( this.datasetSchemaName, null, tempTableName, null, mergedTableName, selectColumns, expressionColumns, !groupByDependentColumns.isEmpty()); actionGraph.addActionWithParent(expr, lastActionPerformed); lastActionPerformed = expr; // Drop previous table. Drop drop = new Drop(this.datasetSchemaName, null, tempTableName); actionGraph.addActionWithParent(drop, expr); tempTableName = mergedTableName; } // Update the temp table name. table.setTempTableName(tempTableName); // Return the last action performed to create this table. table.setLastActionPerformed(lastActionPerformed); }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/1a85b633207a8b1c4ea4af394422818beab7bbf9/MartConstructor.java/buggy/src/java/org/biomart/builder/model/MartConstructor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1207, 1388, 12, 49, 485, 6293, 1803, 1122, 1803, 4584, 87, 1398, 16, 9506, 202, 49, 485, 6293, 1803, 4137, 1301, 4137, 16, 4611, 2774, 1388, 3078, 16, 9506, 202, 3078, 1963, 16, 490, 10160, 882, 429, 1014, 13, 1216, 1185, 288, 1082, 202, 759, 432, 6695, 364, 326, 1142, 1301, 9591, 603, 333, 1014, 18, 1082, 202, 49, 485, 6293, 1803, 1142, 19449, 273, 1122, 1803, 4584, 87, 1398, 31, 1082, 202, 759, 13022, 4505, 364, 508, 434, 326, 1018, 1906, 1014, 716, 903, 1082, 202, 759, 912, 326, 15688, 1014, 18, 1082, 202, 780, 1906, 7147, 273, 1014, 18, 588, 7185, 7147, 5621, 1082, 202, 759, 971, 326, 1014, 353, 279, 22299, 1014, 16, 1508, 732, 848, 2027, 2168, 1082, 202, 759, 5122, 628, 326, 6808, 1014, 18, 1875, 202, 430, 261, 2121, 18, 588, 13676, 1388, 7675, 588, 559, 7675, 14963, 12, 13676, 1388, 559, 18, 19803, 3719, 288, 1082, 202, 759, 1660, 2037, 1608, 358, 1440, 596, 622, 1492, 1634, 358, 787, 326, 1207, 1082, 202, 759, 434, 27734, 326, 1014, 18, 12466, 1634, 353, 3344, 326, 6808, 1082, 202, 759, 1014, 16, 578, 326, 1122, 1014, 316, 326, 666, 434, 6808, 7467, 16, 1082, 202, 759, 309, 279, 666, 711, 2118, 1269, 18, 1082, 202, 1388, 1122, 1388, 273, 1014, 18, 588, 6955, 1388, 5621, 1082, 202, 759, 4147, 596, 4121, 2168, 358, 2341, 628, 326, 1122, 1014, 18, 1082, 202, 682, 1122, 3948, 8011, 273, 1014, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 1207, 1388, 12, 49, 485, 6293, 1803, 1122, 1803, 4584, 87, 1398, 16, 9506, 202, 49, 485, 6293, 1803, 4137, 1301, 4137, 16, 4611, 2774, 1388, 3078, 16, 9506, 202, 3078, 1963, 16, 490, 10160, 882, 429, 1014, 13, 1216, 1185, 288, 1082, 202, 759, 432, 6695, 364, 326, 1142, 1301, 9591, 603, 333, 1014, 18, 1082, 202, 49, 485, 6293, 1803, 1142, 19449, 273, 1122, 1803, 4584, 87, 1398, 31, 1082, 202, 759, 13022, 4505, 364, 508, 434, 326, 1018, 1906, 1014, 716, 903, 1082, 202, 759, 912, 326, 15688, 1014, 18, 1082, 202, 780, 1906, 7147, 273, 1014, 18, 588, 7185, 7147, 5621, 1082, 202, 759, 971, 326, 1014, 353, 279, 22299, 1014, 2 ]
LOG.info("Final attempt failed, killing job.");
LOG.warning("Final attempt failed, killing job.");
public static void runJob(JobConf job) throws IOException { JobClient jc = new JobClient(job); boolean error = true; RunningJob running = null; String lastReport = null; final int MAX_RETRIES = 5; int retries = MAX_RETRIES; try { running = jc.submitJob(job); String jobId = running.getJobID(); LOG.info("Running job: " + jobId); while (!running.isComplete()) { try { Thread.sleep(1000); } catch (InterruptedException e) {} try { running = jc.getJob(jobId); retries = MAX_RETRIES; } catch (IOException ie) { if (--retries == 0) { LOG.info("Final attempt failed, killing job."); throw ie; } LOG.info("Communication problem with server: " + StringUtils.stringifyException(ie)); } String report = null; report = " map "+Math.round(running.mapProgress()*100)+"% reduce " + Math.round(running.reduceProgress()*100)+"%"; if (!report.equals(lastReport)) { LOG.info(report); lastReport = report; } } if (!running.isSuccessful()) { throw new IOException("Job failed!"); } LOG.info("Job complete: " + jobId); error = false; } finally { if (error && (running != null)) { running.killJob(); } jc.close(); } }
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/22f3e75f8551df0da295015fe64655e54dd522d5/JobClient.java/buggy/src/java/org/apache/hadoop/mapred/JobClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1086, 2278, 12, 2278, 3976, 1719, 13, 1216, 1860, 288, 1377, 3956, 1227, 19807, 273, 394, 3956, 1227, 12, 4688, 1769, 1377, 1250, 555, 273, 638, 31, 1377, 20480, 2278, 3549, 273, 446, 31, 1377, 514, 1142, 4820, 273, 446, 31, 1377, 727, 509, 4552, 67, 862, 6566, 3991, 273, 1381, 31, 1377, 509, 9453, 273, 4552, 67, 862, 6566, 3991, 31, 1377, 775, 288, 3639, 3549, 273, 19807, 18, 9297, 2278, 12, 4688, 1769, 3639, 514, 13845, 273, 3549, 18, 588, 2278, 734, 5621, 3639, 2018, 18, 1376, 2932, 7051, 1719, 30, 315, 397, 13845, 1769, 3639, 1323, 16051, 8704, 18, 291, 6322, 10756, 288, 1850, 775, 288, 5411, 4884, 18, 19607, 12, 18088, 1769, 1850, 289, 1044, 261, 24485, 503, 425, 13, 2618, 1850, 775, 288, 5411, 3549, 273, 19807, 18, 588, 2278, 12, 4688, 548, 1769, 5411, 9453, 273, 4552, 67, 862, 6566, 3991, 31, 1850, 289, 1044, 261, 14106, 9228, 13, 288, 5411, 309, 261, 413, 15215, 422, 374, 13, 288, 2868, 2018, 18, 8551, 2932, 7951, 4395, 2535, 16, 417, 5789, 1719, 1199, 1769, 2868, 604, 9228, 31, 5411, 289, 5411, 2018, 18, 1376, 2932, 25219, 6199, 598, 1438, 30, 315, 397, 5397, 5778, 18, 25650, 503, 12, 1385, 10019, 1850, 289, 1850, 514, 2605, 273, 446, 31, 1850, 2605, 273, 315, 852, 13773, 10477, 18, 2260, 12, 8704, 18, 1458, 5491, 1435, 14, 6625, 13, 9078, 9, 225, 5459, 315, 397, 2361, 18, 2260, 12, 8704, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1086, 2278, 12, 2278, 3976, 1719, 13, 1216, 1860, 288, 1377, 3956, 1227, 19807, 273, 394, 3956, 1227, 12, 4688, 1769, 1377, 1250, 555, 273, 638, 31, 1377, 20480, 2278, 3549, 273, 446, 31, 1377, 514, 1142, 4820, 273, 446, 31, 1377, 727, 509, 4552, 67, 862, 6566, 3991, 273, 1381, 31, 1377, 509, 9453, 273, 4552, 67, 862, 6566, 3991, 31, 1377, 775, 288, 3639, 3549, 273, 19807, 18, 9297, 2278, 12, 4688, 1769, 3639, 514, 13845, 273, 3549, 18, 588, 2278, 734, 5621, 3639, 2018, 18, 1376, 2932, 7051, 1719, 30, 315, 397, 13845, 1769, 3639, 1323, 16051, 8704, 18, 291, 6322, 10756, 288, 1850, 775, 288, 5411, 4884, 18, 19607, 12, 18088, 2 ]
log.info("------- Scheduling Jobs -------------------");
log.info("------- Scheduling Jobs -------------------");
public void run() throws Exception { Log log = LogFactory.getLog(SimpleExample.class); log.info("------- Initializing ----------------------"); // First we must get a reference to a scheduler SchedulerFactory sf = new StdSchedulerFactory(); Scheduler sched = sf.getScheduler(); log.info("------- Initialization Complete -----------"); log.info("------- Scheduling Jobs -------------------"); // computer a time that is on the next round minute Date runTime = TriggerUtils.getEvenMinuteDate(new Date()); // define the job and tie it to our HelloJob class JobDetail job = new JobDetail("job1", "group1", HelloJob.class); // Trigger the job to run on the next round minute SimpleTrigger trigger = new SimpleTrigger("trigger1", "group1", runTime); // Tell quartz to schedule the job using our trigger sched.scheduleJob(job, trigger); log.info(job.getFullName() + " will run at: " + runTime); // Start up the scheduler (nothing can actually run until the // scheduler has been started) sched.start(); log.info("------- Started Scheduler -----------------"); // wait long enough so that the scheduler as an opportunity to // run the job! log.info("------- Waiting 90 seconds... -------------"); try { // wait 90 seconds to show jobs Thread.sleep(90L * 1000L); // executing... } catch (Exception e) { } // shut down the scheduler log.info("------- Shutting Down ---------------------"); sched.shutdown(true); log.info("------- Shutdown Complete -----------------"); }
3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/8441c8be6e16f3f87693ab6cfeae2bf90caf7159/SimpleExample.java/clean/examples/src/java/org/quartz/examples/example1/SimpleExample.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 1216, 1185, 288, 202, 202, 1343, 613, 273, 1827, 1733, 18, 588, 1343, 12, 5784, 10908, 18, 1106, 1769, 202, 202, 1330, 18, 1376, 2932, 17082, 10188, 6894, 12146, 13465, 8863, 202, 202, 759, 5783, 732, 1297, 336, 279, 2114, 358, 279, 8129, 202, 202, 11870, 1733, 9033, 273, 394, 6276, 11870, 1733, 5621, 202, 202, 11870, 23964, 273, 9033, 18, 588, 11870, 5621, 202, 202, 1330, 18, 1376, 2932, 17082, 26586, 14575, 300, 15392, 8863, 202, 202, 1330, 18, 1376, 2932, 17082, 348, 13252, 26909, 12146, 413, 8863, 202, 202, 759, 26579, 279, 813, 716, 353, 603, 326, 1024, 3643, 8044, 202, 202, 1626, 1086, 950, 273, 11321, 1989, 18, 588, 8321, 18329, 1626, 12, 2704, 2167, 10663, 202, 202, 759, 4426, 326, 1719, 471, 25318, 518, 358, 3134, 20889, 2278, 667, 202, 202, 2278, 6109, 1719, 273, 394, 3956, 6109, 2932, 4688, 21, 3113, 315, 1655, 21, 3113, 20889, 2278, 18, 1106, 1769, 9506, 202, 759, 11321, 326, 1719, 358, 1086, 603, 326, 1024, 3643, 8044, 202, 202, 5784, 6518, 3080, 273, 1875, 202, 2704, 4477, 6518, 2932, 10668, 21, 3113, 315, 1655, 21, 3113, 1086, 950, 1769, 9506, 202, 759, 29860, 719, 27202, 358, 4788, 326, 1719, 1450, 3134, 3080, 202, 202, 87, 2049, 18, 10676, 2278, 12, 4688, 16, 3080, 1769, 202, 202, 1330, 18, 1376, 12, 4688, 18, 588, 19223, 1435, 397, 315, 903, 1086, 622, 30, 315, 397, 1086, 950, 1769, 21114, 202, 759, 3603, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 1216, 1185, 288, 202, 202, 1343, 613, 273, 1827, 1733, 18, 588, 1343, 12, 5784, 10908, 18, 1106, 1769, 202, 202, 1330, 18, 1376, 2932, 17082, 10188, 6894, 12146, 13465, 8863, 202, 202, 759, 5783, 732, 1297, 336, 279, 2114, 358, 279, 8129, 202, 202, 11870, 1733, 9033, 273, 394, 6276, 11870, 1733, 5621, 202, 202, 11870, 23964, 273, 9033, 18, 588, 11870, 5621, 202, 202, 1330, 18, 1376, 2932, 17082, 26586, 14575, 300, 15392, 8863, 202, 202, 1330, 18, 1376, 2932, 17082, 348, 13252, 26909, 12146, 413, 8863, 202, 202, 759, 26579, 279, 813, 716, 353, 603, 326, 1024, 3643, 8044, 202, 202, 1626, 1086, 950, 273, 11321, 1989, 18, 588, 8321, 2 ]
private String copyParamName() { int start = d; char c = in[s++]; while (Character.isJavaIdentifierPart(c) || c == '@') { out[d++] = c; c = in[s++]; } s--; return new String(out, start, d - start); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/7280c48789e4df146f790790062fb954f7dc9903/SQLParser.java/clean/src/main/net/sourceforge/jtds/jdbc/SQLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1610, 24635, 1435, 288, 3639, 509, 787, 273, 302, 31, 3639, 1149, 276, 273, 316, 63, 87, 9904, 15533, 7734, 1323, 261, 7069, 18, 291, 5852, 3004, 1988, 12, 71, 13, 747, 276, 422, 4622, 6134, 288, 6647, 596, 63, 72, 9904, 65, 273, 276, 31, 6647, 276, 273, 316, 63, 87, 9904, 15533, 3639, 289, 7734, 272, 413, 31, 7734, 327, 394, 514, 12, 659, 16, 787, 16, 302, 300, 787, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1610, 24635, 1435, 288, 3639, 509, 787, 273, 302, 31, 3639, 1149, 276, 273, 316, 63, 87, 9904, 15533, 7734, 1323, 261, 7069, 18, 291, 5852, 3004, 1988, 12, 71, 13, 747, 276, 422, 4622, 6134, 288, 6647, 596, 63, 72, 9904, 65, 273, 276, 31, 6647, 276, 273, 316, 63, 87, 9904, 15533, 3639, 289, 7734, 272, 413, 31, 7734, 327, 394, 514, 12, 659, 16, 787, 16, 302, 300, 787, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
FrameworkLogEntry entry = new FrameworkLogEntry(PI_ECLIPSE_OSGI, e.getMessage(), 0, e, null);
FrameworkLogEntry entry = new FrameworkLogEntry(EclipseAdaptorConstants.PI_ECLIPSE_OSGI, e.getMessage(), 0, e, null);
private void fillPluginInfo(File pluginBaseLocation) { pluginManifestLocation = pluginBaseLocation; if (pluginManifestLocation == null) return; URL pluginFile = findPluginManifest(pluginBaseLocation); if (pluginFile == null) return; try { pluginInfo = parsePluginInfo(pluginFile); } catch (PluginConversionException e) { FrameworkLogEntry entry = new FrameworkLogEntry(PI_ECLIPSE_OSGI, e.getMessage(), 0, e, null); EclipseAdaptor.getDefault().getFrameworkLog().log(entry); } }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/f953f83c727ba552d2543d61c84d88879f07b3b1/PluginConverterImpl.java/buggy/bundles/org.eclipse.osgi/eclipseAdaptor/src/org/eclipse/core/runtime/adaptor/PluginConverterImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3636, 3773, 966, 12, 812, 1909, 2171, 2735, 13, 288, 202, 202, 4094, 9121, 2735, 273, 1909, 2171, 2735, 31, 202, 202, 430, 261, 4094, 9121, 2735, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 1785, 1909, 812, 273, 1104, 3773, 9121, 12, 4094, 2171, 2735, 1769, 202, 202, 430, 261, 4094, 812, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 698, 288, 1082, 202, 4094, 966, 273, 1109, 3773, 966, 12, 4094, 812, 1769, 202, 202, 97, 1044, 261, 3773, 6814, 503, 425, 13, 288, 1082, 202, 13701, 25548, 1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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3636, 3773, 966, 12, 812, 1909, 2171, 2735, 13, 288, 202, 202, 4094, 9121, 2735, 273, 1909, 2171, 2735, 31, 202, 202, 430, 261, 4094, 9121, 2735, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 1785, 1909, 812, 273, 1104, 3773, 9121, 12, 4094, 2171, 2735, 1769, 202, 202, 430, 261, 4094, 812, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 698, 288, 1082, 202, 4094, 966, 273, 1109, 3773, 966, 12, 4094, 812, 1769, 202, 202, 97, 1044, 261, 3773, 6814, 503, 425, 13, 288, 1082, 202, 13701, 25548, 1241, 273, 394, 13472, 25548, 12, 1102, 67, 7228, 2053, 52, 1090, 67, 4618, 13797, 16, 425, 18, 24906, 9334, 374, 16, 425, 2 ]
msgs = ((InternalEObject)newBlock).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelPackage.CHART__BLOCK, null, msgs);
msgs = ((InternalEObject) newBlock).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelPackage.CHART__BLOCK, null, msgs);
public void setBlock(Block newBlock) { if (newBlock != block) { NotificationChain msgs = null; if (block != null) msgs = ((InternalEObject)block).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ModelPackage.CHART__BLOCK, null, msgs); if (newBlock != null) msgs = ((InternalEObject)newBlock).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelPackage.CHART__BLOCK, null, msgs); msgs = basicSetBlock(newBlock, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.CHART__BLOCK, newBlock, newBlock)); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/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, 377, 1071, 918, 444, 1768, 12, 1768, 28482, 13, 565, 288, 3639, 309, 261, 2704, 1768, 480, 1203, 13, 3639, 288, 5411, 27050, 8733, 273, 446, 31, 5411, 309, 261, 2629, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 2629, 2934, 73, 16376, 3288, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3164, 2261, 18, 1792, 4928, 972, 11403, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 1768, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 28482, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3164, 2261, 18, 1792, 4928, 972, 11403, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 1768, 12, 2704, 1768, 16, 8733, 1769, 5411, 309, 261, 27439, 480, 446, 13, 8733, 18, 10739, 5621, 3639, 289, 3639, 469, 309, 261, 73, 21107, 10756, 5411, 22596, 12, 2704, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 3164, 2261, 18, 1792, 4928, 972, 11403, 16, 28482, 16, 28482, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3164, 2261, 18, 1792, 4928, 972, 11403, 16, 446, 16, 8733, 1769, 5411, 309, 261, 2704, 1768, 480, 446, 13, 7734, 8733, 273, 14015, 3061, 8029, 13, 28482, 2934, 73, 16376, 986, 12, 2211, 16, 512, 3665, 24595, 67, 18257, 67, 8369, 300, 3164, 2261, 18, 1792, 4928, 972, 11403, 16, 446, 16, 8733, 1769, 5411, 8733, 273, 5337, 694, 1768, 12, 2 ]
fStart+=5;
fStart+=4; if (fBuffer.charAt(fStart++)!='-') { throw new SchemaDateTimeException("Invalid format for gMonthDay: " + str); }
protected int[] parse(String str, int[] date) throws SchemaDateTimeException{ resetBuffer(str); //create structure to hold an object if ( date== null ) { date=new int[TOTAL_SIZE]; } resetDateObj(date); //initialize date[CY]=YEAR; date[M]=parseInt(fStart+2,fStart+4); fStart+=5; date[D]=parseInt(fStart, fStart+2); if ( MONTHDAY_SIZE<fEnd ) { int sign = findUTCSign(MONTHDAY_SIZE, fEnd); if ( sign<0 ) { throw new SchemaDateTimeException ("Error in month parsing"); } else { getTimeZone(date, sign); } } //validate and normalize if ( !validateDateTime(date) ) { //REVISIT: error message? throw new SchemaDateTimeException (); } else if ( date[utc]!=0 && date[utc]!='Z' ) { normalize(date); } return date; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/06d4f5296aaec58f8711338d163ecb3457110c29/MonthDayDatatypeValidator.java/clean/src/org/apache/xerces/validators/datatype/MonthDayDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 8526, 1109, 12, 780, 609, 16, 509, 8526, 1509, 13, 1216, 4611, 5096, 503, 95, 3639, 2715, 1892, 12, 701, 1769, 3639, 368, 2640, 3695, 358, 6887, 392, 733, 3639, 309, 261, 1509, 631, 446, 262, 288, 5411, 1509, 33, 2704, 509, 63, 28624, 67, 4574, 15533, 3639, 289, 3639, 2715, 1626, 2675, 12, 712, 1769, 3639, 368, 11160, 540, 1509, 63, 16068, 65, 33, 15137, 31, 3639, 1509, 63, 49, 65, 33, 2670, 1702, 12, 74, 1685, 15, 22, 16, 74, 1685, 15, 24, 1769, 3639, 284, 1685, 15, 33, 24, 31, 225, 309, 261, 74, 1892, 18, 3001, 861, 12, 74, 1685, 27245, 5, 2218, 17, 6134, 288, 604, 394, 4611, 5096, 503, 2932, 1941, 740, 364, 314, 5445, 4245, 30, 315, 397, 609, 1769, 289, 3639, 1509, 63, 40, 65, 33, 2670, 1702, 12, 74, 1685, 16, 284, 1685, 15, 22, 1769, 3639, 309, 261, 15813, 10339, 67, 4574, 32, 74, 1638, 262, 288, 5411, 509, 1573, 273, 1104, 11471, 2766, 12, 13942, 10339, 67, 4574, 16, 284, 1638, 1769, 5411, 309, 261, 1573, 32, 20, 262, 288, 7734, 604, 394, 4611, 5096, 503, 7566, 668, 316, 3138, 5811, 8863, 5411, 289, 5411, 469, 288, 7734, 28556, 12, 712, 16, 1573, 1769, 5411, 289, 3639, 289, 3639, 368, 5662, 471, 3883, 3639, 309, 261, 401, 5662, 5096, 12, 712, 13, 262, 288, 5411, 368, 862, 26780, 1285, 30, 555, 883, 35, 5411, 604, 394, 4611, 5096, 503, 261, 1769, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 8526, 1109, 12, 780, 609, 16, 509, 8526, 1509, 13, 1216, 4611, 5096, 503, 95, 3639, 2715, 1892, 12, 701, 1769, 3639, 368, 2640, 3695, 358, 6887, 392, 733, 3639, 309, 261, 1509, 631, 446, 262, 288, 5411, 1509, 33, 2704, 509, 63, 28624, 67, 4574, 15533, 3639, 289, 3639, 2715, 1626, 2675, 12, 712, 1769, 3639, 368, 11160, 540, 1509, 63, 16068, 65, 33, 15137, 31, 3639, 1509, 63, 49, 65, 33, 2670, 1702, 12, 74, 1685, 15, 22, 16, 74, 1685, 15, 24, 1769, 3639, 284, 1685, 15, 33, 24, 31, 225, 309, 261, 74, 1892, 18, 3001, 861, 12, 74, 1685, 27245, 5, 2218, 17, 6134, 288, 604, 394, 4611, 5096, 503, 2932, 2 ]
if ((numGlyphs > 1) &&
if ((numGlyphs > 1) &&
protected Point2D doSpacing(Float kern, Float letterSpacing, Float wordSpacing) { boolean autoKern = true; boolean doWordSpacing = false; boolean doLetterSpacing = false; float kernVal = 0f; float letterSpacingVal = 0f; float wordSpacingVal = 0f; if ((kern instanceof Float) && (!kern.isNaN())) { kernVal = kern.floatValue(); autoKern = false; //System.out.println("KERNING: "+kernVal); } if ((letterSpacing instanceof Float) && (!letterSpacing.isNaN())) { letterSpacingVal = letterSpacing.floatValue(); doLetterSpacing = true; //System.out.println("LETTER-SPACING: "+letterSpacingVal); } if ((wordSpacing instanceof Float) && (!wordSpacing.isNaN())) { wordSpacingVal = wordSpacing.floatValue(); doWordSpacing = true; //System.out.println("WORD_SPACING: "+wordSpacingVal); } int numGlyphs = gv.getNumGlyphs(); float dx = 0f; float dy = 0f; Point2D newPositions[] = new Point2D[numGlyphs]; Point2D prevPos = glyphPositions[0]; float x = (float) prevPos.getX(); float y = (float) prevPos.getY(); try { if ((numGlyphs > 1) && (doWordSpacing || doLetterSpacing || !autoKern)) { for (int i=1; i<numGlyphs; ++i) { Point2D gpos = glyphPositions[i]; dx = (float)gpos.getX()-(float)prevPos.getX(); dy = (float)gpos.getY()-(float)prevPos.getY(); boolean inWS = false; // while this is whitespace, increment int beginWS = i; int endWS = i; GlyphMetrics gm = gv.getGlyphMetrics(i); // BUG: gm.isWhitespace() fails for latin SPACE glyph! while ((gm.getBounds2D().getWidth()<0.01d) || gm.isWhitespace()) { ++i; ++endWS; if (!inWS) inWS = true; if (i>=numGlyphs) { inWS = false; break; } gpos = glyphPositions[i]; gm = gv.getGlyphMetrics(i); } // then apply wordSpacing if ( inWS ) { if (doWordSpacing) { int nWS = endWS-beginWS; float px = (float) prevPos.getX(); float py = (float) prevPos.getY(); dx = (float) (gpos.getX() - px)/nWS; dy = (float) (gpos.getY() - py)/nWS; if (isVertical()) { dy = (float) (wordSpacing.floatValue()+ gv.getGlyphMetrics(beginWS-1). getBounds2D().getHeight())/nWS; } else { dx = (float) (wordSpacing.floatValue()+ gv.getGlyphMetrics(beginWS-1). getBounds2D().getWidth())/nWS; } for (int j=beginWS; j<=endWS; ++j) { x += dx; y += dy; newPositions[j] = new Point2D.Float(x, y); } } } else { dx = (float) (gpos.getX()-prevPos.getX()); dy = (float) (gpos.getY()-prevPos.getY()); if (autoKern) { if (isVertical()) dy += letterSpacingVal; else dx += letterSpacingVal; } else { // apply explicit kerning adjustments, // discarding any auto-kern dx values if (isVertical()) { dy = (float) gv.getGlyphMetrics(i-1).getBounds2D().getWidth()+ kernVal + letterSpacingVal; } else { dx = (float) gv.getGlyphMetrics(i-1).getBounds2D().getWidth()+ kernVal + letterSpacingVal; } } x += dx; y += dy; newPositions[i] = new Point2D.Float(x, y); } prevPos = gpos; } for (int i=1; i<numGlyphs; ++i) { // assign the new positions glyphPositions[i] = newPositions[i]; gv.setGlyphPosition(i, glyphPositions[i]); } } if (isVertical()) { dx = 0f; dy = (float) gv.getGlyphMetrics(numGlyphs-1).getBounds2D().getHeight()+ kernVal+letterSpacingVal; } else { dx = (float) gv.getGlyphMetrics(numGlyphs-1).getBounds2D().getWidth()+ kernVal+letterSpacingVal; dy = 0f; } } catch (Exception e) { e.printStackTrace(); } //Point2D newAdvance = new Point2D.Float((float) prevPos.getX()+dx, // (float) prevPos.getY()+dy); Point2D newAdvance = advance; gv.setGlyphPosition(numGlyphs, newAdvance); return newAdvance; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/d864a7831760c16be2dce5726c3e6b15bbbba80a/GlyphLayout.java/clean/sources/org/apache/batik/gvt/text/GlyphLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4686, 22, 40, 741, 18006, 12, 4723, 24579, 16, 1875, 2398, 5450, 9471, 18006, 16, 17311, 5450, 2076, 18006, 13, 288, 202, 6494, 3656, 47, 8865, 273, 638, 31, 202, 6494, 741, 3944, 18006, 273, 629, 31, 202, 6494, 741, 13938, 18006, 273, 629, 31, 3639, 1431, 24579, 3053, 273, 374, 74, 31, 202, 5659, 9471, 18006, 3053, 273, 374, 74, 31, 3639, 1431, 2076, 18006, 3053, 273, 374, 74, 31, 202, 430, 14015, 79, 8865, 1276, 5450, 13, 597, 16051, 79, 8865, 18, 291, 21172, 1435, 3719, 288, 5411, 24579, 3053, 273, 24579, 18, 5659, 620, 5621, 202, 565, 3656, 47, 8865, 273, 629, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 27221, 15870, 30, 13773, 79, 8865, 3053, 1769, 202, 97, 202, 430, 14015, 13449, 18006, 1276, 5450, 13, 597, 16051, 13449, 18006, 18, 291, 21172, 1435, 3719, 288, 5411, 9471, 18006, 3053, 273, 9471, 18006, 18, 5659, 620, 5621, 202, 565, 741, 13938, 18006, 273, 638, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 26379, 17, 3118, 2226, 1360, 30, 13773, 13449, 18006, 3053, 1769, 202, 97, 202, 430, 14015, 1095, 18006, 1276, 5450, 13, 597, 16051, 1095, 18006, 18, 291, 21172, 1435, 3719, 288, 5411, 2076, 18006, 3053, 273, 2076, 18006, 18, 5659, 620, 5621, 5411, 741, 3944, 18006, 273, 638, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 7952, 67, 3118, 2226, 1360, 30, 13773, 1095, 18006, 3053, 1769, 202, 97, 3639, 509, 818, 25399, 273, 11404, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4686, 22, 40, 741, 18006, 12, 4723, 24579, 16, 1875, 2398, 5450, 9471, 18006, 16, 17311, 5450, 2076, 18006, 13, 288, 202, 6494, 3656, 47, 8865, 273, 638, 31, 202, 6494, 741, 3944, 18006, 273, 629, 31, 202, 6494, 741, 13938, 18006, 273, 629, 31, 3639, 1431, 24579, 3053, 273, 374, 74, 31, 202, 5659, 9471, 18006, 3053, 273, 374, 74, 31, 3639, 1431, 2076, 18006, 3053, 273, 374, 74, 31, 202, 430, 14015, 79, 8865, 1276, 5450, 13, 597, 16051, 79, 8865, 18, 291, 21172, 1435, 3719, 288, 5411, 24579, 3053, 273, 24579, 18, 5659, 620, 5621, 202, 565, 3656, 47, 8865, 273, 629, 31, 5411, 368, 3163, 18, 659, 18, 8222, 2932, 27221, 15870, 30, 2 ]
selectPath(tree, new TreePath(getPathToRoot(prev, 0)));
selectPath(tree, newPath);
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath = new TreePath(getPathToRoot(prev, 0)); selectPath(tree, new TreePath(getPathToRoot(prev, 0))); tree.setLeadSelectionPath(newPath); } } else if (e.getActionCommand().equals("selectPreviousExtendSelection")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath = new TreePath(getPathToRoot(prev, 0)); tree.addSelectionPath(newPath); tree.setLeadSelectionPath(newPath); } } else if (e.getActionCommand().equals("selectPrevious")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath = new TreePath(getPathToRoot(prev, 0)); selectPath(tree, new TreePath(getPathToRoot(prev, 0))); } } else if (e.getActionCommand().equals("selectNext")) { Object next = getNextVisibleNode(last); if (next != null) { TreePath newPath = new TreePath(getPathToRoot(next, 0)); selectPath(tree, newPath); } } else if (e.getActionCommand().equals("selectNextExtendSelection")) { Object next = getNextVisibleNode(last); if (next != null) { TreePath newPath = new TreePath(getPathToRoot(next, 0)); tree.addSelectionPath(newPath); tree.setLeadSelectionPath(newPath); } } else if (e.getActionCommand().equals("selectNextChangeLead")) { Object next = getNextVisibleNode(last); if (next != null) { TreePath newPath = new TreePath(getPathToRoot(next, 0)); selectPath(tree, newPath); tree.setLeadSelectionPath(newPath); } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 565, 288, 1377, 1033, 1142, 273, 2151, 18, 588, 9678, 6233, 743, 7675, 588, 3024, 743, 1841, 5621, 1377, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4025, 8351, 3043, 9678, 6, 3719, 3639, 288, 1850, 1033, 2807, 273, 17225, 6207, 907, 12, 2722, 1769, 1850, 309, 261, 10001, 480, 446, 13, 5411, 288, 2868, 4902, 743, 14954, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12, 10001, 16, 374, 10019, 2868, 2027, 743, 12, 3413, 16, 14954, 1769, 2868, 2151, 18, 542, 9678, 6233, 743, 12, 2704, 743, 1769, 5411, 289, 3639, 289, 1377, 469, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4025, 8351, 16675, 6233, 6, 3719, 3639, 288, 1850, 1033, 2807, 273, 17225, 6207, 907, 12, 2722, 1769, 1850, 309, 261, 10001, 480, 446, 13, 5411, 288, 2868, 4902, 743, 14954, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12, 10001, 16, 374, 10019, 2868, 2151, 18, 1289, 6233, 743, 12, 2704, 743, 1769, 2868, 2151, 18, 542, 9678, 6233, 743, 12, 2704, 743, 1769, 5411, 289, 3639, 289, 1377, 469, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4025, 8351, 6, 3719, 3639, 288, 1850, 1033, 2807, 273, 17225, 6207, 907, 12, 2722, 1769, 1850, 309, 261, 10001, 480, 446, 13, 5411, 288, 2868, 4902, 743, 14954, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12, 10001, 16, 374, 10019, 2868, 2027, 743, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 565, 288, 1377, 1033, 1142, 273, 2151, 18, 588, 9678, 6233, 743, 7675, 588, 3024, 743, 1841, 5621, 1377, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4025, 8351, 3043, 9678, 6, 3719, 3639, 288, 1850, 1033, 2807, 273, 17225, 6207, 907, 12, 2722, 1769, 1850, 309, 261, 10001, 480, 446, 13, 5411, 288, 2868, 4902, 743, 14954, 273, 394, 4902, 743, 12, 588, 743, 774, 2375, 12, 10001, 16, 374, 10019, 2868, 2027, 743, 12, 3413, 16, 14954, 1769, 2868, 2151, 18, 542, 9678, 6233, 743, 12, 2704, 743, 1769, 5411, 289, 3639, 289, 1377, 469, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4025, 2 ]
ts.matchToken(ts.RC);
mustMatchToken(ts, ts.RC, "msg.no.brace.after.body");
private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case ts.IF: { skipsemi = true; source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { source.append((char)ts.RC); source.append((char)ts.ELSE); source.append((char)ts.LC); source.append((char)ts.EOL); ifFalse = statement(ts, source); } source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case ts.SWITCH: { skipsemi = true; source.append((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); source.append((char)ts.LP); nf.addChildToBack(pn, expr(ts, source, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); source.append((char)ts.LC); source.append((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case ts.CASE: source.append((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, source, false)); source.append((char)ts.COLON); source.append((char)ts.EOL); break; case ts.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); source.append((char)ts.DEFAULT); source.append((char)ts.COLON); source.append((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts, source)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } source.append((char)ts.RC); source.append((char)ts.EOL); break; } case ts.WHILE: { skipsemi = true; source.append((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case ts.DO: { source.append((char)ts.DO); source.append((char)ts.LC); source.append((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts, source); source.append((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); source.append((char)ts.WHILE); Object cond = condition(ts, source); pn = nf.createDoWhile(body, cond, lineno); break; } case ts.FOR: { skipsemi = true; source.append((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); source.append((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, source, true); } else { init = expr(ts, source, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); source.append((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, source, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, source, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, source, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case ts.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; source.append((char)ts.TRY); source.append((char)ts.LC); source.append((char)ts.EOL); tryblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { source.append((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); source.append((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); source.addString(ts.NAME, varName); Object catchCond = null; if (implementsCatchCond && ts.matchToken(ts.COLON)) { source.append((char)ts.COLON); catchCond = expr(ts, source, false); } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); source.append((char)ts.LC); source.append((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts, source), ts.getLineno())); ts.matchToken(ts.RC); source.append((char)ts.RC); source.append((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { source.append((char)ts.FINALLY); source.append((char)ts.LC); source.append((char)ts.EOL); finallyblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case ts.THROW: { int lineno = ts.getLineno(); source.append((char)ts.THROW); pn = nf.createThrow(expr(ts, source, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case ts.BREAK: { int lineno = ts.getLineno(); source.append((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case ts.CONTINUE: { int lineno = ts.getLineno(); source.append((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case ts.WITH: { skipsemi = true; source.append((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); source.append((char)ts.LP); Object obj = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case ts.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case ts.RETURN: { Object retExpr = null; int lineno = 0; source.append((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { lineno = ts.getLineno(); retExpr = expr(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } if ((ts.flags & (ts.TSF_RETURN_EXPR | ts.TSF_RETURN_VOID)) == (ts.TSF_RETURN_EXPR | ts.TSF_RETURN_VOID)) reportError(ts, "msg.fn.retval"); // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case ts.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case ts.ERROR: reportError(ts, "msg.scanner.caught.error"); // Fall thru, to have a node for error recovery to work on case ts.EOL: case ts.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, source, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. source.append((char)ts.COLON); source.append((char)ts.EOL); return pn; } pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { source.append((char)ts.SEMI); source.append((char)ts.EOL); } return pn; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/741cf4ed39eb86d92e1ed9534cf08f057ea58784/Parser.java/clean/js/rhino/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2488, 307, 9197, 273, 638, 31, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5501, 1769, 5411, 509, 7586, 273, 3742, 18, 588, 48, 267, 5764, 5621, 5411, 1033, 6941, 273, 2269, 12, 3428, 16, 1084, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5842, 1769, 5411, 1033, 309, 5510, 273, 3021, 12, 3428, 16, 1084, 1769, 5411, 1033, 309, 8381, 273, 446, 31, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 2247, 1090, 3719, 288, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 11529, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2247, 1090, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 7734, 1084, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2 ]
globalAbbrevs.put(abbrev,new Expansion(expand));
globalAbbrevs.put(abbrev,expand);
private static void addAbbrev(View view, String abbrev) { String[] args = { abbrev }; JTextField textField = new JTextField(); Object[] message = { jEdit.getProperty("add-abbrev.message",args), textField }; Object[] options = { jEdit.getProperty("add-abbrev.global"), jEdit.getProperty("add-abbrev.mode"), jEdit.getProperty("common.cancel") }; int retVal = JOptionPane.showOptionDialog(view,message, jEdit.getProperty("add-abbrev.title"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE, null,options,options[0]); String expand = textField.getText(); if(expand == null || (retVal != 0 && retVal != 1)) return; if(retVal == 1) { String mode = view.getBuffer().getMode().getName(); Hashtable modeAbbrevs = (Hashtable)modes.get(mode); if(modeAbbrevs == null) { modeAbbrevs = new Hashtable(); modes.put(mode,modeAbbrevs); } modeAbbrevs.put(abbrev,new Expansion(expand)); } else globalAbbrevs.put(abbrev,new Expansion(expand)); abbrevsChanged = true; expandAbbrev(view,false); }
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/9863874ccec0571fe6c4b1ac9a13740a6b9d10cb/Abbrevs.java/buggy/org/gjt/sp/jedit/Abbrevs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 527, 5895, 27216, 12, 1767, 1476, 16, 514, 1223, 27216, 13, 202, 95, 202, 202, 780, 8526, 833, 273, 288, 1223, 27216, 289, 31, 202, 202, 46, 16157, 977, 974, 273, 394, 804, 16157, 5621, 202, 202, 921, 8526, 883, 273, 288, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 2150, 3113, 1968, 3631, 1082, 202, 955, 974, 289, 31, 202, 202, 921, 8526, 702, 273, 288, 525, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 6347, 6, 3631, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 3188, 6, 3631, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 6054, 18, 10996, 7923, 289, 31, 202, 202, 474, 12197, 273, 804, 1895, 8485, 18, 4500, 1895, 6353, 12, 1945, 16, 2150, 16, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 2649, 6, 3631, 1082, 202, 46, 1895, 8485, 18, 29081, 67, 3417, 67, 7425, 16, 1082, 202, 46, 1895, 8485, 18, 4740, 1146, 67, 8723, 16, 1082, 202, 2011, 16, 2116, 16, 2116, 63, 20, 19226, 202, 202, 780, 4542, 273, 977, 974, 18, 588, 1528, 5621, 202, 202, 430, 12, 12320, 422, 446, 747, 261, 1349, 3053, 480, 374, 597, 12197, 480, 404, 3719, 1082, 202, 2463, 31, 202, 202, 430, 12, 1349, 3053, 422, 404, 13, 202, 202, 95, 1082, 202, 780, 1965, 273, 1476, 18, 588, 1892, 7675, 588, 2309, 7675, 17994, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 527, 5895, 27216, 12, 1767, 1476, 16, 514, 1223, 27216, 13, 202, 95, 202, 202, 780, 8526, 833, 273, 288, 1223, 27216, 289, 31, 202, 202, 46, 16157, 977, 974, 273, 394, 804, 16157, 5621, 202, 202, 921, 8526, 883, 273, 288, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 2150, 3113, 1968, 3631, 1082, 202, 955, 974, 289, 31, 202, 202, 921, 8526, 702, 273, 288, 525, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 6347, 6, 3631, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 1289, 17, 378, 27216, 18, 3188, 6, 3631, 1082, 202, 78, 4666, 18, 588, 1396, 2932, 6054, 18, 10996, 7923, 2 ]
} return label;
return super.getLabel();
public String getLabel() { if (label == null && object != null) { return object.toString(); } return label; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3f8853c767d31af6b4bb2564a6087db8060adfa0/ObjectUndoContext.java/buggy/bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/ObjectUndoContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 11237, 1435, 288, 202, 202, 430, 261, 1925, 422, 446, 597, 733, 480, 446, 13, 288, 1082, 202, 2463, 733, 18, 10492, 5621, 202, 202, 97, 202, 202, 2463, 1433, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final Map<String, Boolean> beforeRun = runManager.getCompileMethodBeforeRun(runConfiguration);
final Map<String, Boolean> beforeRun = runManager.getStepsBeforeLaunch(runConfiguration);
public void run() { final AntConfiguration antConfiguration = AntConfiguration.getInstance(myProject); if (configuration instanceof RunConfiguration) { final RunConfiguration runConfiguration = (RunConfiguration)configuration; final RunManagerImpl runManager = RunManagerImpl.getInstanceImpl(myProject); final Map<String, Boolean> beforeRun = runManager.getCompileMethodBeforeRun(runConfiguration); final Boolean enabled = beforeRun.get(AntConfiguration.ANT); if (enabled != null && enabled.booleanValue() && antConfiguration != null && antConfiguration.hasTasksToExecuteBeforeRun(runConfiguration)) { final Thread thread = new Thread(new Runnable() { public void run() { final DataContext dataContext = MapDataContext.singleData(DataConstants.PROJECT, myProject); if (antConfiguration.executeTaskBeforeRun(dataContext, runConfiguration)) { ApplicationManager.getApplication().invokeLater(startRunnable); } } }); thread.start(); } else { startRunnable.run(); } } else { startRunnable.run(); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/abe2e396e841832b4326ab8895d1d33bb3036c2a/ExecutionManagerImpl.java/clean/execution/impl/com/intellij/execution/impl/ExecutionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 288, 3639, 727, 18830, 1750, 17841, 1750, 273, 18830, 1750, 18, 588, 1442, 12, 4811, 4109, 1769, 3639, 309, 261, 7025, 1276, 1939, 1750, 13, 288, 1850, 727, 1939, 1750, 1086, 1750, 273, 261, 1997, 1750, 13, 7025, 31, 1850, 727, 1939, 1318, 2828, 1086, 1318, 273, 1939, 1318, 2828, 18, 588, 1442, 2828, 12, 4811, 4109, 1769, 1850, 727, 1635, 32, 780, 16, 3411, 34, 1865, 1997, 273, 1086, 1318, 18, 588, 11811, 4649, 9569, 12, 2681, 1750, 1769, 1850, 727, 3411, 3696, 273, 1865, 1997, 18, 588, 12, 14925, 1750, 18, 6856, 1769, 1850, 309, 261, 5745, 480, 446, 597, 3696, 18, 6494, 620, 1435, 597, 17841, 1750, 480, 446, 597, 2868, 17841, 1750, 18, 5332, 6685, 774, 5289, 4649, 1997, 12, 2681, 1750, 3719, 288, 5411, 727, 4884, 2650, 273, 394, 4884, 12, 2704, 10254, 1435, 288, 2868, 1071, 918, 1086, 1435, 288, 7734, 727, 1910, 1042, 501, 1042, 273, 1635, 751, 1042, 18, 7526, 751, 12, 751, 2918, 18, 17147, 16, 3399, 4109, 1769, 7734, 309, 261, 970, 1750, 18, 8837, 2174, 4649, 1997, 12, 892, 1042, 16, 1086, 1750, 3719, 288, 5375, 4257, 1318, 18, 588, 3208, 7675, 14407, 20607, 12, 1937, 20013, 1769, 7734, 289, 2868, 289, 5411, 15549, 5411, 2650, 18, 1937, 5621, 1850, 289, 1850, 469, 288, 5411, 787, 20013, 18, 2681, 5621, 1850, 289, 3639, 289, 3639, 469, 288, 1850, 787, 20013, 18, 2681, 5621, 3639, 289, 1377, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1086, 1435, 288, 3639, 727, 18830, 1750, 17841, 1750, 273, 18830, 1750, 18, 588, 1442, 12, 4811, 4109, 1769, 3639, 309, 261, 7025, 1276, 1939, 1750, 13, 288, 1850, 727, 1939, 1750, 1086, 1750, 273, 261, 1997, 1750, 13, 7025, 31, 1850, 727, 1939, 1318, 2828, 1086, 1318, 273, 1939, 1318, 2828, 18, 588, 1442, 2828, 12, 4811, 4109, 1769, 1850, 727, 1635, 32, 780, 16, 3411, 34, 1865, 1997, 273, 1086, 1318, 18, 588, 11811, 4649, 9569, 12, 2681, 1750, 1769, 1850, 727, 3411, 3696, 273, 1865, 1997, 18, 588, 12, 14925, 1750, 18, 6856, 1769, 1850, 309, 261, 5745, 480, 446, 597, 3696, 18, 6494, 620, 1435, 597, 17841, 1750, 480, 446, 597, 2868, 2 ]
if (event.getProperty().equals(Action.ENABLED)) {
if (event.getProperty().equals(IAction.ENABLED)) {
protected void propagateChange(PropertyChangeEvent event) { if (event.getProperty().equals(Action.ENABLED)) { Boolean bool = (Boolean) event.getNewValue(); setEnabled(bool.booleanValue()); } else if (event.getProperty().equals(Action.CHECKED)) { Boolean bool = (Boolean) event.getNewValue(); setChecked(bool.booleanValue()); } else if (event.getProperty().equals(SubActionBars.P_ACTION_HANDLERS)) { setActionHandler(((IActionBars) event.getSource()) .getGlobalActionHandler(getId())); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/186394ee89f9696e74f8df346c2bb8a070bcf914/RetargetAction.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/actions/RetargetAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 13551, 3043, 12, 1396, 20930, 871, 13, 288, 3639, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 45, 1803, 18, 13560, 3719, 288, 5411, 3411, 1426, 273, 261, 5507, 13, 871, 18, 588, 1908, 620, 5621, 5411, 12888, 12, 6430, 18, 6494, 620, 10663, 3639, 289, 469, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 1803, 18, 10687, 2056, 3719, 288, 5411, 3411, 1426, 273, 261, 5507, 13, 871, 18, 588, 1908, 620, 5621, 5411, 444, 11454, 12, 6430, 18, 6494, 620, 10663, 3639, 289, 469, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 1676, 1803, 5190, 87, 18, 52, 67, 12249, 67, 12346, 48, 11367, 3719, 288, 5411, 22517, 1503, 12443, 12, 45, 1803, 5190, 87, 13, 871, 18, 588, 1830, 10756, 10792, 263, 588, 5160, 1803, 1503, 12, 26321, 1435, 10019, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 45, 1803, 18, 13560, 3719, 288, 5411, 3411, 1426, 273, 261, 5507, 13, 871, 18, 588, 1908, 620, 5621, 5411, 12888, 12, 6430, 18, 6494, 620, 10663, 3639, 289, 469, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 1803, 18, 10687, 2056, 3719, 288, 5411, 3411, 1426, 273, 261, 5507, 13, 871, 18, 588, 1908, 620, 5621, 5411, 444, 11454, 12, 6430, 18, 6494, 620, 10663, 3639, 289, 469, 309, 261, 2575, 18, 588, 1396, 7675, 14963, 12, 1676, 1803, 5190, 87, 18, 52, 67, 12249, 67, 12346, 48, 11367, 3719, 288, 5411, 22517, 1503, 12443, 12, 2 ]
final Set bindings = new HashSet(); bindings.add(binding1); bindings.add(binding2); bindingManager.setBindings(bindings);
bindingManager.addBinding(binding2);
public void testContextOverride() throws NotDefinedException { final Context parentContext = contextManager.getContext("parent"); parentContext.define("parent", "parent context", null); final Context childContext = contextManager.getContext("child"); childContext.define("child", "child context", "parent"); final Scheme scheme = bindingManager.getScheme("na"); scheme.define("name", "description", null); bindingManager.setActiveScheme(scheme); final Binding binding1 = new TestBinding("parent", "na", "parent", null, null, Binding.SYSTEM); final Binding binding2 = new TestBinding("child", "na", "child", null, null, Binding.SYSTEM); final Set bindings = new HashSet(); bindings.add(binding1); bindings.add(binding2); bindingManager.setBindings(bindings); // Only "parent" final Set activeContextIds = new HashSet(); activeContextIds.add("parent"); contextManager.setActiveContextIds(activeContextIds); assertEquals( "When only the parent context is active, only the parent binding is active.", binding1.getCommandId(), bindingManager .getPerfectMatch(TestBinding.TRIGGER_SEQUENCE)); // Only "child" activeContextIds.clear(); activeContextIds.add("child"); contextManager.setActiveContextIds(activeContextIds); assertEquals( "When only the child context is active, only the child binding is active.", binding2.getCommandId(), bindingManager .getPerfectMatch(TestBinding.TRIGGER_SEQUENCE)); // Both "parent" and "child" activeContextIds.add("parent"); contextManager.setActiveContextIds(activeContextIds); assertEquals( "When both contexts are active, only the child binding is active.", binding2.getCommandId(), bindingManager .getPerfectMatch(TestBinding.TRIGGER_SEQUENCE)); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/aaf24f9edb61f7e189ff821250cda3d6f0088de9/BindingInteractionsTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/BindingInteractionsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1042, 6618, 1435, 1216, 2288, 8116, 503, 288, 202, 202, 6385, 1772, 982, 1042, 273, 819, 1318, 18, 29120, 2932, 2938, 8863, 202, 202, 2938, 1042, 18, 11255, 2932, 2938, 3113, 315, 2938, 819, 3113, 446, 1769, 202, 202, 6385, 1772, 1151, 1042, 273, 819, 1318, 18, 29120, 2932, 3624, 8863, 202, 202, 3624, 1042, 18, 11255, 2932, 3624, 3113, 315, 3624, 819, 3113, 315, 2938, 8863, 202, 202, 6385, 10714, 4355, 273, 5085, 1318, 18, 588, 9321, 2932, 6582, 8863, 202, 202, 9068, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 7374, 1318, 18, 542, 3896, 9321, 12, 9068, 1769, 202, 202, 6385, 15689, 5085, 21, 273, 394, 7766, 5250, 2932, 2938, 3113, 315, 6582, 3113, 315, 2938, 3113, 9506, 202, 2011, 16, 446, 16, 15689, 18, 14318, 1769, 202, 202, 6385, 15689, 5085, 22, 273, 394, 7766, 5250, 2932, 3624, 3113, 315, 6582, 3113, 315, 3624, 3113, 446, 16, 9506, 202, 2011, 16, 15689, 18, 14318, 1769, 202, 202, 6385, 1000, 7394, 273, 394, 6847, 5621, 202, 202, 15863, 18, 1289, 12, 7374, 21, 1769, 202, 202, 15863, 18, 1289, 12, 7374, 22, 1769, 202, 202, 7374, 1318, 18, 542, 10497, 12, 15863, 1769, 202, 202, 759, 5098, 315, 2938, 6, 202, 202, 6385, 1000, 2695, 1042, 2673, 273, 394, 6847, 5621, 202, 202, 3535, 1042, 2673, 18, 1289, 2932, 2938, 8863, 202, 202, 2472, 1318, 18, 542, 3896, 1042, 2673, 12, 3535, 1042, 2673, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1042, 6618, 1435, 1216, 2288, 8116, 503, 288, 202, 202, 6385, 1772, 982, 1042, 273, 819, 1318, 18, 29120, 2932, 2938, 8863, 202, 202, 2938, 1042, 18, 11255, 2932, 2938, 3113, 315, 2938, 819, 3113, 446, 1769, 202, 202, 6385, 1772, 1151, 1042, 273, 819, 1318, 18, 29120, 2932, 3624, 8863, 202, 202, 3624, 1042, 18, 11255, 2932, 3624, 3113, 315, 3624, 819, 3113, 315, 2938, 8863, 202, 202, 6385, 10714, 4355, 273, 5085, 1318, 18, 588, 9321, 2932, 6582, 8863, 202, 202, 9068, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 7374, 1318, 18, 542, 3896, 9321, 12, 9068, 1769, 202, 202, 6385, 15689, 5085, 21, 273, 394, 7766, 2 ]
chunk.setFont(font().difference(chunk.font()));
if (!font.isStandardFont()) { chunk.setFont(font.difference(chunk.font())); }
public void add(int index, Object o) { try { Element element = (Element) o; if (element.type() == Element.CHUNK) { Chunk chunk = (Chunk) element; chunk.setFont(font().difference(chunk.font())); super.add(index, chunk); } else if (element.type() == Element.PHRASE || element.type() == Element.ANCHOR || element.type() == Element.ANNOTATION || element.type() == Element.TABLE) { // line added by David Freels super.add(index, element); } else { throw new ClassCastException(String.valueOf(element.type())); } } catch(ClassCastException cce) { throw new ClassCastException("Insertion of illegal Element: " + cce.getMessage()); } }
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/3a2d835c3d93873589949d3bea5d004641372386/Phrase.java/buggy/itext/src/com/lowagie/text/Phrase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 12, 474, 770, 16, 1033, 320, 13, 288, 3639, 775, 288, 5411, 3010, 930, 273, 261, 1046, 13, 320, 31, 5411, 309, 261, 2956, 18, 723, 1435, 422, 3010, 18, 26464, 13, 288, 7734, 13021, 2441, 273, 261, 5579, 13, 930, 31, 7734, 309, 16051, 5776, 18, 291, 8336, 5711, 10756, 288, 2441, 18, 542, 5711, 12, 5776, 18, 23444, 12, 6551, 18, 5776, 1435, 10019, 289, 7734, 2240, 18, 1289, 12, 1615, 16, 2441, 1769, 5411, 289, 5411, 469, 309, 261, 2956, 18, 723, 1435, 422, 3010, 18, 8939, 2849, 1090, 747, 7734, 930, 18, 723, 1435, 422, 3010, 18, 20360, 916, 747, 7734, 930, 18, 723, 1435, 422, 3010, 18, 24922, 747, 7734, 930, 18, 723, 1435, 422, 3010, 18, 7775, 13, 288, 368, 980, 3096, 635, 463, 842, 350, 478, 266, 10558, 7734, 2240, 18, 1289, 12, 1615, 16, 930, 1769, 5411, 289, 5411, 469, 288, 7734, 604, 394, 24034, 12, 780, 18, 1132, 951, 12, 2956, 18, 723, 1435, 10019, 5411, 289, 3639, 289, 3639, 1044, 12, 797, 22768, 276, 311, 13, 288, 5411, 604, 394, 24034, 2932, 29739, 434, 16720, 3010, 30, 315, 397, 276, 311, 18, 24906, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 12, 474, 770, 16, 1033, 320, 13, 288, 3639, 775, 288, 5411, 3010, 930, 273, 261, 1046, 13, 320, 31, 5411, 309, 261, 2956, 18, 723, 1435, 422, 3010, 18, 26464, 13, 288, 7734, 13021, 2441, 273, 261, 5579, 13, 930, 31, 7734, 309, 16051, 5776, 18, 291, 8336, 5711, 10756, 288, 2441, 18, 542, 5711, 12, 5776, 18, 23444, 12, 6551, 18, 5776, 1435, 10019, 289, 7734, 2240, 18, 1289, 12, 1615, 16, 2441, 1769, 5411, 289, 5411, 469, 309, 261, 2956, 18, 723, 1435, 422, 3010, 18, 8939, 2849, 1090, 747, 7734, 930, 18, 723, 1435, 422, 3010, 18, 20360, 916, 747, 7734, 930, 18, 723, 1435, 422, 3010, 18, 24922, 747, 7734, 2 ]
if (patternString.equals(oldPattern))
if (!force && patternString.equals(oldPattern))
private void filterResources() { String oldPattern = patternString; patternString = adjustPattern(); if (patternString.equals(oldPattern)) return; updateFilterThread.stop = true; stringMatcher = new StringMatcher(patternString, true, false); UpdateFilterThread oldThread = updateFilterThread; updateFilterThread = new UpdateFilterThread(); if (patternString.equals("")) { //$NON-NLS-1$ updateFilterThread.firstMatch = 0; updateFilterThread.lastMatch = -1; updateFilterThread.start(); return; } if (oldPattern != null && (oldPattern.length() != 0) && oldPattern.endsWith("*") && patternString.endsWith("*")) { //$NON-NLS-1$ //$NON-NLS-2$ int matchLength = oldPattern.length() - 1; if (patternString.regionMatches(0, oldPattern, 0, matchLength)) { // filter the previous list of items, this is done when the // new pattern is a derivative of the old pattern updateFilterThread.firstMatch = oldThread.firstMatch; updateFilterThread.lastMatch = oldThread.lastMatch; updateFilterThread.start(); return; } } // filter the entire list updateFilterThread.firstMatch = 0; updateFilterThread.lastMatch = descriptorsSize - 1; updateFilterThread.start(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/70a1b00e589b183db7db74368a8692d0659c2a53/ResourceListSelectionDialog.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1034, 3805, 1435, 288, 3639, 514, 1592, 3234, 273, 1936, 780, 31, 3639, 1936, 780, 273, 5765, 3234, 5621, 3639, 309, 16051, 5734, 597, 1936, 780, 18, 14963, 12, 1673, 3234, 3719, 5411, 327, 31, 3639, 1089, 1586, 3830, 18, 5681, 273, 638, 31, 3639, 533, 6286, 273, 394, 514, 6286, 12, 4951, 780, 16, 638, 16, 629, 1769, 3639, 2315, 1586, 3830, 1592, 3830, 273, 1089, 1586, 3830, 31, 3639, 1089, 1586, 3830, 273, 394, 2315, 1586, 3830, 5621, 3639, 309, 261, 4951, 780, 18, 14963, 2932, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 1089, 1586, 3830, 18, 3645, 2060, 273, 374, 31, 5411, 1089, 1586, 3830, 18, 2722, 2060, 273, 300, 21, 31, 5411, 1089, 1586, 3830, 18, 1937, 5621, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1673, 3234, 480, 446, 597, 261, 1673, 3234, 18, 2469, 1435, 480, 374, 13, 7734, 597, 1592, 3234, 18, 5839, 1190, 2932, 7388, 13, 597, 1936, 780, 18, 5839, 1190, 2932, 7388, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 5411, 509, 845, 1782, 273, 1592, 3234, 18, 2469, 1435, 300, 404, 31, 5411, 309, 261, 4951, 780, 18, 6858, 6869, 12, 20, 16, 1592, 3234, 16, 374, 16, 845, 1782, 3719, 288, 7734, 368, 1034, 326, 2416, 666, 434, 1516, 16, 333, 353, 2731, 1347, 326, 1171, 368, 394, 1936, 353, 279, 16417, 434, 326, 1592, 1936, 7734, 1089, 1586, 3830, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1034, 3805, 1435, 288, 3639, 514, 1592, 3234, 273, 1936, 780, 31, 3639, 1936, 780, 273, 5765, 3234, 5621, 3639, 309, 16051, 5734, 597, 1936, 780, 18, 14963, 12, 1673, 3234, 3719, 5411, 327, 31, 3639, 1089, 1586, 3830, 18, 5681, 273, 638, 31, 3639, 533, 6286, 273, 394, 514, 6286, 12, 4951, 780, 16, 638, 16, 629, 1769, 3639, 2315, 1586, 3830, 1592, 3830, 273, 1089, 1586, 3830, 31, 3639, 1089, 1586, 3830, 273, 394, 2315, 1586, 3830, 5621, 3639, 309, 261, 4951, 780, 18, 14963, 2932, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 1089, 1586, 3830, 18, 3645, 2060, 273, 374, 31, 5411, 1089, 1586, 3830, 18, 2722, 2060, 273, 2 ]
private void member_helper_size(List members, final ObjectSwitchCallback callback, final ParameterTyper typer, final Label def, final Label end) throws Exception { final Map buckets = bucket(members, new Transformer() { public Object transform(Object value) { return new Integer(typer.getParameterTypes(value).length); } }); dup(); arraylength(); process_switch(getSwitchKeys(buckets), new ProcessSwitchCallback() { public void processCase(int key, Label dontUseEnd) throws Exception { List bucket = (List)buckets.get(new Integer(key)); Class[] types = typer.getParameterTypes(bucket.get(0)); member_helper_type(bucket, callback, typer, def, end, new BitSet(types.length)); } public void processDefault() throws Exception { // pop deferred goTo(def); } }); }
836 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/836/5a3dd1888c4d545299db14fbb224ce2dbf3c02b5/CodeGenerator.java/clean/src/proxy/net/sf/cglib/util/CodeGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 5990, 67, 4759, 67, 1467, 12, 682, 7640, 16, 6385, 921, 10200, 2428, 3394, 16, 6385, 1662, 56, 93, 824, 457, 16, 6385, 2224, 536, 16, 6385, 2224, 409, 13, 15069, 503, 95, 6385, 863, 20700, 33, 7242, 12, 7640, 16, 2704, 8319, 1435, 95, 482, 921, 6547, 12, 921, 1132, 15329, 2463, 2704, 4522, 12, 4098, 457, 18, 588, 1662, 2016, 12, 1132, 2934, 2469, 1769, 9090, 1769, 26427, 5621, 1126, 2469, 5621, 2567, 67, 9610, 12, 588, 10200, 2396, 12, 20700, 3631, 2704, 2227, 10200, 2428, 1435, 95, 482, 6459, 2567, 2449, 12, 474, 856, 16, 14506, 488, 1580, 3727, 1638, 13, 15069, 503, 95, 682, 7242, 28657, 682, 13, 20700, 18, 588, 12, 2704, 4522, 12, 856, 10019, 797, 8526, 2352, 33, 4098, 457, 18, 588, 1662, 2016, 12, 7242, 18, 588, 12, 20, 10019, 5990, 67, 4759, 67, 723, 12, 7242, 16, 3394, 16, 4098, 457, 16, 536, 16, 409, 16, 2704, 5775, 694, 12, 2352, 18, 2469, 10019, 97, 482, 6459, 2567, 1868, 1435, 15069, 503, 95, 759, 5120, 26622, 3240, 774, 12, 536, 1769, 9090, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 5990, 67, 4759, 67, 1467, 12, 682, 7640, 16, 6385, 921, 10200, 2428, 3394, 16, 6385, 1662, 56, 93, 824, 457, 16, 6385, 2224, 536, 16, 6385, 2224, 409, 13, 15069, 503, 95, 6385, 863, 20700, 33, 7242, 12, 7640, 16, 2704, 8319, 1435, 95, 482, 921, 6547, 12, 921, 1132, 15329, 2463, 2704, 4522, 12, 4098, 457, 18, 588, 1662, 2016, 12, 1132, 2934, 2469, 1769, 9090, 1769, 26427, 5621, 1126, 2469, 5621, 2567, 67, 9610, 12, 588, 10200, 2396, 12, 20700, 3631, 2704, 2227, 10200, 2428, 1435, 95, 482, 6459, 2567, 2449, 12, 474, 856, 16, 14506, 488, 1580, 3727, 1638, 13, 15069, 503, 95, 682, 7242, 28657, 682, 13, 20700, 18, 588, 12, 2704, 2 ]