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
public static void assertIsZeroed(Address start, int size) throws NoInlinePragma { Assert._assert(isSetHelper(start, size, true, Word.zero()));
public static void assertIsZeroed(Address start, int bytes) throws NoInlinePragma { Assert._assert(isSet(start, bytes, true, 0));
public static void assertIsZeroed(Address start, int size) throws NoInlinePragma { Assert._assert(isSetHelper(start, size, true, Word.zero())); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/2e02ebc918c70094651cc46c3d999dec4432ace4/Memory.java/buggy/MMTk/src/org/mmtk/utility/Memory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1815, 2520, 7170, 329, 12, 1887, 787, 16, 509, 963, 13, 1216, 2631, 10870, 2050, 9454, 288, 565, 5452, 6315, 11231, 12, 291, 694, 2276, 12, 1937, 16, 963, 16, 638, 16, 9926, 18, 7124, 1435, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 918, 1815, 2520, 7170, 329, 12, 1887, 787, 16, 509, 963, 13, 1216, 2631, 10870, 2050, 9454, 288, 565, 5452, 6315, 11231, 12, 291, 694, 2276, 12, 1937, 16, 963, 16, 638, 16, 9926, 18, 7124, 1435, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Page formBean, DocumentMapper documentMapper ) {
AdminCategoriesPage formBean, DocumentMapper documentMapper ) {
private void editCategoryType( CategoryTypeDomainObject categoryTypeToEdit, HttpServletRequest req, Page formBean, DocumentMapper documentMapper ) { formBean.setMode(PARAMETER_MODE__EDIT_CATEGORY_TYPE) ; formBean.setUniqueCategoryTypeName( true ); if ( req.getParameter( PARAMETER_CATEGORY_TYPE_SAVE ) != null ) { String newName = req.getParameter( PARAMETER__NAME ).trim(); if ( !newName.equals(categoryTypeToEdit.getName()) ) { formBean.setUniqueCategoryTypeName( documentMapper.isUniqueCategoryTypeName( newName ) ); } if (formBean.isUniqueCategoryTypeName()){ int maxChoices = Integer.parseInt( req.getParameter( "max_choices" ) ); categoryTypeToEdit.setName( newName ); categoryTypeToEdit.setMaxChoices( maxChoices ); documentMapper.updateCategoryType( categoryTypeToEdit ); } } formBean.setCategoryTypeToEdit( categoryTypeToEdit ); }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/ea433e1f42bcf994c865391b925198097a4c967d/AdminCategories.java/buggy/server/src/com/imcode/imcms/servlet/superadmin/AdminCategories.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3874, 4457, 559, 12, 9856, 559, 3748, 921, 3150, 559, 774, 4666, 16, 9984, 1111, 16, 4766, 282, 7807, 10487, 1964, 646, 3381, 16, 4319, 4597, 1668, 4597, 262, 288, 3639, 646, 3381, 18, 542, 2309, 12, 9819, 67, 7038, 972, 10776, 67, 24847, 67, 2399, 13, 274, 3639, 646, 3381, 18, 542, 6303, 4457, 7947, 12, 638, 11272, 3639, 309, 261, 1111, 18, 588, 1662, 12, 18120, 67, 24847, 67, 2399, 67, 25242, 262, 480, 446, 262, 288, 5411, 514, 13253, 273, 1111, 18, 588, 1662, 12, 18120, 972, 1985, 262, 18, 5290, 5621, 5411, 309, 261, 401, 2704, 461, 18, 14963, 12, 4743, 559, 774, 4666, 18, 17994, 10756, 262, 288, 7734, 646, 3381, 18, 542, 6303, 4457, 7947, 12, 1668, 4597, 18, 291, 6303, 4457, 7947, 12, 13253, 262, 11272, 5411, 289, 5411, 309, 261, 687, 3381, 18, 291, 6303, 4457, 7947, 10756, 95, 7734, 509, 943, 17442, 273, 2144, 18, 2670, 1702, 12, 1111, 18, 588, 1662, 12, 315, 1896, 67, 11937, 6, 262, 11272, 7734, 3150, 559, 774, 4666, 18, 542, 461, 12, 13253, 11272, 7734, 3150, 559, 774, 4666, 18, 542, 2747, 17442, 12, 943, 17442, 11272, 7734, 1668, 4597, 18, 2725, 4457, 559, 12, 3150, 559, 774, 4666, 11272, 5411, 289, 3639, 289, 3639, 646, 3381, 18, 542, 4457, 559, 774, 4666, 12, 3150, 559, 774, 4666, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3874, 4457, 559, 12, 9856, 559, 3748, 921, 3150, 559, 774, 4666, 16, 9984, 1111, 16, 4766, 282, 7807, 10487, 1964, 646, 3381, 16, 4319, 4597, 1668, 4597, 262, 288, 3639, 646, 3381, 18, 542, 2309, 12, 9819, 67, 7038, 972, 10776, 67, 24847, 67, 2399, 13, 274, 3639, 646, 3381, 18, 542, 6303, 4457, 7947, 12, 638, 11272, 3639, 309, 261, 1111, 18, 588, 1662, 12, 18120, 67, 24847, 67, 2399, 67, 25242, 262, 480, 446, 262, 288, 5411, 514, 13253, 273, 1111, 18, 588, 1662, 12, 18120, 972, 1985, 262, 18, 5290, 5621, 5411, 309, 261, 401, 2704, 461, 18, 14963, 12, 4743, 559, 774, 4666, 18, 17994, 10756, 262, 288, 7734, 646, 3381, 2 ]
localoffset = java.util.Calendar.getInstance().getTimeZone().getOffset(millis);
localoffset = java.util.Calendar.getInstance().getTimeZone().getRawOffset(); if (java.util.Calendar.getInstance().getTimeZone().inDaylightTime(new java.sql.Date(millis))) localoffset += 60*60*1000;
private java.sql.Time timeFromString (String s) throws SQLException { int timezone = 0; long millis = 0; long localoffset = 0; int timezoneLocation = (s.indexOf('+') == -1) ? s.lastIndexOf("-") : s.indexOf('+'); //if the index of the last '-' or '+' is greater than 0 that means this time has a timezone. //everything earlier than that position, we treat as the time and parse it as such. try { timezone = (timezoneLocation==-1) ? s.length() : timezoneLocation; millis = java.sql.Time.valueOf(s.substring(0,timezone)).getTime(); } catch (Exception e) { throw new PSQLException("postgresql.format.badtime",s, "HH:mm:ss[-tz]"); } timezone = 0; if (timezoneLocation != -1 && timezoneLocation+3 == s.length()) { timezone = Integer.parseInt(s.substring(timezoneLocation+1,s.length())); localoffset = java.util.Calendar.getInstance().getTimeZone().getOffset(millis); if (s.charAt(timezoneLocation)=='+') timezone*=-1; } millis = millis + timezone*60*60*1000 + localoffset; return new java.sql.Time(millis); }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/0a73f69cb4842f46c1a080b3375b0f268ba1e5de/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2252, 18, 4669, 18, 950, 813, 9193, 261, 780, 272, 13, 1216, 6483, 202, 95, 202, 202, 474, 6371, 273, 374, 31, 202, 202, 5748, 14833, 273, 374, 31, 202, 202, 5748, 1191, 3348, 273, 374, 31, 202, 202, 474, 6371, 2735, 273, 261, 87, 18, 31806, 2668, 15, 6134, 422, 300, 21, 13, 692, 272, 18, 2722, 31985, 2932, 17, 7923, 294, 272, 18, 31806, 2668, 6797, 1769, 202, 202, 759, 430, 326, 770, 434, 326, 1142, 4014, 578, 10058, 353, 6802, 2353, 374, 716, 4696, 333, 813, 711, 279, 6371, 18, 202, 202, 759, 20434, 4274, 13805, 2353, 716, 1754, 16, 732, 10116, 487, 326, 813, 471, 1109, 518, 487, 4123, 18, 202, 202, 698, 202, 202, 95, 1082, 202, 12690, 273, 261, 12690, 2735, 631, 17, 21, 13, 692, 272, 18, 2469, 1435, 294, 6371, 2735, 31, 9506, 202, 81, 3503, 273, 2252, 18, 4669, 18, 950, 18, 1132, 951, 12, 87, 18, 28023, 12, 20, 16, 12690, 13, 2934, 588, 950, 5621, 202, 202, 97, 202, 202, 14683, 261, 503, 425, 13, 202, 202, 95, 1082, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 2139, 18, 8759, 957, 3113, 87, 16, 315, 17500, 30, 7020, 30, 1049, 18919, 12994, 4279, 1769, 202, 202, 97, 202, 202, 12690, 273, 374, 31, 202, 202, 430, 261, 12690, 2735, 480, 300, 21, 597, 6371, 2735, 15, 23, 422, 272, 18, 2469, 10756, 202, 202, 95, 1082, 202, 12690, 273, 2144, 18, 2670, 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, 2252, 18, 4669, 18, 950, 813, 9193, 261, 780, 272, 13, 1216, 6483, 202, 95, 202, 202, 474, 6371, 273, 374, 31, 202, 202, 5748, 14833, 273, 374, 31, 202, 202, 5748, 1191, 3348, 273, 374, 31, 202, 202, 474, 6371, 2735, 273, 261, 87, 18, 31806, 2668, 15, 6134, 422, 300, 21, 13, 692, 272, 18, 2722, 31985, 2932, 17, 7923, 294, 272, 18, 31806, 2668, 6797, 1769, 202, 202, 759, 430, 326, 770, 434, 326, 1142, 4014, 578, 10058, 353, 6802, 2353, 374, 716, 4696, 333, 813, 711, 279, 6371, 18, 202, 202, 759, 20434, 4274, 13805, 2353, 716, 1754, 16, 732, 10116, 487, 326, 813, 471, 1109, 518, 487, 4123, 18, 202, 202, 2 ]
if (name != null) toString = name; else toString = "*." + ext;
if (name != null) { toString = name; } else { toString = "*." + ext; }
public String toString() { String toString; if (name != null) toString = name; else toString = "*." + ext; //$NON-NLS-1$ if (isPredefined) toString = NLS.bind( WorkbenchMessages.ContentTypes_lockedFormat, toString); return toString; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ContentTypesPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ContentTypesPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1762, 1435, 288, 5411, 514, 1762, 31, 5411, 309, 261, 529, 480, 446, 13, 7734, 1762, 273, 508, 31, 5411, 469, 7734, 1762, 273, 15902, 1199, 397, 1110, 31, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 309, 261, 291, 1386, 2178, 13, 7734, 1762, 273, 29117, 18, 4376, 12, 13491, 4147, 22144, 5058, 18, 27446, 67, 15091, 1630, 16, 13491, 1762, 1769, 5411, 327, 1762, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1762, 1435, 288, 5411, 514, 1762, 31, 5411, 309, 261, 529, 480, 446, 13, 7734, 1762, 273, 508, 31, 5411, 469, 7734, 1762, 273, 15902, 1199, 397, 1110, 31, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 309, 261, 291, 1386, 2178, 13, 7734, 1762, 273, 29117, 18, 4376, 12, 13491, 4147, 22144, 5058, 18, 27446, 67, 15091, 1630, 16, 13491, 1762, 1769, 5411, 327, 1762, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return fAugmentations.get(key);
return fAugmentationsContainer.getItem(key);
public Object getItem(String key){ return fAugmentations.get(key); }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/68617f2f7f8e9f26ab453263a69373171a261c72/AugmentationsImpl.java/clean/src/org/apache/xerces/util/AugmentationsImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 8143, 12, 780, 498, 15329, 3639, 327, 284, 37, 14870, 1012, 2170, 18, 588, 1180, 12, 856, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 1033, 8143, 12, 780, 498, 15329, 3639, 327, 284, 37, 14870, 1012, 2170, 18, 588, 1180, 12, 856, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static void codeBug() throws RuntimeException {
public static RuntimeException codeBug() throws RuntimeException {
public static void codeBug() throws RuntimeException { throw new RuntimeException("FAILED ASSERTION"); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/8cd43155f4fef9fec2e7a58f459ca2796a02fb66/Context.java/clean/js/rhino/src/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3235, 981, 19865, 1435, 1216, 3235, 288, 3639, 604, 394, 3235, 2932, 11965, 17289, 11539, 1146, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3235, 981, 19865, 1435, 1216, 3235, 288, 3639, 604, 394, 3235, 2932, 11965, 17289, 11539, 1146, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
| (time.getSeconds() >> 1);
| ((time.getSeconds() + 2) >> 1);
protected static ZipLong toDosTime(Date time) { int year = time.getYear() + 1900; int month = time.getMonth() + 1; if (year < 1980) { return DOS_TIME_MIN; } long value = ((year - 1980) << 25) | (month << 21) | (time.getDate() << 16) | (time.getHours() << 11) | (time.getMinutes() << 5) | (time.getSeconds() >> 1); byte[] result = new byte[4]; result[0] = (byte) ((value & 0xFF)); result[1] = (byte) ((value & 0xFF00) >> 8); result[2] = (byte) ((value & 0xFF0000) >> 16); result[3] = (byte) ((value & 0xFF000000l) >> 24); return new ZipLong(result); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/7ec9a805acff7627065b9cbb54929de9132d5b01/ZipOutputStream.java/buggy/src/main/org/apache/tools/zip/ZipOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 8603, 3708, 358, 40, 538, 950, 12, 1626, 813, 13, 288, 3639, 509, 3286, 273, 813, 18, 588, 5593, 1435, 397, 5342, 713, 31, 3639, 509, 3138, 273, 813, 18, 588, 5445, 1435, 397, 404, 31, 3639, 309, 261, 6874, 411, 5342, 3672, 13, 288, 5411, 327, 463, 4618, 67, 4684, 67, 6236, 31, 3639, 289, 3639, 1525, 460, 273, 225, 14015, 6874, 300, 5342, 3672, 13, 2296, 6969, 13, 5411, 571, 540, 261, 7496, 2296, 9035, 13, 5411, 571, 540, 261, 957, 18, 588, 1626, 1435, 2296, 2872, 13, 5411, 571, 540, 261, 957, 18, 588, 14910, 1435, 2296, 4648, 13, 5411, 571, 540, 261, 957, 18, 588, 13050, 1435, 2296, 1381, 13, 5411, 571, 540, 14015, 957, 18, 588, 6762, 1435, 397, 576, 13, 1671, 404, 1769, 7734, 1160, 8526, 563, 273, 394, 1160, 63, 24, 15533, 3639, 563, 63, 20, 65, 273, 261, 7229, 13, 14015, 1132, 473, 374, 6356, 10019, 3639, 563, 63, 21, 65, 273, 261, 7229, 13, 14015, 1132, 473, 374, 6356, 713, 13, 1671, 1725, 1769, 3639, 563, 63, 22, 65, 273, 261, 7229, 13, 14015, 1132, 473, 374, 6356, 2787, 13, 1671, 2872, 1769, 3639, 563, 63, 23, 65, 273, 261, 7229, 13, 14015, 1132, 473, 374, 6356, 9449, 80, 13, 1671, 4248, 1769, 3639, 327, 394, 8603, 3708, 12, 2088, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 8603, 3708, 358, 40, 538, 950, 12, 1626, 813, 13, 288, 3639, 509, 3286, 273, 813, 18, 588, 5593, 1435, 397, 5342, 713, 31, 3639, 509, 3138, 273, 813, 18, 588, 5445, 1435, 397, 404, 31, 3639, 309, 261, 6874, 411, 5342, 3672, 13, 288, 5411, 327, 463, 4618, 67, 4684, 67, 6236, 31, 3639, 289, 3639, 1525, 460, 273, 225, 14015, 6874, 300, 5342, 3672, 13, 2296, 6969, 13, 5411, 571, 540, 261, 7496, 2296, 9035, 13, 5411, 571, 540, 261, 957, 18, 588, 1626, 1435, 2296, 2872, 13, 5411, 571, 540, 261, 957, 18, 588, 14910, 1435, 2296, 4648, 13, 5411, 571, 540, 261, 957, 18, 588, 13050, 1435, 2296, 1381, 13, 5411, 571, 2 ]
"insert into #t0003 values (?)");
"insert into #t0003 values (?)");
public void testMaxRows0003() throws Exception { dropTable("#t0003"); Statement stmt = con.createStatement(); int count = stmt.executeUpdate("create table #t0003 " + " (i integer not null) "); PreparedStatement pStmt = con.prepareStatement( "insert into #t0003 values (?)"); final int rowsToAdd = 100; count = 0; for (int i = 1; i <= rowsToAdd; i++) { pStmt.setInt(1, i); count += pStmt.executeUpdate(); } assertTrue("count: " + count + " rowsToAdd: " + rowsToAdd,count == rowsToAdd); pStmt.close(); pStmt = con.prepareStatement("select i from #t0003 order by i"); int rowLimit = 32; pStmt.setMaxRows(rowLimit); assertTrue(pStmt.getMaxRows() == rowLimit); ResultSet rs = pStmt.executeQuery(); count = 0; while (rs.next()) { count++; assertEquals(rs.getInt("i"), count); } assertTrue(count == rowLimit); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/3e6023028e732b9dae1576cd672fec714940112d/CSUnitTest.java/buggy/src/test/net/sourceforge/jtds/test/CSUnitTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2747, 4300, 30770, 1435, 1216, 1185, 288, 3639, 3640, 1388, 2932, 7, 88, 30770, 8863, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 509, 1056, 273, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 30770, 2868, 315, 4766, 4202, 397, 315, 225, 261, 77, 225, 3571, 486, 446, 13, 4202, 315, 1769, 3639, 16913, 225, 293, 8952, 273, 356, 18, 9366, 3406, 12, 4766, 15604, 315, 6387, 1368, 468, 88, 30770, 924, 13590, 2225, 1769, 3639, 727, 509, 2595, 13786, 273, 2130, 31, 3639, 1056, 273, 374, 31, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 1648, 2595, 13786, 31, 277, 27245, 288, 5411, 293, 8952, 18, 542, 1702, 12, 21, 16, 277, 1769, 5411, 1056, 1011, 293, 8952, 18, 8837, 1891, 5621, 3639, 289, 3639, 1815, 5510, 2932, 1883, 30, 315, 397, 1056, 397, 315, 2595, 13786, 30, 315, 397, 2595, 13786, 16, 1883, 422, 2595, 13786, 1769, 3639, 293, 8952, 18, 4412, 5621, 3639, 293, 8952, 273, 356, 18, 9366, 3406, 2932, 4025, 277, 628, 468, 88, 30770, 1353, 635, 277, 8863, 3639, 509, 1027, 3039, 273, 3847, 31, 3639, 293, 8952, 18, 542, 2747, 4300, 12, 492, 3039, 1769, 3639, 1815, 5510, 12, 84, 8952, 18, 588, 2747, 4300, 1435, 422, 1027, 3039, 1769, 3639, 10842, 225, 3597, 273, 293, 8952, 18, 8837, 1138, 5621, 3639, 1056, 273, 374, 31, 3639, 1323, 261, 5453, 18, 4285, 10756, 288, 5411, 1056, 9904, 31, 5411, 1815, 8867, 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, 1842, 2747, 4300, 30770, 1435, 1216, 1185, 288, 3639, 3640, 1388, 2932, 7, 88, 30770, 8863, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 509, 1056, 273, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 30770, 2868, 315, 4766, 4202, 397, 315, 225, 261, 77, 225, 3571, 486, 446, 13, 4202, 315, 1769, 3639, 16913, 225, 293, 8952, 273, 356, 18, 9366, 3406, 12, 4766, 15604, 315, 6387, 1368, 468, 88, 30770, 924, 13590, 2225, 1769, 3639, 727, 509, 2595, 13786, 273, 2130, 31, 3639, 1056, 273, 374, 31, 3639, 364, 261, 474, 277, 273, 404, 31, 277, 1648, 2595, 13786, 31, 277, 27245, 288, 5411, 293, 8952, 18, 542, 1702, 12, 21, 2 ]
if (((TreeNode) sphereNodes.elementAt(i + 1)).score > ((TreeNode) sphereNodes.elementAt(i)).score)
if (((TreeNode) sphereNodes.elementAt(i + 1)).stringscore.compareTo(((TreeNode) sphereNodes.elementAt(i)).stringscore)>0)
private void sortNodesByScore(Vector sphereNodes) { Object obj; boolean changed; if (sphereNodes.size() == 0) return; /* * Now we sort by score */ do { changed = false; for (int i = 0; i < sphereNodes.size() - 1; i++) { if (((TreeNode) sphereNodes.elementAt(i + 1)).score > ((TreeNode) sphereNodes.elementAt(i)).score) { obj = sphereNodes.elementAt(i + 1); sphereNodes.removeElementAt(i + 1); sphereNodes.insertElementAt(obj, i); changed = true; } } } while (changed); /* Having sorted a sphere, we lable the nodes with their sort order */ int counter = 0; TreeNode root = ((TreeNode) sphereNodes.elementAt(0)); TreeNode temp = null; for (int i = 0; i < sphereNodes.size(); i++) { temp = ((TreeNode) sphereNodes.elementAt(i)); temp.sortOrder = sphereNodes.size() - i; } }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/b84ffa86588547364b5a9afe6dd979b0615094ca/HOSECodeGenerator.java/clean/src/org/openscience/cdk/tools/HOSECodeGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1524, 3205, 858, 7295, 12, 5018, 20041, 3205, 13, 202, 95, 202, 202, 921, 1081, 31, 202, 202, 6494, 3550, 31, 202, 202, 430, 261, 87, 9346, 3205, 18, 1467, 1435, 422, 374, 13, 327, 31, 202, 202, 20308, 1082, 380, 225, 4494, 732, 1524, 635, 4462, 1082, 1195, 202, 202, 2896, 202, 202, 95, 1082, 202, 6703, 273, 629, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 20041, 3205, 18, 1467, 1435, 300, 404, 31, 277, 27245, 1082, 202, 95, 9506, 202, 430, 261, 12443, 12513, 13, 20041, 3205, 18, 2956, 861, 12, 77, 397, 404, 13, 2934, 6355, 405, 14015, 12513, 13, 20041, 3205, 18, 2956, 861, 12, 77, 13, 2934, 6355, 13, 9506, 202, 95, 6862, 202, 2603, 273, 20041, 3205, 18, 2956, 861, 12, 77, 397, 404, 1769, 6862, 202, 87, 9346, 3205, 18, 4479, 1046, 861, 12, 77, 397, 404, 1769, 6862, 202, 87, 9346, 3205, 18, 6387, 1046, 861, 12, 2603, 16, 277, 1769, 6862, 202, 6703, 273, 638, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 1323, 261, 6703, 1769, 202, 202, 20308, 670, 5339, 3115, 279, 20041, 16, 732, 328, 429, 326, 2199, 598, 3675, 1524, 1353, 1195, 202, 202, 474, 3895, 273, 374, 31, 202, 202, 12513, 1365, 273, 14015, 12513, 13, 20041, 3205, 18, 2956, 861, 12, 20, 10019, 202, 202, 12513, 1906, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 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, 1524, 3205, 858, 7295, 12, 5018, 20041, 3205, 13, 202, 95, 202, 202, 921, 1081, 31, 202, 202, 6494, 3550, 31, 202, 202, 430, 261, 87, 9346, 3205, 18, 1467, 1435, 422, 374, 13, 327, 31, 202, 202, 20308, 1082, 380, 225, 4494, 732, 1524, 635, 4462, 1082, 1195, 202, 202, 2896, 202, 202, 95, 1082, 202, 6703, 273, 629, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 20041, 3205, 18, 1467, 1435, 300, 404, 31, 277, 27245, 1082, 202, 95, 9506, 202, 430, 261, 12443, 12513, 13, 20041, 3205, 18, 2956, 861, 12, 77, 397, 404, 13, 2934, 6355, 405, 14015, 12513, 13, 20041, 3205, 18, 2956, 861, 12, 77, 2 ]
filter.resetState();
private void createDefaultFilter() { MarkerFilter filter = createFilter(MarkerMessages.MarkerFilter_defaultFilterName); filter.resetState(); setFilters(new MarkerFilter[] { filter }); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e4aadc0c38193d304df3f17736fc9f4558cd1453/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 27346, 1586, 1435, 288, 202, 202, 7078, 1586, 1034, 273, 752, 1586, 12, 7078, 5058, 18, 7078, 1586, 67, 1886, 1586, 461, 1769, 202, 202, 2188, 18, 6208, 1119, 5621, 202, 202, 542, 5422, 12, 2704, 14742, 1586, 8526, 288, 1034, 15549, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 27346, 1586, 1435, 288, 202, 202, 7078, 1586, 1034, 273, 752, 1586, 12, 7078, 5058, 18, 7078, 1586, 67, 1886, 1586, 461, 1769, 202, 202, 2188, 18, 6208, 1119, 5621, 202, 202, 542, 5422, 12, 2704, 14742, 1586, 8526, 288, 1034, 15549, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return fBytes;
byte[] copyBytes = null; if ( fBytes != null ) { copyBytes = new byte[fBytes.length]; System.arraycopy( fBytes, 0, copyBytes, 0, fBytes.length ); } return copyBytes;
public byte[] getBytes() throws DebugException { if ( fBytes == null ) { if ( fCDIMemoryBlock != null ) { try { fBytes = fCDIMemoryBlock.getBytes(); fDirtyBytes = new boolean[fBytes.length]; Arrays.fill( fDirtyBytes, false ); } catch( CDIException e ) { targetRequestFailed( e.getMessage(), null ); } } } return fBytes; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/33825fd97a6f620f80062b4c1ee9d034bb59ecc2/CFormattedMemoryBlock.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CFormattedMemoryBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 8526, 8425, 1435, 1216, 4015, 503, 202, 95, 202, 202, 430, 261, 284, 2160, 422, 446, 262, 202, 202, 95, 1875, 202, 430, 261, 284, 39, 2565, 6031, 1768, 480, 446, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 74, 2160, 273, 284, 39, 2565, 6031, 1768, 18, 588, 2160, 5621, 6862, 202, 74, 10785, 2160, 273, 394, 1250, 63, 74, 2160, 18, 2469, 15533, 6862, 202, 12726, 18, 5935, 12, 284, 10785, 2160, 16, 629, 11272, 9506, 202, 97, 9506, 202, 14683, 12, 385, 2565, 503, 425, 262, 9506, 202, 95, 6862, 202, 3299, 691, 2925, 12, 425, 18, 24906, 9334, 446, 11272, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 284, 2160, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1160, 8526, 8425, 1435, 1216, 4015, 503, 202, 95, 202, 202, 430, 261, 284, 2160, 422, 446, 262, 202, 202, 95, 1875, 202, 430, 261, 284, 39, 2565, 6031, 1768, 480, 446, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 74, 2160, 273, 284, 39, 2565, 6031, 1768, 18, 588, 2160, 5621, 6862, 202, 74, 10785, 2160, 273, 394, 1250, 63, 74, 2160, 18, 2469, 15533, 6862, 202, 12726, 18, 5935, 12, 284, 10785, 2160, 16, 629, 11272, 9506, 202, 97, 9506, 202, 14683, 12, 385, 2565, 503, 425, 262, 9506, 202, 95, 6862, 202, 3299, 691, 2925, 12, 425, 18, 24906, 9334, 446, 11272, 9506, 202, 97, 1082, 202, 97, 202, 2 ]
((((((srcPixels[sp]>>>24) ) *a)<<16)&0xFF000000) | (((((srcPixels[sp]>>>16)&0xFF) *a)<<8 )&0x00FF0000) | (((((srcPixels[sp]>>> 8)&0xFF) *a) )&0x0000FF00) | (((((srcPixels[sp] )&0xFF) *a)>>8 )&0x000000FF));
((((((pix>>>24) ) *a)<<16)&0xFF000000) | (((((pix>>>16)&0xFF) *a)<<8 )&0x00FF0000) | (((((pix>>> 8)&0xFF) *a) )&0x0000FF00) | (((((pix )&0xFF) *a)>>8 )&0x000000FF));
public WritableRaster INT_PACK_BYTE_COMP_Impl (WritableRaster wr) { // Get my source. CachableRed srcRed = (CachableRed)getSources().get(0); CachableRed alphaRed = (CachableRed)getSources().get(1); // Already has alpha channel so we use it. srcRed.copyData(wr); Rectangle rgn = wr.getBounds(); rgn = rgn.intersection(alphaRed.getBounds()); Raster r = alphaRed.getData(rgn); ComponentSampleModel csm; csm = (ComponentSampleModel)r.getSampleModel(); final int alpScanStride = csm.getScanlineStride(); DataBufferByte alpDB = (DataBufferByte)r.getDataBuffer(); final int alpBase = (alpDB.getOffset() + csm.getOffset(rgn.x-r.getSampleModelTranslateX(), rgn.y-r.getSampleModelTranslateY())); // Access the pixel data array final byte alpPixels[] = alpDB.getBankData()[0]; SinglePixelPackedSampleModel sppsm; sppsm = (SinglePixelPackedSampleModel)wr.getSampleModel(); final int srcScanStride = sppsm.getScanlineStride(); DataBufferInt srcDB = (DataBufferInt)wr.getDataBuffer(); final int srcBase = (srcDB.getOffset() + sppsm.getOffset(rgn.x-wr.getSampleModelTranslateX(), rgn.y-wr.getSampleModelTranslateY())); // Access the pixel data array final int srcPixels[] = srcDB.getBankData()[0]; ColorModel cm = srcRed.getColorModel(); if (cm.isAlphaPremultiplied()) { // For alpha premult we need to multiply all comps. for (int y=0; y<rgn.height; y++) { int sp = srcBase + y*srcScanStride; int ap = alpBase + y*alpScanStride; int end = sp + rgn.width; while (sp<end) { int a = ((int)alpPixels[ap++])&0xFF; srcPixels[sp] = ((((((srcPixels[sp]>>>24) ) *a)<<16)&0xFF000000) | (((((srcPixels[sp]>>>16)&0xFF) *a)<<8 )&0x00FF0000) | (((((srcPixels[sp]>>> 8)&0xFF) *a) )&0x0000FF00) | (((((srcPixels[sp] )&0xFF) *a)>>8 )&0x000000FF)); sp++; } } } else { // For non-alpha premult we only need to multiply alpha. for (int y=0; y<rgn.height; y++) { int sp = srcBase + y*srcScanStride; int ap = alpBase + y*alpScanStride; int end = sp + rgn.width; while (sp<end) { int a = ((int)alpPixels[ap++])&0xFF; int sa = srcPixels[sp]>>>24; srcPixels[sp] = ((((sa*a) & 0xFF00)<<16)| srcPixels[sp]&0x00FFFFFF); sp++; } } } return wr; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/e94df1e1f84e3f01c3cc2dd5b67ab11198e395bd/MultiplyAlphaRed.java/clean/sources/org/apache/batik/refimpl/gvt/filter/MultiplyAlphaRed.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14505, 18637, 6137, 67, 12231, 67, 15377, 67, 10057, 67, 2828, 261, 12061, 18637, 12408, 13, 288, 1850, 368, 968, 3399, 1084, 18, 3639, 23782, 429, 3715, 1705, 3715, 282, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 20, 1769, 3639, 23782, 429, 3715, 4190, 3715, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 21, 1769, 3639, 368, 17009, 711, 4190, 1904, 1427, 732, 999, 518, 18, 3639, 1705, 3715, 18, 3530, 751, 12, 91, 86, 1769, 3639, 13264, 436, 1600, 273, 12408, 18, 588, 5694, 5621, 3639, 436, 1600, 273, 436, 1600, 18, 30231, 12, 5429, 3715, 18, 588, 5694, 10663, 10792, 30757, 436, 273, 4190, 3715, 18, 588, 751, 12, 86, 1600, 1769, 3639, 5435, 8504, 1488, 2873, 81, 31, 3639, 2873, 81, 273, 261, 1841, 8504, 1488, 13, 86, 18, 588, 8504, 1488, 5621, 3639, 727, 509, 524, 84, 7972, 1585, 831, 273, 2873, 81, 18, 588, 7972, 1369, 1585, 831, 5621, 3639, 1910, 1892, 3216, 524, 84, 2290, 282, 273, 261, 751, 1892, 3216, 13, 86, 18, 588, 751, 1892, 5621, 3639, 727, 509, 1377, 524, 84, 2171, 2398, 273, 261, 287, 84, 2290, 18, 588, 2335, 1435, 397, 7734, 2873, 81, 18, 588, 2335, 12, 86, 1600, 18, 92, 17, 86, 18, 588, 8504, 1488, 12818, 60, 9334, 17311, 436, 1600, 18, 93, 17, 86, 18, 588, 8504, 1488, 12818, 61, 1435, 10019, 8227, 368, 5016, 326, 4957, 501, 526, 3639, 727, 1160, 524, 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, 14505, 18637, 6137, 67, 12231, 67, 15377, 67, 10057, 67, 2828, 261, 12061, 18637, 12408, 13, 288, 1850, 368, 968, 3399, 1084, 18, 3639, 23782, 429, 3715, 1705, 3715, 282, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 20, 1769, 3639, 23782, 429, 3715, 4190, 3715, 273, 261, 11309, 429, 3715, 13, 588, 8628, 7675, 588, 12, 21, 1769, 3639, 368, 17009, 711, 4190, 1904, 1427, 732, 999, 518, 18, 3639, 1705, 3715, 18, 3530, 751, 12, 91, 86, 1769, 3639, 13264, 436, 1600, 273, 12408, 18, 588, 5694, 5621, 3639, 436, 1600, 273, 436, 1600, 18, 30231, 12, 5429, 3715, 18, 588, 5694, 10663, 10792, 30757, 436, 273, 4190, 3715, 18, 588, 751, 2 ]
Plugin plugin = element.getDeclaringExtension().getDeclaringPluginDescriptor().getPlugin();
String pluginId = element.getDeclaringExtension().getNamespace(); Plugin plugin = Platform.getPlugin(pluginId);
public boolean readElement(IConfigurationElement element) { if (!element.getName().equals(HANDLER_EXT_Id)) return false; String group = element.getAttribute(HANDLER_GROUP_ID); String className = element.getAttribute(HANDLER_CLASSNAME); if (group == null) { logMissingAttribute(element, "Missing group target runtime extension specification."); //$NON-NLS-1$ return false; } try { Plugin plugin = element.getDeclaringExtension().getDeclaringPluginDescriptor().getPlugin(); extension = new TargetRuntimeExtension(plugin, element, group, className); addExtensionPoint(extension); return true; } catch (CoreException ce) { ce.printStackTrace(); } return false; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/7e5ed085fda78c6c6ca23b3d02d6b0e7aa76fb07/TargetRuntimeExtensionHandlerReader.java/buggy/plugins/org.eclipse.jst.j2ee/j2eecreation/org/eclipse/jst/j2ee/internal/servertarget/TargetRuntimeExtensionHandlerReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 855, 1046, 12, 45, 1750, 1046, 930, 13, 288, 202, 202, 430, 16051, 2956, 18, 17994, 7675, 14963, 12, 19937, 67, 4142, 67, 548, 3719, 1082, 202, 2463, 629, 31, 202, 202, 780, 1041, 273, 930, 18, 588, 1499, 12, 19937, 67, 8468, 67, 734, 1769, 202, 202, 780, 2658, 273, 930, 18, 588, 1499, 12, 19937, 67, 5237, 1985, 1769, 202, 202, 430, 261, 1655, 422, 446, 13, 288, 1082, 202, 1330, 4841, 1499, 12, 2956, 16, 315, 4841, 1041, 1018, 3099, 2710, 7490, 1199, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 3773, 1909, 273, 930, 18, 588, 3456, 5968, 3625, 7675, 588, 3456, 5968, 3773, 3187, 7675, 588, 3773, 5621, 1082, 202, 6447, 273, 394, 5916, 5576, 3625, 12, 4094, 16, 930, 16, 1041, 16, 2658, 1769, 1082, 202, 1289, 3625, 2148, 12, 6447, 1769, 1082, 202, 2463, 638, 31, 202, 202, 97, 1044, 261, 25341, 5898, 13, 288, 1082, 202, 311, 18, 1188, 6332, 5621, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 855, 1046, 12, 45, 1750, 1046, 930, 13, 288, 202, 202, 430, 16051, 2956, 18, 17994, 7675, 14963, 12, 19937, 67, 4142, 67, 548, 3719, 1082, 202, 2463, 629, 31, 202, 202, 780, 1041, 273, 930, 18, 588, 1499, 12, 19937, 67, 8468, 67, 734, 1769, 202, 202, 780, 2658, 273, 930, 18, 588, 1499, 12, 19937, 67, 5237, 1985, 1769, 202, 202, 430, 261, 1655, 422, 446, 13, 288, 1082, 202, 1330, 4841, 1499, 12, 2956, 16, 315, 4841, 1041, 1018, 3099, 2710, 7490, 1199, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 3773, 1909, 273, 930, 18, 588, 3456, 2 ]
child.addContextNode(contextId, parent);
child.deepCopyContext(parent, contextId);
public static NodeSet selectParentChild(NodeSet dl, NodeSet al, int mode, int contextId) { ExtArrayNodeSet result = new ExtArrayNodeSet(); DocumentImpl lastDoc = null; switch (mode) { case NodeSet.DESCENDANT: for (Iterator i = dl.iterator(); i.hasNext();) { int sizeHint = Constants.NO_SIZE_HINT; NodeProxy child = (NodeProxy) i.next(); if (lastDoc == null || child.getDocument() != lastDoc) { lastDoc = child.getDocument(); sizeHint = dl.getSizeHint(lastDoc); } NodeProxy parent = al.parentWithChild(child, true, false, NodeProxy.UNKNOWN_NODE_LEVEL); if (parent != null) { if (Expression.NO_CONTEXT_ID != contextId) child.addContextNode(contextId, parent); else child.copyContext(parent); result.add(child, sizeHint); } } break; case NodeSet.ANCESTOR: for (Iterator i = dl.iterator(); i.hasNext();) { int sizeHint = Constants.NO_SIZE_HINT; NodeProxy child = (NodeProxy) i.next(); if (lastDoc == null || child.getDocument() != lastDoc) { lastDoc = child.getDocument(); sizeHint = al.getSizeHint(lastDoc); } NodeProxy parent = al.parentWithChild(child, true, false, NodeProxy.UNKNOWN_NODE_LEVEL); if (parent != null) { if (Expression.NO_CONTEXT_ID != contextId) parent.addContextNode(contextId, child); else parent.copyContext(child); result.add(parent, sizeHint); } } break; default: throw new IllegalArgumentException("Bad 'mode' argument"); } result.sort(); return result; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/adcfe55e5b2e7d6db3723a9bc1f4c76943d0833c/NodeSetHelper.java/clean/src/org/exist/dom/NodeSetHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2029, 694, 2027, 3054, 1763, 12, 907, 694, 8910, 16, 2029, 694, 524, 16, 509, 1965, 16, 5411, 509, 819, 548, 13, 288, 3639, 6419, 1076, 907, 694, 563, 273, 394, 6419, 1076, 907, 694, 5621, 3639, 4319, 2828, 1142, 1759, 273, 446, 31, 3639, 1620, 261, 3188, 13, 288, 3639, 648, 2029, 694, 18, 10964, 4415, 6856, 30, 5411, 364, 261, 3198, 277, 273, 8910, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 7734, 509, 963, 7002, 273, 5245, 18, 3417, 67, 4574, 67, 44, 3217, 31, 7734, 2029, 3886, 1151, 273, 261, 907, 3886, 13, 277, 18, 4285, 5621, 7734, 309, 261, 2722, 1759, 422, 446, 747, 1151, 18, 588, 2519, 1435, 480, 1142, 1759, 13, 288, 10792, 1142, 1759, 273, 1151, 18, 588, 2519, 5621, 10792, 963, 7002, 273, 8910, 18, 588, 1225, 7002, 12, 2722, 1759, 1769, 7734, 289, 7734, 2029, 3886, 982, 273, 524, 18, 2938, 1190, 1763, 12, 3624, 16, 638, 16, 629, 16, 13491, 2029, 3886, 18, 14737, 67, 8744, 67, 10398, 1769, 7734, 309, 261, 2938, 480, 446, 13, 288, 10792, 309, 261, 2300, 18, 3417, 67, 13181, 67, 734, 480, 819, 548, 13, 13491, 1151, 18, 323, 5585, 1042, 12, 2938, 16, 819, 548, 1769, 10792, 469, 13491, 1151, 18, 3530, 1042, 12, 2938, 1769, 10792, 563, 18, 1289, 12, 3624, 16, 963, 7002, 1769, 7734, 289, 5411, 289, 5411, 898, 31, 3639, 648, 2029, 694, 18, 4722, 882, 916, 30, 5411, 364, 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, 2029, 694, 2027, 3054, 1763, 12, 907, 694, 8910, 16, 2029, 694, 524, 16, 509, 1965, 16, 5411, 509, 819, 548, 13, 288, 3639, 6419, 1076, 907, 694, 563, 273, 394, 6419, 1076, 907, 694, 5621, 3639, 4319, 2828, 1142, 1759, 273, 446, 31, 3639, 1620, 261, 3188, 13, 288, 3639, 648, 2029, 694, 18, 10964, 4415, 6856, 30, 5411, 364, 261, 3198, 277, 273, 8910, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 7734, 509, 963, 7002, 273, 5245, 18, 3417, 67, 4574, 67, 44, 3217, 31, 7734, 2029, 3886, 1151, 273, 261, 907, 3886, 13, 277, 18, 4285, 5621, 7734, 309, 261, 2722, 1759, 422, 446, 747, 1151, 18, 588, 2519, 1435, 2 ]
System.err.println("showing dyndns tab: " + enable);
log().verbose("showing dyndns tab: " + enable);
void showDynDNSTab(boolean enable) {// boolean wasShown = dynDnsSettingsTab != null; System.err.println("showing dyndns tab: " + enable);// if (wasShown == enable) {// return;// } //System.err.println("showing dyndns tab: " + enable); if (dynDnsSettingsTab == null) { // Initalize dyndns tab lazy dynDnsSettingsTab = new DynDnsSettingsTab(getController(), mydnsndsModel); } showTab(enable, dynDnsSettingsTab, DYNDNS_TAB_INDEX); }
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/d52549631753094e49d9718b6ece9f56eaac37f2/PreferencesDialog.java/clean/src/main/de/dal33t/powerfolder/ui/preferences/PreferencesDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2405, 10419, 8609, 882, 378, 12, 6494, 4237, 13, 288, 759, 3639, 1250, 1703, 27042, 273, 19417, 18600, 2628, 5661, 480, 446, 31, 3639, 2332, 18, 370, 18, 8222, 2932, 4500, 310, 19417, 14926, 3246, 30, 315, 397, 4237, 1769, 759, 3639, 309, 261, 17416, 27042, 422, 4237, 13, 288, 759, 5411, 327, 31, 759, 3639, 289, 3639, 368, 1330, 7675, 11369, 2932, 4500, 310, 19417, 14926, 3246, 30, 315, 397, 4237, 1769, 3639, 309, 261, 28595, 18600, 2628, 5661, 422, 446, 13, 288, 5411, 368, 4378, 287, 554, 19417, 14926, 3246, 7962, 5411, 19417, 18600, 2628, 5661, 273, 394, 463, 878, 18600, 2628, 5661, 12, 588, 2933, 9334, 7734, 3399, 14926, 82, 2377, 1488, 1769, 3639, 289, 3639, 2405, 5661, 12, 7589, 16, 19417, 18600, 2628, 5661, 16, 463, 61, 2908, 3156, 67, 28899, 67, 9199, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2405, 10419, 8609, 882, 378, 12, 6494, 4237, 13, 288, 759, 3639, 1250, 1703, 27042, 273, 19417, 18600, 2628, 5661, 480, 446, 31, 3639, 2332, 18, 370, 18, 8222, 2932, 4500, 310, 19417, 14926, 3246, 30, 315, 397, 4237, 1769, 759, 3639, 309, 261, 17416, 27042, 422, 4237, 13, 288, 759, 5411, 327, 31, 759, 3639, 289, 3639, 368, 1330, 7675, 11369, 2932, 4500, 310, 19417, 14926, 3246, 30, 315, 397, 4237, 1769, 3639, 309, 261, 28595, 18600, 2628, 5661, 422, 446, 13, 288, 5411, 368, 4378, 287, 554, 19417, 14926, 3246, 7962, 5411, 19417, 18600, 2628, 5661, 273, 394, 463, 878, 18600, 2628, 5661, 12, 588, 2933, 9334, 7734, 3399, 14926, 82, 2377, 1488, 1769, 3639, 2 ]
assertEquals(true, interval37.overlaps((ReadableInterval) null));
assertEquals(false, interval37.overlaps((ReadableInterval) null));
public void testOverlaps_RInterval_null() { DateTimeUtils.setCurrentMillisFixed(2); assertEquals(false, interval37.overlaps((ReadableInterval) null)); // gap before DateTimeUtils.setCurrentMillisFixed(3); assertEquals(true, interval37.overlaps((ReadableInterval) null)); DateTimeUtils.setCurrentMillisFixed(4); assertEquals(true, interval37.overlaps((ReadableInterval) null)); DateTimeUtils.setCurrentMillisFixed(6); assertEquals(true, interval37.overlaps((ReadableInterval) null)); DateTimeUtils.setCurrentMillisFixed(7); assertEquals(false, interval37.overlaps((ReadableInterval) null)); // abuts after DateTimeUtils.setCurrentMillisFixed(8); assertEquals(false, interval37.overlaps((ReadableInterval) null)); // gap after DateTimeUtils.setCurrentMillisFixed(3); assertEquals(true, interval33.overlaps((ReadableInterval) null)); }
52681 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52681/a01f36f8431f42d8d1dad2d67e256e37f73027eb/TestInterval_Basics.java/buggy/JodaTime/src/test/org/joda/time/TestInterval_Basics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 17411, 87, 67, 54, 4006, 67, 2011, 1435, 288, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 22, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 225, 368, 9300, 1865, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 23, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 24, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 26, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 27, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 225, 368, 1223, 12940, 1839, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 28, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 225, 368, 9300, 1839, 7734, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 23, 1769, 3639, 1815, 8867, 12, 3767, 16, 225, 3673, 3707, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 17411, 87, 67, 54, 4006, 67, 2011, 1435, 288, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 22, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 225, 368, 9300, 1865, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 23, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 24, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 6418, 18, 17946, 87, 12443, 14151, 4006, 13, 446, 10019, 3639, 3716, 1989, 18, 542, 3935, 4814, 7505, 12, 26, 1769, 3639, 1815, 8867, 12, 5743, 16, 3673, 2 ]
private static byte refShl(OPT_Instruction s) {
private static DefUseEffect refShl(OPT_Instruction s) {
private static byte refShl(OPT_Instruction s) { if (CF_ADDR) { OPT_Operand op2 = Binary.getVal2(s); if (op2.isIntConstant()) { int val2 = op2.asIntConstant().value; OPT_Operand op1 = Binary.getVal1(s); if (op1.isAddressConstant()) { // BOTH CONSTANTS: FOLD Word val1 = op1.asAddressConstant().value.toWord(); Move.mutate(s, REF_MOVE, Binary.getClearResult(s), AC(val1.lsh(val2).toAddress())); return MOVE_FOLDED; } else { // ONLY OP2 IS CONSTANT: ATTEMPT TO APPLY AXIOMS if (val2 == 0) { // x << 0 == x Move.mutate(s, REF_MOVE, Binary.getClearResult(s), Binary.getClearVal1(s)); return MOVE_REDUCED; } if (val2 >= BITS_IN_ADDRESS) { // x << 32 == 0 Move.mutate(s, REF_MOVE, Binary.getClearResult(s), IC(0)); return MOVE_FOLDED; } } } } return UNCHANGED; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4f52a59569c48e68010a63e605ee6691083a9e97/OPT_Simplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 10922, 3727, 12477, 1278, 1555, 80, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 14142, 13, 288, 1377, 16456, 67, 10265, 1061, 22, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 1377, 309, 261, 556, 22, 18, 291, 1702, 6902, 10756, 288, 3639, 509, 1244, 22, 273, 1061, 22, 18, 345, 1702, 6902, 7675, 1132, 31, 3639, 16456, 67, 10265, 1061, 21, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 3639, 309, 261, 556, 21, 18, 291, 1887, 6902, 10756, 288, 1850, 368, 29370, 24023, 55, 30, 478, 11846, 1850, 9926, 1244, 21, 273, 1061, 21, 18, 345, 1887, 6902, 7675, 1132, 18, 869, 3944, 5621, 1850, 9933, 18, 10735, 340, 12, 87, 16, 20557, 67, 16537, 16, 7896, 18, 588, 9094, 1253, 12, 87, 3631, 15604, 12048, 12, 1125, 21, 18, 80, 674, 12, 1125, 22, 2934, 869, 1887, 1435, 10019, 1850, 327, 16070, 3412, 67, 42, 1741, 7660, 31, 3639, 289, 469, 288, 1850, 368, 20747, 7247, 22, 4437, 24023, 30, 14464, 16988, 1856, 8493, 14410, 23893, 29539, 45, 1872, 55, 1850, 309, 261, 1125, 22, 422, 374, 13, 288, 5375, 368, 619, 2296, 374, 422, 619, 5411, 9933, 18, 10735, 340, 12, 87, 16, 20557, 67, 16537, 16, 7896, 18, 588, 9094, 1253, 12, 87, 3631, 7682, 7896, 18, 588, 9094, 3053, 21, 12, 87, 10019, 5411, 327, 16070, 3412, 67, 5879, 57, 23552, 31, 1850, 289, 1850, 309, 261, 1125, 22, 1545, 605, 10158, 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, 10922, 3727, 12477, 1278, 1555, 80, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 14142, 13, 288, 1377, 16456, 67, 10265, 1061, 22, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 1377, 309, 261, 556, 22, 18, 291, 1702, 6902, 10756, 288, 3639, 509, 1244, 22, 273, 1061, 22, 18, 345, 1702, 6902, 7675, 1132, 31, 3639, 16456, 67, 10265, 1061, 21, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 3639, 309, 261, 556, 21, 18, 291, 1887, 6902, 10756, 288, 1850, 368, 29370, 24023, 55, 30, 478, 11846, 1850, 9926, 1244, 21, 273, 1061, 21, 18, 345, 1887, 6902, 7675, 1132, 18, 869, 3944, 5621, 1850, 9933, 18, 10735, 2 ]
assertEquals(2, stmt.executeUpdate("DELETE FROM testtime"));
assertEquals(10, stmt.executeUpdate("DELETE FROM testtime"));
public void testSetTime() { try { PreparedStatement ps = con.prepareStatement(TestUtil.insertSQL("testtime", "?")); Statement stmt = con.createStatement(); ps.setTime(1, makeTime(1, 2, 3)); assertEquals(1, ps.executeUpdate()); ps.setTime(1, makeTime(23, 59, 59)); assertEquals(1, ps.executeUpdate()); // Fall through helper timeTest(); assertEquals(2, stmt.executeUpdate("DELETE FROM testtime")); stmt.close(); ps.close(); } catch (Exception ex) { fail(ex.getMessage()); } }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/66d00417c97a589c1d5a037916f2f518f9540aba/TimeTest.java/clean/src/interfaces/jdbc/org/postgresql/test/jdbc2/TimeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 694, 950, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 29325, 4250, 273, 356, 18, 9366, 3406, 12, 4709, 1304, 18, 6387, 3997, 2932, 3813, 957, 3113, 13574, 10019, 1082, 202, 3406, 3480, 273, 356, 18, 2640, 3406, 5621, 1082, 202, 1121, 18, 542, 950, 12, 21, 16, 1221, 950, 12, 21, 16, 576, 16, 890, 10019, 1082, 202, 11231, 8867, 12, 21, 16, 4250, 18, 8837, 1891, 10663, 1082, 202, 1121, 18, 542, 950, 12, 21, 16, 1221, 950, 12, 4366, 16, 14995, 16, 14995, 10019, 1082, 202, 11231, 8867, 12, 21, 16, 4250, 18, 8837, 1891, 10663, 1082, 202, 759, 23647, 3059, 4222, 1082, 202, 957, 4709, 5621, 1082, 202, 11231, 8867, 12, 22, 16, 3480, 18, 8837, 1891, 2932, 6460, 4571, 1842, 957, 7923, 1769, 1082, 202, 10589, 18, 4412, 5621, 1082, 202, 1121, 18, 4412, 5621, 202, 202, 97, 202, 202, 14683, 261, 503, 431, 13, 202, 202, 95, 1082, 202, 6870, 12, 338, 18, 24906, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 694, 950, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 29325, 4250, 273, 356, 18, 9366, 3406, 12, 4709, 1304, 18, 6387, 3997, 2932, 3813, 957, 3113, 13574, 10019, 1082, 202, 3406, 3480, 273, 356, 18, 2640, 3406, 5621, 1082, 202, 1121, 18, 542, 950, 12, 21, 16, 1221, 950, 12, 21, 16, 576, 16, 890, 10019, 1082, 202, 11231, 8867, 12, 21, 16, 4250, 18, 8837, 1891, 10663, 1082, 202, 1121, 18, 542, 950, 12, 21, 16, 1221, 950, 12, 4366, 16, 14995, 16, 14995, 10019, 1082, 202, 11231, 8867, 12, 21, 16, 4250, 18, 8837, 1891, 10663, 1082, 202, 759, 23647, 3059, 4222, 1082, 202, 957, 4709, 5621, 1082, 2 ]
v.addElement(tuple); } r.close();
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[ 0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[ 1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[ 2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[ 3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[ 4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[ 5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[ 6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[ 7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[ 8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[ 9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); StringBuffer sql = new StringBuffer(512); sql.append("select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid, " : "a.oid, ") + " c.relname, " + " a.attname, " + " a.atttypid, " + " a.attnum, " + " a.attnotnull, " + " a.attlen, " + " a.atttypmod, " + " d.adsrc, " + " t.typname, " + " e.description " + "from" + " (" + " (pg_class c inner join pg_attribute a on" + " (" + " a.attrelid=c.oid"); if ((tableNamePattern != null) && ! tableNamePattern.equals("%")) { sql.append(" and c.relname like \'" + tableNamePattern + "\'"); } if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern + "\'"); } sql.append( " and a.attnum > 0" + " )" + " ) inner join pg_type t on" + " (" + " t.oid = a.atttypid" + " )" + " )" + " left outer join pg_attrdef d on" + " (" + " c.oid = d.adrelid" + " and a.attnum = d.adnum" + " )" + " left outer join pg_description e on" + " (" + " e.objoid = a.attrelid"); if (connection.haveMinimumServerVersion("7.2")) { sql.append( " and e.objsubid = a.attnum" + " and e.classoid = (select oid from pg_class where relname = \'pg_class\')"); } sql.append( " ) " + "order by" + " c.relname, a.attnum"); java.sql.ResultSet r = connection.ExecSQL(sql.toString()); while (r.next()) { byte[][] tuple = new byte[18][0]; String nullFlag = r.getString(6); String typname = r.getString(10); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else { tuple[6] = r.getBytes(7); } tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal tuple[10] = Integer.toString(nullFlag.equals("f") ? java.sql.DatabaseMetaData.columnNullable : java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[11] = r.getBytes(11); // Description (if any) tuple[12] = r.getBytes(9); // Column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position tuple[17] = (nullFlag.equals("f") ? "YES" : "NO").getBytes(); // Is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/6b50f9af333a2795b82dd3331df55c7e703f1bea/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 565, 284, 63, 374, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 404, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 576, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 890, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 1059, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 565, 284, 63, 1381, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 1666, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 565, 284, 63, 2371, 65, 273, 394, 2286, 12, 4071, 16, 315, 11302, 67, 7096, 3113, 277, 58, 22483, 19105, 16, 3847, 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, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 974, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 202, 202, 759, 1021, 652, 14215, 364, 326, 394, 10842, 565, 284, 63, 374, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 404, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 576, 65, 273, 394, 2286, 12, 2 ]
nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilClass.defineMethod("to_a", getMethodToA()); nilClass.defineMethod("inspect", getMethodInspect());
nilClass.defineMethod("type", getMethod("m_type")); nilClass.defineMethod("to_i", getMethod("m_to_")); nilClass.defineMethod("to_s", getMethod("m_to_s")); nilClass.defineMethod("to_a", getMethod("m_to_a")); nilClass.defineMethod("inspect", getMethod("m_inspect"));
public static RubyClass createNilClass(Ruby ruby) { RubyClass nilClass = ruby.defineClass("NilClass", ruby.getObjectClass()); nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilClass.defineMethod("to_a", getMethodToA()); nilClass.defineMethod("inspect", getMethodInspect()); nilClass.defineMethod("&", getMethodAnd()); nilClass.defineMethod("|", getMethodOr()); nilClass.defineMethod("^", getMethodXor()); nilClass.defineMethod("nil?", DefaultCallbackMethods.getMethodTrue()); nilClass.getRubyClass().undefMethod("new"); ruby.defineGlobalConstant("NIL", ruby.getNil()); return nilClass; }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/60d09f0d06e157ff7d9bb828d89273706e4e2798/RbNilClass.java/clean/org/jruby/core/RbNilClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 12616, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 515, 797, 273, 22155, 18, 11255, 797, 2932, 12616, 797, 3113, 22155, 18, 588, 921, 797, 10663, 7734, 515, 797, 18, 11255, 1305, 2932, 723, 3113, 6272, 559, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 869, 67, 77, 3113, 6272, 774, 45, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 6272, 774, 55, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 869, 67, 69, 3113, 6272, 774, 37, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 12009, 3113, 6272, 12073, 10663, 7734, 515, 797, 18, 11255, 1305, 2932, 10, 3113, 6272, 1876, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 96, 3113, 6272, 1162, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 66, 3113, 6272, 60, 280, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 20154, 35, 3113, 2989, 2428, 4712, 18, 588, 1305, 5510, 10663, 7734, 515, 797, 18, 588, 54, 10340, 797, 7675, 318, 536, 1305, 2932, 2704, 8863, 7734, 22155, 18, 11255, 5160, 6902, 2932, 50, 2627, 3113, 22155, 18, 588, 12616, 10663, 7734, 327, 515, 797, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 12616, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 515, 797, 273, 22155, 18, 11255, 797, 2932, 12616, 797, 3113, 22155, 18, 588, 921, 797, 10663, 7734, 515, 797, 18, 11255, 1305, 2932, 723, 3113, 6272, 559, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 869, 67, 77, 3113, 6272, 774, 45, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 6272, 774, 55, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 869, 67, 69, 3113, 6272, 774, 37, 10663, 3639, 515, 797, 18, 11255, 1305, 2932, 12009, 3113, 6272, 12073, 10663, 7734, 515, 797, 18, 11255, 1305, 2932, 10, 3113, 6272, 1876, 10663, 3639, 515, 797, 18, 2 ]
if (! isVirtual()) {
if (isVirtual()) { schema.flushRolapStarCaches(); } else {
public void clearCache() { if (! isVirtual()) { star.clearCache(); } }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/a38bbb17b52820dfafb4cbe08e001cbb8cb7d04b/RolapCube.java/buggy/src/main/mondrian/rolap/RolapCube.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19346, 1435, 288, 3639, 309, 261, 291, 6466, 10756, 288, 282, 1963, 18, 11330, 4984, 438, 18379, 18755, 5621, 289, 469, 288, 5411, 10443, 18, 8507, 1649, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19346, 1435, 288, 3639, 309, 261, 291, 6466, 10756, 288, 282, 1963, 18, 11330, 4984, 438, 18379, 18755, 5621, 289, 469, 288, 5411, 10443, 18, 8507, 1649, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
}
private void _removeSequence(String id) throws BioException, ChangeVetoException { Sequence seq = (Sequence) sequencesByName.get(id); if (seq != null) { seq = null; // Don't want to be holding the reference ourselves! try { Thread.sleep(100L); System.gc(); } catch (Exception ex) { ex.printStackTrace(); } seq = (Sequence) sequencesByName.get(id); if (seq != null) { throw new BioException("There are still references to sequence with ID " + id + " from this database."); } } Connection conn = null; try { conn = dataSource.getConnection(); conn.setAutoCommit(false); PreparedStatement get_sequence = conn.prepareStatement("select bioentry.bioentry_id " + "from bioentry " + "where bioentry.accession = ?" ); get_sequence.setString(1, id); ResultSet rs = get_sequence.executeQuery(); boolean exists; if ((exists = rs.next())) { int bioentry_id = rs.getInt(1); PreparedStatement delete_reference = conn.prepareStatement("delete from bioentry_reference where bioentry_id = ?"); delete_reference.setInt(1, bioentry_id); delete_reference.executeUpdate(); delete_reference.close(); boolean commentSupported = getDBHelper().containsTable(dataSource, "comment"); String commentTableName = getCommentTableName(); if (commentTableName != null) { PreparedStatement delete_comment = conn.prepareStatement("delete from " + commentTableName + " where bioentry_id = ?"); delete_comment.setInt(1, bioentry_id); delete_comment.executeUpdate(); delete_comment.close(); } PreparedStatement delete_qv = conn.prepareStatement("delete from bioentry_qualifier_value where bioentry_id = ?"); delete_qv.setInt(1, bioentry_id); delete_qv.executeUpdate(); delete_qv.close(); DBHelper.DeleteStyle dstyle = getDBHelper().getDeleteStyle(); ArrayList generic_ids = null; // default delete style will cache seqfeature_id's that need to be deleted PreparedStatement delete_locs; if (dstyle == DBHelper.DELETE_MYSQL4) { delete_locs = conn.prepareStatement("delete from location" + " using location, seqfeature" + " where location.seqfeature_id = seqfeature.seqfeature_id and" + " seqfeature.bioentry_id = ?"); delete_locs.setInt(1, bioentry_id); delete_locs.executeUpdate(); delete_locs.close(); } else if (dstyle == DBHelper.DELETE_POSTGRESQL) { delete_locs = conn.prepareStatement("delete from location" + " where location.seqfeature_id = seqfeature.seqfeature_id and" + " seqfeature.bioentry_id = ?"); delete_locs.setInt(1, bioentry_id); delete_locs.executeUpdate(); delete_locs.close(); } else { delete_locs = conn.prepareStatement("delete from location where seqfeature_id = ?"); PreparedStatement get_seqfeats = conn.prepareStatement("select seqfeature_id" + " from seqfeature" + " where bioentry_id = ?" ); get_seqfeats.setInt(1, bioentry_id); ResultSet sfids = get_seqfeats.executeQuery(); generic_ids = new ArrayList(); while (sfids.next()) { int sfid = sfids.getInt(1); generic_ids.add(new Integer(sfid)); delete_locs.setInt(1, sfid); delete_locs.executeUpdate(); } sfids.close(); get_seqfeats.close(); } delete_locs.close(); PreparedStatement delete_fqv; if (dstyle == DBHelper.DELETE_MYSQL4) { delete_fqv = conn.prepareStatement("delete from seqfeature_qualifier_value" + " using seqfeature_qualifier_value, seqfeature" + " where seqfeature_qualifier_value.seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_fqv.setInt(1, bioentry_id); delete_fqv.executeUpdate(); } else if (dstyle == DBHelper.DELETE_POSTGRESQL) { delete_fqv = conn.prepareStatement("delete from seqfeature_qualifier_value" + " where seqfeature_qualifier_value.seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_fqv.setInt(1, bioentry_id); delete_fqv.executeUpdate(); } else { delete_fqv = conn.prepareStatement("delete from seqfeature_qualifier_value" + " where seqfeature_qualifier_value.seqfeature_id = ?"); for (int i = 0; i < generic_ids.size(); i++) { int sfid = ((Integer) generic_ids.get(i)).intValue(); delete_fqv.setInt(1, sfid); delete_fqv.executeUpdate(); } } delete_fqv.close(); PreparedStatement delete_rel; if (dstyle == DBHelper.DELETE_MYSQL4) { delete_rel = conn.prepareStatement("delete from seqfeature_relationship" + " using seqfeature_relationship, seqfeature" + " where object_seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_rel.setInt(1, bioentry_id); delete_rel.executeUpdate(); } else if (dstyle == DBHelper.DELETE_POSTGRESQL) { delete_rel = conn.prepareStatement("delete from seqfeature_relationship" + " where object_seqfeature_id = seqfeature.seqfeature_id" + " and seqfeature.bioentry_id = ?"); delete_rel.setInt(1, bioentry_id); delete_rel.executeUpdate(); } else { delete_rel = conn.prepareStatement("delete from seqfeature_relationship" + " where object_seqfeature_id = ?"); for (int i = 0; i < generic_ids.size(); i++) { int sfid = ((Integer) generic_ids.get(i)).intValue(); delete_rel.setInt(1, sfid); delete_rel.executeUpdate(); } } delete_rel.close(); PreparedStatement delete_features = conn.prepareStatement("delete from seqfeature " + " where bioentry_id = ?"); delete_features.setInt(1, bioentry_id); delete_features.executeUpdate(); delete_features.close(); PreparedStatement delete_biosequence = conn.prepareStatement("delete from biosequence where bioentry_id = ?"); delete_biosequence.setInt(1, bioentry_id); delete_biosequence.executeUpdate(); delete_biosequence.close(); PreparedStatement delete_entry = conn.prepareStatement("delete from bioentry where bioentry_id = ?"); delete_entry.setInt(1, bioentry_id); delete_entry.executeUpdate(); delete_entry.close(); } rs.close(); get_sequence.close(); conn.commit(); conn.close(); if (!exists) { throw new IllegalIDException("Sequence " + id + " didn't exist"); } } catch (SQLException ex) { boolean rolledback = false; if (conn != null) { try { conn.rollback(); rolledback = true; } catch (SQLException ex2) {} } throw new BioException("Error removing from BioSQL tables" + (rolledback ? " (rolled back successfully)" : ""), ex); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/8a46d5de3fe9090d980d1d2a6af0d1a91dc8dba3/BioSQLSequenceDB.java/clean/src/org/biojava/bio/seq/db/biosql/BioSQLSequenceDB.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 4479, 4021, 12, 780, 612, 13, 3639, 1216, 21209, 503, 16, 7576, 58, 11453, 503, 565, 288, 202, 4021, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 430, 261, 5436, 480, 446, 13, 288, 202, 565, 3833, 273, 446, 31, 225, 368, 7615, 1404, 2545, 358, 506, 19918, 326, 2114, 19801, 5, 202, 565, 775, 288, 202, 202, 3830, 18, 19607, 12, 6625, 48, 1769, 202, 202, 3163, 18, 13241, 5621, 202, 565, 289, 1044, 261, 503, 431, 13, 288, 202, 202, 338, 18, 1188, 6332, 5621, 202, 565, 289, 202, 565, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 565, 309, 261, 5436, 480, 446, 13, 288, 202, 202, 12849, 394, 21209, 503, 2932, 9828, 854, 4859, 5351, 358, 3102, 598, 1599, 315, 397, 612, 397, 315, 628, 333, 2063, 1199, 1769, 202, 565, 289, 202, 97, 202, 1952, 1487, 273, 446, 31, 202, 698, 288, 202, 565, 1487, 273, 10233, 18, 588, 1952, 5621, 202, 565, 1487, 18, 542, 4965, 5580, 12, 5743, 1769, 202, 565, 16913, 336, 67, 6178, 273, 1487, 18, 9366, 3406, 2932, 4025, 25091, 4099, 18, 21010, 4099, 67, 350, 315, 397, 6862, 6862, 282, 315, 2080, 25091, 4099, 315, 397, 6862, 6862, 282, 315, 6051, 25091, 4099, 18, 3860, 285, 273, 17921, 4766, 282, 11272, 202, 565, 336, 67, 6178, 18, 542, 780, 12, 21, 16, 612, 1769, 202, 565, 10842, 3597, 273, 336, 67, 6178, 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, 389, 4479, 4021, 12, 780, 612, 13, 3639, 1216, 21209, 503, 16, 7576, 58, 11453, 503, 565, 288, 202, 4021, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 430, 261, 5436, 480, 446, 13, 288, 202, 565, 3833, 273, 446, 31, 225, 368, 7615, 1404, 2545, 358, 506, 19918, 326, 2114, 19801, 5, 202, 565, 775, 288, 202, 202, 3830, 18, 19607, 12, 6625, 48, 1769, 202, 202, 3163, 18, 13241, 5621, 202, 565, 289, 1044, 261, 503, 431, 13, 288, 202, 202, 338, 18, 1188, 6332, 5621, 202, 565, 289, 202, 565, 3833, 273, 261, 4021, 13, 8463, 5911, 18, 588, 12, 350, 1769, 202, 565, 309, 261, 5436, 480, 2 ]
anActionProvider.setActionContext(new ActionContext(StructuredSelection.EMPTY)); anActionProvider.fillActionBars(viewPart.getViewSite().getActionBars());
anActionProvider.setActionContext(new ActionContext( StructuredSelection.EMPTY)); anActionProvider.fillActionBars(viewPart.getViewSite() .getActionBars());
public void initialize(String anExtensionId, ICommonActionProvider anActionProvider) { if (anActionProvider != null && anActionProvider != SkeletonActionProvider.INSTANCE) { anActionProvider.init(anExtensionId, viewPart, contentService, structuredViewer); anActionProvider.restoreState(memento); anActionProvider.setActionContext(new ActionContext(StructuredSelection.EMPTY)); anActionProvider.fillActionBars(viewPart.getViewSite().getActionBars()); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/29acf4eb645f3ecd317c8b9efae2fa767f4c51bb/NavigatorActionService.java/clean/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/internal/NavigatorActionService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4046, 12, 780, 392, 3625, 548, 16, 467, 6517, 1803, 2249, 392, 1803, 2249, 13, 288, 202, 202, 430, 261, 304, 1803, 2249, 480, 446, 597, 392, 1803, 2249, 480, 10362, 12143, 1803, 2249, 18, 13341, 13, 288, 1082, 202, 304, 1803, 2249, 18, 2738, 12, 304, 3625, 548, 16, 1476, 1988, 16, 913, 1179, 16, 19788, 18415, 1769, 1082, 202, 304, 1803, 2249, 18, 13991, 1119, 12, 81, 820, 83, 1769, 1082, 202, 304, 1803, 2249, 18, 542, 1803, 1042, 12, 2704, 4382, 1042, 12, 30733, 6233, 18, 13625, 10019, 1082, 202, 304, 1803, 2249, 18, 5935, 1803, 5190, 87, 12, 1945, 1988, 18, 588, 1767, 4956, 7675, 588, 1803, 5190, 87, 10663, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4046, 12, 780, 392, 3625, 548, 16, 467, 6517, 1803, 2249, 392, 1803, 2249, 13, 288, 202, 202, 430, 261, 304, 1803, 2249, 480, 446, 597, 392, 1803, 2249, 480, 10362, 12143, 1803, 2249, 18, 13341, 13, 288, 1082, 202, 304, 1803, 2249, 18, 2738, 12, 304, 3625, 548, 16, 1476, 1988, 16, 913, 1179, 16, 19788, 18415, 1769, 1082, 202, 304, 1803, 2249, 18, 13991, 1119, 12, 81, 820, 83, 1769, 1082, 202, 304, 1803, 2249, 18, 542, 1803, 1042, 12, 2704, 4382, 1042, 12, 30733, 6233, 18, 13625, 10019, 1082, 202, 304, 1803, 2249, 18, 5935, 1803, 5190, 87, 12, 1945, 1988, 18, 588, 1767, 4956, 7675, 588, 1803, 5190, 87, 10663, 202, 2 ]
_cnt267++;
_cnt277++;
public final void attributeValue() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST attributeValue_AST = null; { int _cnt267=0; _loop267: do { switch ( LA(1)) { case ATTRIBUTE_CONTENT: { org.exist.xquery.parser.XQueryAST tmp371_AST = null; tmp371_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp371_AST); match(ATTRIBUTE_CONTENT); break; } case LCURLY: { attributeEnclosedExpr(); astFactory.addASTChild(currentAST, returnAST); break; } default: { if ( _cnt267>=1 ) { break _loop267; } else {throw new NoViableAltException(LT(1), getFilename());} } } _cnt267++; } while (true); } attributeValue_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = attributeValue_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/06537933dfbae14c444eb15b44247b312b5f47d7/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 14615, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 14615, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 5558, 27, 33, 20, 31, 202, 202, 67, 6498, 5558, 27, 30, 202, 202, 2896, 288, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 15941, 67, 9689, 30, 1082, 202, 95, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 6418, 21, 67, 9053, 273, 446, 31, 9506, 202, 5645, 6418, 21, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 6418, 21, 67, 9053, 1769, 9506, 202, 1916, 12, 11616, 67, 9689, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 511, 26314, 30, 1082, 202, 95, 9506, 202, 4589, 4280, 13783, 4742, 5621, 9506, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 1886, 30, 1082, 202, 95, 9506, 202, 430, 261, 389, 13085, 5558, 27, 34, 33, 21, 262, 288, 898, 389, 6498, 5558, 27, 31, 289, 469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 14615, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 14615, 67, 9053, 273, 446, 31, 9506, 202, 95, 202, 202, 474, 389, 13085, 5558, 27, 33, 20, 31, 202, 202, 67, 6498, 5558, 27, 30, 202, 202, 2896, 288, 1082, 202, 9610, 261, 2928, 12, 21, 3719, 288, 1082, 202, 3593, 15941, 67, 9689, 30, 1082, 202, 95, 9506, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 6418, 21, 67, 9053, 273, 446, 31, 9506, 202, 2 ]
} else { attType = XMLAttributeDecl.TYPE_SIMPLE; localpart = "string"; dataTypeSymbol = fStringPool.addSymbol(localpart); } localpart = fStringPool.toString(dataTypeSymbol);
private int traverseAttributeDecl( Element attrDecl, ComplexTypeInfo typeInfo, boolean referredTo ) throws Exception { String attNameStr = attrDecl.getAttribute(SchemaSymbols.ATT_NAME); int attName = fStringPool.addSymbol(attNameStr);// attribute name String isQName = attrDecl.getAttribute(SchemaSymbols.ATT_FORM);//form attribute boolean isAttrTopLevel = isTopLevel(attrDecl); DatatypeValidator dv = null; // attribute type int attType = -1; boolean attIsList = false; int dataTypeSymbol = -1; String ref = attrDecl.getAttribute(SchemaSymbols.ATT_REF); String datatype = attrDecl.getAttribute(SchemaSymbols.ATT_TYPE); // various tests if 'ref' is present: if(!ref.equals("")) { if(isAttrTopLevel) // REVISIT: localize reportGenericSchemaError ( "An attribute with \"ref\" present must not have <schema> as its parent"); if(!attNameStr.equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute " + attNameStr + " cannot refer to another attribute, but it refers to " + ref); if(!datatype.equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute with reference " + ref + " cannot also contain a type"); if(!attrDecl.getAttribute(SchemaSymbols.ATT_FORM).equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute with reference " + ref + " cannot also contain a \"form\" property"); if(!attrDecl.getAttribute(SchemaSymbols.ATT_VALUE).equals("")) // REVISIT: localize reportGenericSchemaError ( "Attribute with reference " + ref + " cannot also contain a value"); } Element simpleTypeChild = findAttributeSimpleType(attrDecl); String localpart = null; String use = attrDecl.getAttribute(SchemaSymbols.ATT_USE); boolean prohibited = use.equals(SchemaSymbols.ATTVAL_PROHIBITED); boolean required = use.equals(SchemaSymbols.ATTVAL_REQUIRED); if (!ref.equals("")) { if(simpleTypeChild != null) // REVISIT: localize reportGenericSchemaError ( "an attribute with ref present cannot contain a simpleType"); String prefix = ""; localpart = ref; int colonptr = ref.indexOf(":"); if ( colonptr > 0) { prefix = ref.substring(0,colonptr); localpart = ref.substring(colonptr+1); } String uriStr = resolvePrefixToURI(prefix); if (!uriStr.equals(fTargetNSURIString)) { addAttributeDeclFromAnotherSchema(localpart, uriStr, typeInfo); return -1; } Element referredAttribute = getTopLevelComponentByName(SchemaSymbols.ELT_ATTRIBUTE,localpart); if (referredAttribute != null) { if (typeInfo != null) { // don't need to traverse ref'd attribute if we're global; just make sure it's there... traverseAttributeDecl(referredAttribute, typeInfo, true); // this nasty hack needed to ``override'' the "use" on the // global attribute with that on the ref'ing attribute. int referredAttName = fStringPool.addSymbol(referredAttribute.getAttribute(SchemaSymbols.ATT_NAME)); int uriIndex = StringPool.EMPTY_STRING; if ( fTargetNSURIString.length() > 0) { uriIndex = fTargetNSURI; } QName referredAttQName = new QName(-1,referredAttName,referredAttName,uriIndex); if (prohibited) { int tempIndex = fSchemaGrammar.getAttributeDeclIndex(typeInfo.templateElementIndex, referredAttQName); XMLAttributeDecl referredAttrDecl = new XMLAttributeDecl(); fSchemaGrammar.getAttributeDecl(tempIndex, referredAttrDecl); referredAttrDecl.defaultType = XMLAttributeDecl.DEFAULT_TYPE_PROHIBITED; fSchemaGrammar.setAttributeDecl(typeInfo.templateElementIndex, tempIndex, referredAttrDecl); } else if (required) { int tempIndex = fSchemaGrammar.getAttributeDeclIndex(typeInfo.templateElementIndex, referredAttQName); XMLAttributeDecl referredAttrDecl = new XMLAttributeDecl(); fSchemaGrammar.getAttributeDecl(tempIndex, referredAttrDecl); // now two cases: if it's othre than fixed, no problem, just overwrite. // but if it is *it* fixed, specs demand attr be treated as both fixed and required. if(referredAttrDecl.defaultType == XMLAttributeDecl.DEFAULT_TYPE_FIXED) referredAttrDecl.defaultType = XMLAttributeDecl.DEFAULT_TYPE_REQUIRED_AND_FIXED; else referredAttrDecl.defaultType = XMLAttributeDecl.DEFAULT_TYPE_REQUIRED; fSchemaGrammar.setAttributeDecl(typeInfo.templateElementIndex, tempIndex, referredAttrDecl); } } } else { if (fAttributeDeclRegistry.get(localpart) != null) { addAttributeDeclFromAnotherSchema(localpart, uriStr, typeInfo); } else // REVISIT: Localize reportGenericSchemaError ( "Couldn't find top level attribute " + ref); } return -1; } else if (attNameStr.equals("")) // REVISIT: localize reportGenericSchemaError ( "An attribute must have a ref or a name!"); if (datatype.equals("")) { if (simpleTypeChild != null) { attType = XMLAttributeDecl.TYPE_SIMPLE; dataTypeSymbol = traverseSimpleTypeDecl(simpleTypeChild); localpart = fStringPool.toString(dataTypeSymbol); } else { attType = XMLAttributeDecl.TYPE_SIMPLE; localpart = "string"; dataTypeSymbol = fStringPool.addSymbol(localpart); } localpart = fStringPool.toString(dataTypeSymbol); dv = fDatatypeRegistry.getDatatypeValidator(localpart); } else { if(simpleTypeChild != null && !referredTo) reportGenericSchemaError("Attribute declarations may not contain both a type and a simpleType declaration"); String prefix = ""; localpart = datatype; dataTypeSymbol = fStringPool.addSymbol(localpart); int colonptr = datatype.indexOf(":"); if ( colonptr > 0) { prefix = datatype.substring(0,colonptr); localpart = datatype.substring(colonptr+1); } String typeURI = resolvePrefixToURI(prefix); if ( typeURI.equals(SchemaSymbols.URI_SCHEMAFORSCHEMA) || typeURI.length()==0) { dv = getDatatypeValidator("", localpart); if (localpart.equals("ID")) { attType = XMLAttributeDecl.TYPE_ID; } else if (localpart.equals("IDREF")) { attType = XMLAttributeDecl.TYPE_IDREF; } else if (localpart.equals("IDREFS")) { attType = XMLAttributeDecl.TYPE_IDREF; attIsList = true; } else if (localpart.equals("ENTITY")) { attType = XMLAttributeDecl.TYPE_ENTITY; } else if (localpart.equals("ENTITIES")) { attType = XMLAttributeDecl.TYPE_ENTITY; attIsList = true; } else if (localpart.equals("NMTOKEN")) { attType = XMLAttributeDecl.TYPE_NMTOKEN; } else if (localpart.equals("NMTOKENS")) { attType = XMLAttributeDecl.TYPE_NMTOKEN; attIsList = true; } else if (localpart.equals(SchemaSymbols.ELT_NOTATION)) { attType = XMLAttributeDecl.TYPE_NOTATION; } else { attType = XMLAttributeDecl.TYPE_SIMPLE; if (dv == null && typeURI.length() == 0) { Element topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (topleveltype != null) { traverseSimpleTypeDecl( topleveltype ); dv = getDatatypeValidator(typeURI, localpart); }else if (!referredTo) { // REVISIT: Localize reportGenericSchemaError("simpleType not found : " + "("+typeURI+":"+localpart+")"); } } } } else { //isn't of the schema for schemas namespace... // check if the type is from the same Schema dv = getDatatypeValidator(typeURI, localpart); if (dv == null && typeURI.equals(fTargetNSURIString) ) { Element topleveltype = getTopLevelComponentByName(SchemaSymbols.ELT_SIMPLETYPE, localpart); if (topleveltype != null) { traverseSimpleTypeDecl( topleveltype ); dv = getDatatypeValidator(typeURI, localpart); }else if (!referredTo) { // REVISIT: Localize reportGenericSchemaError("simpleType not found : " + "("+typeURI+":"+ localpart+")"); } } attType = XMLAttributeDecl.TYPE_SIMPLE; } } // attribute default type int attDefaultType = -1; int attDefaultValue = -1; if (dv == null && !referredTo) { // REVISIT: Localize reportGenericSchemaError("could not resolve the type or get a null validator for datatype : " + fStringPool.toString(dataTypeSymbol)); } String fixed = attrDecl.getAttribute(SchemaSymbols.ATT_VALUE); if (isAttrTopLevel) { if (!fixed.equals("")) { if((required || prohibited || use.equals(SchemaSymbols.ATTVAL_OPTIONAL)) && !referredTo) // REVISIT: Localize reportGenericSchemaError("Globally-declared attributes containing values must have \"use\" set to \"FIXED\" or \"DEFAULT\", not " + use); else if (use.equals("") && !referredTo) // REVISIT: Localize reportGenericSchemaError("Globally-declared attributes containing values MUST have \"use\" present and set to \"FIXED\" or \"DEFAULT\""); else if (use.equals(SchemaSymbols.ATTVAL_FIXED)) { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_FIXED; attDefaultValue = fStringPool.addString(fixed); } else { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_DEFAULT; attDefaultValue = fStringPool.addString(fixed); } } else { // no value and we're at top level. if (!use.equals("") && !referredTo) // REVISIT: Localize reportGenericSchemaError("Globally-declared attributes containing no value may not have \"use\" present"); else attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_IMPLIED; } } else { // not at top-level... // case where "ref" present taken care of above. if (!fixed.equals("")) { if(required || prohibited || use.equals(SchemaSymbols.ATTVAL_OPTIONAL)) reportGenericSchemaError("Locally-declared attributes containing values must have \"use\" set to \"FIXED\" or \"DEFAULT\", not " + use); else if (use.equals("")) // REVISIT: Localize reportGenericSchemaError("Locally-declared attributes containing values MUST have \"use\" present and set to \"FIXED\" or \"DEFAULT\""); else if (use.equals(SchemaSymbols.ATTVAL_FIXED)) { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_FIXED; attDefaultValue = fStringPool.addString(fixed); } else { attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_DEFAULT; attDefaultValue = fStringPool.addString(fixed); } } else { // no value and we're not at top level. if(required) attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_REQUIRED; else if (prohibited) attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_PROHIBITED; // no other case is defined by the specs, so treat as implied... else attDefaultType = XMLAttributeDecl.DEFAULT_TYPE_IMPLIED; } } // check default value is valid for the datatype. if (attType == XMLAttributeDecl.TYPE_SIMPLE && attDefaultValue != -1) { try { if (dv != null) //REVISIT dv.validate(fStringPool.toString(attDefaultValue), null); else if (!referredTo) reportSchemaError(SchemaMessageProvider.NoValidatorFor, new Object [] { datatype }); } catch (InvalidDatatypeValueException idve) { if (!referredTo) reportSchemaError(SchemaMessageProvider.IncorrectDefaultType, new Object [] { attrDecl.getAttribute(SchemaSymbols.ATT_NAME), idve.getMessage() }); } catch (Exception e) { e.printStackTrace(); System.out.println("Internal error in attribute datatype validation"); } } /***/ // REVISIT: I don't think this code is right. The attribute // should take on the target namespace of the grammar // if present. -Ac int uriIndex = StringPool.EMPTY_STRING; // refer to 4.3.1 in "XML Schema Part 1: Structures" if ( fTargetNSURIString.length() > 0) { if ( isAttrTopLevel || (( !isQName.equals(SchemaSymbols.ATTVAL_UNQUALIFIED)) && ( isQName.equals(SchemaSymbols.ATTVAL_QUALIFIED)|| fAttributeDefaultQualified ))) uriIndex = fTargetNSURI; } /*** int uriIndex = fTargetNSURI; /***/ QName attQName = new QName(-1,attName,attName,uriIndex); if ( DEBUGGING ) System.out.println(" the dataType Validator for " + fStringPool.toString(attName) + " is " + dv); //put the top-levels in the attribute decl registry. if (isAttrTopLevel) { fTempAttributeDecl.datatypeValidator = dv; fTempAttributeDecl.name.setValues(attQName); fTempAttributeDecl.type = attType; fTempAttributeDecl.defaultType = attDefaultType; fTempAttributeDecl.list = attIsList; if (attDefaultValue != -1 ) { fTempAttributeDecl.defaultValue = new String(fStringPool.toString(attDefaultValue)); } fAttributeDeclRegistry.put(attNameStr, new XMLAttributeDecl(fTempAttributeDecl)); } // add attribute to attr decl pool in fSchemaGrammar, if (typeInfo != null) { fSchemaGrammar.addAttDef( typeInfo.templateElementIndex, attQName, attType, dataTypeSymbol, attDefaultType, fStringPool.toString( attDefaultValue), dv, attIsList); } return -1; } // end of method traverseAttribute
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/8938465a33aacae78be40c1c146017ea7bd6525f/TraverseSchema.java/clean/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 10080, 1499, 3456, 12, 3010, 1604, 3456, 16, 16060, 17305, 23112, 16, 1250, 29230, 774, 262, 1216, 1185, 288, 3639, 514, 2403, 461, 1585, 565, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 509, 2403, 461, 1850, 273, 284, 780, 2864, 18, 1289, 5335, 12, 4558, 461, 1585, 1769, 759, 1566, 508, 3639, 514, 353, 13688, 4202, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 4983, 1769, 759, 687, 1566, 202, 202, 6494, 353, 3843, 27046, 273, 353, 27046, 12, 1747, 3456, 1769, 1082, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 368, 1566, 618, 3639, 509, 2403, 559, 1850, 273, 300, 21, 31, 3639, 1250, 2403, 2520, 682, 565, 273, 629, 31, 3639, 509, 8891, 5335, 282, 273, 300, 21, 31, 3639, 514, 1278, 4202, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 10771, 1769, 540, 514, 11172, 225, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 2399, 1769, 202, 202, 759, 11191, 7434, 309, 296, 1734, 11, 353, 3430, 30, 202, 202, 430, 12, 5, 1734, 18, 14963, 2932, 6, 3719, 288, 1082, 202, 430, 12, 291, 3843, 27046, 13, 9506, 202, 759, 2438, 26780, 1285, 30, 225, 26407, 377, 202, 377, 202, 565, 2605, 7014, 3078, 668, 261, 315, 979, 1566, 598, 1239, 1734, 2412, 3430, 1297, 486, 1240, 411, 4821, 34, 487, 2097, 982, 8863, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 10080, 1499, 3456, 12, 3010, 1604, 3456, 16, 16060, 17305, 23112, 16, 1250, 29230, 774, 262, 1216, 1185, 288, 3639, 514, 2403, 461, 1585, 565, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 509, 2403, 461, 1850, 273, 284, 780, 2864, 18, 1289, 5335, 12, 4558, 461, 1585, 1769, 759, 1566, 508, 3639, 514, 353, 13688, 4202, 273, 1604, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 4983, 1769, 759, 687, 1566, 202, 202, 6494, 353, 3843, 27046, 273, 353, 27046, 12, 1747, 3456, 1769, 1082, 3639, 21168, 5126, 12494, 273, 446, 31, 3639, 368, 1566, 618, 3639, 509, 2403, 559, 1850, 273, 300, 21, 2 ]
.addContainerGap(352, Short.MAX_VALUE)
.addContainerGap(325, Short.MAX_VALUE)
private void initComponents() { desktopPane = new javax.swing.JDesktopPane(); jToolBar1 = new javax.swing.JToolBar(); jButton6 = new javax.swing.JButton(); jButton5 = new javax.swing.JButton(); jButton2 = new javax.swing.JButton(); jButton4 = new javax.swing.JButton(); jButton3 = new javax.swing.JButton(); jPanel1 = new javax.swing.JPanel(); jComboBox1 = new javax.swing.JComboBox(); jPanel2 = new javax.swing.JPanel(); jlUserStatus = new javax.swing.JLabel(); menuBar = new javax.swing.JMenuBar(); docMenu = new javax.swing.JMenu(); docMenu_prod = new javax.swing.JMenuItem(); docMenu_fak = new javax.swing.JMenu(); fakMenu_dan = new javax.swing.JMenuItem(); fakMenu_opr = new javax.swing.JMenuItem(); docMenu_razp = new javax.swing.JMenu(); razpMenu_pol = new javax.swing.JMenuItem(); razpMenu_prehv = new javax.swing.JMenuItem(); razMenu_vryst = new javax.swing.JMenuItem(); docMenu_nar = new javax.swing.JMenuItem(); docMenu_prot = new javax.swing.JMenu(); protMenu_rev = new javax.swing.JMenuItem(); protMenu_brak = new javax.swing.JMenuItem(); protMenu_lipsa = new javax.swing.JMenuItem(); protMenu_preo = new javax.swing.JMenuItem(); docMenu_porach = new javax.swing.JMenu(); porachMenu_in = new javax.swing.JMenuItem(); porachMenu_out = new javax.swing.JMenuItem(); docMenu_offer = new javax.swing.JMenuItem(); kasiIbankiMenu = new javax.swing.JMenu(); kasaMenu_order = new javax.swing.JMenu(); orderMenu_prih = new javax.swing.JMenuItem(); orderMenu_razh = new javax.swing.JMenuItem(); kasaMOLMenu = new javax.swing.JMenu(); kasaAvansMenu = new javax.swing.JMenuItem(); kasaAvansOt4etMenu = new javax.swing.JMenuItem(); kasaMenu_dvi = new javax.swing.JMenuItem(); kasaMenu_nal = new javax.swing.JMenuItem(); kasaMenu_opis = new javax.swing.JMenuItem(); jSeparator11 = new javax.swing.JSeparator(); bankaMenu_orderi = new javax.swing.JMenuItem(); nomMenu = new javax.swing.JMenu(); nomMenu_stock = new javax.swing.JMenu(); stock_Menu_group_stock = new javax.swing.JMenuItem(); stock_Menu_stock = new javax.swing.JMenuItem(); nomMenu_Aktiv = new javax.swing.JMenu(); aktiviMenu_grupi = new javax.swing.JMenuItem(); aktiviMenu_Aktivi = new javax.swing.JMenuItem(); nomMenu_Kontragenti = new javax.swing.JMenu(); kontragentiMenu_groupe = new javax.swing.JMenuItem(); kontragentiMenu_Kontr = new javax.swing.JMenuItem(); kontragentiMenu_bank = new javax.swing.JMenuItem(); kontragentiMenu_obekti = new javax.swing.JMenuItem(); kontragentiMenu_typeobject = new javax.swing.JMenuItem(); nomMenu_Litsa = new javax.swing.JMenu(); litsaMenu_groupe_litsa = new javax.swing.JMenuItem(); litsaMenu_in = new javax.swing.JMenuItem(); nomMenu_object = new javax.swing.JMenu(); objectMenu_groupe_object = new javax.swing.JMenuItem(); objectMenu_skl = new javax.swing.JMenuItem(); nomMenu_kasi = new javax.swing.JMenu(); kasiMenu_grupi = new javax.swing.JMenuItem(); kasiMenu_kasi = new javax.swing.JMenuItem(); moneyMenu = new javax.swing.JMenu(); moneyMenu_groupe = new javax.swing.JMenuItem(); moneyMenu_in = new javax.swing.JMenuItem(); moneyMenu_out = new javax.swing.JMenuItem(); moneyMenu_valutes = new javax.swing.JMenuItem(); monyMenu_rates = new javax.swing.JMenuItem(); jSeparator3 = new javax.swing.JSeparator(); nomMenu_Geo = new javax.swing.JMenu(); nomMenu_nasm = new javax.swing.JMenuItem(); nomMenu_obl = new javax.swing.JMenuItem(); nomMenu_con = new javax.swing.JMenuItem(); jSeparator4 = new javax.swing.JSeparator(); nomALevel = new javax.swing.JMenuItem(); nomDisband = new javax.swing.JMenuItem(); sprMenu = new javax.swing.JMenu(); spravkiMenu_nal = new javax.swing.JMenuItem(); jMenuItem15 = new javax.swing.JMenuItem(); jMenuItem14 = new javax.swing.JMenuItem(); jMenuItem10 = new javax.swing.JMenuItem(); jMenuItem35 = new javax.swing.JMenuItem(); jMenuItem36 = new javax.swing.JMenuItem(); jMenuItem34 = new javax.swing.JMenuItem(); balansMenu = new javax.swing.JMenu(); balansMenu_stock = new javax.swing.JMenuItem(); balansMenu_kol = new javax.swing.JMenuItem(); jMenu3 = new javax.swing.JMenu(); spravkiMenu_doc = new javax.swing.JMenuItem(); fakturiMenu = new javax.swing.JMenuItem(); jSeparator2 = new javax.swing.JSeparator(); jmPayments = new javax.swing.JMenu(); jmiReportContragentPayments = new javax.swing.JMenuItem(); jmiReportContragentGroupsPayments = new javax.swing.JMenuItem(); jmDebts = new javax.swing.JMenu(); jmiReportContragentDebts = new javax.swing.JMenuItem(); jmiReportContragentGroupsDebts = new javax.swing.JMenuItem(); jSeparator5 = new javax.swing.JSeparator(); jMenuItem13 = new javax.swing.JMenuItem(); jSeparator6 = new javax.swing.JSeparator(); jMenuItem16 = new javax.swing.JMenuItem(); jSeparator7 = new javax.swing.JSeparator(); jMenuItem17 = new javax.swing.JMenuItem(); jMenuItem18 = new javax.swing.JMenuItem(); jMenu2 = new javax.swing.JMenu(); jMenuItem25 = new javax.swing.JMenuItem(); jMenu1 = new javax.swing.JMenu(); jMenuItem19 = new javax.swing.JMenuItem(); jMenuItem20 = new javax.swing.JMenuItem(); jMenuItem21 = new javax.swing.JMenuItem(); jSeparator8 = new javax.swing.JSeparator(); jMenuItem22 = new javax.swing.JMenuItem(); jMenuItem23 = new javax.swing.JMenuItem(); jMenuItem24 = new javax.swing.JMenuItem(); sluMenu = new javax.swing.JMenu(); jMenuItem3 = new javax.swing.JMenuItem(); jMenuItem2 = new javax.swing.JMenuItem(); nomMenu_DocType = new javax.swing.JMenuItem(); jMenuItem6 = new javax.swing.JMenuItem(); jMenuItem5 = new javax.swing.JMenuItem(); jMenuItem9DTUR = new javax.swing.JMenuItem(); jMenuTransfer = new javax.swing.JMenu(); jMenuItem7 = new javax.swing.JMenuItem(); jMenuItem8 = new javax.swing.JMenuItem(); jSeparator1 = new javax.swing.JSeparator(); jMenuItem9 = new javax.swing.JMenuItem(); jSeparator9 = new javax.swing.JSeparator(); jMenuItem26 = new javax.swing.JMenuItem(); jMenuItem29 = new javax.swing.JMenuItem(); jMenuItem28 = new javax.swing.JMenuItem(); jMenuItem27 = new javax.swing.JMenuItem(); jMenuItem30 = new javax.swing.JMenuItem(); jMenuItem31 = new javax.swing.JMenuItem(); jMenuItem32 = new javax.swing.JMenuItem(); jmiShellComands = new javax.swing.JMenuItem(); jSeparator10 = new javax.swing.JSeparator(); jMenuItem33 = new javax.swing.JMenuItem(); helpMenu = new javax.swing.JMenu(); contentMenuItem = new javax.swing.JMenuItem(); aboutMenuItem = new javax.swing.JMenuItem(); jMenuItem1 = new javax.swing.JMenuItem(); programMenu = new javax.swing.JMenu(); jMenuItem4 = new javax.swing.JMenuItem(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); setTitle("\u0418\u041c\u0410\u041a\u0410\u041d\u0422\u0415 \u0422\u044a\u0440\u0433\u043e\u0432\u0441\u043a\u0438 \u043c\u043e\u0434\u0443\u043b"); setBackground(new java.awt.Color(153, 153, 153)); setFont(new java.awt.Font("Tahoma", 1, 12)); setName("frameSale"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosed(java.awt.event.WindowEvent evt) { formWindowClosed(evt); } public void windowClosing(java.awt.event.WindowEvent evt) { formWindowClosing(evt); } }); getContentPane().add(desktopPane, java.awt.BorderLayout.CENTER); jButton6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Objects 2_large_ps.png"))); jButton6.setToolTipText("\u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438"); jButton6.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Objects 2_large.png"))); jButton6.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton6ActionPerformed(evt); } }); jToolBar1.add(jButton6); jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Contact_ps.png"))); jButton5.setToolTipText("\u041a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); jButton5.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Contact.png"))); jButton5.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton5ActionPerformed(evt); } }); jToolBar1.add(jButton5); jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Group 4_ps.png"))); jButton2.setToolTipText("\u041d\u043e\u043c\u0435\u043d\u043a\u043b\u0430\u0442\u0443\u0440\u0438 \u041b\u0438\u0446\u0430"); jButton2.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Group 4.png"))); jButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed(evt); } }); jToolBar1.add(jButton2); jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Download_ps.png"))); jButton4.setToolTipText("\u041e\u0431\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435"); jButton4.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Download.png"))); jToolBar1.add(jButton4); jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Help File_ps.png"))); jButton3.setToolTipText("\u041f\u043e\u043c\u043e\u0449"); jButton3.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Help File.png"))); jToolBar1.add(jButton3); jComboBox1.setToolTipText("\u041f\u0440\u0435\u0434\u0435\u0444\u0438\u043d\u0438\u0440\u0430\u043d\u0438 \u0441\u043f\u0440\u0430\u0432\u043a\u0438"); org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup() .addContainerGap(352, Short.MAX_VALUE) .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 179, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel1Layout.createSequentialGroup() .addContainerGap() .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jToolBar1.add(jPanel1); getContentPane().add(jToolBar1, java.awt.BorderLayout.NORTH); jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED)); jPanel2.setPreferredSize(new java.awt.Dimension(100, 27)); jlUserStatus.setForeground(new java.awt.Color(102, 102, 102)); jlUserStatus.setText("\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b: "); org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel2Layout.createSequentialGroup() .addContainerGap() .add(jlUserStatus, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 297, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(438, Short.MAX_VALUE)) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jlUserStatus, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE) ); getContentPane().add(jPanel2, java.awt.BorderLayout.SOUTH); programMenu.setFont(menuFont); docMenu.setText("\u0414\u041e\u041a\u0423\u041c\u0415\u041d\u0422\u0418"); docMenu_prod.setText("\u041f\u0440\u043e\u0434\u0430\u0436\u0431\u0438"); docMenu_prod.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { docMenu_prodActionPerformed(evt); } }); docMenu.add(docMenu_prod); docMenu_fak.setText("\u0424\u0430\u043a\u0442\u0443\u0440\u0438"); fakMenu_dan.setText("\u0414\u0430\u043d\u044a\u0447\u043d\u0438"); fakMenu_dan.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { fakMenu_danActionPerformed(evt); } }); docMenu_fak.add(fakMenu_dan); fakMenu_opr.setText("\u041e\u043f\u0440\u043e\u0441\u0442\u0435\u043d\u0438"); fakMenu_opr.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { fakMenu_oprActionPerformed(evt); } }); docMenu_fak.add(fakMenu_opr); docMenu.add(docMenu_fak); docMenu_razp.setText("\u0420\u0430\u0437\u043f\u0438\u0441\u043a\u0438"); razpMenu_pol.setText("\u041f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u043d\u0435"); razpMenu_pol.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { razpMenu_polActionPerformed(evt); } }); docMenu_razp.add(razpMenu_pol); razpMenu_prehv.setText("\u041f\u0440\u0435\u0445\u0432\u044a\u0440\u043b\u044f\u043d\u0435"); razpMenu_prehv.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { razpMenu_prehvActionPerformed(evt); } }); docMenu_razp.add(razpMenu_prehv); razMenu_vryst.setText("\u0412\u0440\u044a\u0449\u0430\u043d\u0435"); razMenu_vryst.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { razMenu_vrystActionPerformed(evt); } }); docMenu_razp.add(razMenu_vryst); docMenu.add(docMenu_razp); docMenu_nar.setText("\u041d\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0435"); docMenu_nar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { docMenu_narActionPerformed(evt); } }); docMenu.add(docMenu_nar); docMenu_prot.setText("\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0438"); protMenu_rev.setText("\u0420\u0435\u0432\u0438\u0437\u0438\u044f"); docMenu_prot.add(protMenu_rev); protMenu_brak.setText("\u0411\u0440\u0430\u043a"); protMenu_brak.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { protMenu_brakActionPerformed(evt); } }); docMenu_prot.add(protMenu_brak); protMenu_lipsa.setText("\u041b\u0438\u043f\u0441\u0430"); protMenu_lipsa.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { protMenu_lipsaActionPerformed(evt); } }); docMenu_prot.add(protMenu_lipsa); protMenu_preo.setText("\u041f\u0440\u0435\u043e\u0446\u0435\u043d\u043a\u0430"); docMenu_prot.add(protMenu_preo); docMenu.add(docMenu_prot); docMenu_porach.setText("\u041f\u043e\u0440\u044a\u0447\u043a\u0438"); porachMenu_in.setText("\u0412\u044a\u0442\u0440\u0435\u0448\u043d\u0438"); docMenu_porach.add(porachMenu_in); porachMenu_out.setText("\u0412\u044a\u043d\u0448\u043d\u0438"); docMenu_porach.add(porachMenu_out); docMenu.add(docMenu_porach); docMenu_offer.setText("\u041e\u0444\u0435\u0440\u0442\u0438"); docMenu_offer.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { docMenu_offerActionPerformed(evt); } }); docMenu.add(docMenu_offer); menuBar.add(docMenu); kasiIbankiMenu.setText("\u041a\u0410\u0421\u0418 \u0438 \u0411\u0410\u041d\u041a\u0418"); kasaMenu_order.setText("\u041e\u0440\u0434\u0435\u0440\u0438"); orderMenu_prih.setText("\u041f\u0440\u0438\u0445\u043e\u0434\u043d\u0438"); orderMenu_prih.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { orderMenu_prihActionPerformed(evt); } }); kasaMenu_order.add(orderMenu_prih); orderMenu_razh.setText("\u0420\u0430\u0437\u0445\u043e\u0434\u043d\u0438"); orderMenu_razh.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { orderMenu_razhActionPerformed(evt); } }); kasaMenu_order.add(orderMenu_razh); kasiIbankiMenu.add(kasaMenu_order); kasaMOLMenu.setText("\u041f\u043e\u0434\u043e\u0442\u0447\u0435\u0442\u043d\u0438 \u043b\u0438\u0446\u0430"); kasaAvansMenu.setText("\u0410\u0432\u0430\u043d\u0441"); kasaAvansMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasaAvansMenuActionPerformed(evt); } }); kasaMOLMenu.add(kasaAvansMenu); kasaAvansOt4etMenu.setText("\u0410\u0432\u0430\u043d\u0441\u043e\u0432 \u043e\u0442\u0447\u0435\u0442"); kasaAvansOt4etMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasaAvansOt4etMenuActionPerformed(evt); } }); kasaMOLMenu.add(kasaAvansOt4etMenu); kasiIbankiMenu.add(kasaMOLMenu); kasaMenu_dvi.setText("\u0414\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043a\u0430\u0441\u0438"); kasaMenu_dvi.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasaMenu_dviActionPerformed(evt); } }); kasiIbankiMenu.add(kasaMenu_dvi); kasaMenu_nal.setText("\u041d\u0430\u043b\u0438\u0447\u043d\u043e\u0441\u0442 \u0432 \u043a\u0430\u0441\u0438"); kasaMenu_nal.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasaMenu_nalActionPerformed(evt); } }); kasiIbankiMenu.add(kasaMenu_nal); kasaMenu_opis.setText("\u041e\u043f\u0438\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 \u043a\u0443\u043f\u044e\u0440\u0438"); kasaMenu_opis.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasaMenu_opisActionPerformed(evt); } }); kasiIbankiMenu.add(kasaMenu_opis); kasiIbankiMenu.add(jSeparator11); bankaMenu_orderi.setText("\u041f\u043b\u0430\u0442\u0435\u0436\u043d\u0438 \u043d\u0430\u0440\u0435\u0436\u0434\u0430\u043d\u0438\u044f"); bankaMenu_orderi.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { bankaMenu_orderiActionPerformed(evt); } }); kasiIbankiMenu.add(bankaMenu_orderi); menuBar.add(kasiIbankiMenu); nomMenu.setText("\u041d\u041e\u041c\u0415\u041d\u041a\u041b\u0410\u0422\u0423\u0420\u0418"); nomMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomMenuActionPerformed(evt); } }); nomMenu_stock.setText("\u0421\u0442\u043e\u043a\u043e\u0432\u0438"); stock_Menu_group_stock.setText("\u0413\u0440\u0443\u043f\u0438 \u0441\u0442\u043e\u043a\u0438"); stock_Menu_group_stock.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { stock_Menu_group_stockActionPerformed(evt); } }); nomMenu_stock.add(stock_Menu_group_stock); stock_Menu_stock.setText("\u0421\u0442\u043e\u043a\u0438"); stock_Menu_stock.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { stock_Menu_stockActionPerformed(evt); } }); nomMenu_stock.add(stock_Menu_stock); nomMenu.add(nomMenu_stock); nomMenu_Aktiv.setText("\u0410\u043a\u0442\u0438\u0432\u0438"); aktiviMenu_grupi.setText("\u0413\u0440\u0443\u043f\u0438 \u0430\u043a\u0442\u0438\u0432\u0438"); aktiviMenu_grupi.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { aktiviMenu_grupiActionPerformed(evt); } }); nomMenu_Aktiv.add(aktiviMenu_grupi); aktiviMenu_Aktivi.setText("\u0410\u043a\u0442\u0438\u0432\u0438"); nomMenu_Aktiv.add(aktiviMenu_Aktivi); nomMenu.add(nomMenu_Aktiv); nomMenu_Kontragenti.setText("\u041a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); kontragentiMenu_groupe.setText("\u0413\u0440\u0443\u043f\u0438 \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); kontragentiMenu_groupe.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kontragentiMenu_groupeActionPerformed(evt); } }); nomMenu_Kontragenti.add(kontragentiMenu_groupe); kontragentiMenu_Kontr.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Contact16.png"))); kontragentiMenu_Kontr.setText("\u041a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); kontragentiMenu_Kontr.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kontragentiMenu_KontrActionPerformed(evt); } }); nomMenu_Kontragenti.add(kontragentiMenu_Kontr); kontragentiMenu_bank.setText("\u0411\u0430\u043d\u043a\u0438"); kontragentiMenu_bank.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kontragentiMenu_bankActionPerformed(evt); } }); nomMenu_Kontragenti.add(kontragentiMenu_bank); kontragentiMenu_obekti.setText("\u041e\u0431\u0441\u043b\u0443\u0436\u0432\u0430\u043d\u0438 \u043e\u0431\u0435\u043a\u0442\u0438"); nomMenu_Kontragenti.add(kontragentiMenu_obekti); kontragentiMenu_typeobject.setText("\u0422\u0438\u043f\u043e\u0432\u0435 \u043e\u0431\u0435\u043a\u0442\u0438"); nomMenu_Kontragenti.add(kontragentiMenu_typeobject); nomMenu.add(nomMenu_Kontragenti); nomMenu_Litsa.setText("\u041b\u0438\u0446\u0430"); litsaMenu_groupe_litsa.setText("\u0413\u0440\u0443\u043f\u0438 \u043b\u0438\u0446\u0430"); litsaMenu_groupe_litsa.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { litsaMenu_groupe_litsaActionPerformed(evt); } }); nomMenu_Litsa.add(litsaMenu_groupe_litsa); litsaMenu_in.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Group416.png"))); litsaMenu_in.setText("\u041b\u0438\u0446\u0430"); litsaMenu_in.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { litsaMenu_inActionPerformed(evt); } }); nomMenu_Litsa.add(litsaMenu_in); nomMenu.add(nomMenu_Litsa); nomMenu_object.setText("\u0421\u043a\u043b\u0430\u0434\u043e\u0432\u0435"); objectMenu_groupe_object.setText("\u0413\u0440\u0443\u043f\u0438 \u0441\u043a\u043b\u0430\u0434\u043e\u0432\u0435"); objectMenu_groupe_object.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { objectMenu_groupe_objectActionPerformed(evt); } }); nomMenu_object.add(objectMenu_groupe_object); objectMenu_skl.setText("\u0421\u043a\u043b\u0430\u0434\u043e\u0432\u0435"); objectMenu_skl.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { objectMenu_sklActionPerformed(evt); } }); nomMenu_object.add(objectMenu_skl); nomMenu.add(nomMenu_object); nomMenu_kasi.setText("\u041a\u0430\u0441\u0438"); kasiMenu_grupi.setText("\u0413\u0440\u0443\u043f\u0438 \u043a\u0430\u0441\u0438"); kasiMenu_grupi.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasiMenu_grupiActionPerformed(evt); } }); nomMenu_kasi.add(kasiMenu_grupi); kasiMenu_kasi.setText("\u041a\u0430\u0441\u0438"); kasiMenu_kasi.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { kasiMenu_kasiActionPerformed(evt); } }); nomMenu_kasi.add(kasiMenu_kasi); nomMenu.add(nomMenu_kasi); moneyMenu.setText("\u041f\u0430\u0440\u0438\u0447\u043d\u0438"); moneyMenu_groupe.setText("\u0413\u0440\u0443\u043f\u0438 \u043f\u0430\u0440\u0438\u0447\u043d\u0438"); moneyMenu_groupe.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { moneyMenu_groupeActionPerformed(evt); } }); moneyMenu.add(moneyMenu_groupe); moneyMenu_in.setText("\u041f\u0440\u0438\u0445\u043e\u0434\u0438"); moneyMenu_in.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { moneyMenu_inActionPerformed(evt); } }); moneyMenu.add(moneyMenu_in); moneyMenu_out.setText("\u0420\u0430\u0437\u0445\u043e\u0434\u0438"); moneyMenu_out.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { moneyMenu_outActionPerformed(evt); } }); moneyMenu.add(moneyMenu_out); moneyMenu_valutes.setText("\u0412\u0430\u043b\u0443\u0442\u0438"); moneyMenu_valutes.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { moneyMenu_valutesActionPerformed(evt); } }); moneyMenu.add(moneyMenu_valutes); monyMenu_rates.setText("\u041a\u0443\u0440\u0441\u043e\u0432\u0435"); monyMenu_rates.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { monyMenu_ratesActionPerformed(evt); } }); moneyMenu.add(monyMenu_rates); nomMenu.add(moneyMenu); nomMenu.add(jSeparator3); nomMenu_Geo.setText("\u0413\u0435\u043e\u0433\u0440\u0430\u0444\u0441\u043a\u0438"); nomMenu_nasm.setText("\u041d\u0430\u0441\u0435\u043b\u0435\u043d\u0438 \u043c\u0435\u0441\u0442\u0430"); nomMenu_nasm.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomMenu_nasmActionPerformed(evt); } }); nomMenu_Geo.add(nomMenu_nasm); nomMenu_obl.setText("\u041e\u0431\u043b\u0430\u0441\u0442\u0438"); nomMenu_obl.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomMenu_oblActionPerformed(evt); } }); nomMenu_Geo.add(nomMenu_obl); nomMenu_con.setText("\u0414\u044a\u0440\u0436\u0430\u0432\u0438"); nomMenu_con.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomMenu_conActionPerformed(evt); } }); nomMenu_Geo.add(nomMenu_con); nomMenu.add(nomMenu_Geo); nomMenu.add(jSeparator4); nomALevel.setText("\u0410\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u043d\u0438 \u043d\u0438\u0432\u0430"); nomALevel.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomALevelActionPerformed(evt); } }); nomMenu.add(nomALevel); nomDisband.setText("\u0420\u0430\u0437\u0444\u0430\u0441\u043e\u0432\u043a\u0438"); nomDisband.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomDisbandActionPerformed(evt); } }); nomMenu.add(nomDisband); menuBar.add(nomMenu); sprMenu.setText("\u0421\u041f\u0420\u0410\u0412\u041a\u0418"); spravkiMenu_nal.setText("\u041d\u0430\u043b\u0438\u0447\u043d\u043e\u0441\u0442"); spravkiMenu_nal.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { spravkiMenu_nalActionPerformed(evt); } }); sprMenu.add(spravkiMenu_nal); jMenuItem15.setText("\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0440\u043e\u043a\u043e\u0432\u0435 \u043d\u0430 \u0433\u043e\u0434\u043d\u043e\u0441\u0442"); jMenuItem15.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem15ActionPerformed(evt); } }); sprMenu.add(jMenuItem15); jMenuItem14.setText("\u041f\u0440\u043e\u0434\u0430\u0436\u0431\u0438"); sprMenu.add(jMenuItem14); jMenuItem10.setText("\u041f\u0440\u043e\u0444\u0438\u043b \u043d\u0430 \u0421\u0442\u043e\u043a\u0430"); sprMenu.add(jMenuItem10); jMenuItem35.setText("\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u043d\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0430 \u0441\u0442\u043e\u043a\u0438"); jMenuItem35.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem35ActionPerformed(evt); } }); sprMenu.add(jMenuItem35); jMenuItem36.setText("\u0420\u0435\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0430 \u0440\u0435\u043d\u0442\u0430\u0431\u0438\u043b\u043d\u043e\u0441\u0442"); jMenuItem36.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem36ActionPerformed(evt); } }); sprMenu.add(jMenuItem36); jMenuItem34.setText("\u0417\u0430\u043b\u043e\u0436\u0435\u043d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u0430 \u0440\u0435\u043d\u0442\u0430\u0431\u0438\u043b\u043d\u043e\u0441\u0442"); sprMenu.add(jMenuItem34); balansMenu.setText("\u0411\u0430\u043b\u0430\u043d\u0441\u0438"); balansMenu_stock.setText("\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0435\u043d"); balansMenu.add(balansMenu_stock); balansMenu_kol.setText("\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435\u043d"); balansMenu.add(balansMenu_kol); sprMenu.add(balansMenu); jMenu3.setText("\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438"); spravkiMenu_doc.setText("\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438"); spravkiMenu_doc.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { spravkiMenu_docActionPerformed(evt); } }); jMenu3.add(spravkiMenu_doc); fakturiMenu.setText("\u0424\u0430\u043a\u0442\u0443\u0440\u0438"); fakturiMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { fakturiMenuActionPerformed(evt); } }); jMenu3.add(fakturiMenu); sprMenu.add(jMenu3); sprMenu.add(jSeparator2); jmPayments.setText("\u0420\u0430\u0437\u043f\u043b\u0430\u0449\u0430\u043d\u0438\u044f"); jmiReportContragentPayments.setText("\u041f\u043e \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); jmiReportContragentPayments.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jmiReportContragentPaymentsActionPerformed(evt); } }); jmPayments.add(jmiReportContragentPayments); jmiReportContragentGroupsPayments.setText("\u041f\u043e \u0433\u0440\u0443\u043f\u0438 \u043e\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); jmiReportContragentGroupsPayments.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jmiReportContragentGroupsPaymentsActionPerformed(evt); } }); jmPayments.add(jmiReportContragentGroupsPayments); sprMenu.add(jmPayments); jmDebts.setText("\u0417\u0430\u0434\u044a\u043b\u0436\u0435\u043d\u0438\u044f"); jmiReportContragentDebts.setText("\u041f\u043e \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); jmiReportContragentDebts.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jmiReportContragentDebtsActionPerformed(evt); } }); jmDebts.add(jmiReportContragentDebts); jmiReportContragentGroupsDebts.setText("\u041f\u043e \u0433\u0440\u0443\u043f\u0438 \u043e\u0442 \u043a\u043e\u043d\u0442\u0440\u0430\u0433\u0435\u043d\u0442\u0438"); jmiReportContragentGroupsDebts.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jmiReportContragentGroupsDebtsActionPerformed(evt); } }); jmDebts.add(jmiReportContragentGroupsDebts); sprMenu.add(jmDebts); sprMenu.add(jSeparator5); jMenuItem13.setText("\u0414\u0414\u0421 \u0434\u043d\u0435\u0432\u043d\u0438\u0446\u0438"); sprMenu.add(jMenuItem13); sprMenu.add(jSeparator6); jMenuItem16.setText("\u0422\u044a\u0440\u0436\u0438\u0449\u0435\u043d \u0434\u043d\u0435\u0432\u043d\u0438\u043a"); sprMenu.add(jMenuItem16); sprMenu.add(jSeparator7); jMenuItem17.setText("\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0441\u043d\u0438\u043c\u043a\u0430 \u043d\u0430\u043b\u0438\u0447\u043d\u043e\u0441\u0442"); sprMenu.add(jMenuItem17); jMenuItem18.setText("\u041d\u0430\u043b\u0438\u0447\u043d\u043e\u0441\u0442 \u043f\u043e \u0441\u043d\u0438\u043c\u043a\u0430"); sprMenu.add(jMenuItem18); menuBar.add(sprMenu); jMenu2.setText("\u0420\u0415\u0414\u0410\u041a\u0422\u041e\u0420"); jMenuItem25.setText("\u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440"); jMenu2.add(jMenuItem25); menuBar.add(jMenu2); jMenu1.setText("\u0421\u0418\u041d\u0425\u0420\u041e\u041d\u0418\u0417\u0410\u0426\u0418\u042f"); jMenuItem19.setText("\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043a\u044a\u043c PDA"); jMenu1.add(jMenuItem19); jMenuItem20.setText("\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0442 PDA"); jMenu1.add(jMenuItem20); jMenuItem21.setText("\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u0437\u0430 PDA"); jMenu1.add(jMenuItem21); jMenu1.add(jSeparator8); jMenuItem22.setText("\u0418\u043c\u043f\u043e\u0440\u0442 \u043e\u0442 \u043e\u0442\u0434\u0430\u043b\u0435\u0447\u0435\u043d\u0438 \u0441\u0442\u0430\u043d\u0446\u0438\u0438"); jMenu1.add(jMenuItem22); jMenuItem23.setText("\u0415\u043a\u0441\u043f\u043e\u0440\u0442 \u043a\u044a\u043c \u043e\u0442\u0434\u0430\u043b\u0435\u0447\u0435\u043d\u0438 \u0441\u0442\u0430\u043d\u0446\u0438\u0438"); jMenu1.add(jMenuItem23); jMenuItem24.setText("\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0430 \u043e\u0442\u0434\u0430\u043b\u0435\u0447\u0435\u043d\u0438 \u0441\u0442\u0430\u043d\u0446\u0438\u0438"); jMenu1.add(jMenuItem24); menuBar.add(jMenu1); sluMenu.setText("\u0421\u041b\u0423\u0416\u0415\u0411\u041d\u0418"); sluMenu.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { sluMenuActionPerformed(evt); } }); jMenuItem3.setText("\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u043d\u0430 \u0424\u0438\u0440\u043c\u0430"); jMenuItem3.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem3ActionPerformed(evt); } }); sluMenu.add(jMenuItem3); jMenuItem2.setText("\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0430 \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0430\u0442\u0430"); sluMenu.add(jMenuItem2); nomMenu_DocType.setText("\u0422\u0438\u043f\u043e\u0432\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438"); nomMenu_DocType.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { nomMenu_DocTypeActionPerformed(evt); } }); sluMenu.add(nomMenu_DocType); jMenuItem6.setText("\u041d\u043e\u043c\u0435\u0440\u0430\u0446\u0438\u044f \u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438"); jMenuItem6.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem6ActionPerformed(evt); } }); sluMenu.add(jMenuItem6); jMenuItem5.setText("\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0438 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438"); sluMenu.add(jMenuItem5); jMenuItem9DTUR.setText("\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0441\u043a\u0438 \u043f\u0440\u0430\u0432\u0430 \u0432\u044a\u0440\u0445\u0443 \u043a\u043e\u0447\u0430\u043d\u0438"); jMenuItem9DTUR.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem9DTURActionPerformed(evt); } }); sluMenu.add(jMenuItem9DTUR); jMenuTransfer.setText("\u0422\u0440\u0430\u043d\u0441\u0444\u0435\u0440"); jMenuItem7.setText("\u0418\u043c\u043f\u043e\u0440\u0442 \u0421\u041a\u041b"); jMenuItem7.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem7ActionPerformed(evt); } }); jMenuTransfer.add(jMenuItem7); jMenuItem8.setText("\u041a\u043e\u0440\u0435\u043a\u0446\u0438\u044f SKL1 "); jMenuItem8.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem8ActionPerformed(evt); } }); jMenuTransfer.add(jMenuItem8); sluMenu.add(jMenuTransfer); sluMenu.add(jSeparator1); jMenuItem9.setText("\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0430 \u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u0441\u043f\u0440\u0430\u0432\u043a\u0438"); sluMenu.add(jMenuItem9); sluMenu.add(jSeparator9); jMenuItem26.setText("\u0420\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0430 \u0431\u0430\u0437\u0430\u0442\u0430"); sluMenu.add(jMenuItem26); jMenuItem29.setText("\u0410\u0440\u0445\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430"); sluMenu.add(jMenuItem29); jMenuItem28.setText("\u0418\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u043e \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u0430\u043d\u0435"); sluMenu.add(jMenuItem28); jMenuItem27.setText("\u041f\u044a\u043b\u043d\u043e \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u0430\u043d\u0435"); sluMenu.add(jMenuItem27); jMenuItem30.setText("\u0414\u044a\u043c\u043f \u043d\u0430 \u0431\u0430\u0437\u0430\u0442\u0430"); sluMenu.add(jMenuItem30); jMenuItem31.setText("\u0420\u0435\u0434\u0430\u043a\u0446\u0438\u0438 \u043f\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0438\u0442\u0435"); sluMenu.add(jMenuItem31); jMenuItem32.setText("\u0411\u0438\u0439\u043d \u0434\u0435\u043f\u043b\u043e\u0435\u0440"); sluMenu.add(jMenuItem32); jmiShellComands.setText("\u041a\u043e\u043c\u0430\u043d\u0434\u0438 \u043a\u044a\u043c \u0414\u0411 \u041e\u0431\u0432\u0438\u0432\u043a\u0430\u0442\u0430"); jmiShellComands.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jmiShellComandsActionPerformed(evt); } }); sluMenu.add(jmiShellComands); sluMenu.add(jSeparator10); jMenuItem33.setText("\u0412\u044a\u043d\u0448\u043d\u043e\u0441\u0442 \u043d\u0430 \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0430\u0442\u0430"); sluMenu.add(jMenuItem33); menuBar.add(sluMenu); helpMenu.setText("\u041f\u041e\u041c\u041e\u0429"); contentMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Help16.png"))); contentMenuItem.setText("\u0421\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435"); helpMenu.add(contentMenuItem); aboutMenuItem.setText("\u0410\u0432\u0442\u043e\u0440\u0438"); aboutMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { aboutMenuItemActionPerformed(evt); } }); helpMenu.add(aboutMenuItem); jMenuItem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/Download16.png"))); jMenuItem1.setText("\u041e\u0431\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435"); helpMenu.add(jMenuItem1); menuBar.add(helpMenu); programMenu.setText("\u041f\u0420\u041e\u0413\u0420\u0410\u041c\u0410"); jMenuItem4.setFont(new java.awt.Font("Tahoma", 1, 11)); jMenuItem4.setText("\u0418\u0417\u0425\u041e\u0414"); jMenuItem4.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem4ActionPerformed(evt); } }); programMenu.add(jMenuItem4); menuBar.add(programMenu); setJMenuBar(menuBar); java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); setBounds((screenSize.width-757)/2, (screenSize.height-463)/2, 757, 463); }// </editor-fold>//GEN-END:initComponents
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/ba6fed56cb52b278f5b34b26ee3d38610f6a9303/sales_main.java/buggy/src/imakante/sales/sales_main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 21304, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 27583, 8485, 5621, 3639, 525, 6364, 5190, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 6364, 5190, 5621, 3639, 525, 3616, 26, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 24, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 17871, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 525, 22199, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 22199, 5621, 3639, 17871, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 525, 80, 1299, 1482, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 3824, 5190, 273, 394, 6863, 18, 5328, 310, 18, 46, 4599, 5190, 5621, 3639, 997, 4599, 273, 394, 6863, 18, 5328, 310, 18, 46, 4599, 5621, 3639, 997, 4599, 67, 17672, 273, 394, 6863, 18, 5328, 310, 18, 46, 12958, 5621, 3639, 997, 4599, 67, 507, 79, 273, 394, 6863, 18, 5328, 310, 18, 46, 4599, 5621, 3639, 284, 581, 4599, 67, 72, 304, 273, 394, 6863, 18, 5328, 310, 18, 46, 12958, 5621, 3639, 284, 581, 4599, 67, 556, 86, 273, 394, 6863, 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, 1208, 7171, 1435, 288, 3639, 21304, 8485, 273, 394, 6863, 18, 5328, 310, 18, 46, 27583, 8485, 5621, 3639, 525, 6364, 5190, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 6364, 5190, 5621, 3639, 525, 3616, 26, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 24, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 525, 3616, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 17871, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 2 ]
&& getNameConstantOperand().equals("ceil"))
&& getNameConstantOperand().equals("ceil")) {
public void sawOpcode(int seen) { if (DEBUG) System.out.println("Saw opcode " + seen); if ((prevOpCode == I2D || prevOpCode == L2D) && seen == INVOKESTATIC && getClassConstantOperand().equals("java/lang/Math") && getNameConstantOperand().equals("ceil")) bugReporter.reportBug(new BugInstance(this, "ICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL", HIGH_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); if (prevOpCode == IDIV && (seen == I2D|| seen == I2F) || prevOpCode == LDIV && (seen == L2D || seen==L2F)) bugReporter.reportBug(new BugInstance(this, "ICAST_IDIV_CAST_TO_DOUBLE", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this)); prevOpCode = seen; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b35933a2d7be11409898736df16c7d6d071ba1e0/IDivResultCastToDouble.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/IDivResultCastToDouble.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1850, 1071, 918, 19821, 22808, 12, 474, 5881, 13, 288, 9506, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 55, 2219, 11396, 315, 397, 5881, 1769, 1082, 202, 430, 14015, 10001, 3817, 1085, 225, 422, 467, 22, 40, 747, 2807, 3817, 1085, 422, 511, 22, 40, 13, 13491, 597, 5881, 422, 20694, 11027, 11781, 27573, 597, 2900, 6902, 10265, 7675, 14963, 2932, 6290, 19, 4936, 19, 10477, 7923, 27573, 597, 1723, 6902, 10265, 7675, 14963, 2932, 311, 330, 6, 3719, 1082, 202, 925, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 2211, 16, 4697, 202, 6, 2871, 9053, 67, 3217, 67, 21871, 67, 4296, 67, 17088, 67, 52, 3033, 18204, 67, 4296, 67, 1441, 2627, 3113, 4697, 202, 29996, 67, 19804, 13, 6862, 202, 18, 1289, 797, 1876, 1305, 12, 2211, 13, 6862, 202, 18, 1289, 1830, 1670, 12, 2211, 10019, 202, 202, 430, 261, 10001, 3817, 1085, 225, 422, 1599, 8188, 597, 261, 15156, 422, 467, 22, 40, 20081, 5881, 422, 467, 22, 42, 13, 1082, 202, 20081, 2807, 3817, 1085, 225, 422, 511, 31901, 597, 261, 15156, 422, 511, 22, 40, 747, 5881, 631, 48, 22, 42, 3719, 1082, 202, 925, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 2211, 16, 315, 2871, 9053, 67, 734, 8188, 67, 21871, 67, 4296, 67, 17088, 3113, 16362, 67, 19804, 13, 6862, 202, 18, 1289, 797, 1876, 1305, 12, 2211, 13, 6862, 202, 18, 1289, 1830, 1670, 12, 2211, 10019, 202, 202, 10001, 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, 1850, 1071, 918, 19821, 22808, 12, 474, 5881, 13, 288, 9506, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 55, 2219, 11396, 315, 397, 5881, 1769, 1082, 202, 430, 14015, 10001, 3817, 1085, 225, 422, 467, 22, 40, 747, 2807, 3817, 1085, 422, 511, 22, 40, 13, 13491, 597, 5881, 422, 20694, 11027, 11781, 27573, 597, 2900, 6902, 10265, 7675, 14963, 2932, 6290, 19, 4936, 19, 10477, 7923, 27573, 597, 1723, 6902, 10265, 7675, 14963, 2932, 311, 330, 6, 3719, 1082, 202, 925, 13289, 18, 6006, 19865, 12, 2704, 16907, 1442, 12, 2211, 16, 4697, 202, 6, 2871, 9053, 67, 3217, 67, 21871, 67, 4296, 67, 17088, 67, 52, 3033, 18204, 67, 4296, 67, 1441, 2627, 2 ]
boolean downloadFile(String fileURL) { Client.debug.println("CacheController.downloadFile fileURL: " + fileURL); String[] tokens = fileURL.split("/"); String saveFile = _cacheDir + tokens[tokens.length - 1]; // if "cache" is "initialized" in the ctor, then we can do this: curr[index].setDownloaded(true); // otherwise, we'll just check the filesystem, which takes longer! URL url = null; try { url = new URL(fileURL); } catch (MalformedURLException e){ Client.err.println("error in downloader: " + e); return false; } if (url == null) { Client.out.println("bad URL"); return false; } double currentTime = 0; try { // open the connection URLConnection myConnection; myConnection=url.openConnection(); // Client.out.println("downloading : " + fileURL); // check that the file holds stuff if (myConnection.getContentLength()==0) { Client.out.println("Error Zero content."); return false; } long i = myConnection.getContentLength(); // Client.out.println("downloading file length: " + myConnection.getContentLength()); if (i==-1) { Client.out.println("Empty or invalid content."); return false; } File newFile = new File (saveFile); boolean append = false; long resumeIndex = 0; // Client.out.println("current file size: " + newFile.length()); if (newFile.exists()){ append = true; resumeIndex = i - newFile.length(); if (resumeIndex == 0){ _cache.add(saveFile); return true; } } BufferedInputStream input = new BufferedInputStream(myConnection.getInputStream()); newFile.createNewFile(); BufferedOutputStream downloadFile = new BufferedOutputStream(new FileOutputStream(newFile, append)); int c; currentTime = System.currentTimeMillis(); while (((c=input.read())!=-1) && (--i > 0)){ if (!append || i < resumeIndex){ if (_interrupt) { _interrupt = false; return false; } downloadFile.write(c); downloadFile.flush(); } } currentTime = System.currentTimeMillis() - currentTime; input.close(); downloadFile.close(); // BANDWIDTH related stuff Client.debug.println("total bytes: " + newFile.length() + " total time: " + currentTime); if (_bandwidthWindow++ < _bandwidthWindow){ _totalBytes += newFile.length(); _totalTime += (currentTime / 1000); } else { _totalBytes = newFile.length(); _totalTime = (currentTime / 1000); _bandwidthWindow = 0; } } catch (IOException e){ Client.out.println("IOException in CacheController.downloadFile(): " + e); return false; } _cache.add(saveFile); return true; }
14573 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14573/ad52825478597c531f840419d0926af07ffe1a7f/CacheController.java/clean/client/CacheController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 800, 790, 464, 995, 945, 812, 12, 780, 768, 1785, 15329, 1227, 18, 4148, 18, 8222, 2932, 1649, 2933, 18, 7813, 812, 768, 1785, 2773, 15, 768, 1785, 1769, 780, 8526, 7860, 33, 768, 1785, 18, 4939, 2932, 4898, 1769, 780, 5688, 812, 33, 67, 2493, 1621, 15, 7860, 63, 7860, 18, 2469, 17, 21, 15533, 759, 430, 6, 2493, 6, 291, 6, 13227, 6, 267, 451, 1229, 16, 15991, 91, 557, 464, 10370, 291, 30, 17016, 63, 1615, 8009, 542, 4164, 4230, 12, 3767, 1769, 759, 29778, 16, 1814, 5614, 3732, 1893, 5787, 17846, 16, 3350, 335, 647, 3223, 9379, 693, 5, 1785, 718, 33, 2011, 31, 698, 95, 718, 33, 2704, 1785, 12, 768, 1785, 1769, 97, 14683, 12, 18695, 20160, 73, 15329, 1227, 18, 370, 18, 8222, 2932, 1636, 728, 995, 6714, 2773, 15, 73, 1769, 2463, 5743, 31, 97, 430, 12, 718, 631, 2011, 15329, 1227, 18, 659, 18, 8222, 2932, 8759, 1785, 8863, 2463, 5743, 31, 97, 9056, 2972, 950, 33, 20, 31, 698, 95, 759, 556, 319, 76, 17181, 944, 14790, 4811, 1952, 31, 4811, 1952, 33, 718, 18, 3190, 1952, 5621, 759, 1227, 18, 659, 18, 8222, 2932, 7813, 310, 2773, 15, 768, 1785, 1769, 202, 202, 759, 1893, 19056, 5787, 768, 21056, 87, 334, 3809, 430, 12, 4811, 1952, 18, 588, 1350, 1782, 1435, 631, 20, 15329, 202, 1227, 18, 659, 18, 8222, 2932, 668, 62, 264, 504, 1580, 319, 1199, 1769, 202, 2463, 5743, 31, 97, 5748, 77, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 800, 790, 464, 995, 945, 812, 12, 780, 768, 1785, 15329, 1227, 18, 4148, 18, 8222, 2932, 1649, 2933, 18, 7813, 812, 768, 1785, 2773, 15, 768, 1785, 1769, 780, 8526, 7860, 33, 768, 1785, 18, 4939, 2932, 4898, 1769, 780, 5688, 812, 33, 67, 2493, 1621, 15, 7860, 63, 7860, 18, 2469, 17, 21, 15533, 759, 430, 6, 2493, 6, 291, 6, 13227, 6, 267, 451, 1229, 16, 15991, 91, 557, 464, 10370, 291, 30, 17016, 63, 1615, 8009, 542, 4164, 4230, 12, 3767, 1769, 759, 29778, 16, 1814, 5614, 3732, 1893, 5787, 17846, 16, 3350, 335, 647, 3223, 9379, 693, 5, 1785, 718, 33, 2011, 31, 698, 95, 718, 33, 2704, 1785, 12, 768, 1785, 1769, 97, 2 ]
oMax = new Double( 99.99 );
oMax = new Double( 100 );
private final Object getMinMax( Axis ax, int iType ) throws ChartException, IllegalArgumentException { final Series[] sea = ax.getRuntimeSeries( ); final int iSeriesCount = sea.length; Series se; DataSet ds; Object oV1, oV2, oMin = null, oMax = null; PluginSettings ps = PluginSettings.instance( ); IDataSetProcessor iDSP = null; // ANY STACKED SERIES ASSOCIATED WITH AXIS 'ax' boolean bAnyStacked = false; for ( int i = 0; i < iSeriesCount; i++ ) { if ( sea[i].isStacked( ) ) { if ( sea[i].canBeStacked( ) ) { bAnyStacked = true; continue; } else { throw new IllegalArgumentException( MessageFormat.format( Messages.getResourceBundle( rtc.getULocale( ) ) .getString( "exception.unstackable.is.stacked" ), //$NON-NLS-1$ new Object[]{ sea[i] } ) ); } } iDSP = ps.getDataSetProcessor( sea[i].getClass( ) ); ds = sea[i].getDataSet( ); oV1 = iDSP.getMinimum( ds ); oV2 = iDSP.getMaximum( ds ); if ( ( iType & NUMERICAL ) == NUMERICAL ) { if ( oV1 != null ) // SETUP THE MINIMUM VALUE FOR ALL DATASETS { if ( oMin == null ) { oMin = oV1; } else { final double dV1 = asDouble( oV1 ).doubleValue( ); if ( Math.min( asDouble( oMin ).doubleValue( ), dV1 ) == dV1 ) { oMin = oV1; } } } if ( oV2 != null ) // SETUP THE MAXIMUM VALUE FOR ALL DATASETS { if ( oMax == null ) { oMax = oV2; } else { final double dV2 = asDouble( oV2 ).doubleValue( ); if ( Math.max( asDouble( oMax ).doubleValue( ), dV2 ) == dV2 ) { oMax = oV2; } } } } else if ( ( iType & DATE_TIME ) == DATE_TIME ) { if ( oV1 != null ) // SETUP THE MINIMUM VALUE FOR ALL DATASETS { if ( oMin == null ) { oMin = oV1; } else { final CDateTime cdtV1 = asDateTime( oV1 ); final CDateTime cdtMin = asDateTime( oMin ); if ( cdtV1.before( cdtMin ) ) { oMin = cdtV1; } } } if ( oV2 != null ) // SETUP THE MAXIMUM VALUE FOR ALL DATASETS { if ( oMax == null ) { oMax = oV2; } else { final CDateTime cdtV2 = asDateTime( oV2 ); final CDateTime cdtMax = asDateTime( oMax ); if ( cdtV2.after( cdtMax ) ) { oMax = cdtV2; } } } } } // ONLY NUMERIC VALUES ARE SUPPORTED IN STACKED ELEMENT COMPUTATIONS if ( bAnyStacked || ax.isPercent( ) ) { if ( ax.getType( ).getValue( ) == AxisType.DATE_TIME ) { throw new IllegalArgumentException( MessageFormat.format( Messages.getResourceBundle( rtc.getULocale( ) ) .getString( "exception.stacked.datetime.axis.series" ), //$NON-NLS-1$ new Object[]{ ax } ) ); } Object oValue; int iSeriesPerGroup; double dGroupMin, dGroupMax, dValue, dAbsTotal, dPercentMax = 0, dPercentMin = 0; double dAxisMin = Double.MAX_VALUE, dAxisMax = -Double.MAX_VALUE; ArrayList alSeriesGroupsPerAxis = ssl.getStackGroups( ax ); ArrayList alSeriesPerGroup; StackGroup sg; DataSetIterator[] dsi = new DataSetIterator[ssl.getSeriesCount( ax )]; if ( alSeriesGroupsPerAxis == null ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_SET, "exception.internal.stack.series.setup", //$NON-NLS-1$ new Object[]{ ax }, Messages.getResourceBundle( rtc.getULocale( ) ) ); } logger.log( ILogger.INFORMATION, Messages.getString( "info.processing.stacked.info", //$NON-NLS-1$ new Object[]{ ax }, rtc.getULocale( ) ) ); int iSeriesIndex, iDataSetCount = ssl.getUnitCount( ); for ( int k = 0; k < iDataSetCount; k++ ) // PER UNIT { dAbsTotal = 0; iSeriesIndex = 0; for ( int i = 0; i < alSeriesGroupsPerAxis.size( ); i++ ) { sg = (StackGroup) alSeriesGroupsPerAxis.get( i ); alSeriesPerGroup = sg.getSeries( ); iSeriesPerGroup = alSeriesPerGroup.size( ); if ( iSeriesPerGroup > 0 ) { se = (Series) alSeriesPerGroup.get( 0 ); ds = se.getDataSet( ); if ( dsi[iSeriesIndex] == null ) { dsi[iSeriesIndex] = new DataSetIterator( ds ); if ( ( dsi[iSeriesIndex].getDataType( ) & IConstants.NUMERICAL ) != IConstants.NUMERICAL ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_SET, "exception.percent.stacked.non.numerical", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } } // ALL SERIES MUST HAVE THE SAME DATASET ELEMENT COUNT iDataSetCount = dsi[iSeriesIndex].size( ); dGroupMin = 0; dGroupMax = 0; if ( ax.isPercent( ) ) { dAbsTotal = 0; } for ( int j = 0; j < iSeriesPerGroup; j++ ) { se = (Series) alSeriesPerGroup.get( j ); if ( j > 0 ) // ALREADY DONE FOR '0' { if ( dsi[iSeriesIndex] == null ) { ds = se.getDataSet( ); // DATA SET dsi[iSeriesIndex] = new DataSetIterator( ds ); if ( ( dsi[iSeriesIndex].getDataType( ) & IConstants.NUMERICAL ) != IConstants.NUMERICAL ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_SET, "exception.percent.stacked.non.numerical", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } } } // EACH ROW OF DATA oValue = dsi[iSeriesIndex].next( ); if ( oValue != null ) // NULL CHECK { // EXTRACT WRAPPED VALUE dValue = ( (Double) oValue ).doubleValue( ); dAbsTotal += Math.abs( dValue ); if ( dValue > 0 ) { dGroupMax += dValue; // UPDATE MAX } else if ( dValue < 0 ) { dGroupMin += dValue; // UPDATE MIN } } iSeriesIndex++; } final AxisSubUnit au = ssl.getSubUnit( sg, k ); au.setPositiveTotal( dGroupMax ); au.setNegativeTotal( dGroupMin ); // FOR EACH UNIT, UPDATE THE MIN/MAX BASED ON ALL // STACKED SERIES dAxisMax = Math.max( dGroupMax, dAxisMax ); dAxisMin = Math.min( dGroupMin, dAxisMin ); if ( ax.isPercent( ) ) { if ( dAbsTotal != 0d ) { dPercentMax = Math.max( ( dGroupMax / dAbsTotal ) * 100d, dPercentMax ); dPercentMin = Math.min( ( dGroupMin / dAbsTotal ) * 100d, dPercentMin ); } } } } } if ( ax.isPercent( ) ) // HANDLE PERCENT { if ( dPercentMax >= 100 ) dPercentMax = 99.9; if ( dPercentMin <= -100 ) dPercentMin = -99.9; if ( dPercentMax == 0 && dPercentMin == 0 ) { dPercentMax = 99; } dAxisMin = dPercentMin; dAxisMax = dPercentMax; } if ( ( iType & LOGARITHMIC ) == LOGARITHMIC ) { dAxisMin = 1; } oMin = new Double( dAxisMin ); oMax = new Double( dAxisMax ); } // IF NO DATASET WAS FOUND BECAUSE NO SERIES WERE ATTACHED TO AXES, // SIMULATE MIN/MAX VALUES if ( oMin == null && oMax == null ) { if ( iType == DATE_TIME ) { oMin = new CDateTime( 1, 1, 2005 ); oMax = new CDateTime( 1, 1, 2006 ); } else if ( ( iType & NUMERICAL ) == NUMERICAL ) { if ( ( iType & PERCENT ) == PERCENT ) { oMin = new Double( 0 ); oMax = new Double( 99.99 ); } else if ( ( iType & LOGARITHMIC ) == LOGARITHMIC ) { oMin = new Double( 1 ); oMax = new Double( 999 ); } else { oMin = new Double( -0.9 ); oMax = new Double( 0.9 ); } } } if ( iType == DATE_TIME ) { try { return new Calendar[]{ asDateTime( oMin ), asDateTime( oMax ) }; } catch ( ClassCastException ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_SET, "exception.numerical.data.datetime.axis", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } } else if ( ( iType & NUMERICAL ) == NUMERICAL ) { try { return new double[]{ asDouble( oMin ).doubleValue( ), asDouble( oMax ).doubleValue( ) }; } catch ( ClassCastException ex ) { throw new ChartException( ChartEnginePlugin.ID, ChartException.DATA_SET, "exception.datetime.data.numerical.axis", //$NON-NLS-1$ Messages.getResourceBundle( rtc.getULocale( ) ) ); } } return null; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/98cba9bda694f0960ab48217f5b94f92c5f9da85/PlotWith2DAxes.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 1033, 9555, 2747, 12, 15509, 1740, 16, 509, 277, 559, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 6385, 9225, 8526, 695, 69, 273, 1740, 18, 588, 5576, 6485, 12, 11272, 202, 202, 6385, 509, 277, 6485, 1380, 273, 695, 69, 18, 2469, 31, 202, 202, 6485, 695, 31, 202, 202, 13676, 3780, 31, 202, 202, 921, 320, 58, 21, 16, 320, 58, 22, 16, 320, 2930, 273, 446, 16, 320, 2747, 273, 446, 31, 202, 202, 3773, 2628, 4250, 273, 6258, 2628, 18, 1336, 12, 11272, 202, 202, 734, 396, 694, 5164, 277, 40, 3118, 273, 446, 31, 202, 202, 759, 16743, 11464, 2056, 7758, 8805, 17289, 27248, 6344, 13601, 29539, 5127, 296, 651, 11, 202, 202, 6494, 324, 2961, 2624, 329, 273, 629, 31, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 277, 6485, 1380, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 695, 69, 63, 77, 8009, 291, 2624, 329, 12, 262, 262, 1082, 202, 95, 9506, 202, 430, 261, 695, 69, 63, 77, 8009, 4169, 1919, 2624, 329, 12, 262, 262, 9506, 202, 95, 6862, 202, 70, 2961, 2624, 329, 273, 638, 31, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 12849, 394, 2754, 12, 17377, 18, 2139, 12, 4838, 18, 588, 18731, 12, 436, 5111, 18, 588, 57, 3916, 12, 262, 262, 6862, 1082, 202, 18, 588, 780, 12, 315, 4064, 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, 727, 1033, 9555, 2747, 12, 15509, 1740, 16, 509, 277, 559, 262, 1216, 14804, 503, 16, 1082, 202, 31237, 202, 95, 202, 202, 6385, 9225, 8526, 695, 69, 273, 1740, 18, 588, 5576, 6485, 12, 11272, 202, 202, 6385, 509, 277, 6485, 1380, 273, 695, 69, 18, 2469, 31, 202, 202, 6485, 695, 31, 202, 202, 13676, 3780, 31, 202, 202, 921, 320, 58, 21, 16, 320, 58, 22, 16, 320, 2930, 273, 446, 16, 320, 2747, 273, 446, 31, 202, 202, 3773, 2628, 4250, 273, 6258, 2628, 18, 1336, 12, 11272, 202, 202, 734, 396, 694, 5164, 277, 40, 3118, 273, 446, 31, 202, 202, 759, 16743, 11464, 2056, 7758, 8805, 17289, 27248, 6344, 13601, 2 ]
final int prefixLength = Constants.XERCES_FEATURE_PREFIX.length();
final int suffixLength = featureId.length() - Constants.XERCES_FEATURE_PREFIX.length();
protected void checkFeature(String featureId) throws XMLConfigurationException { // // Xerces Features // if (featureId.startsWith(Constants.XERCES_FEATURE_PREFIX)) { final int prefixLength = Constants.XERCES_FEATURE_PREFIX.length(); // // http://apache.org/xml/features/validation/dynamic // Allows the parser to validate a document only when it // contains a grammar. Validation is turned on/off based // on each document instance, automatically. // if (featureId.regionMatches(prefixLength, Constants.DYNAMIC_VALIDATION_FEATURE, 0, Constants.DYNAMIC_VALIDATION_FEATURE.length())) { return; } // // http://apache.org/xml/features/validation/default-attribute-values // if (featureId.regionMatches(prefixLength, Constants.DEFAULT_ATTRIBUTE_VALUES_FEATURE, 0, Constants.DEFAULT_ATTRIBUTE_VALUES_FEATURE.length())) { // REVISIT short type = XMLConfigurationException.NOT_SUPPORTED; throw new XMLConfigurationException(type, featureId); } // // http://apache.org/xml/features/validation/default-attribute-values // if (featureId.regionMatches(prefixLength, Constants.VALIDATE_CONTENT_MODELS_FEATURE, 0, Constants.VALIDATE_CONTENT_MODELS_FEATURE.length())) { // REVISIT short type = XMLConfigurationException.NOT_SUPPORTED; throw new XMLConfigurationException(type, featureId); } // // http://apache.org/xml/features/validation/nonvalidating/load-dtd-grammar // if (featureId.regionMatches(prefixLength, Constants.LOAD_DTD_GRAMMAR_FEATURE, 0, Constants.LOAD_DTD_GRAMMAR_FEATURE.length())) { return; } // // http://apache.org/xml/features/validation/nonvalidating/load-external-dtd // if (featureId.regionMatches(prefixLength, Constants.LOAD_EXTERNAL_DTD_FEATURE, 0, Constants.LOAD_EXTERNAL_DTD_FEATURE.length())) { return; } // // http://apache.org/xml/features/validation/default-attribute-values // if (featureId.regionMatches(prefixLength, Constants.VALIDATE_DATATYPES_FEATURE, 0, Constants.VALIDATE_DATATYPES_FEATURE.length())) { short type = XMLConfigurationException.NOT_SUPPORTED; throw new XMLConfigurationException(type, featureId); } } // // Not recognized // super.checkFeature(featureId); } // checkFeature(String)
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/74854a4dd6ce7a572c298057865a9161761aaee5/NonValidatingConfiguration.java/buggy/src/org/apache/xerces/parsers/NonValidatingConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 4595, 12, 780, 2572, 548, 13, 3639, 1216, 3167, 10737, 288, 3639, 368, 3639, 368, 1139, 264, 764, 28920, 3639, 368, 3639, 309, 261, 7238, 548, 18, 17514, 1190, 12, 2918, 18, 60, 654, 1441, 55, 67, 18257, 67, 6307, 3719, 288, 5411, 727, 509, 3758, 1782, 273, 2572, 548, 18, 2469, 1435, 300, 5245, 18, 60, 654, 1441, 55, 67, 18257, 67, 6307, 18, 2469, 5621, 540, 202, 5411, 368, 5411, 368, 1062, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 14507, 5411, 368, 282, 25619, 326, 2082, 358, 1954, 279, 1668, 1338, 1347, 518, 5411, 368, 282, 1914, 279, 6473, 18, 5684, 353, 21826, 603, 19, 3674, 2511, 5411, 368, 282, 603, 1517, 1668, 791, 16, 6635, 18, 5411, 368, 5411, 309, 261, 7238, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 40, 25145, 67, 5063, 2689, 67, 18257, 16, 7734, 374, 16, 5245, 18, 40, 25145, 67, 5063, 2689, 67, 18257, 18, 2469, 1435, 3719, 288, 7734, 327, 31, 5411, 289, 5411, 368, 5411, 368, 1062, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 1886, 17, 4589, 17, 2372, 5411, 368, 5411, 309, 261, 7238, 548, 18, 6858, 6869, 12, 3239, 1782, 16, 5245, 18, 5280, 67, 11616, 67, 16386, 67, 18257, 16, 7734, 374, 16, 5245, 18, 5280, 67, 11616, 67, 16386, 67, 18257, 18, 2469, 1435, 3719, 288, 7734, 368, 2438, 26780, 1285, 7734, 3025, 618, 273, 3167, 10737, 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, 4750, 918, 866, 4595, 12, 780, 2572, 548, 13, 3639, 1216, 3167, 10737, 288, 3639, 368, 3639, 368, 1139, 264, 764, 28920, 3639, 368, 3639, 309, 261, 7238, 548, 18, 17514, 1190, 12, 2918, 18, 60, 654, 1441, 55, 67, 18257, 67, 6307, 3719, 288, 5411, 727, 509, 3758, 1782, 273, 2572, 548, 18, 2469, 1435, 300, 5245, 18, 60, 654, 1441, 55, 67, 18257, 67, 6307, 18, 2469, 5621, 540, 202, 5411, 368, 5411, 368, 1062, 2207, 19211, 18, 3341, 19, 2902, 19, 7139, 19, 8685, 19, 14507, 5411, 368, 282, 25619, 326, 2082, 358, 1954, 279, 1668, 1338, 1347, 518, 5411, 368, 282, 1914, 279, 6473, 18, 5684, 353, 21826, 603, 19, 3674, 2511, 5411, 368, 2 ]
new Arc(ageSelected, selectNode),
new Arc(ageSelected, endNode),
public static Query buildCarByAgeQuery(int age, Node startNode) { QueryBuilder qb = new QueryBuilder(); Node selectNode = new SimpleResultNode("selectNode", Map.class); Node ageSelected = new SimpleNode("ageSelected", Map.class); qb.addArc( new Arc(startNode, ageSelected), new MapValueFilter("age", new Integer(age)) ); qb.addArc( new Arc(ageSelected, selectNode), new MapFollower("car", Map.class) ); return qb.buildQuery(); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/16e211b30f2de853621b0c083c1e7d659c54cfd1/TestQuery.java/clean/demos/query/TestQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 2770, 1361, 16321, 858, 9692, 1138, 12, 474, 9388, 16, 2029, 25467, 13, 288, 565, 14515, 7311, 273, 394, 14515, 5621, 3639, 2029, 2027, 907, 273, 394, 4477, 1253, 907, 2932, 4025, 907, 3113, 1635, 18, 1106, 1769, 565, 2029, 9388, 7416, 273, 394, 4477, 907, 2932, 410, 7416, 3113, 1635, 18, 1106, 1769, 565, 7311, 18, 1289, 14598, 12, 1377, 394, 24881, 12, 1937, 907, 16, 9388, 7416, 3631, 1377, 394, 1635, 620, 1586, 2932, 410, 3113, 394, 2144, 12, 410, 3719, 565, 11272, 565, 7311, 18, 1289, 14598, 12, 1377, 394, 24881, 12, 410, 7416, 16, 679, 907, 3631, 1377, 394, 1635, 8328, 264, 2932, 9815, 3113, 1635, 18, 1106, 13, 565, 11272, 3639, 327, 7311, 18, 3510, 1138, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 2770, 1361, 16321, 858, 9692, 1138, 12, 474, 9388, 16, 2029, 25467, 13, 288, 565, 14515, 7311, 273, 394, 14515, 5621, 3639, 2029, 2027, 907, 273, 394, 4477, 1253, 907, 2932, 4025, 907, 3113, 1635, 18, 1106, 1769, 565, 2029, 9388, 7416, 273, 394, 4477, 907, 2932, 410, 7416, 3113, 1635, 18, 1106, 1769, 565, 7311, 18, 1289, 14598, 12, 1377, 394, 24881, 12, 1937, 907, 16, 9388, 7416, 3631, 1377, 394, 1635, 620, 1586, 2932, 410, 3113, 394, 2144, 12, 410, 3719, 565, 11272, 565, 7311, 18, 1289, 14598, 12, 1377, 394, 24881, 12, 410, 7416, 16, 679, 907, 3631, 1377, 394, 1635, 8328, 264, 2932, 9815, 3113, 1635, 18, 1106, 13, 565, 11272, 3639, 2 ]
public java.sql.ResultSet ExecSQL(String sql) throws SQLException
public java.sql.ResultSet ExecSQL(PGStatement stmt, String sql) throws SQLException
public java.sql.ResultSet ExecSQL(String sql) throws SQLException { // added Oct 7 1998 to give us thread safety. synchronized(pg_stream) { Field[] fields = null; Vector tuples = new Vector(); byte[] buf = null; int fqp = 0; boolean hfr = false; String recv_status = null, msg; int update_count = 1; int insert_oid = 0; SQLException final_error = null; // Commented out as the backend can now handle queries // larger than 8K. Peter June 6 2000 //if (sql.length() > 8192) //throw new PSQLException("postgresql.con.toolong",sql); if (getEncoding() == null) buf = sql.getBytes(); else { try { buf = sql.getBytes(getEncoding()); } catch (UnsupportedEncodingException unse) { throw new PSQLException("postgresql.con.encoding", unse); } } try { pg_stream.SendChar('Q'); buf = sql.getBytes(); pg_stream.Send(buf); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } while (!hfr || fqp > 0) { Object tup=null; // holds rows as they are recieved int c = pg_stream.ReceiveChar(); switch (c) { case 'A': // Asynchronous Notify pid = pg_stream.ReceiveInteger(4); msg = pg_stream.ReceiveString(8192); break; case 'B': // Binary Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, true); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'C': // Command Status recv_status = pg_stream.ReceiveString(8192); // Now handle the update count correctly. if(recv_status.startsWith("INSERT") || recv_status.startsWith("UPDATE") || recv_status.startsWith("DELETE")) { try { update_count = Integer.parseInt(recv_status.substring(1+recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } if(recv_status.startsWith("INSERT")) { try { insert_oid = Integer.parseInt(recv_status.substring(1+recv_status.indexOf(' '),recv_status.lastIndexOf(' '))); } catch(NumberFormatException nfe) { throw new PSQLException("postgresql.con.fathom",recv_status); } } } if (fields != null) hfr = true; else { try { pg_stream.SendChar('Q'); pg_stream.SendChar(' '); pg_stream.SendChar(0); pg_stream.flush(); } catch (IOException e) { throw new PSQLException("postgresql.con.ioerror",e); } fqp++; } break; case 'D': // Text Data Transfer if (fields == null) throw new PSQLException("postgresql.con.tuple"); tup = pg_stream.ReceiveTuple(fields.length, false); // This implements Statement.setMaxRows() if(maxrows==0 || tuples.size()<maxrows) tuples.addElement(tup); break; case 'E': // Error Message msg = pg_stream.ReceiveString(4096); final_error = new SQLException(msg); hfr = true; break; case 'I': // Empty Query int t = pg_stream.ReceiveChar(); if (t != 0) throw new PSQLException("postgresql.con.garbled"); if (fqp > 0) fqp--; if (fqp == 0) hfr = true; break; case 'N': // Error Notification addWarning(pg_stream.ReceiveString(4096)); break; case 'P': // Portal Name String pname = pg_stream.ReceiveString(8192); break; case 'T': // MetaData Field Description if (fields != null) throw new PSQLException("postgresql.con.multres"); fields = ReceiveFields(); break; case 'Z': // backend ready for query, ignore for now :-) break; default: throw new PSQLException("postgresql.con.type",new Character((char)c)); } } if (final_error != null) throw final_error; return getResultSet(this, fields, tuples, recv_status, update_count, insert_oid); } }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 3889, 3997, 12, 18679, 3406, 3480, 16, 514, 1847, 13, 1216, 6483, 565, 288, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 18, 202, 22043, 12, 8365, 67, 3256, 13, 288, 202, 377, 202, 565, 2286, 8526, 1466, 273, 446, 31, 202, 565, 5589, 10384, 273, 394, 5589, 5621, 202, 565, 1160, 8526, 1681, 273, 446, 31, 202, 565, 509, 8508, 84, 273, 374, 31, 202, 565, 1250, 366, 4840, 273, 629, 31, 202, 565, 514, 10665, 67, 2327, 273, 446, 16, 1234, 31, 202, 565, 509, 1089, 67, 1883, 273, 404, 31, 202, 565, 509, 2243, 67, 839, 273, 374, 31, 202, 565, 6483, 727, 67, 1636, 273, 446, 31, 202, 377, 202, 565, 368, 9821, 329, 596, 487, 326, 4221, 848, 2037, 1640, 6218, 202, 565, 368, 10974, 2353, 1725, 47, 18, 453, 847, 804, 7556, 1666, 16291, 202, 565, 368, 430, 261, 4669, 18, 2469, 1435, 405, 26730, 13, 202, 565, 368, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 6738, 932, 3113, 4669, 1769, 3639, 309, 261, 588, 4705, 1435, 422, 446, 13, 5411, 1681, 273, 1847, 18, 588, 2160, 5621, 3639, 469, 288, 5411, 775, 288, 7734, 1681, 273, 1847, 18, 588, 2160, 12, 588, 4705, 10663, 5411, 289, 1044, 261, 8544, 13836, 640, 307, 13, 288, 1171, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 5999, 3113, 4766, 3639, 640, 307, 1769, 5411, 289, 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, 1071, 2252, 18, 4669, 18, 13198, 3889, 3997, 12, 18679, 3406, 3480, 16, 514, 1847, 13, 1216, 6483, 565, 288, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 18, 202, 22043, 12, 8365, 67, 3256, 13, 288, 202, 377, 202, 565, 2286, 8526, 1466, 273, 446, 31, 202, 565, 5589, 10384, 273, 394, 5589, 5621, 202, 565, 1160, 8526, 1681, 273, 446, 31, 202, 565, 509, 8508, 84, 273, 374, 31, 202, 565, 1250, 366, 4840, 273, 629, 31, 202, 565, 514, 10665, 67, 2327, 273, 446, 16, 1234, 31, 202, 565, 509, 1089, 67, 1883, 273, 404, 31, 202, 565, 509, 2243, 67, 839, 273, 374, 31, 202, 565, 6483, 727, 67, 1636, 2 ]
stream.readByte();
readByte(stream);
private void loadBinary(String location) throws IOException { boolean bigEndian = true; DataInputStream stream = new DataInputStream (new BufferedInputStream(new FileInputStream(location))); // read standard header string-size; set bigEndian flag int headerLength = stream.readInt(); bytesRead += 4; if (headerLength != (DARPA_LM_HEADER.length() + 1)) { // not big-endian headerLength = Utilities.swapInteger(headerLength); if (headerLength == (DARPA_LM_HEADER.length() + 1)) { bigEndian = false; } else { throw new Error ("Bad binary LM file magic number: " + headerLength + ", not an LM dumpfile?"); } } // read and verify standard header string String header = readString(stream, headerLength - 1); stream.readByte(); // read the '\0' if (!header.equals(DARPA_LM_HEADER)) { throw new Error("Bad binary LM file header: " + header); } // read LM filename string size and string int fileNameLength = readInt(stream, bigEndian); for (int i = 0; i < fileNameLength; i++) { stream.readByte(); } numberUnigrams = 0; int logBigramSegmentSize = LOG2_BIGRAM_SEGMENT_SIZE_DEFAULT; // read version number, if present. it must be <= 0. int version = readInt(stream, bigEndian); System.out.println("Version: " + version); if (version <= 0) { // yes, its the version number readInt(stream, bigEndian); // read and skip timestamp // read and skip format description int formatLength; for (;;) { if ((formatLength = readInt(stream, bigEndian)) == 0) { break; } for (int i = 0; i < formatLength; i++) { stream.readByte(); bytesRead++; } } // read log bigram segment size if present if (version <= -2) { logBigramSegmentSize = readInt(stream, bigEndian); if (logBigramSegmentSize < 1 || logBigramSegmentSize > 15) { throw new Error("log2(bg_seg_sz) outside range 1..15"); } } numberUnigrams = readInt(stream, bigEndian); } else { numberUnigrams = version; } int bigramSegmentSize = 1 << logBigramSegmentSize; if (numberUnigrams <= 0) { throw new Error("Bad number of unigrams: " + numberUnigrams + ", must be > 0."); } System.out.println("# of unigrams: " + numberUnigrams); numberBigrams = readInt(stream, bigEndian); if (numberBigrams < 0) { throw new Error("Bad number of bigrams: " + numberBigrams); } System.out.println("# of bigrams: " + numberBigrams); numberTrigrams = readInt(stream, bigEndian); if (numberTrigrams < 0) { throw new Error("Bad number of trigrams: " + numberTrigrams); } System.out.println("# of trigrams: " + numberTrigrams); unigrams = readUnigrams(stream, numberUnigrams+1, bigEndian); // skip all the bigram entries, the +1 is the sentinel at the end if (numberBigrams > 0) { bigramOffset = bytesRead; int bytesToSkip = (numberBigrams + 1) * 8; stream.skipBytes(bytesToSkip); bytesRead += bytesToSkip; } // skip all the trigram entries if (numberTrigrams > 0) { trigramOffset = bytesRead; int bytesToSkip = numberTrigrams * 4; stream.skipBytes(bytesToSkip); bytesRead += bytesToSkip; } // read the bigram probabilities table if (numberBigrams > 0) { this.bigramProbTable = readProbabilitiesTable(stream, bigEndian); } // read the trigram backoff weight table and trigram prob table if (numberTrigrams > 0) { trigramBackoffTable = readProbabilitiesTable(stream, bigEndian); trigramProbTable = readProbabilitiesTable(stream, bigEndian); int trigramSegTableSize = ((numberBigrams+1)/bigramSegmentSize)+1; trigramSegmentTable = readTrigramSegmentTable(stream, bigEndian, trigramSegTableSize); } // read word string names int wordsStringLength = readInt(stream, bigEndian); if (wordsStringLength <= 0) { throw new Error("Bad word string size: " + wordsStringLength); } // read the string of all words String wordsString = readString(stream, wordsStringLength); // first make sure string just read contains ucount words int numberWords = 0; for (int i = 0; i < wordsStringLength; i++) { if (wordsString.charAt(i) == '\0') { numberWords++; } } if (numberWords != numberUnigrams) { throw new Error("Bad # of words: " + numberWords); } // break up string just read into words this.words = wordsString.split("\0"); buildUnigramIDMap(); applyUnigramWeight(); stream.close(); // finally, create the FileChannel to the file that will allow // us to do memory mapping FileInputStream is = new FileInputStream(location); fileChannel = is.getChannel(); }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/2e0820f00b1872c5d07b9db5cb6f5c5a1925a177/LargeTrigramModel.java/buggy/edu/cmu/sphinx/knowledge/language/large/LargeTrigramModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 5905, 12, 780, 2117, 13, 1216, 1860, 288, 202, 6494, 5446, 7583, 273, 638, 31, 202, 751, 4348, 1407, 273, 394, 29382, 202, 565, 261, 2704, 24742, 12, 2704, 11907, 12, 3562, 3719, 1769, 202, 202, 759, 855, 4529, 1446, 533, 17, 1467, 31, 444, 5446, 7583, 2982, 202, 202, 474, 1446, 1782, 273, 1407, 18, 896, 1702, 5621, 3639, 17244, 1011, 1059, 31, 202, 430, 261, 3374, 1782, 480, 261, 40, 985, 4066, 67, 17063, 67, 7557, 18, 2469, 1435, 397, 404, 3719, 288, 368, 486, 5446, 17, 22910, 202, 565, 1446, 1782, 273, 26703, 18, 22270, 4522, 12, 3374, 1782, 1769, 202, 565, 309, 261, 3374, 1782, 422, 261, 40, 985, 4066, 67, 17063, 67, 7557, 18, 2469, 1435, 397, 404, 3719, 288, 202, 202, 14002, 7583, 273, 629, 31, 202, 565, 289, 469, 288, 202, 202, 12849, 394, 1068, 1082, 565, 7566, 6434, 3112, 511, 49, 585, 8146, 1300, 30, 315, 397, 1446, 1782, 397, 1082, 377, 3104, 486, 392, 511, 49, 4657, 768, 7225, 1769, 202, 565, 289, 202, 97, 202, 759, 855, 471, 3929, 4529, 1446, 533, 202, 780, 1446, 273, 18646, 12, 3256, 16, 1446, 1782, 300, 404, 1769, 202, 3256, 18, 896, 3216, 5621, 368, 855, 326, 2337, 20, 11, 202, 430, 16051, 3374, 18, 14963, 12, 40, 985, 4066, 67, 17063, 67, 7557, 3719, 288, 202, 565, 604, 394, 1068, 2932, 6434, 3112, 511, 49, 585, 1446, 30, 315, 397, 1446, 1769, 202, 97, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 5905, 12, 780, 2117, 13, 1216, 1860, 288, 202, 6494, 5446, 7583, 273, 638, 31, 202, 751, 4348, 1407, 273, 394, 29382, 202, 565, 261, 2704, 24742, 12, 2704, 11907, 12, 3562, 3719, 1769, 202, 202, 759, 855, 4529, 1446, 533, 17, 1467, 31, 444, 5446, 7583, 2982, 202, 202, 474, 1446, 1782, 273, 1407, 18, 896, 1702, 5621, 3639, 17244, 1011, 1059, 31, 202, 430, 261, 3374, 1782, 480, 261, 40, 985, 4066, 67, 17063, 67, 7557, 18, 2469, 1435, 397, 404, 3719, 288, 368, 486, 5446, 17, 22910, 202, 565, 1446, 1782, 273, 26703, 18, 22270, 4522, 12, 3374, 1782, 1769, 202, 565, 309, 261, 3374, 1782, 422, 261, 40, 985, 4066, 67, 2 ]
private Constructor getConstructor(MutablePicoContainer picoContainer) throws PicoIntrospectionException, NoSatisfiableConstructorsException, AmbiguousComponentResolutionException, AssignabilityRegistrationException, NotConcreteRegistrationException {
private Constructor getConstructor(PicoContainer picoContainer) throws PicoIntrospectionException, NoSatisfiableConstructorsException, AmbiguousComponentResolutionException, AssignabilityRegistrationException, NotConcreteRegistrationException {
private Constructor getConstructor(MutablePicoContainer picoContainer) throws PicoIntrospectionException, NoSatisfiableConstructorsException, AmbiguousComponentResolutionException, AssignabilityRegistrationException, NotConcreteRegistrationException { if (greediestConstructor == null) { List allConstructors = Arrays.asList(getComponentImplementation().getConstructors()); List satisfiableConstructors = getSatisfiableConstructors(allConstructors, picoContainer); // now we'll just take the biggest one greediestConstructor = null; Set conflicts = new HashSet(); for (int i = 0; i < satisfiableConstructors.size(); i++) { Constructor currentConstructor = (Constructor) satisfiableConstructors.get(i); if (greediestConstructor == null) { greediestConstructor = currentConstructor; } else if (greediestConstructor.getParameterTypes().length < currentConstructor.getParameterTypes().length) { conflicts.clear(); greediestConstructor = currentConstructor; } else if (greediestConstructor.getParameterTypes().length == currentConstructor.getParameterTypes().length) { conflicts.add(greediestConstructor); conflicts.add(currentConstructor); } } if (!conflicts.isEmpty()) { throw new TooManySatisfiableConstructorsException(getComponentImplementation(), conflicts); } } return greediestConstructor; }
14040 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14040/f01769d80669494f334960521adf35c80388408e/TransientComponentAdapter.java/clean/java/picocontainer/src/java/org/picocontainer/defaults/TransientComponentAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 11417, 17287, 12, 52, 10764, 2170, 293, 10764, 2170, 13, 1216, 453, 10764, 1702, 26362, 503, 16, 2631, 15163, 7396, 2214, 29590, 503, 16, 432, 1627, 10623, 1841, 11098, 503, 16, 12093, 2967, 7843, 503, 16, 2288, 25845, 7843, 503, 288, 3639, 309, 261, 11556, 329, 77, 395, 6293, 422, 446, 13, 288, 5411, 987, 777, 29590, 273, 5647, 18, 345, 682, 12, 588, 1841, 13621, 7675, 588, 29590, 10663, 5411, 987, 9281, 2214, 29590, 273, 1322, 270, 7396, 2214, 29590, 12, 454, 29590, 16, 293, 10764, 2170, 1769, 5411, 368, 2037, 732, 5614, 2537, 4862, 326, 5446, 17592, 1245, 5411, 5174, 329, 77, 395, 6293, 273, 446, 31, 5411, 1000, 14450, 273, 394, 6847, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 9281, 2214, 29590, 18, 1467, 5621, 277, 27245, 288, 7734, 11417, 783, 6293, 273, 261, 6293, 13, 9281, 2214, 29590, 18, 588, 12, 77, 1769, 7734, 309, 261, 11556, 329, 77, 395, 6293, 422, 446, 13, 288, 10792, 5174, 329, 77, 395, 6293, 273, 783, 6293, 31, 7734, 289, 469, 309, 261, 11556, 329, 77, 395, 6293, 18, 588, 1662, 2016, 7675, 2469, 411, 783, 6293, 18, 588, 1662, 2016, 7675, 2469, 13, 288, 10792, 14450, 18, 8507, 5621, 10792, 5174, 329, 77, 395, 6293, 273, 783, 6293, 31, 7734, 289, 469, 309, 261, 11556, 329, 77, 395, 6293, 18, 588, 1662, 2016, 7675, 2469, 422, 783, 6293, 18, 588, 1662, 2016, 7675, 2469, 13, 288, 10792, 14450, 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, 3238, 11417, 17287, 12, 52, 10764, 2170, 293, 10764, 2170, 13, 1216, 453, 10764, 1702, 26362, 503, 16, 2631, 15163, 7396, 2214, 29590, 503, 16, 432, 1627, 10623, 1841, 11098, 503, 16, 12093, 2967, 7843, 503, 16, 2288, 25845, 7843, 503, 288, 3639, 309, 261, 11556, 329, 77, 395, 6293, 422, 446, 13, 288, 5411, 987, 777, 29590, 273, 5647, 18, 345, 682, 12, 588, 1841, 13621, 7675, 588, 29590, 10663, 5411, 987, 9281, 2214, 29590, 273, 1322, 270, 7396, 2214, 29590, 12, 454, 29590, 16, 293, 10764, 2170, 1769, 5411, 368, 2037, 732, 5614, 2537, 4862, 326, 5446, 17592, 1245, 5411, 5174, 329, 77, 395, 6293, 273, 446, 31, 5411, 1000, 14450, 273, 394, 6847, 5621, 5411, 2 ]
else { for (Node child = node.getFirstChild(); child != null; child = child.getNextSibling()) { strip(child); } } }
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) { strip(child); } while (child != null) { Node next = child.getNextSibling(); node.removeChild(child); parent.insertBefore(child, node); child = next; } parent.removeChild(node); } if (nt == Node.TEXT_NODE || nt == Node.CDATA_SECTION_NODE) { if (!stylesheet.isPreserved((Text) node)) { node.getParentNode().removeChild(node); } else { String text = node.getNodeValue(); String stripped = text.trim(); if (!text.equals(stripped)) { node.setNodeValue(stripped); } } } else { for (Node child = node.getFirstChild(); child != null; child = child.getNextSibling()) { strip(child); } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TransformerImpl.java/clean/core/src/classpath/gnu/gnu/xml/transform/TransformerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 2569, 12, 907, 756, 13, 565, 1216, 11519, 10737, 225, 288, 565, 3025, 9513, 273, 756, 18, 588, 15101, 5621, 565, 309, 261, 496, 422, 2029, 18, 11101, 67, 14617, 67, 8744, 13, 1377, 288, 3639, 368, 6910, 1522, 2114, 598, 2097, 913, 3639, 2029, 982, 273, 756, 18, 588, 3054, 907, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 309, 261, 3624, 480, 446, 13, 1850, 288, 5411, 2569, 12, 3624, 1769, 1850, 289, 3639, 1323, 261, 3624, 480, 446, 13, 1850, 288, 5411, 2029, 1024, 273, 1151, 18, 588, 2134, 10291, 5621, 5411, 756, 18, 4479, 1763, 12, 3624, 1769, 5411, 982, 18, 6387, 4649, 12, 3624, 16, 756, 1769, 5411, 1151, 273, 1024, 31, 1850, 289, 3639, 982, 18, 4479, 1763, 12, 2159, 1769, 1377, 289, 565, 309, 261, 496, 422, 2029, 18, 5151, 67, 8744, 747, 9513, 422, 2029, 18, 18375, 67, 19082, 67, 8744, 13, 1377, 288, 3639, 309, 16051, 19403, 18, 291, 12236, 4920, 12443, 1528, 13, 756, 3719, 1850, 288, 5411, 756, 18, 588, 3054, 907, 7675, 4479, 1763, 12, 2159, 1769, 1850, 289, 3639, 469, 1850, 288, 5411, 514, 977, 273, 756, 18, 588, 907, 620, 5621, 5411, 514, 13300, 273, 977, 18, 5290, 5621, 5411, 309, 16051, 955, 18, 14963, 12, 6406, 1845, 3719, 2868, 288, 7734, 756, 18, 542, 907, 620, 12, 6406, 1845, 1769, 2868, 289, 1850, 289, 1377, 289, 565, 469, 1377, 288, 3639, 364, 261, 907, 1151, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 2569, 12, 907, 756, 13, 565, 1216, 11519, 10737, 225, 288, 565, 3025, 9513, 273, 756, 18, 588, 15101, 5621, 565, 309, 261, 496, 422, 2029, 18, 11101, 67, 14617, 67, 8744, 13, 1377, 288, 3639, 368, 6910, 1522, 2114, 598, 2097, 913, 3639, 2029, 982, 273, 756, 18, 588, 3054, 907, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 309, 261, 3624, 480, 446, 13, 1850, 288, 5411, 2569, 12, 3624, 1769, 1850, 289, 3639, 1323, 261, 3624, 480, 446, 13, 1850, 288, 5411, 2029, 1024, 273, 1151, 18, 588, 2134, 10291, 5621, 5411, 756, 18, 4479, 1763, 12, 3624, 1769, 5411, 982, 18, 6387, 4649, 12, 3624, 16, 756, 1769, 5411, 2 ]
return dataDictionary; }
return dataDictionary; }
public DataDictionary getDataDictionary() { return dataDictionary; }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/f89d9cc48710a8f8d3611f93c5b99eae17788636/DataDictionary.java/buggy/src/quickfix/DataDictionary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1910, 10905, 4303, 10905, 1435, 288, 1082, 202, 2463, 501, 10905, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1910, 10905, 4303, 10905, 1435, 288, 1082, 202, 2463, 501, 10905, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Date createdDate = created != null ? TimeUtil.parseDate(created) : null;
Date createdDate = created != null ? SVNTimeUtil.parseDate(created) : null;
public SVNLock doLock(String path, String comment, boolean force, long revision) throws SVNException { DAVBaselineInfo info = DAVUtil.getBaselineInfo(this, path, -1, false, true, null); StringBuffer body = DAVGetLockHandler.generateSetLockRequest(null, comment); Map header = null; if (revision >= 0) { header = new HashMap(); header.put("X-SVN-Version-Name", Long.toString(revision)); } if (force) { if (header == null) { header = new HashMap(); } header.put("X-SVN-Options", "lock-steal"); } DAVGetLockHandler handler = new DAVGetLockHandler(); DAVStatus status = myHttpConnection.request("LOCK", path, header, body, handler, null); if (status != null) { String userName = myHttpConnection.getLastValidCredentials() != null ? myHttpConnection.getLastValidCredentials().getUserName() : null; String created = (String) status.getResponseHeader().get("X-SVN-Creation-Date"); Date createdDate = created != null ? TimeUtil.parseDate(created) : null; return new SVNLock(info.baselinePath, handler.getID(), userName, comment, createdDate, null); } return null; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/7d9e268d6a37ea439479b898087708ee528aa904/DAVConnection.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29537, 50, 2531, 741, 2531, 12, 780, 589, 16, 514, 2879, 16, 1250, 2944, 16, 1525, 6350, 13, 1216, 29537, 50, 503, 288, 3639, 463, 5856, 16635, 966, 1123, 273, 463, 5856, 1304, 18, 588, 16635, 966, 12, 2211, 16, 589, 16, 300, 21, 16, 629, 16, 638, 16, 446, 1769, 3639, 6674, 1417, 273, 463, 5856, 967, 2531, 1503, 18, 7163, 694, 2531, 691, 12, 2011, 16, 2879, 1769, 3639, 1635, 1446, 273, 446, 31, 3639, 309, 261, 13057, 1545, 374, 13, 288, 5411, 1446, 273, 394, 4317, 5621, 5411, 1446, 18, 458, 2932, 60, 17, 23927, 50, 17, 1444, 17, 461, 3113, 3407, 18, 10492, 12, 13057, 10019, 3639, 289, 3639, 309, 261, 5734, 13, 288, 5411, 309, 261, 3374, 422, 446, 13, 288, 7734, 1446, 273, 394, 4317, 5621, 5411, 289, 5411, 1446, 18, 458, 2932, 60, 17, 23927, 50, 17, 1320, 3113, 315, 739, 17, 334, 73, 287, 8863, 3639, 289, 3639, 463, 5856, 967, 2531, 1503, 1838, 273, 394, 463, 5856, 967, 2531, 1503, 5621, 3639, 463, 5856, 1482, 1267, 273, 3399, 2940, 1952, 18, 2293, 2932, 6589, 3113, 589, 16, 1446, 16, 1417, 16, 1838, 16, 446, 1769, 3639, 309, 261, 2327, 480, 446, 13, 288, 5411, 514, 12065, 273, 3399, 2940, 1952, 18, 588, 3024, 1556, 6163, 1435, 480, 446, 692, 3399, 2940, 1952, 18, 588, 3024, 1556, 6163, 7675, 588, 15296, 1435, 294, 446, 31, 2398, 514, 2522, 273, 261, 780, 13, 1267, 18, 588, 1064, 1864, 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, 29537, 50, 2531, 741, 2531, 12, 780, 589, 16, 514, 2879, 16, 1250, 2944, 16, 1525, 6350, 13, 1216, 29537, 50, 503, 288, 3639, 463, 5856, 16635, 966, 1123, 273, 463, 5856, 1304, 18, 588, 16635, 966, 12, 2211, 16, 589, 16, 300, 21, 16, 629, 16, 638, 16, 446, 1769, 3639, 6674, 1417, 273, 463, 5856, 967, 2531, 1503, 18, 7163, 694, 2531, 691, 12, 2011, 16, 2879, 1769, 3639, 1635, 1446, 273, 446, 31, 3639, 309, 261, 13057, 1545, 374, 13, 288, 5411, 1446, 273, 394, 4317, 5621, 5411, 1446, 18, 458, 2932, 60, 17, 23927, 50, 17, 1444, 17, 461, 3113, 3407, 18, 10492, 12, 13057, 10019, 3639, 289, 3639, 309, 261, 5734, 13, 2 ]
return lex_p != lex_pend && c == lex_curline.charAt(lex_p);
return source.isNext((char) c);
private boolean peek(int c) { return lex_p != lex_pend && c == lex_curline.charAt(lex_p); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 8032, 12, 474, 276, 13, 288, 540, 327, 1084, 18, 291, 2134, 12443, 3001, 13, 276, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 8032, 12, 474, 276, 13, 288, 540, 327, 1084, 18, 291, 2134, 12443, 3001, 13, 276, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
while(r.next()) { byte[][] tuple = new byte[18][0];
if ((columnNamePattern != null) && ! columnNamePattern.equals("%")) { sql.append(" and a.attname like \'" + columnNamePattern + "\'"); }
public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { // the field descriptors for the new ResultSet Field f[] = new Field[18]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, 32); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, 32); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, 32); f[3] = new Field(connection, "COLUMN_NAME", iVarcharOid, 32); f[4] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[5] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[6] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[7] = new Field(connection, "BUFFER_LENGTH", iVarcharOid, 32); f[8] = new Field(connection, "DECIMAL_DIGITS", iInt4Oid, 4); f[9] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); f[10] = new Field(connection, "NULLABLE", iInt4Oid, 4); f[11] = new Field(connection, "REMARKS", iVarcharOid, 32); f[12] = new Field(connection, "COLUMN_DEF", iVarcharOid, 32); f[13] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[14] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[15] = new Field(connection, "CHAR_OCTET_LENGTH", iVarcharOid, 32); f[16] = new Field(connection, "ORDINAL_POSITION", iInt4Oid,4); f[17] = new Field(connection, "IS_NULLABLE", iVarcharOid, 32); // Added by Stefan Andreasen <[email protected]> // If the pattern are null then set them to % if (tableNamePattern == null) tableNamePattern="%"; if (columnNamePattern == null) columnNamePattern="%"; // Now form the query String query = "select " + (connection.haveMinimumServerVersion("7.2") ? "a.attrelid" : "a.oid") + ",c.relname,a.attname,a.atttypid," + "a.attnum,a.attnotnull,a.attlen,a.atttypmod,d.adsrc " + "from (pg_class c inner join pg_attribute a " + "on (c.oid=a.attrelid) ) " + "left outer join pg_attrdef d " + "on (c.oid=d.adrelid and d.adnum=a.attnum) " + "where " + "c.relname like '"+tableNamePattern.toLowerCase()+"' and " + "a.attname like '"+columnNamePattern.toLowerCase()+"' and " + "a.attnum>0 " + "order by c.relname,a.attnum"; r = connection.ExecSQL(query); while(r.next()) { byte[][] tuple = new byte[18][0]; // Fetch the description for the table (if any) String getDescriptionStatement = connection.haveMinimumServerVersion("7.2") ? "select col_description(" + r.getInt(1) + "," + r.getInt(5) + ")" : "select description from pg_description where objoid=" + r.getInt(1); java.sql.ResultSet dr = connection.ExecSQL(getDescriptionStatement); if(((org.postgresql.ResultSet)dr).getTupleCount()==1) { dr.next(); tuple[11] = dr.getBytes(1); } else tuple[11] = null; dr.close(); tuple[0] = "".getBytes(); // Catalog name tuple[1] = "".getBytes(); // Schema name tuple[2] = r.getBytes(2); // Table name tuple[3] = r.getBytes(3); // Column name dr = connection.ExecSQL("select typname from pg_type where oid = "+r.getString(4)); dr.next(); String typname=dr.getString(1); dr.close(); tuple[4] = Integer.toString(connection.getSQLType(typname)).getBytes(); // Data type tuple[5] = typname.getBytes(); // Type name // Column size // Looking at the psql source, // I think the length of a varchar as specified when the table was created // should be extracted from atttypmod which contains this length + sizeof(int32) if (typname.equals("bpchar") || typname.equals("varchar")) { int atttypmod = r.getInt(8); tuple[6] = Integer.toString(atttypmod != -1 ? atttypmod - VARHDRSZ : 0).getBytes(); } else tuple[6] = r.getBytes(7); tuple[7] = null; // Buffer length tuple[8] = "0".getBytes(); // Decimal Digits - how to get this? tuple[9] = "10".getBytes(); // Num Prec Radix - assume decimal // tuple[10] is below // tuple[11] is above tuple[12] = r.getBytes(9); // column default tuple[13] = null; // sql data type (unused) tuple[14] = null; // sql datetime sub (unused) tuple[15] = tuple[6]; // char octet length tuple[16] = r.getBytes(5); // ordinal position String nullFlag = r.getString(6); tuple[10] = Integer.toString(nullFlag.equals("f")?java.sql.DatabaseMetaData.columnNullable:java.sql.DatabaseMetaData.columnNoNulls).getBytes(); // Nullable tuple[17] = (nullFlag.equals("f")?"YES":"NO").getBytes(); // is nullable v.addElement(tuple); } r.close(); return new ResultSet(connection, f, v, "OK", 1); }
52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/07ce9fe61dd6cb7399d76f4a9cbcbe191b988ff2/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 368, 326, 652, 14215, 364, 326, 394, 10842, 565, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 565, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 565, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 55, 10390, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 565, 284, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 565, 284, 63, 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, 2252, 18, 4669, 18, 13198, 14226, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 16, 514, 7578, 3234, 13, 1216, 6483, 225, 288, 565, 368, 326, 652, 14215, 364, 326, 394, 10842, 565, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 565, 2252, 18, 4669, 18, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 565, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 565, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 14130, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 565, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 7775, 67, 2 ]
properties = templateData.getProperties();
properties = (Map)templateData.getProperties().clone();
public void writeObjects(DataOutputStream file, NameManipulator namer, boolean export) throws IOException{ // do not generate template data if not is export mode // but write expand block if (!export) { final String nl = "\n"; final String comma = ", "; final String quote = "\""; final String macro = " "+DBResolver.MACRO+"("; final String ending = ")"+nl; // write comment if (getTemplateData().getComment()!=null) file.writeBytes(nl+getTemplateData().getComment()); // expand start file.writeBytes(nl+DBResolver.EXPAND+"(\""+getTemplateData().getTemplate().getId()+"\""+ comma + getTemplateData().getName() + ") {"+nl); // macros Map macros = getTemplateData().getProperties(); Iterator i = getTemplateData().getPropertiesV().iterator(); while (i.hasNext()) { String name = i.next().toString(); file.writeBytes(macro + name + comma + quote + macros.get(name).toString() + quote + ending); } // export end file.writeBytes("}"+nl); return; } // export (generate, flatten) DB option String templateName = namer.getResolvedName(getName()); /* // merge all marcos Map properties = null; if (namer.getSubstitutions()==null) properties = templateData.getProperties(); else { // add this template substitutions (override existing one) properties = namer.getSubstitutions(); properties.putAll(templateData.getProperties()); }*/ // Note: // the macro values given in an expand(){} statement should not be // automatically passed down into any templates that are expanded within the // lower level file unless they are explicitly named as macros there too. Map properties = null; if (namer.getSubstitutions()==null) properties = templateData.getProperties(); else { properties = templateData.getProperties(); // update values Iterator i = properties.keySet().iterator(); while (i.hasNext()) { Object key = i.next(); properties.put(key, VDBTemplateInstance.applyProperties(properties.get(key).toString(), namer.getSubstitutions())); } } // new removedPrefix String removedPrefix = namer.getRemovedPrefix(); // new addedPrefix String addedPrefix = null; if (getParent()==null) addedPrefix = namer.getAddedPrefix(); else { // resolve parent group name - this is then addedPrefix // there is a secial case: removedPrefix is 'parentName:", but parentName is 'parentName' String parentName = ((Group)getParent()).getAbsoluteName(); if (parentName.equals(namer.getRemovedPrefix()+Constants.GROUP_SEPARATOR)) addedPrefix = namer.getResolvedName(parentName+Constants.GROUP_SEPARATOR); else addedPrefix = namer.getResolvedName(parentName); int len = addedPrefix.length(); if (len==0) addedPrefix = null; else if (addedPrefix.charAt(len-1)!=Constants.GROUP_SEPARATOR) addedPrefix = addedPrefix + Constants.GROUP_SEPARATOR; } NameManipulator newNamer = new DefaultNamer(namer.getFile(), removedPrefix, addedPrefix, properties); file.writeBytes("\n# expand(\""+getTemplateData().getTemplate().getFileName()+"\", "+templateName+")\n"); getTemplateData().getTemplate().getGroup().writeObjects(file, newNamer, export); file.writeBytes("\n# end("+templateName+")\n"); }
8177 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8177/ac36ffdbd5f0ae33278611604b28778f463ea18c/Template.java/clean/src/com/cosylab/vdct/graphics/objects/Template.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1045, 4710, 12, 751, 4632, 585, 16, 1770, 27587, 15135, 264, 16, 1250, 3359, 13, 202, 15069, 1860, 95, 202, 759, 741, 486, 2103, 1542, 501, 309, 486, 353, 3359, 1965, 202, 759, 1496, 1045, 4542, 1203, 202, 430, 16051, 6530, 13, 202, 95, 9506, 202, 6385, 514, 7741, 273, 1548, 82, 14432, 202, 202, 6385, 514, 8716, 273, 3104, 13636, 202, 202, 6385, 514, 3862, 273, 11143, 31, 202, 202, 6385, 514, 11522, 273, 315, 225, 13773, 2290, 4301, 18, 10875, 1457, 9078, 2932, 31, 202, 202, 6385, 514, 11463, 273, 7310, 15, 14039, 31, 9506, 225, 202, 759, 1045, 2879, 202, 225, 202, 430, 261, 588, 2283, 751, 7675, 588, 4469, 1435, 5, 33, 2011, 13, 202, 3196, 202, 768, 18, 2626, 2160, 12, 14039, 15, 588, 2283, 751, 7675, 588, 4469, 10663, 9506, 202, 759, 4542, 787, 202, 202, 768, 18, 2626, 2160, 12, 14039, 15, 2290, 4301, 18, 16109, 4307, 9078, 12, 8530, 15, 588, 2283, 751, 7675, 588, 2283, 7675, 26321, 1435, 9078, 8530, 15, 25083, 202, 25034, 397, 10646, 751, 7675, 17994, 1435, 397, 9369, 12528, 15, 14039, 1769, 1082, 202, 759, 24302, 202, 202, 863, 24302, 273, 10646, 751, 7675, 588, 2297, 5621, 202, 202, 3198, 277, 273, 10646, 751, 7675, 588, 2297, 58, 7675, 9838, 5621, 202, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 202, 202, 95, 1082, 202, 780, 508, 273, 277, 18, 4285, 7675, 10492, 5621, 1082, 202, 768, 18, 2626, 2160, 12, 26448, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1045, 4710, 12, 751, 4632, 585, 16, 1770, 27587, 15135, 264, 16, 1250, 3359, 13, 202, 15069, 1860, 95, 202, 759, 741, 486, 2103, 1542, 501, 309, 486, 353, 3359, 1965, 202, 759, 1496, 1045, 4542, 1203, 202, 430, 16051, 6530, 13, 202, 95, 9506, 202, 6385, 514, 7741, 273, 1548, 82, 14432, 202, 202, 6385, 514, 8716, 273, 3104, 13636, 202, 202, 6385, 514, 3862, 273, 11143, 31, 202, 202, 6385, 514, 11522, 273, 315, 225, 13773, 2290, 4301, 18, 10875, 1457, 9078, 2932, 31, 202, 202, 6385, 514, 11463, 273, 7310, 15, 14039, 31, 9506, 225, 202, 759, 1045, 2879, 202, 225, 202, 430, 261, 588, 2283, 751, 7675, 588, 4469, 1435, 5, 33, 2011, 2 ]
weapon.flags |= F_PROTOMECH;
weapon.flags |= F_PROTOMECH | F_MISSILE;
public static WeaponType createCLPROLRM10() { WeaponType weapon = new WeaponType(); weapon.name = "LRM 10"; weapon.setInternalName("CLLRM10"); weapon.heat = 0; weapon.damage=DAMAGE_MISSILE; weapon.rackSize=10; weapon.ammoType = AmmoType.T_LRM; weapon.minimumRange = WEAPON_NA; weapon.shortRange = 7; weapon.mediumRange=14; weapon.longRange =21; weapon.extremeRange = 28; weapon.tonnage = 2f; weapon.criticals=0; weapon.bv = 109; weapon.flags |= F_PROTOMECH; weapon.setModes(new String[] {"", "Indirect"}); return weapon; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/3de8871e6895277c40058c53708655401dda40bd/WeaponType.java/buggy/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5017, 3373, 48, 8717, 2163, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 48, 8717, 1728, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 39, 4503, 8717, 2163, 8863, 3639, 732, 28629, 18, 580, 270, 273, 374, 31, 3639, 732, 28629, 18, 72, 301, 410, 33, 40, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 33, 2163, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 48, 8717, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 2371, 31, 3639, 732, 28629, 18, 19011, 2655, 33, 3461, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 5340, 31, 3639, 732, 28629, 18, 408, 2764, 73, 2655, 273, 9131, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 576, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 33, 20, 31, 3639, 732, 28629, 18, 70, 90, 273, 30116, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 25455, 958, 1792, 571, 478, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 542, 18868, 12, 2704, 514, 8526, 12528, 3113, 315, 24943, 6, 22938, 3639, 327, 732, 28629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5017, 3373, 48, 8717, 2163, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 48, 8717, 1728, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 39, 4503, 8717, 2163, 8863, 3639, 732, 28629, 18, 580, 270, 273, 374, 31, 3639, 732, 28629, 18, 72, 301, 410, 33, 40, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 33, 2163, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 48, 8717, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2 ]
if ( configFile != null && configFile.exists( ) && configFile.isFile( ) )
if ( configFile != null && configFile.exists( ) && configFile.isFile( ) )
protected void __execute( ) throws Exception { ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( ); assert attrBean != null; // get design file name String reportDesignName = attrBean.getReportDesignName( ); // get design config file name String configFileName = ParameterAccessor .getConfigFileName( reportDesignName ); if ( configFileName == null ) { handleUpdate( ); return; } // Generate the session handle SessionHandle sessionHandle = DesignEngine.newSession( ULocale.US ); File configFile = new File( configFileName ); // if config file existed, then delete it if ( configFile != null && configFile.exists( ) && configFile.isFile( ) ) { configFile.delete( ); } // create a new config file ReportDesignHandle handle = sessionHandle.createDesign( ); // get parameters from operation Oprand[] op = this.operation.getOprand( ); if ( op != null ) { for ( int i = 0; i < op.length; i++ ) { ConfigVariable configVar = new ConfigVariable( ); String paramName = op[i].getName( ); String paramValue = op[i].getValue( ); // find the parameter ScalarParameterHandle parameter = (ScalarParameterHandle) attrBean .findParameter( paramName ); // convert the parameter from current locale to default // locale format if ( paramValue != null && parameter != null ) { try { if ( !DesignChoiceConstants.PARAM_TYPE_STRING .equalsIgnoreCase( parameter.getDataType( ) ) ) { Object paramValueObj = ParameterValidationUtil .validate( parameter.getDataType( ), parameter.getPattern( ), paramValue, attrBean .getLocale( ) ); paramValue = ParameterValidationUtil .getDisplayValue( parameter .getDataType( ), parameter .getPattern( ), paramValueObj, ULocale.US ); } } catch ( Exception err ) { paramValue = op[i].getValue( ); } // add parameter to config file configVar .setName( paramName + "_" + parameter.getID( ) ); //$NON-NLS-1$ configVar.setValue( paramValue ); handle.addConfigVariable( configVar ); } } } // save config file handle.saveAs( configFileName ); handle.close( ); handleUpdate( ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/468e546a0ee5a89c53fda23fc5a1cbaa98f44b37/BirtCacheParameterActionHandler.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1001, 8837, 12, 262, 1216, 1185, 202, 95, 202, 202, 18415, 1499, 3381, 1604, 3381, 273, 261, 18415, 1499, 3381, 13, 819, 18, 588, 3381, 12, 11272, 202, 202, 11231, 1604, 3381, 480, 446, 31, 202, 202, 759, 336, 8281, 585, 508, 202, 202, 780, 2605, 15478, 461, 273, 1604, 3381, 18, 588, 4820, 15478, 461, 12, 11272, 202, 202, 759, 336, 8281, 642, 585, 508, 202, 202, 780, 642, 4771, 273, 5498, 8235, 9506, 202, 18, 588, 809, 4771, 12, 2605, 15478, 461, 11272, 202, 202, 430, 261, 642, 4771, 422, 446, 262, 202, 202, 95, 1082, 202, 4110, 1891, 12, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 6654, 326, 1339, 1640, 202, 202, 2157, 3259, 1339, 3259, 273, 29703, 4410, 18, 2704, 2157, 12, 29145, 18, 3378, 11272, 202, 202, 812, 12247, 273, 394, 1387, 12, 642, 4771, 11272, 202, 202, 759, 309, 642, 585, 20419, 16, 1508, 1430, 518, 202, 202, 430, 261, 12247, 480, 446, 597, 12247, 18, 1808, 12, 262, 9506, 202, 10, 10, 12247, 18, 291, 812, 12, 262, 262, 202, 202, 95, 1082, 202, 1425, 812, 18, 3733, 12, 11272, 202, 202, 97, 202, 202, 759, 752, 279, 394, 642, 585, 202, 202, 4820, 15478, 3259, 1640, 273, 1339, 3259, 18, 2640, 15478, 12, 11272, 202, 202, 759, 336, 1472, 628, 1674, 202, 202, 51, 683, 464, 8526, 1061, 273, 333, 18, 7624, 18, 588, 51, 683, 464, 12, 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, 1117, 918, 1001, 8837, 12, 262, 1216, 1185, 202, 95, 202, 202, 18415, 1499, 3381, 1604, 3381, 273, 261, 18415, 1499, 3381, 13, 819, 18, 588, 3381, 12, 11272, 202, 202, 11231, 1604, 3381, 480, 446, 31, 202, 202, 759, 336, 8281, 585, 508, 202, 202, 780, 2605, 15478, 461, 273, 1604, 3381, 18, 588, 4820, 15478, 461, 12, 11272, 202, 202, 759, 336, 8281, 642, 585, 508, 202, 202, 780, 642, 4771, 273, 5498, 8235, 9506, 202, 18, 588, 809, 4771, 12, 2605, 15478, 461, 11272, 202, 202, 430, 261, 642, 4771, 422, 446, 262, 202, 202, 95, 1082, 202, 4110, 1891, 12, 11272, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 6654, 326, 2 ]
public void function() throws RecognitionException { Token name=null; String retType = null; String paramType = null; String paramName = null; String body = null; FunctionDescr f = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:336:17: ( 'function' opt_eol (retType= dotted_name )? opt_eol name= ID opt_eol '(' opt_eol ( (paramType= dotted_name )? opt_eol paramName= argument opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol )* )? ')' opt_eol '{' body= curly_chunk '}' opt_eol ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:336:17: 'function' opt_eol (retType= dotted_name )? opt_eol name= ID opt_eol '(' opt_eol ( (paramType= dotted_name )? opt_eol paramName= argument opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol )* )? ')' opt_eol '{' body= curly_chunk '}' opt_eol { match(input,22,FOLLOW_22_in_function362); following.push(FOLLOW_opt_eol_in_function364); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:336:36: (retType= dotted_name )? int alt12=2; alt12 = dfa12.predict(input); switch (alt12) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:336:37: retType= dotted_name { following.push(FOLLOW_dotted_name_in_function369); retType=dotted_name(); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_function373); opt_eol(); following.pop(); name=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_function377); following.push(FOLLOW_opt_eol_in_function379); opt_eol(); following.pop(); //System.err.println( "function :: " + name.getText() ); f = new FunctionDescr( name.getText(), retType ); match(input,23,FOLLOW_23_in_function388); following.push(FOLLOW_opt_eol_in_function390); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:342:25: ( (paramType= dotted_name )? opt_eol paramName= argument opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol )* )? int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0>=EOL && LA16_0<=ID)||LA16_0==15 ) { alt16=1; } else if ( LA16_0==25 ) { alt16=2; } else { NoViableAltException nvae = new NoViableAltException("342:25: ( (paramType= dotted_name )? opt_eol paramName= argument opt_eol ( \',\' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol )* )?", 16, 0, input); throw nvae; } switch (alt16) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:342:33: (paramType= dotted_name )? opt_eol paramName= argument opt_eol ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol )* { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:342:33: (paramType= dotted_name )? int alt13=2; alt13 = dfa13.predict(input); switch (alt13) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:342:34: paramType= dotted_name { following.push(FOLLOW_dotted_name_in_function400); paramType=dotted_name(); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_function404); opt_eol(); following.pop(); following.push(FOLLOW_argument_in_function408); paramName=argument(); following.pop(); following.push(FOLLOW_opt_eol_in_function410); opt_eol(); following.pop(); f.addParameter( paramType, paramName ); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:346:33: ( ',' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol )* loop15: do { int alt15=2; int LA15_0 = input.LA(1); if ( LA15_0==24 ) { alt15=1; } switch (alt15) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:346:41: ',' opt_eol (paramType= dotted_name )? opt_eol paramName= argument opt_eol { match(input,24,FOLLOW_24_in_function424); following.push(FOLLOW_opt_eol_in_function426); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:346:53: (paramType= dotted_name )? int alt14=2; alt14 = dfa14.predict(input); switch (alt14) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:346:54: paramType= dotted_name { following.push(FOLLOW_dotted_name_in_function431); paramType=dotted_name(); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_function435); opt_eol(); following.pop(); following.push(FOLLOW_argument_in_function439); paramName=argument(); following.pop(); following.push(FOLLOW_opt_eol_in_function441); opt_eol(); following.pop(); f.addParameter( paramType, paramName ); } break; default : break loop15; } } while (true); } break; } match(input,25,FOLLOW_25_in_function466); following.push(FOLLOW_opt_eol_in_function470); opt_eol(); following.pop(); match(input,26,FOLLOW_26_in_function474); following.push(FOLLOW_curly_chunk_in_function481); body=curly_chunk(); following.pop(); f.setText( body ); match(input,27,FOLLOW_27_in_function490); packageDescr.addFunction( f ); following.push(FOLLOW_opt_eol_in_function498); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/cb210a30853642e270a3bba6ce570409f6046852/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 445, 1435, 1216, 9539, 288, 6647, 3155, 508, 33, 2011, 31, 3639, 514, 325, 559, 273, 446, 31, 3639, 514, 20781, 273, 446, 31, 3639, 514, 11466, 273, 446, 31, 3639, 514, 1417, 273, 446, 31, 540, 202, 202, 2083, 16198, 284, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 3707, 26, 30, 4033, 30, 261, 296, 915, 11, 2153, 67, 30951, 261, 1349, 559, 33, 20965, 67, 529, 7851, 2153, 67, 30951, 508, 33, 1599, 2153, 67, 30951, 7321, 2153, 67, 30951, 261, 261, 891, 559, 33, 20965, 67, 529, 7851, 2153, 67, 30951, 11466, 33, 1237, 2153, 67, 30951, 261, 3316, 2153, 67, 30951, 261, 891, 559, 33, 20965, 67, 529, 7851, 2153, 67, 30951, 11466, 33, 1237, 2153, 67, 30951, 8618, 7851, 5777, 2153, 67, 30951, 9790, 1417, 33, 29270, 67, 6551, 9571, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 3707, 26, 30, 4033, 30, 296, 915, 11, 2153, 67, 30951, 261, 1349, 559, 33, 20965, 67, 529, 7851, 2153, 67, 30951, 508, 33, 1599, 2153, 67, 30951, 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, 445, 1435, 1216, 9539, 288, 6647, 3155, 508, 33, 2011, 31, 3639, 514, 325, 559, 273, 446, 31, 3639, 514, 20781, 273, 446, 31, 3639, 514, 11466, 273, 446, 31, 3639, 514, 1417, 273, 446, 31, 540, 202, 202, 2083, 16198, 284, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 3707, 26, 30, 4033, 30, 261, 296, 915, 11, 2153, 67, 30951, 261, 1349, 559, 33, 20965, 67, 529, 7851, 2153, 67, 30951, 508, 33, 1599, 2153, 67, 2 ]
return new LDAPDITContentRuleSchema( schema.getDITContentRuleSchema(name));
com.novell.ldap.LDAPDITContentRuleSchema rule = schema.getDITContentRuleSchema(name); if( rule == null) { return null; } return new LDAPDITContentRuleSchema( rule);
public LDAPDITContentRuleSchema getDITContentRuleSchema( String name ) { return new LDAPDITContentRuleSchema( schema.getDITContentRuleSchema(name)); }
9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/4793795edec9d0d3d0ee21779799241ba809e4ea/LDAPSchema.java/buggy/org/ietf/ldap/LDAPSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11916, 40, 1285, 1350, 2175, 3078, 2343, 1285, 1350, 2175, 3078, 12, 514, 508, 262, 565, 288, 3639, 532, 18, 2135, 941, 80, 18, 14394, 18, 15496, 40, 1285, 1350, 2175, 3078, 1720, 273, 1963, 18, 588, 40, 1285, 1350, 2175, 3078, 12, 529, 1769, 309, 12, 1720, 422, 446, 13, 288, 327, 446, 31, 289, 327, 394, 11916, 40, 1285, 1350, 2175, 3078, 12, 1720, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11916, 40, 1285, 1350, 2175, 3078, 2343, 1285, 1350, 2175, 3078, 12, 514, 508, 262, 565, 288, 3639, 532, 18, 2135, 941, 80, 18, 14394, 18, 15496, 40, 1285, 1350, 2175, 3078, 1720, 273, 1963, 18, 588, 40, 1285, 1350, 2175, 3078, 12, 529, 1769, 309, 12, 1720, 422, 446, 13, 288, 327, 446, 31, 289, 327, 394, 11916, 40, 1285, 1350, 2175, 3078, 12, 1720, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public TA_RetCode SAR( int startIdx, int endIdx, double inHigh[], double inLow[], double optInAcceleration, double optInMaximum, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ TA_RetCode retCode; int isLong; int todayIdx, outIdx; MInteger tempInt = new MInteger() ; double newHigh, newLow, prevHigh, prevLow; double af, ep, sar; double []ep_temp = new double[1]; ; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; if( optInAcceleration == (-4e+37) ) optInAcceleration = 2.000000e-2; else if( (optInAcceleration < 0.000000e+0) || (optInAcceleration > 3.000000e+37) ) return TA_RetCode. TA_BAD_PARAM; if( optInMaximum == (-4e+37) ) optInMaximum = 2.000000e-1; else if( (optInMaximum < 0.000000e+0) || (optInMaximum > 3.000000e+37) ) return TA_RetCode. TA_BAD_PARAM; if( startIdx < 1 ) startIdx = 1; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } af = optInAcceleration; if( af > optInMaximum ) af = optInAcceleration = optInMaximum; retCode = MINUS_DM ( startIdx, startIdx, inHigh, inLow, 1, tempInt , tempInt , ep_temp ); if( ep_temp[0] > 0 ) isLong = 0; else isLong = 1; if( retCode != TA_RetCode. TA_SUCCESS ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return retCode; } outBegIdx.value = startIdx; outIdx = 0; todayIdx = startIdx; newHigh = inHigh[todayIdx-1]; newLow = inLow[todayIdx-1]; ; ; if( isLong == 1 ) { ep = inHigh[todayIdx]; sar = newLow; } else { ep = inLow[todayIdx]; sar = newHigh; } ; newLow = inLow[todayIdx]; newHigh = inHigh[todayIdx]; while( todayIdx <= endIdx ) { prevLow = newLow; prevHigh = newHigh; newLow = inLow[todayIdx]; newHigh = inHigh[todayIdx]; todayIdx++; ; ; if( isLong == 1 ) { if( newLow <= sar ) { isLong = 0; sar = ep; if( sar < prevHigh ) sar = prevHigh; if( sar < newHigh ) sar = newHigh; outReal[outIdx++] = sar; af = optInAcceleration; ep = newLow; sar = sar + af * (ep - sar); ; if( sar < prevHigh ) sar = prevHigh; if( sar < newHigh ) sar = newHigh; } else { outReal[outIdx++] = sar; if( newHigh > ep ) { ep = newHigh; af += optInAcceleration; if( af > optInMaximum ) af = optInMaximum; } sar = sar + af * (ep - sar); ; if( sar > prevLow ) sar = prevLow; if( sar > newLow ) sar = newLow; } } else { if( newHigh >= sar ) { isLong = 1; sar = ep; if( sar > prevLow ) sar = prevLow; if( sar > newLow ) sar = newLow; outReal[outIdx++] = sar; af = optInAcceleration; ep = newHigh; sar = sar + af * (ep - sar); ; if( sar > prevLow ) sar = prevLow; if( sar > newLow ) sar = newLow; } else { outReal[outIdx++] = sar; if( newLow < ep ) { ep = newLow; af += optInAcceleration; if( af > optInMaximum ) af = optInMaximum; } sar = sar + af * (ep - sar); ; if( sar < prevHigh ) sar = prevHigh; if( sar < newHigh ) sar = newHigh; } } } outNbElement.value = outIdx; return TA_RetCode. TA_SUCCESS;}
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/1a230e9b7099cbd2b7e9eb1294130ca009bfedf4/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 399, 37, 67, 7055, 1085, 348, 985, 12, 509, 27108, 16, 509, 679, 4223, 16, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 2153, 382, 18019, 7067, 16, 1645, 2153, 382, 13528, 16, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 8526, 262, 95, 399, 37, 67, 7055, 1085, 325, 1085, 31, 509, 353, 3708, 31, 509, 10074, 4223, 16, 596, 4223, 31, 49, 4522, 1906, 1702, 273, 394, 490, 4522, 1435, 274, 1645, 394, 8573, 16, 394, 10520, 16, 2807, 8573, 16, 2807, 10520, 31, 1645, 10073, 16, 5529, 16, 272, 297, 31, 9056, 5378, 881, 67, 5814, 273, 394, 1645, 63, 21, 15533, 274, 309, 12, 27108, 411, 374, 262, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 309, 12, 261, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 309, 12, 2153, 382, 18019, 7067, 422, 19236, 24, 73, 15, 6418, 3719, 2153, 382, 18019, 7067, 273, 576, 18, 9449, 73, 17, 22, 31, 469, 309, 12, 261, 3838, 382, 18019, 7067, 411, 374, 18, 9449, 73, 15, 20, 13, 747, 261, 3838, 382, 18019, 7067, 405, 890, 18, 9449, 73, 15, 6418, 13, 262, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 16234, 67, 8388, 31, 309, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 399, 37, 67, 7055, 1085, 348, 985, 12, 509, 27108, 16, 509, 679, 4223, 16, 1645, 316, 8573, 63, 6487, 1645, 316, 10520, 63, 6487, 1645, 2153, 382, 18019, 7067, 16, 1645, 2153, 382, 13528, 16, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 8526, 262, 95, 399, 37, 67, 7055, 1085, 325, 1085, 31, 509, 353, 3708, 31, 509, 10074, 4223, 16, 596, 4223, 31, 49, 4522, 1906, 1702, 273, 394, 490, 4522, 1435, 274, 1645, 394, 8573, 16, 394, 10520, 16, 2807, 8573, 16, 2807, 10520, 31, 1645, 10073, 16, 5529, 16, 272, 297, 31, 9056, 5378, 881, 67, 5814, 273, 394, 1645, 63, 21, 15533, 274, 309, 12, 2 ]
public void casualtyNotification(String step, DiceRoll dice, PlayerID player, Collection killed, Collection damaged, Map dependents) { setStep(step); m_casualties.setNotication(dice, player, killed, damaged, dependents); m_actionLayout.show(m_actionPanel, CASUALTIES_KEY); if (player.equals(m_defender)) { m_defenderModel.removeCasualties(killed); } else { m_attackerModel.removeCasualties(killed); } }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/b612aabdebd9cb6772960cf4f04c67d0e66777c6/BattleDisplay.java/clean/src/games/strategy/triplea/ui/BattleDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6349, 1462, 4098, 4386, 12, 780, 4119, 16, 40, 1812, 4984, 1236, 1812, 16, 12148, 734, 14872, 16, 2532, 79, 13148, 16, 2532, 72, 301, 11349, 16, 863, 5817, 4877, 15329, 542, 4160, 12, 4119, 1769, 81, 67, 6349, 1462, 88, 606, 18, 542, 1248, 829, 12, 72, 1812, 16, 14872, 16, 79, 13148, 16, 72, 301, 11349, 16, 5817, 4877, 1769, 81, 67, 1128, 3744, 18, 4500, 12, 81, 67, 1128, 5537, 16, 20221, 14235, 14257, 67, 3297, 1769, 430, 12, 14872, 18, 14963, 12, 81, 67, 536, 2345, 3719, 95, 81, 67, 536, 2345, 1488, 18, 4479, 39, 345, 1462, 88, 606, 12, 79, 13148, 1769, 97, 12107, 95, 81, 67, 4558, 484, 264, 1488, 18, 4479, 39, 345, 1462, 88, 606, 12, 79, 13148, 1769, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 6349, 1462, 4098, 4386, 12, 780, 4119, 16, 40, 1812, 4984, 1236, 1812, 16, 12148, 734, 14872, 16, 2532, 79, 13148, 16, 2532, 72, 301, 11349, 16, 863, 5817, 4877, 15329, 542, 4160, 12, 4119, 1769, 81, 67, 6349, 1462, 88, 606, 18, 542, 1248, 829, 12, 72, 1812, 16, 14872, 16, 79, 13148, 16, 72, 301, 11349, 16, 5817, 4877, 1769, 81, 67, 1128, 3744, 18, 4500, 12, 81, 67, 1128, 5537, 16, 20221, 14235, 14257, 67, 3297, 1769, 430, 12, 14872, 18, 14963, 12, 81, 67, 536, 2345, 3719, 95, 81, 67, 536, 2345, 1488, 18, 4479, 39, 345, 1462, 88, 606, 12, 79, 13148, 1769, 97, 12107, 95, 81, 67, 4558, 484, 264, 1488, 2 ]
renWin.GetRenderer().AddActor(outlineActor);
GetRenderer().AddActor(outlineActor);
public void setImageData(vtkImageData id) { //The shared picker enables us to use 3 planes at one time //and gets the picking order right vtkCellPicker picker = new vtkCellPicker(); picker.SetTolerance(0.005); //The 3 image plane widgets are used to probe the dataset. vtkImagePlaneWidget planeWidgetX = new vtkImagePlaneWidget(); planeWidgetX.DisplayTextOn(); planeWidgetX.SetInput(id); planeWidgetX.SetInteractor(renWin.getIren()); planeWidgetX.SetPlaneOrientationToXAxes(); planeWidgetX.SetSliceIndex(32); planeWidgetX.SetPicker(picker); planeWidgetX.SetKeyPressActivationValue('x'); planeWidgetX.GetPlaneProperty().SetColor(1, 0, 0); planeWidgetX.On(); vtkImagePlaneWidget planeWidgetY = new vtkImagePlaneWidget(); planeWidgetY.DisplayTextOn(); planeWidgetY.SetInput(id); planeWidgetY.SetInteractor(renWin.getIren()); planeWidgetY.SetPlaneOrientationToYAxes(); planeWidgetY.SetSliceIndex(32); planeWidgetY.SetPicker(picker); planeWidgetY.SetKeyPressActivationValue('y'); planeWidgetY.GetPlaneProperty().SetColor(1, 1, 0); planeWidgetY.SetLookupTable(planeWidgetX.GetLookupTable()); planeWidgetY.On(); //for the z-slice, turn off texture interpolation: //interpolation is now nearest neighbour, to demonstrate //cross-hair cursor snapping to pixel centers vtkImagePlaneWidget planeWidgetZ = new vtkImagePlaneWidget(); planeWidgetZ.DisplayTextOn(); planeWidgetZ.SetInput(id); planeWidgetZ.TextureInterpolateOff(); planeWidgetZ.SetInteractor(renWin.getIren()); planeWidgetZ.SetPlaneOrientationToZAxes(); planeWidgetZ.SetSliceIndex(46); planeWidgetZ.SetPicker(picker); planeWidgetZ.SetKeyPressActivationValue('z'); planeWidgetZ.GetPlaneProperty().SetColor (0, 0, 1); planeWidgetZ.SetLookupTable(planeWidgetX.GetLookupTable()); planeWidgetZ.On(); //An outline is shown for context. vtkOutlineFilter outline = new vtkOutlineFilter(); outline.SetInput (id); vtkPolyDataMapper outlineMapper = new vtkPolyDataMapper(); outlineMapper.SetInput ( outline.GetOutput() ); vtkActor outlineActor = new vtkActor(); outlineActor.SetMapper(outlineMapper); renWin.GetRenderer().AddActor(outlineActor); //Add the outline actor to the renderer, set the background and size renWin.GetRenderer().GetCullers().RemoveAllItems(); renWin.GetRenderer().SetBackground(0.1, 0.1, 0.2); }
45895 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45895/a498c4a24d08be9a14ecb583bfc09eb98abb52e8/ImagePlaneWidget.java/clean/Wrapping/Java/ImagePlaneWidget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 18893, 751, 12, 11734, 79, 2040, 751, 612, 13, 288, 565, 368, 1986, 5116, 18141, 19808, 584, 358, 999, 890, 31634, 622, 1245, 813, 565, 368, 464, 5571, 326, 6002, 310, 1353, 2145, 565, 13659, 4020, 13194, 18141, 273, 394, 13659, 4020, 13194, 5621, 565, 18141, 18, 694, 22678, 12, 20, 18, 28564, 1769, 565, 368, 1986, 890, 1316, 11017, 10965, 854, 1399, 358, 10695, 326, 3709, 18, 565, 13659, 2040, 19505, 4609, 11017, 4609, 60, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 60, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 60, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 60, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 10663, 565, 11017, 4609, 60, 18, 694, 19505, 14097, 14955, 26494, 5621, 565, 11017, 4609, 60, 18, 694, 5959, 1016, 12, 1578, 1769, 565, 11017, 4609, 60, 18, 694, 13194, 12, 10569, 1769, 565, 11017, 4609, 60, 18, 30267, 11840, 14857, 620, 2668, 92, 8284, 565, 11017, 4609, 60, 18, 967, 19505, 1396, 7675, 694, 2957, 12, 21, 16, 374, 16, 374, 1769, 565, 11017, 4609, 60, 18, 1398, 5621, 565, 13659, 2040, 19505, 4609, 11017, 4609, 61, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 61, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 61, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 61, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 10663, 565, 11017, 4609, 61, 18, 694, 19505, 14097, 774, 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, 18893, 751, 12, 11734, 79, 2040, 751, 612, 13, 288, 565, 368, 1986, 5116, 18141, 19808, 584, 358, 999, 890, 31634, 622, 1245, 813, 565, 368, 464, 5571, 326, 6002, 310, 1353, 2145, 565, 13659, 4020, 13194, 18141, 273, 394, 13659, 4020, 13194, 5621, 565, 18141, 18, 694, 22678, 12, 20, 18, 28564, 1769, 565, 368, 1986, 890, 1316, 11017, 10965, 854, 1399, 358, 10695, 326, 3709, 18, 565, 13659, 2040, 19505, 4609, 11017, 4609, 60, 273, 394, 13659, 2040, 19505, 4609, 5621, 565, 11017, 4609, 60, 18, 4236, 1528, 1398, 5621, 565, 11017, 4609, 60, 18, 28299, 12, 350, 1769, 565, 11017, 4609, 60, 18, 694, 2465, 3362, 12, 1187, 18049, 18, 588, 45, 1187, 2 ]
addPath(rubyDir + "site_ruby" + File.separatorChar + Constants.RUBY_MAJOR_VERSION); addPath(rubyDir + "site_ruby" + File.separatorChar + Constants.RUBY_MAJOR_VERSION + File.separatorChar + "java");
addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION); addPath(rubyDir + "site_ruby" + sep + Constants.RUBY_MAJOR_VERSION + sep + "java");
public void init(Ruby runtime, List additionalDirectories) { for (Iterator iter = additionalDirectories.iterator(); iter.hasNext();) { addPath((String)iter.next()); } if (runtime.getSafeLevel() == 0) { String jrubyLib = System.getProperty("jruby.lib"); if (jrubyLib != null) { addPath(jrubyLib); } } String jrubyHome = System.getProperty("jruby.home"); if (jrubyHome != null) { String rubyDir = jrubyHome + File.separatorChar + "lib" + File.separatorChar + "ruby" + File.separatorChar; addPath(rubyDir + "site_ruby" + File.separatorChar + Constants.RUBY_MAJOR_VERSION); addPath(rubyDir + "site_ruby" + File.separatorChar + Constants.RUBY_MAJOR_VERSION + File.separatorChar + "java"); addPath(rubyDir + "site_ruby"); addPath(rubyDir + Constants.RUBY_MAJOR_VERSION); addPath(rubyDir + Constants.RUBY_MAJOR_VERSION + File.separatorChar + "java"); } if (runtime.getSafeLevel() == 0) { addPath("."); } }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/61503e7396c70acb6ed9f50922ff044d1fcc4bcc/LoadService.java/buggy/src/org/jruby/internal/runtime/load/LoadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 54, 10340, 3099, 16, 987, 3312, 13071, 13, 288, 3639, 364, 261, 3198, 1400, 273, 3312, 13071, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 25505, 12443, 780, 13, 2165, 18, 4285, 10663, 3639, 289, 3639, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 422, 374, 13, 288, 5411, 514, 525, 27768, 5664, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 2941, 8863, 5411, 309, 261, 78, 27768, 5664, 480, 446, 13, 288, 7734, 25505, 12, 78, 27768, 5664, 1769, 5411, 289, 3639, 289, 3639, 514, 525, 27768, 8684, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 8712, 8863, 3639, 309, 261, 78, 27768, 8684, 480, 446, 13, 288, 5411, 514, 22155, 1621, 273, 525, 27768, 8684, 397, 1387, 18, 11287, 2156, 397, 315, 2941, 6, 397, 1387, 18, 11287, 2156, 397, 315, 27768, 6, 397, 1387, 18, 11287, 2156, 31, 5411, 25505, 12, 27768, 1621, 397, 315, 4256, 67, 27768, 6, 397, 1387, 18, 11287, 2156, 397, 5245, 18, 54, 3457, 61, 67, 26976, 916, 67, 5757, 1769, 5411, 25505, 12, 27768, 1621, 397, 315, 4256, 67, 27768, 6, 397, 1387, 18, 11287, 2156, 397, 5245, 18, 54, 3457, 61, 67, 26976, 916, 67, 5757, 397, 1387, 18, 11287, 2156, 397, 315, 6290, 8863, 5411, 25505, 12, 27768, 1621, 397, 315, 4256, 67, 27768, 8863, 5411, 25505, 12, 27768, 1621, 397, 5245, 18, 54, 3457, 61, 67, 26976, 916, 67, 5757, 1769, 5411, 25505, 12, 27768, 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, 1208, 12, 54, 10340, 3099, 16, 987, 3312, 13071, 13, 288, 3639, 364, 261, 3198, 1400, 273, 3312, 13071, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 25505, 12443, 780, 13, 2165, 18, 4285, 10663, 3639, 289, 3639, 309, 261, 9448, 18, 588, 9890, 2355, 1435, 422, 374, 13, 288, 5411, 514, 525, 27768, 5664, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 2941, 8863, 5411, 309, 261, 78, 27768, 5664, 480, 446, 13, 288, 7734, 25505, 12, 78, 27768, 5664, 1769, 5411, 289, 3639, 289, 3639, 514, 525, 27768, 8684, 273, 2332, 18, 588, 1396, 2932, 78, 27768, 18, 8712, 8863, 3639, 309, 261, 78, 27768, 8684, 480, 446, 13, 288, 2 ]
(XmlSchemaAttribute) obj, schemaObj);
(XmlSchemaAttribute) obj, schemaObj);
private void serializeSchemaChild(XmlSchemaObjectCollection items, Element serializedSchema, Document serializedSchemaDocs, XmlSchema schemaObj, boolean serializeIncluded) throws XmlSchemaSerializerException { int itemsLength = items.getCount(); /** * For each of the items that belong to this schema, * serialize each member found. * Permittable member is: element, simpleType, complexType, * group, attrributeGroup, Attribute, include, import and redefine. * if any of the member found then serialize the component. */ for (int i = 0; i < itemsLength; i++) { XmlSchemaObject obj = items.getItem(i); if (obj instanceof XmlSchemaElement) { Element e = serializeElement(serializedSchemaDocs, (XmlSchemaElement) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaSimpleType) { Element e = serializeSimpleType(serializedSchemaDocs, (XmlSchemaSimpleType) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaComplexType) { Element e = serializeComplexType(serializedSchemaDocs, (XmlSchemaComplexType) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaGroup) { Element e = serializeGroup(serializedSchemaDocs, (XmlSchemaGroup) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaAttributeGroup) { Element e = serializeAttributeGroup(serializedSchemaDocs, (XmlSchemaAttributeGroup) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaAttribute) { Element e = serializeAttribute(serializedSchemaDocs, (XmlSchemaAttribute) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaRedefine) { Element e = serializeRedefine(serializedSchemaDocs, (XmlSchemaRedefine) obj, schemaObj); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaInclude) { Element e = serializeInclude(serializedSchemaDocs, (XmlSchemaInclude) obj, schemaObj, serializeIncluded); serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaImport) { Element e = serializeImport(serializedSchemaDocs, (XmlSchemaImport) obj, schemaObj, serializeIncluded); serializedSchema.appendChild(e); } } }
58536 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58536/583d6c2db5f993d3085942269eca1b2ab8f3bc5f/XmlSchemaSerializer.java/buggy/src/org/apache/ws/commons/schema/XmlSchemaSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4472, 3078, 1763, 12, 4432, 3078, 921, 2532, 1516, 16, 4766, 1377, 3010, 5343, 3078, 16, 4319, 5343, 3078, 12656, 16, 4766, 1377, 5714, 3078, 1963, 2675, 16, 1250, 4472, 19323, 13, 5411, 1216, 5714, 3078, 6306, 503, 288, 3639, 509, 1516, 1782, 273, 1516, 18, 588, 1380, 5621, 3639, 1783, 540, 380, 2457, 1517, 434, 326, 1516, 716, 10957, 358, 333, 1963, 16, 1850, 380, 4472, 1517, 3140, 1392, 18, 6647, 380, 13813, 305, 2121, 3140, 353, 30, 930, 16, 4143, 559, 16, 7233, 559, 16, 540, 380, 1041, 16, 1604, 1533, 624, 1114, 16, 3601, 16, 2341, 16, 1930, 471, 283, 11255, 18, 540, 380, 309, 1281, 434, 326, 3140, 1392, 1508, 4472, 326, 1794, 18, 540, 1195, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 1782, 31, 277, 27245, 288, 5411, 5714, 3078, 921, 1081, 273, 1516, 18, 588, 1180, 12, 77, 1769, 5411, 309, 261, 2603, 1276, 5714, 3078, 1046, 13, 288, 7734, 3010, 425, 273, 4472, 1046, 12, 17569, 3078, 12656, 16, 4766, 2398, 261, 4432, 3078, 1046, 13, 1081, 16, 1963, 2675, 1769, 7734, 5343, 3078, 18, 6923, 1763, 12, 73, 1769, 5411, 289, 469, 309, 261, 2603, 1276, 5714, 3078, 5784, 559, 13, 288, 7734, 3010, 425, 273, 4472, 5784, 559, 12, 17569, 3078, 12656, 16, 4766, 7734, 261, 4432, 3078, 5784, 559, 13, 1081, 16, 1963, 2675, 1769, 7734, 5343, 3078, 18, 6923, 1763, 12, 73, 1769, 5411, 289, 469, 309, 261, 2603, 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, 4472, 3078, 1763, 12, 4432, 3078, 921, 2532, 1516, 16, 4766, 1377, 3010, 5343, 3078, 16, 4319, 5343, 3078, 12656, 16, 4766, 1377, 5714, 3078, 1963, 2675, 16, 1250, 4472, 19323, 13, 5411, 1216, 5714, 3078, 6306, 503, 288, 3639, 509, 1516, 1782, 273, 1516, 18, 588, 1380, 5621, 3639, 1783, 540, 380, 2457, 1517, 434, 326, 1516, 716, 10957, 358, 333, 1963, 16, 1850, 380, 4472, 1517, 3140, 1392, 18, 6647, 380, 13813, 305, 2121, 3140, 353, 30, 930, 16, 4143, 559, 16, 7233, 559, 16, 540, 380, 1041, 16, 1604, 1533, 624, 1114, 16, 3601, 16, 2341, 16, 1930, 471, 283, 11255, 18, 540, 380, 309, 1281, 434, 326, 3140, 1392, 1508, 4472, 326, 2 ]
retval.setSQL(cr_table+cr_index+cr_seq);
retval.setSQL(cr_table+cr_uniq_index+cr_index+cr_seq);
public SQLStatement getSQLStatements(TransMeta transMeta, StepMeta stepMeta, Row prev) { SQLStatement retval = new SQLStatement(stepMeta.getName(), database, null); // default: nothing to do! if (database!=null) { if (prev!=null && prev.size()>0) { if (tablename!=null && tablename.length()>0) { Database db = new Database(database); try { db.connect(); // OK, what do we put in the new table?? Row fields = new Row(); // First, the new technical key... Value vkeyfield = new Value(technicalKeyField, Value.VALUE_TYPE_INTEGER); vkeyfield.setLength(10,0); fields.addValue(vkeyfield); // Then the hashcode (optional) if (useHash && hashField!=null && hashField.length()>0) { Value vhashfield = new Value(hashField, Value.VALUE_TYPE_INTEGER); vhashfield.setLength(15,0); fields.addValue(vhashfield); } // Then the rest of the fields in the lookup-section for (int i=0;i<keyLookup.length;i++) { String error_fields=""; //$NON-NLS-1$ Value vkey = prev.searchValue(keyLookup[i]); if (vkey!=null) { fields.addValue(vkey); } else { if (error_fields.length()>0) error_fields+=", "; //$NON-NLS-1$ error_fields+=keyLookup[i]; } if (error_fields.length()>0) { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.CannotFindFields")+error_fields); //$NON-NLS-1$ } } String cr_table = db.getDDL(tablename, fields, (sequenceFrom!=null && sequenceFrom.length()==0)?technicalKeyField:null, useAutoinc, null, true ); // // OK, now let's build the index // // What fields do we put int the index? // Only the hashcode or all fields? String cr_index = ""; //$NON-NLS-1$ String idx_fields[] = null; if (useHash) { if (hashField!=null && hashField.length()>0) { idx_fields = new String[] { hashField }; } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotHashFieldSpecified")); //$NON-NLS-1$ } } else // index on all key fields... { if (keyLookup!=null && keyLookup.length>0) { int nrfields = keyLookup.length; if (nrfields>32 && database.getDatabaseType()==DatabaseMeta.TYPE_DATABASE_ORACLE) { nrfields=32; // Oracle indexes are limited to 32 fields... } idx_fields = new String[nrfields]; for (int i=0;i<nrfields;i++) idx_fields[i] = keyLookup[i]; } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotFieldsSpecified")); //$NON-NLS-1$ } } // OK, now get the create index statement... if (idx_fields!=null && idx_fields.length>0 && !db.checkIndexExists(tablename, idx_fields) ) { String indexname = "idx_"+tablename+"_lookup"; //$NON-NLS-1$ //$NON-NLS-2$ cr_index = db.getCreateIndexStatement(tablename, indexname, idx_fields, false, false, false, true); cr_index+=Const.CR; } // // Don't forget the sequence (optional) // String cr_seq=""; //$NON-NLS-1$ if ((database.getDatabaseType()==DatabaseMeta.TYPE_DATABASE_ORACLE) && sequenceFrom!=null && sequenceFrom.length()>0 ) { if (!db.checkSequenceExists(sequenceFrom)) { cr_seq+=db.getCreateSequenceStatement(sequenceFrom, 1L, 1L, -1L, true); cr_seq+=Const.CR; } } retval.setSQL(cr_table+cr_index+cr_seq); } catch(KettleException e) { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.ErrorOccurred")+Const.CR+e.getMessage()); //$NON-NLS-1$ } } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotTableDefined")); //$NON-NLS-1$ } } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotReceivingField")); //$NON-NLS-1$ } } else { retval.setError(Messages.getString("CombinationLookupMeta.ReturnValue.NotConnectionDefined")); //$NON-NLS-1$ } return retval; }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/8752f3f5e66d59d9e3a97e797cef7bc045d25df6/CombinationLookupMeta.java/buggy/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookupMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3063, 3406, 21708, 14663, 12, 1429, 2781, 906, 2781, 16, 8693, 2781, 2235, 2781, 16, 6556, 2807, 13, 202, 95, 202, 202, 3997, 3406, 5221, 273, 394, 3063, 3406, 12, 4119, 2781, 18, 17994, 9334, 2063, 16, 446, 1769, 368, 805, 30, 5083, 358, 741, 5, 1082, 202, 430, 261, 6231, 5, 33, 2011, 13, 202, 202, 95, 1082, 202, 430, 261, 10001, 5, 33, 2011, 597, 2807, 18, 1467, 1435, 34, 20, 13, 1082, 202, 95, 9506, 202, 430, 261, 7032, 14724, 5, 33, 2011, 597, 19096, 18, 2469, 1435, 34, 20, 13, 9506, 202, 95, 6862, 202, 4254, 1319, 273, 394, 5130, 12, 6231, 1769, 6862, 202, 698, 6862, 202, 95, 25083, 202, 1966, 18, 3612, 5621, 6862, 6862, 9506, 202, 759, 7791, 16, 4121, 741, 732, 1378, 316, 326, 394, 1014, 14646, 25083, 202, 1999, 1466, 273, 394, 6556, 5621, 6862, 6862, 9506, 202, 759, 5783, 16, 326, 394, 17734, 1706, 498, 2777, 25083, 202, 620, 331, 856, 1518, 273, 394, 1445, 12, 28012, 82, 1706, 653, 974, 16, 1445, 18, 4051, 67, 2399, 67, 14217, 1769, 25083, 202, 90, 856, 1518, 18, 542, 1782, 12, 2163, 16, 20, 1769, 25083, 202, 2821, 18, 1289, 620, 12, 90, 856, 1518, 1769, 6862, 6862, 9506, 202, 759, 9697, 326, 31539, 261, 10444, 13, 25083, 202, 430, 261, 1202, 2310, 597, 1651, 974, 5, 33, 2011, 597, 1651, 974, 18, 2469, 1435, 34, 20, 13, 25083, 202, 95, 6862, 1082, 202, 620, 331, 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, 3063, 3406, 21708, 14663, 12, 1429, 2781, 906, 2781, 16, 8693, 2781, 2235, 2781, 16, 6556, 2807, 13, 202, 95, 202, 202, 3997, 3406, 5221, 273, 394, 3063, 3406, 12, 4119, 2781, 18, 17994, 9334, 2063, 16, 446, 1769, 368, 805, 30, 5083, 358, 741, 5, 1082, 202, 430, 261, 6231, 5, 33, 2011, 13, 202, 202, 95, 1082, 202, 430, 261, 10001, 5, 33, 2011, 597, 2807, 18, 1467, 1435, 34, 20, 13, 1082, 202, 95, 9506, 202, 430, 261, 7032, 14724, 5, 33, 2011, 597, 19096, 18, 2469, 1435, 34, 20, 13, 9506, 202, 95, 6862, 202, 4254, 1319, 273, 394, 5130, 12, 6231, 1769, 6862, 202, 698, 6862, 202, 95, 25083, 202, 1966, 2 ]
if(version.equals("1.0") || version.equals("1.1"){
if(version.equals("1.0") || version.equals("1.1")){
public void setXmlVersion(String value) { if(version.equals("1.0") || version.equals("1.1"){ version = value; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/ef0215d9d632c98282d4c6b604275aeebfb658a6/CoreDocumentImpl.java/buggy/src/org/apache/xerces/dom/CoreDocumentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4432, 1444, 12, 780, 460, 13, 288, 3639, 309, 12, 1589, 18, 14963, 2932, 21, 18, 20, 7923, 747, 1177, 18, 14963, 2932, 21, 18, 21, 6, 3719, 95, 5411, 1177, 273, 460, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4432, 1444, 12, 780, 460, 13, 288, 3639, 309, 12, 1589, 18, 14963, 2932, 21, 18, 20, 7923, 747, 1177, 18, 14963, 2932, 21, 18, 21, 6, 3719, 95, 5411, 1177, 273, 460, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (lineno < itsData.itsFirstLine) { itsData.itsFirstLine = lineno; } if (lineno >= itsData.itsEndLine) { itsData.itsEndLine = lineno + 1; }
private int updateLineNumber(Node node, int iCodeTop) { Object datum = node.getDatum(); if (datum == null || !(datum instanceof Number)) return iCodeTop; int lineno = ((Number) datum).intValue(); if (lineno != itsLineNumber && lineno >= 0) { itsLineNumber = lineno; iCodeTop = addByte(LINE_ICODE, iCodeTop); iCodeTop = addShort(lineno, iCodeTop); if (lineno < itsData.itsFirstLine) { itsData.itsFirstLine = lineno; } if (lineno >= itsData.itsEndLine) { itsData.itsEndLine = lineno + 1; } } return iCodeTop; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/ba0661c4930bce05ad78b222083c34077170a9e4/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1089, 31063, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 1033, 12059, 273, 756, 18, 588, 18268, 5621, 3639, 309, 261, 3404, 379, 422, 446, 747, 401, 12, 3404, 379, 1276, 3588, 3719, 5411, 327, 277, 1085, 3401, 31, 3639, 509, 7586, 273, 14015, 1854, 13, 12059, 2934, 474, 620, 5621, 3639, 309, 261, 17782, 480, 2097, 31063, 597, 7586, 1545, 374, 13, 288, 5411, 2097, 31063, 273, 7586, 31, 5411, 277, 1085, 3401, 273, 527, 3216, 12, 5997, 67, 19334, 16, 277, 1085, 3401, 1769, 5411, 277, 1085, 3401, 273, 527, 4897, 12, 17782, 16, 277, 1085, 3401, 1769, 5411, 309, 261, 17782, 411, 2097, 751, 18, 1282, 3759, 1670, 13, 288, 7734, 2097, 751, 18, 1282, 3759, 1670, 273, 7586, 31, 5411, 289, 5411, 309, 261, 17782, 1545, 2097, 751, 18, 1282, 1638, 1670, 13, 288, 7734, 2097, 751, 18, 1282, 1638, 1670, 273, 7586, 397, 404, 31, 5411, 289, 3639, 289, 3639, 327, 277, 1085, 3401, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 1089, 31063, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 288, 3639, 1033, 12059, 273, 756, 18, 588, 18268, 5621, 3639, 309, 261, 3404, 379, 422, 446, 747, 401, 12, 3404, 379, 1276, 3588, 3719, 5411, 327, 277, 1085, 3401, 31, 3639, 509, 7586, 273, 14015, 1854, 13, 12059, 2934, 474, 620, 5621, 3639, 309, 261, 17782, 480, 2097, 31063, 597, 7586, 1545, 374, 13, 288, 5411, 2097, 31063, 273, 7586, 31, 5411, 277, 1085, 3401, 273, 527, 3216, 12, 5997, 67, 19334, 16, 277, 1085, 3401, 1769, 5411, 277, 1085, 3401, 273, 527, 4897, 12, 17782, 16, 277, 1085, 3401, 1769, 5411, 309, 261, 17782, 411, 2097, 751, 18, 1282, 3759, 1670, 13, 288, 2 ]
public void put(KeyBlock block) throws IOException;
public void put(SSKBlock block, boolean ignoreAndOverwrite) throws IOException, KeyCollisionException;
public void put(KeyBlock block) throws IOException;
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/42311dad991102d95e5383bfc789478a839c4662/FreenetStore.java/clean/src/freenet/store/FreenetStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 653, 1768, 1203, 13, 1216, 1860, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 653, 1768, 1203, 13, 1216, 1860, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new CPPASTASMDeclaration(); }
return new CPPASTASMDeclaration(); }
protected IASTASMDeclaration createASMDirective() { return new CPPASTASMDeclaration(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 3033, 49, 6094, 752, 3033, 49, 13307, 1435, 288, 1377, 327, 394, 5181, 4066, 882, 3033, 49, 6094, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 467, 9053, 3033, 49, 6094, 752, 3033, 49, 13307, 1435, 288, 1377, 327, 394, 5181, 4066, 882, 3033, 49, 6094, 5621, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void checkSubstitutionGroupOK(Element elementDecl, Element substitutionGroupElementDecl, boolean noErrorSoFar, int substitutionGroupElementDeclIndex, ComplexTypeInfo typeInfo, ComplexTypeInfo substitutionGroupEltTypeInfo, DatatypeValidator dv, DatatypeValidator substitutionGroupEltDV) throws Exception { // here we must do two things: // 1. Make sure there actually *is* a relation between the types of // the element being nominated and the element doing the nominating; // (see PR 3.3.6 point #3 in the first tableau, for instance; this // and the corresponding tableaux from 3.4.6 and 3.14.6 rule out the nominated // element having an anonymous type declaration. // 2. Make sure the nominated element allows itself to be nominated by // an element with the given type-relation. // Note: we assume that (complex|simple)Type processing checks // whether the type in question allows itself to // be modified as this element desires. // Check for type relationship; // that is, make sure that the type we're deriving has some relatoinship // to substitutionGroupElt's type. if (typeInfo != null) { int derivationMethod = typeInfo.derivedBy; if(typeInfo.baseComplexTypeInfo == null) { if (typeInfo.baseDataTypeValidator != null) { // take care of complexType based on simpleType case... DatatypeValidator dTemp = typeInfo.baseDataTypeValidator; for(; dTemp != null; dTemp = dTemp.getBaseValidator()) { // WARNING!!! This uses comparison by reference andTemp is thus inherently suspect! if(dTemp == substitutionGroupEltDV) break; } if (dTemp == null) { if(substitutionGroupEltDV instanceof UnionDatatypeValidator) { // dv must derive from one of its members... Vector subUnionMemberDV = ((UnionDatatypeValidator)substitutionGroupEltDV).getBaseValidators(); int subUnionSize = subUnionMemberDV.size(); boolean found = false; for (int i=0; i<subUnionSize && !found; i++) { DatatypeValidator dTempSub = (DatatypeValidator)subUnionMemberDV.elementAt(i); DatatypeValidator dTempOrig = typeInfo.baseDataTypeValidator; for(; dTempOrig != null; dTempOrig = dTempOrig.getBaseValidator()) { // WARNING!!! This uses comparison by reference andTemp is thus inherently suspect! if(dTempSub == dTempOrig) { found = true; break; } } } if(!found) { // REVISIT: localize reportGenericSchemaError("Element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " has a type which does not derive from the type of the element at the head of the substitution group"); noErrorSoFar = false; } } else { // REVISIT: localize reportGenericSchemaError("Element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " has a type which does not derive from the type of the element at the head of the substitution group"); noErrorSoFar = false; } } else { // now let's see if substitutionGroup element allows this: if((derivationMethod & fSchemaGrammar.getElementDeclFinalSet(substitutionGroupElementDeclIndex)) != 0) { noErrorSoFar = false; // REVISIT: localize reportGenericSchemaError("element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " cannot be part of the substitution group headed by " + substitutionGroupElementDecl.getAttribute(SchemaSymbols.ATT_NAME)); } } } else { // REVISIT: localize reportGenericSchemaError("Element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " which is part of a substitution must have a type which derives from the type of the element at the head of the substitution group"); noErrorSoFar = false; } } else { String eltBaseName = typeInfo.baseComplexTypeInfo.typeName; ComplexTypeInfo subTypeInfo = substitutionGroupEltTypeInfo; for (; subTypeInfo != null && !subTypeInfo.typeName.equals(eltBaseName); subTypeInfo = subTypeInfo.baseComplexTypeInfo); if (subTypeInfo == null) { // then this type isn't in the chain... // REVISIT: localize reportGenericSchemaError("Element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " has a type whose base is " + eltBaseName + "; this basetype does not derive from the type of the element at the head of the substitution group"); noErrorSoFar = false; } else { // type is fine; does substitutionElement allow this? if((derivationMethod & fSchemaGrammar.getElementDeclFinalSet(substitutionGroupElementDeclIndex)) != 0) { noErrorSoFar = false; // REVISIT: localize reportGenericSchemaError("element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " cannot be part of the substitution group headed by " + substitutionGroupElementDecl.getAttribute(SchemaSymbols.ATT_NAME)); } } } } else if (dv != null) { // do simpleType case... // first, check for type relation. DatatypeValidator dTemp = dv; for(; dTemp != null; dTemp = dTemp.getBaseValidator()) { // WARNING!!! This uses comparison by reference andTemp is thus inherently suspect! if(dTemp == substitutionGroupEltDV) break; } if (dTemp == null) { // now if substitutionGroupEltDV is a union, then we can // derive from it if we derive from any of its members' types. if(substitutionGroupEltDV instanceof UnionDatatypeValidator) { // dv must derive from one of its members... Vector subUnionMemberDV = ((UnionDatatypeValidator)substitutionGroupEltDV).getBaseValidators(); int subUnionSize = subUnionMemberDV.size(); boolean found = false; for (int i=0; i<subUnionSize && !found; i++) { DatatypeValidator dTempSub = (DatatypeValidator)subUnionMemberDV.elementAt(i); DatatypeValidator dTempOrig = dv; for(; dTempOrig != null; dTempOrig = dTempOrig.getBaseValidator()) { // WARNING!!! This uses comparison by reference andTemp is thus inherently suspect! if(dTempSub == dTempOrig) { found = true; break; } } } if(!found) { // REVISIT: localize reportGenericSchemaError("Element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " has a type which does not derive from the type of the element at the head of the substitution group"); noErrorSoFar = false; } } else { // REVISIT: localize reportGenericSchemaError("Element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " has a type which does not derive from the type of the element at the head of the substitution group"); noErrorSoFar = false; } } else { // now let's see if substitutionGroup element allows this: if((SchemaSymbols.RESTRICTION & fSchemaGrammar.getElementDeclFinalSet(substitutionGroupElementDeclIndex)) != 0) { noErrorSoFar = false; // REVISIT: localize reportGenericSchemaError("element " + elementDecl.getAttribute(SchemaSymbols.ATT_NAME) + " cannot be part of the substitution group headed by " + substitutionGroupElementDecl.getAttribute(SchemaSymbols.ATT_NAME)); } } } }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/87731f2b2070ba79da173a5e6be82410b096d7c5/TraverseSchema.java/buggy/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 23798, 1114, 3141, 12, 1046, 930, 3456, 16, 3010, 12785, 1114, 1046, 3456, 16, 2398, 1250, 1158, 668, 26619, 16, 509, 12785, 1114, 1046, 3456, 1016, 16, 16060, 17305, 23112, 16, 2398, 16060, 17305, 12785, 1114, 15899, 17305, 16, 21168, 5126, 12494, 16, 2398, 21168, 5126, 12785, 1114, 15899, 30199, 13, 225, 1216, 1185, 288, 3639, 368, 2674, 732, 1297, 741, 2795, 9198, 30, 3639, 368, 404, 18, 225, 4344, 3071, 1915, 6013, 380, 291, 14, 279, 2533, 3086, 326, 1953, 434, 3639, 368, 326, 930, 3832, 12457, 7458, 471, 326, 930, 9957, 326, 12457, 267, 1776, 31, 3639, 368, 261, 5946, 11770, 890, 18, 23, 18, 26, 1634, 468, 23, 316, 326, 1122, 1014, 8377, 16, 364, 791, 31, 333, 3639, 368, 471, 326, 4656, 1014, 18196, 628, 890, 18, 24, 18, 26, 471, 890, 18, 3461, 18, 26, 1720, 596, 326, 12457, 7458, 3639, 368, 930, 7999, 392, 13236, 618, 8266, 18, 3639, 368, 576, 18, 225, 4344, 3071, 326, 12457, 7458, 930, 5360, 6174, 358, 506, 12457, 7458, 635, 3639, 368, 392, 930, 598, 326, 864, 618, 17, 5488, 18, 3639, 368, 3609, 30, 225, 732, 6750, 716, 261, 14259, 96, 9647, 13, 559, 4929, 4271, 3639, 368, 2856, 326, 618, 316, 5073, 5360, 6174, 358, 3639, 368, 506, 4358, 487, 333, 930, 2832, 2814, 18, 1850, 368, 2073, 364, 618, 5232, 31, 3639, 368, 716, 353, 16, 1221, 3071, 716, 326, 618, 732, 4565, 4854, 9288, 711, 2690, 26513, 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, 866, 23798, 1114, 3141, 12, 1046, 930, 3456, 16, 3010, 12785, 1114, 1046, 3456, 16, 2398, 1250, 1158, 668, 26619, 16, 509, 12785, 1114, 1046, 3456, 1016, 16, 16060, 17305, 23112, 16, 2398, 16060, 17305, 12785, 1114, 15899, 17305, 16, 21168, 5126, 12494, 16, 2398, 21168, 5126, 12785, 1114, 15899, 30199, 13, 225, 1216, 1185, 288, 3639, 368, 2674, 732, 1297, 741, 2795, 9198, 30, 3639, 368, 404, 18, 225, 4344, 3071, 1915, 6013, 380, 291, 14, 279, 2533, 3086, 326, 1953, 434, 3639, 368, 326, 930, 3832, 12457, 7458, 471, 326, 930, 9957, 326, 12457, 267, 1776, 31, 3639, 368, 261, 5946, 11770, 890, 18, 23, 18, 26, 1634, 468, 23, 316, 326, 1122, 1014, 2 ]
private String checksumImage(Image i) { PixelGrabber pg = new PixelGrabber(i, 0, 0, -1, -1, false); Checksum sum = new CRC32(); try { pg.grabPixels(); ImageInputStream is; try { ByteArrayInputStream bais = new ByteArrayInputStream( Util.convertIntegersToBytes((int[])pg.getPixels())); byte[] bytes = new byte[1024]; int len = 0; while ((len = bais.read(bytes)) >= 0) { sum.update(bytes, 0, len); } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } catch (InterruptedException e) { e.printStackTrace(); } return Long.toHexString(sum.getValue()); }
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/8d11f8b4cc4ec0a501cf902edc721a8d1a1d3b7b/TileSet.java/buggy/tiled/core/TileSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 780, 15149, 2040, 12, 2040, 77, 15329, 9037, 14571, 23709, 8365, 33, 2704, 9037, 14571, 23709, 12, 77, 16, 20, 16, 20, 16, 17, 21, 16, 17, 21, 16, 5743, 1769, 10723, 1364, 33, 2704, 26803, 1578, 5621, 698, 95, 8365, 18, 2752, 70, 18079, 5621, 2040, 4348, 291, 31, 698, 95, 8826, 4348, 12124, 291, 33, 2704, 8826, 4348, 12, 1304, 18, 6283, 382, 736, 6215, 21033, 12443, 474, 63, 5717, 8365, 18, 588, 18079, 1435, 10019, 7229, 8526, 3890, 33, 2704, 7229, 63, 2163, 3247, 15533, 474, 1897, 33, 20, 31, 17523, 12443, 1897, 33, 12124, 291, 18, 896, 12, 3890, 3719, 34, 33, 20, 15329, 1364, 18, 2725, 12, 3890, 16, 20, 16, 1897, 1769, 9090, 14683, 12, 14106, 73, 15329, 759, 6241, 4965, 17, 11168, 14683, 2629, 73, 18, 1188, 6332, 5621, 9090, 14683, 12, 24485, 503, 73, 15329, 73, 18, 1188, 6332, 5621, 97, 2463, 3708, 18, 869, 14866, 12, 1364, 18, 24805, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 780, 15149, 2040, 12, 2040, 77, 15329, 9037, 14571, 23709, 8365, 33, 2704, 9037, 14571, 23709, 12, 77, 16, 20, 16, 20, 16, 17, 21, 16, 17, 21, 16, 5743, 1769, 10723, 1364, 33, 2704, 26803, 1578, 5621, 698, 95, 8365, 18, 2752, 70, 18079, 5621, 2040, 4348, 291, 31, 698, 95, 8826, 4348, 12124, 291, 33, 2704, 8826, 4348, 12, 1304, 18, 6283, 382, 736, 6215, 21033, 12443, 474, 63, 5717, 8365, 18, 588, 18079, 1435, 10019, 7229, 8526, 3890, 33, 2704, 7229, 63, 2163, 3247, 15533, 474, 1897, 33, 20, 31, 17523, 12443, 1897, 33, 12124, 291, 18, 896, 12, 3890, 3719, 34, 33, 20, 15329, 1364, 18, 2725, 12, 3890, 16, 20, 16, 1897, 1769, 2 ]
if (at != null) at.transform(coords, 0, coords, 0, 3); return SEG_CUBICTO;
result = SEG_CUBICTO; break; default: throw new NoSuchElementException("cubic iterator out of bounds");
public PathIterator getPathIterator(final AffineTransform at) { return new PathIterator() { /** Current coordinate. */ private int current; public int getWindingRule() { return WIND_NON_ZERO; } public boolean isDone() { return current < 2; } public void next() { current++; } public int currentSegment(float[] coords) { if (current == 0) { coords[0] = (float) getX1(); coords[1] = (float) getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) { coords[0] = (float) getCtrlX1(); coords[1] = (float) getCtrlY1(); coords[2] = (float) getCtrlX2(); coords[3] = (float) getCtrlY2(); coords[4] = (float) getX2(); coords[5] = (float) getY2(); if (at != null) at.transform(coords, 0, coords, 0, 3); return SEG_CUBICTO; } throw new NoSuchElementException("cubic iterator out of bounds"); } public int currentSegment(double[] coords) { if (current == 0) { coords[0] = getX1(); coords[1] = getY1(); if (at != null) at.transform(coords, 0, coords, 0, 1); return SEG_MOVETO; } if (current == 1) { coords[0] = getCtrlX1(); coords[1] = getCtrlY1(); coords[2] = getCtrlX2(); coords[3] = getCtrlY2(); coords[4] = getX2(); coords[5] = getY2(); if (at != null) at.transform(coords, 0, coords, 0, 3); return SEG_CUBICTO; } throw new NoSuchElementException("cubic iterator out of bounds"); } }; }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/2913d162bf68d5a5063adcb98f0707cc3df9abee/CubicCurve2D.java/clean/libjava/java/awt/geom/CubicCurve2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2666, 3198, 4339, 3198, 12, 6385, 23906, 558, 4059, 622, 13, 225, 288, 565, 327, 394, 2666, 3198, 1435, 565, 288, 1377, 1783, 6562, 7799, 18, 1195, 1377, 3238, 509, 783, 31, 1377, 1071, 509, 13876, 728, 310, 2175, 1435, 1377, 288, 3639, 327, 24482, 67, 3993, 67, 24968, 31, 1377, 289, 1377, 1071, 1250, 28874, 1435, 1377, 288, 3639, 327, 783, 411, 576, 31, 1377, 289, 1377, 1071, 918, 1024, 1435, 1377, 288, 3639, 783, 9904, 31, 1377, 289, 1377, 1071, 509, 783, 4131, 12, 5659, 8526, 6074, 13, 1377, 288, 3639, 309, 261, 2972, 422, 374, 13, 1850, 288, 5411, 6074, 63, 20, 65, 273, 261, 5659, 13, 6538, 21, 5621, 5411, 6074, 63, 21, 65, 273, 261, 5659, 13, 10448, 21, 5621, 5411, 309, 261, 270, 480, 446, 13, 2868, 622, 18, 6547, 12, 9076, 16, 374, 16, 6074, 16, 374, 16, 404, 1769, 5411, 327, 26167, 67, 5980, 58, 1584, 51, 31, 1850, 289, 3639, 309, 261, 2972, 422, 404, 13, 1850, 288, 5411, 6074, 63, 20, 65, 273, 261, 5659, 13, 1927, 5170, 60, 21, 5621, 5411, 6074, 63, 21, 65, 273, 261, 5659, 13, 1927, 5170, 61, 21, 5621, 5411, 6074, 63, 22, 65, 273, 261, 5659, 13, 1927, 5170, 60, 22, 5621, 5411, 6074, 63, 23, 65, 273, 261, 5659, 13, 1927, 5170, 61, 22, 5621, 5411, 6074, 63, 24, 65, 273, 261, 5659, 13, 6538, 22, 5621, 5411, 6074, 63, 25, 65, 273, 261, 5659, 13, 10448, 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, 2666, 3198, 4339, 3198, 12, 6385, 23906, 558, 4059, 622, 13, 225, 288, 565, 327, 394, 2666, 3198, 1435, 565, 288, 1377, 1783, 6562, 7799, 18, 1195, 1377, 3238, 509, 783, 31, 1377, 1071, 509, 13876, 728, 310, 2175, 1435, 1377, 288, 3639, 327, 24482, 67, 3993, 67, 24968, 31, 1377, 289, 1377, 1071, 1250, 28874, 1435, 1377, 288, 3639, 327, 783, 411, 576, 31, 1377, 289, 1377, 1071, 918, 1024, 1435, 1377, 288, 3639, 783, 9904, 31, 1377, 289, 1377, 1071, 509, 783, 4131, 12, 5659, 8526, 6074, 13, 1377, 288, 3639, 309, 261, 2972, 422, 374, 13, 1850, 288, 5411, 6074, 63, 20, 65, 273, 261, 5659, 13, 6538, 21, 5621, 5411, 6074, 63, 21, 2 ]
sci = new SerializableCallId(this.getNextId());
sci = this.makeSerializableId(this.getNextId());
public synchronized SerializableCallId swapId(CallId id) { if (id == null) return null; Map refs = this.getcToSMap(); // look for a Serialized CallId SerializableCallId sci = (SerializableCallId)refs.get(id); // Lazily create one if necessary if (sci == null) { // look for a dead one before constructing one try { sci = (SerializableCallId)this.getFreeRefs().removeFirst(); } catch (NoSuchElementException nsee) { sci = new SerializableCallId(this.getNextId()); } // add to the maps refs.put(id, sci); this.getsToCMap().put(sci, id); } return sci;}
49033 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49033/7c80abed66fa5ef86c4eb75d19366d7cca156388/CallMapper.java/buggy/src/src/net/sourceforge/gjtapi/raw/remote/CallMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3852, 13687, 1477, 548, 7720, 548, 12, 1477, 548, 612, 13, 288, 202, 430, 261, 350, 422, 446, 13, 202, 202, 2463, 446, 31, 202, 863, 9047, 273, 333, 18, 588, 71, 774, 55, 863, 5621, 202, 202, 759, 2324, 364, 279, 31822, 3049, 548, 202, 21682, 1477, 548, 31363, 273, 261, 21682, 1477, 548, 13, 9316, 18, 588, 12, 350, 1769, 202, 759, 511, 20811, 752, 1245, 309, 4573, 202, 430, 261, 1017, 77, 422, 446, 13, 288, 202, 202, 759, 2324, 364, 279, 8363, 1245, 1865, 27389, 1245, 202, 202, 698, 288, 1082, 202, 1017, 77, 273, 261, 21682, 1477, 548, 13, 2211, 18, 588, 9194, 9837, 7675, 4479, 3759, 5621, 202, 202, 97, 1044, 261, 28341, 20826, 290, 5946, 13, 288, 1082, 202, 1017, 77, 273, 394, 13687, 1477, 548, 12, 2211, 18, 588, 2134, 548, 10663, 202, 202, 97, 202, 202, 759, 527, 358, 326, 7565, 202, 202, 9316, 18, 458, 12, 350, 16, 31363, 1769, 202, 202, 2211, 18, 588, 11634, 39, 863, 7675, 458, 12, 1017, 77, 16, 612, 1769, 202, 97, 202, 2463, 31363, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3852, 13687, 1477, 548, 7720, 548, 12, 1477, 548, 612, 13, 288, 202, 430, 261, 350, 422, 446, 13, 202, 202, 2463, 446, 31, 202, 863, 9047, 273, 333, 18, 588, 71, 774, 55, 863, 5621, 202, 202, 759, 2324, 364, 279, 31822, 3049, 548, 202, 21682, 1477, 548, 31363, 273, 261, 21682, 1477, 548, 13, 9316, 18, 588, 12, 350, 1769, 202, 759, 511, 20811, 752, 1245, 309, 4573, 202, 430, 261, 1017, 77, 422, 446, 13, 288, 202, 202, 759, 2324, 364, 279, 8363, 1245, 1865, 27389, 1245, 202, 202, 698, 288, 1082, 202, 1017, 77, 273, 261, 21682, 1477, 548, 13, 2211, 18, 588, 9194, 9837, 7675, 4479, 3759, 5621, 202, 202, 97, 1044, 261, 2 ]
public DummyWork(String aName) { m_name = aName;
public DummyWork(String aName, int aTempo) { name = aName; tempo = aTempo;
public DummyWork(String aName) { m_name = aName; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/1909be69dfd0a5fbcdbe171de301ac20c20332ce/PooledWorkManagerTest.java/buggy/modules/connector/src/test/org/apache/geronimo/connector/work/PooledWorkManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 28622, 2421, 12, 780, 279, 461, 13, 288, 5411, 312, 67, 529, 273, 279, 461, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 28622, 2421, 12, 780, 279, 461, 13, 288, 5411, 312, 67, 529, 273, 279, 461, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (dst && this instanceof SimpleTimeZone) {
if (dst && this instanceof SimpleTimeZone) {
private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZone)this).getDSTSavings(); } StringBuffer sb = new StringBuffer(9); sb.append("GMT"); sb.append(offset >= 0 ? '+' : '-'); offset = Math.abs(offset) / (1000 * 60); int hours = offset / 60; int minutes = offset % 60; sb.append((char) ('0' + hours / 10)).append((char) ('0' + hours % 10)); sb.append(':'); sb.append((char) ('0' + minutes / 10)).append( (char) ('0' + minutes % 10)); return sb.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/16fc961d6a1c0f937611cc07e3cd784246a0a769/TimeZone.java/buggy/core/src/classpath/java/java/util/TimeZone.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 4829, 20524, 12, 6494, 3046, 13, 288, 202, 202, 474, 1384, 273, 10547, 2335, 5621, 202, 202, 430, 261, 11057, 597, 333, 1276, 4477, 16760, 13, 288, 1082, 202, 759, 26920, 16, 1496, 333, 353, 279, 8281, 5166, 434, 326, 1491, 30, 1082, 202, 759, 22055, 5530, 279, 3046, 1569, 5456, 11376, 1082, 202, 759, 16491, 21739, 5083, 2973, 2548, 5099, 12392, 8738, 18, 1082, 202, 3348, 1011, 14015, 5784, 16760, 13, 2211, 2934, 588, 40, 882, 55, 27497, 5621, 202, 202, 97, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 29, 1769, 202, 202, 18366, 18, 6923, 2932, 25315, 8863, 202, 202, 18366, 18, 6923, 12, 3348, 1545, 374, 692, 10058, 294, 4014, 1769, 202, 202, 3348, 273, 2361, 18, 5113, 12, 3348, 13, 342, 261, 18088, 380, 4752, 1769, 202, 202, 474, 7507, 273, 1384, 342, 4752, 31, 202, 202, 474, 6824, 273, 1384, 738, 4752, 31, 202, 202, 18366, 18, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 7507, 342, 1728, 13, 2934, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 7507, 738, 1728, 10019, 202, 202, 18366, 18, 6923, 2668, 2497, 1769, 202, 202, 18366, 18, 6923, 12443, 3001, 13, 7707, 20, 11, 397, 6824, 342, 1728, 13, 2934, 6923, 12, 1082, 202, 12, 3001, 13, 7707, 20, 11, 397, 6824, 738, 1728, 10019, 202, 202, 2463, 2393, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 4829, 20524, 12, 6494, 3046, 13, 288, 202, 202, 474, 1384, 273, 10547, 2335, 5621, 202, 202, 430, 261, 11057, 597, 333, 1276, 4477, 16760, 13, 288, 1082, 202, 759, 26920, 16, 1496, 333, 353, 279, 8281, 5166, 434, 326, 1491, 30, 1082, 202, 759, 22055, 5530, 279, 3046, 1569, 5456, 11376, 1082, 202, 759, 16491, 21739, 5083, 2973, 2548, 5099, 12392, 8738, 18, 1082, 202, 3348, 1011, 14015, 5784, 16760, 13, 2211, 2934, 588, 40, 882, 55, 27497, 5621, 202, 202, 97, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 29, 1769, 202, 202, 18366, 18, 6923, 2932, 25315, 8863, 202, 202, 18366, 18, 6923, 12, 3348, 1545, 374, 692, 10058, 294, 4014, 2 ]
createFromOptions(); me.setBrush(myBrush); } else if (e.getActionCommand().equals("Close")) {
} else if (source == bCancel) {
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); if (source == bApply) { bApply.setEnabled(false); createFromOptions(); me.setBrush(myBrush); } else if (e.getActionCommand().equals("Close")) { dispose(); } else if (source == cbRandomBrush) { sRandomAmount.setEnabled(cbRandomBrush.isSelected()); } }
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/987985fb4e41d7d46d90c5269ae4eb2c7817cdb0/BrushDialog.java/buggy/tiled/mapeditor/BrushDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 1033, 1084, 273, 425, 18, 588, 1830, 5621, 3639, 309, 261, 3168, 422, 324, 7001, 13, 288, 5411, 324, 7001, 18, 542, 1526, 12, 5743, 1769, 5411, 9492, 1320, 5621, 5411, 1791, 18, 542, 19114, 1218, 12, 4811, 19114, 1218, 1769, 3639, 289, 469, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4605, 6, 3719, 288, 5411, 15825, 5621, 3639, 289, 469, 309, 261, 3168, 422, 2875, 8529, 19114, 1218, 13, 288, 5411, 272, 8529, 6275, 18, 542, 1526, 12, 7358, 8529, 19114, 1218, 18, 291, 7416, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 1033, 1084, 273, 425, 18, 588, 1830, 5621, 3639, 309, 261, 3168, 422, 324, 7001, 13, 288, 5411, 324, 7001, 18, 542, 1526, 12, 5743, 1769, 5411, 9492, 1320, 5621, 5411, 1791, 18, 542, 19114, 1218, 12, 4811, 19114, 1218, 1769, 3639, 289, 469, 309, 261, 73, 18, 588, 1803, 2189, 7675, 14963, 2932, 4605, 6, 3719, 288, 5411, 15825, 5621, 3639, 289, 469, 309, 261, 3168, 422, 2875, 8529, 19114, 1218, 13, 288, 5411, 272, 8529, 6275, 18, 542, 1526, 12, 7358, 8529, 19114, 1218, 18, 291, 7416, 10663, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getPropertyByName(propertyName).isBidirectional(); }
return getPropertyByName(propertyName).isBidirectional(); }
public boolean isBidirectional(String propertyName) { return getPropertyByName(propertyName).isBidirectional(); }
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/803c2eb1c1fbcc3b18c0135997f7bcf7889a62aa/DefaultGrailsDomainClass.java/clean/grails/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 17763, 24699, 12, 780, 5470, 13, 288, 202, 202, 2463, 3911, 5911, 12, 4468, 461, 2934, 291, 17763, 24699, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 17763, 24699, 12, 780, 5470, 13, 288, 202, 202, 2463, 3911, 5911, 12, 4468, 461, 2934, 291, 17763, 24699, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.error(e);
System.err.println(e);
public static void main(String args[]) { DatagramSocket sock; DatagramPacket packet; byte[] buf=new byte[0]; boolean receiver=true; String val; InetAddress receiver_addr=null, sender_addr=null; int receiver_port=0, sender_port=0; for(int i=0; i < args.length; i++) { val=args[i]; if("-help".equals(val)) { help(); return; } if("-sender".equals(val)) { receiver=false; continue; } if("-sender_addr".equals(val)) { try { sender_addr=InetAddress.getByName(args[++i]); sender_port=Integer.parseInt(args[++i]); continue; } catch(Exception e) { log.error(e); help(); return; } } if("-receiver".equals(val)) { receiver=true; try { receiver_addr=InetAddress.getByName(args[++i]); receiver_port=Integer.parseInt(args[++i]); } catch(Exception e) { log.error(e); help(); return; } continue; } help(); } try { if(receiver) { sock=new DatagramSocket(receiver_port, receiver_addr); System.out.println("Socket=" + sock.getLocalAddress() + ':' + sock.getLocalPort()); System.out.println("starting as receiver"); receiverLoop(sock); } else { if(sender_addr != null && sender_port > 0) sock=new DatagramSocket(sender_port, sender_addr); else sock=new DatagramSocket(); System.out.println("Socket=" + sock.getLocalAddress() + ':' + sock.getLocalPort()); System.out.println("starting as sender"); senderLoop(sock); } } catch(Exception e) { log.error(e); } }
51463 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51463/5ad015d9a78e1da3350d9b398b46b2f5d4508564/UcastTest.java/clean/tests/other/org/jgroups/tests/UcastTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 202, 202, 5139, 17049, 4534, 225, 7313, 31, 202, 5139, 17049, 6667, 225, 4414, 31, 202, 7229, 8526, 1850, 1681, 33, 2704, 1160, 63, 20, 15533, 202, 6494, 540, 5971, 33, 3767, 31, 202, 780, 1850, 1244, 31, 202, 382, 278, 1887, 377, 5971, 67, 4793, 33, 2011, 16, 5793, 67, 4793, 33, 2011, 31, 202, 474, 2398, 5971, 67, 655, 33, 20, 16, 5793, 67, 655, 33, 20, 31, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 202, 565, 1244, 33, 1968, 63, 77, 15533, 202, 565, 309, 2932, 17, 5201, 9654, 14963, 12, 1125, 3719, 288, 202, 202, 5201, 5621, 202, 202, 2463, 31, 202, 565, 289, 202, 565, 309, 2932, 17, 15330, 9654, 14963, 12, 1125, 3719, 288, 202, 202, 24454, 33, 5743, 31, 202, 202, 17143, 31, 202, 565, 289, 202, 565, 309, 2932, 17, 15330, 67, 4793, 9654, 14963, 12, 1125, 3719, 288, 202, 202, 698, 288, 1082, 565, 5793, 67, 4793, 33, 382, 278, 1887, 18, 588, 5911, 12, 1968, 63, 9904, 77, 19226, 1082, 565, 5793, 67, 655, 33, 4522, 18, 2670, 1702, 12, 1968, 63, 9904, 77, 19226, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 14683, 12, 503, 425, 13, 288, 1082, 565, 613, 18, 1636, 12, 73, 1769, 1082, 565, 2809, 5621, 1082, 565, 327, 31, 202, 202, 97, 202, 565, 289, 202, 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, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 202, 202, 5139, 17049, 4534, 225, 7313, 31, 202, 5139, 17049, 6667, 225, 4414, 31, 202, 7229, 8526, 1850, 1681, 33, 2704, 1160, 63, 20, 15533, 202, 6494, 540, 5971, 33, 3767, 31, 202, 780, 1850, 1244, 31, 202, 382, 278, 1887, 377, 5971, 67, 4793, 33, 2011, 16, 5793, 67, 4793, 33, 2011, 31, 202, 474, 2398, 5971, 67, 655, 33, 20, 16, 5793, 67, 655, 33, 20, 31, 1082, 202, 1884, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 202, 565, 1244, 33, 1968, 63, 77, 15533, 202, 565, 309, 2932, 17, 5201, 9654, 14963, 12, 1125, 3719, 288, 2 ]
result = ScriptRuntime.getObjectElem(lhs, id, cx, scope);
result = ScriptRuntime.getObjectElem(lhs, id, cx, state.scope);
private static int do_getElem(Object[] stack, double[] sDbl, int stackTop, Context cx, Scriptable scope) { Object lhs = stack[stackTop - 1]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop - 1]); Object result; Object id = stack[stackTop]; if (id != DBL_MRK) { result = ScriptRuntime.getObjectElem(lhs, id, cx, scope); } else { double val = sDbl[stackTop]; if (lhs == null || lhs == Undefined.instance) { throw ScriptRuntime.undefReadError( lhs, ScriptRuntime.toString(val)); } Scriptable obj = (lhs instanceof Scriptable) ? (Scriptable)lhs : ScriptRuntime.toObject(cx, scope, lhs); int index = (int)val; if (index == val) { result = ScriptRuntime.getObjectIndex(obj, index, cx); } else { String s = ScriptRuntime.toString(val); result = ScriptRuntime.getObjectProp(obj, s, cx); } } --stackTop; stack[stackTop] = result; return stackTop; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 741, 67, 588, 7498, 12, 921, 8526, 2110, 16, 1645, 8526, 272, 40, 3083, 16, 509, 2110, 3401, 16, 21394, 1772, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 1033, 8499, 273, 2110, 63, 3772, 3401, 300, 404, 15533, 3639, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 8499, 273, 1645, 2964, 12, 87, 40, 3083, 63, 3772, 3401, 300, 404, 19226, 3639, 1033, 563, 31, 3639, 1033, 612, 273, 2110, 63, 3772, 3401, 15533, 3639, 309, 261, 350, 480, 2383, 48, 67, 23464, 47, 13, 288, 5411, 563, 273, 7739, 5576, 18, 588, 921, 7498, 12, 80, 4487, 16, 612, 16, 9494, 16, 919, 18, 4887, 1769, 3639, 289, 469, 288, 5411, 1645, 1244, 273, 272, 40, 3083, 63, 3772, 3401, 15533, 5411, 309, 261, 80, 4487, 422, 446, 747, 8499, 422, 22243, 18, 1336, 13, 288, 7734, 604, 7739, 5576, 18, 318, 536, 1994, 668, 12, 12900, 8499, 16, 7739, 5576, 18, 10492, 12, 1125, 10019, 5411, 289, 5411, 22780, 1081, 273, 261, 80, 4487, 1276, 22780, 13, 11794, 692, 261, 3651, 429, 13, 80, 4487, 11794, 294, 7739, 5576, 18, 869, 921, 12, 71, 92, 16, 2146, 16, 8499, 1769, 5411, 509, 770, 273, 261, 474, 13, 1125, 31, 5411, 309, 261, 1615, 422, 1244, 13, 288, 7734, 563, 273, 7739, 5576, 18, 588, 921, 1016, 12, 2603, 16, 770, 16, 9494, 1769, 5411, 289, 469, 288, 7734, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1125, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 741, 67, 588, 7498, 12, 921, 8526, 2110, 16, 1645, 8526, 272, 40, 3083, 16, 509, 2110, 3401, 16, 21394, 1772, 9494, 16, 22780, 2146, 13, 565, 288, 3639, 1033, 8499, 273, 2110, 63, 3772, 3401, 300, 404, 15533, 3639, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 8499, 273, 1645, 2964, 12, 87, 40, 3083, 63, 3772, 3401, 300, 404, 19226, 3639, 1033, 563, 31, 3639, 1033, 612, 273, 2110, 63, 3772, 3401, 15533, 3639, 309, 261, 350, 480, 2383, 48, 67, 23464, 47, 13, 288, 5411, 563, 273, 7739, 5576, 18, 588, 921, 7498, 12, 80, 4487, 16, 612, 16, 9494, 16, 919, 18, 4887, 1769, 3639, 289, 469, 288, 2 ]
public void onObjectType(ObjectTypeNd nd) { ObjectType ot = m_symbols.getEmitted(nd); JavaClassNd jcn = nd.getJavaClass(); JavaClassNd acn = nd.getAdapterClass(); if (jcn == null || acn == null) { return; } Class javaClass; try { javaClass = Class.forName(jcn.getName()); } catch (ClassNotFoundException e) { m_errors.fatal(jcn, e.getMessage()); return; } try{ Class adapterClass = Class.forName(acn.getName()); Adapter ad = (Adapter) adapterClass.newInstance(); Adapter.addAdapter(javaClass, ot, ad); } catch (IllegalAccessException e) { m_errors.fatal(acn, e.getMessage()); } catch (ClassNotFoundException e) { m_errors.fatal(acn, e.getMessage()); } catch (InstantiationException e) { m_errors.fatal(acn, e.getMessage()); } }
public void onObjectType(ObjectTypeNd otn) { m_root.addObjectMap (new ObjectMap(m_symbols.getEmitted(otn))); }
public void onObjectType(ObjectTypeNd nd) { ObjectType ot = m_symbols.getEmitted(nd); JavaClassNd jcn = nd.getJavaClass(); JavaClassNd acn = nd.getAdapterClass(); if (jcn == null || acn == null) { return; } Class javaClass; try { javaClass = Class.forName(jcn.getName()); } catch (ClassNotFoundException e) { m_errors.fatal(jcn, e.getMessage()); return; } try{ Class adapterClass = Class.forName(acn.getName()); Adapter ad = (Adapter) adapterClass.newInstance(); Adapter.addAdapter(javaClass, ot, ad); } catch (IllegalAccessException e) { m_errors.fatal(acn, e.getMessage()); } catch (ClassNotFoundException e) { m_errors.fatal(acn, e.getMessage()); } catch (InstantiationException e) { m_errors.fatal(acn, e.getMessage()); } }
12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/703319bfd292f40acbfef1124c76ffd5f8e143a3/PDL.java/clean/archive/proto/src/com/arsdigita/persistence/proto/pdl/PDL.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 603, 17610, 12, 17610, 50, 72, 5346, 13, 288, 1082, 565, 21338, 15835, 273, 312, 67, 15536, 18, 588, 1514, 11541, 12, 4880, 1769, 1082, 565, 29491, 50, 72, 525, 10305, 273, 5346, 18, 588, 5852, 797, 5621, 1082, 565, 29491, 50, 72, 1721, 82, 273, 5346, 18, 588, 4216, 797, 5621, 1082, 565, 309, 261, 78, 10305, 422, 446, 747, 1721, 82, 422, 446, 13, 288, 1082, 202, 2463, 31, 1082, 565, 289, 1082, 565, 1659, 2252, 797, 31, 1082, 565, 775, 288, 1082, 202, 6290, 797, 273, 1659, 18, 1884, 461, 12, 78, 10305, 18, 17994, 10663, 1082, 565, 289, 1044, 261, 797, 3990, 425, 13, 288, 1082, 202, 81, 67, 4324, 18, 30709, 12, 78, 10305, 16, 425, 18, 24906, 10663, 1082, 202, 2463, 31, 1082, 565, 289, 1082, 565, 775, 95, 1082, 202, 797, 4516, 797, 273, 1659, 18, 1884, 461, 12, 1077, 82, 18, 17994, 10663, 1082, 202, 4216, 1261, 273, 261, 4216, 13, 4516, 797, 18, 2704, 1442, 5621, 1082, 202, 4216, 18, 1289, 4216, 12, 6290, 797, 16, 15835, 16, 1261, 1769, 1082, 565, 289, 1044, 261, 12195, 9773, 425, 13, 288, 1082, 202, 81, 67, 4324, 18, 30709, 12, 1077, 82, 16, 425, 18, 24906, 10663, 1082, 565, 289, 1044, 261, 797, 3990, 425, 13, 288, 1082, 202, 81, 67, 4324, 18, 30709, 12, 1077, 82, 16, 425, 18, 24906, 10663, 1082, 565, 289, 1044, 261, 10675, 7072, 503, 425, 13, 288, 1082, 202, 81, 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, 918, 603, 17610, 12, 17610, 50, 72, 5346, 13, 288, 1082, 565, 21338, 15835, 273, 312, 67, 15536, 18, 588, 1514, 11541, 12, 4880, 1769, 1082, 565, 29491, 50, 72, 525, 10305, 273, 5346, 18, 588, 5852, 797, 5621, 1082, 565, 29491, 50, 72, 1721, 82, 273, 5346, 18, 588, 4216, 797, 5621, 1082, 565, 309, 261, 78, 10305, 422, 446, 747, 1721, 82, 422, 446, 13, 288, 1082, 202, 2463, 31, 1082, 565, 289, 1082, 565, 1659, 2252, 797, 31, 1082, 565, 775, 288, 1082, 202, 6290, 797, 273, 1659, 18, 1884, 461, 12, 78, 10305, 18, 17994, 10663, 1082, 565, 289, 1044, 261, 797, 3990, 425, 13, 288, 1082, 202, 81, 67, 4324, 18, 2 ]
protected void buildChooser() { // TODO: fix layout mnemonic = Integer.parseInt(UIManager.getString("ColorChooser.swatchesMnemonic")); displayedMnemonicIndex = Integer.parseInt(UIManager.getString("ColorChooser.swatchesDisplayedMnemonicIndex")); swatchSize = UIManager.getDimension("ColorChooser.swatchesSwatchSize"); recentSwatchSize = UIManager.getDimension("ColorChooser.swatchesRecentSwatchSize"); JPanel right = new JPanel(); right.setLayout(new BorderLayout()); recentPanel = new SwatchPanel(new Color[RECENT_SWATCH_WIDTH][RECENT_SWATCH_HEIGHT], null, recentSwatchSize); right.add(BorderLayout.CENTER, new JLabel(UIManager.getString("ColorChooser.swatchesRecentText"))); right.add(BorderLayout.SOUTH, recentPanel); swatchPanel = new SwatchPanel(MAIN_SWATCH_COLORS, recentPanel, swatchSize); MouseInputAdapter swatchMouseAdapter = new MouseInputAdapter() { public void mouseClicked(MouseEvent e) { getColorSelectionModel().setSelectedColor(swatchPanel.getColorAtLocation(e.getX(), e.getY(), true)); } public void mouseMoved(MouseEvent e) { Color color = swatchPanel.getColorAtLocation(e.getX(), e.getY(), false); swatchPanel.setToolTipText(color.getRed() + ", " + color.getGreen() + ", " + color.getBlue()); } }; swatchPanel.addMouseListener(swatchMouseAdapter); swatchPanel.addMouseMotionListener(swatchMouseAdapter); JPanel fullPanel = new JPanel(); fullPanel.add(swatchPanel); fullPanel.add(right); this.add(fullPanel); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/9b00f971bab2256d913aec1b141462a929f6e182/SwatchesPanel.java/clean/modules/swing/src/main/java/common/javax/swing/colorchooser/SwatchesPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 3510, 17324, 1435, 95, 759, 6241, 30, 904, 6741, 13607, 20918, 33, 4522, 18, 2670, 1702, 12, 5370, 1318, 18, 588, 780, 2932, 2957, 17324, 18, 5328, 505, 281, 29668, 20918, 7923, 1769, 5417, 329, 29668, 20918, 1016, 33, 4522, 18, 2670, 1702, 12, 5370, 1318, 18, 588, 780, 2932, 2957, 17324, 18, 5328, 505, 281, 4236, 329, 29668, 20918, 1016, 7923, 1769, 5328, 505, 1225, 33, 5370, 1318, 18, 588, 8611, 2932, 2957, 17324, 18, 5328, 505, 281, 6050, 505, 1225, 8863, 20872, 6050, 505, 1225, 33, 5370, 1318, 18, 588, 8611, 2932, 2957, 17324, 18, 5328, 505, 281, 17076, 6050, 505, 1225, 8863, 46, 5537, 4083, 33, 2704, 46, 5537, 5621, 4083, 18, 542, 3744, 12, 2704, 8107, 3744, 10663, 20872, 5537, 33, 2704, 6050, 505, 5537, 12, 2704, 2957, 63, 862, 19666, 67, 18746, 5858, 67, 10023, 6362, 862, 19666, 67, 18746, 5858, 67, 14595, 6487, 2011, 16, 20872, 6050, 505, 1225, 1769, 4083, 18, 1289, 12, 8107, 3744, 18, 19835, 16, 2704, 46, 2224, 12, 5370, 1318, 18, 588, 780, 2932, 2957, 17324, 18, 5328, 505, 281, 17076, 1528, 6, 3719, 1769, 4083, 18, 1289, 12, 8107, 3744, 18, 3584, 5844, 16, 20872, 5537, 1769, 5328, 505, 5537, 33, 2704, 6050, 505, 5537, 12, 19803, 67, 18746, 5858, 67, 10989, 55, 16, 20872, 5537, 16, 5328, 505, 1225, 1769, 9186, 1210, 26620, 7585, 9186, 4216, 33, 2704, 9186, 1210, 4216, 1435, 95, 482, 6459, 11697, 27633, 12, 9186, 1133, 73, 15329, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 6459, 3510, 17324, 1435, 95, 759, 6241, 30, 904, 6741, 13607, 20918, 33, 4522, 18, 2670, 1702, 12, 5370, 1318, 18, 588, 780, 2932, 2957, 17324, 18, 5328, 505, 281, 29668, 20918, 7923, 1769, 5417, 329, 29668, 20918, 1016, 33, 4522, 18, 2670, 1702, 12, 5370, 1318, 18, 588, 780, 2932, 2957, 17324, 18, 5328, 505, 281, 4236, 329, 29668, 20918, 1016, 7923, 1769, 5328, 505, 1225, 33, 5370, 1318, 18, 588, 8611, 2932, 2957, 17324, 18, 5328, 505, 281, 6050, 505, 1225, 8863, 20872, 6050, 505, 1225, 33, 5370, 1318, 18, 588, 8611, 2932, 2957, 17324, 18, 5328, 505, 281, 17076, 6050, 505, 1225, 8863, 46, 5537, 4083, 33, 2704, 46, 5537, 5621, 4083, 18, 542, 3744, 2 ]
getLog().info("Attaching artifact: " + this.getWOWeberverResourcesArtifactFileName());
getLog().info("Attaching artifact: " + this.getWOApplicationFileName());
public void execute() throws MojoExecutionException, MojoFailureException { getLog().info("Package wo"); BufferedWriter woapplicationWriter = null; String filename = getArtifactFileName(); try { woapplicationWriter = new BufferedWriter(new FileWriter(new File(filename))); woapplicationWriter.write("\n"); } catch (IOException ioe) { new MojoExecutionException("could not write " + filename, ioe); } finally { if (null != woapplicationWriter) { try { woapplicationWriter.close(); } catch (IOException ioe) { // Ignore exception } } } String artifactFileName = this.getArtifactFileName(); if (artifactFileName != null) { String fileName = this.getProjectFolder() + artifactFileName; getLog().info("Defining artifact filename: " + fileName); this.getProject().getArtifact().setFile(new File(fileName)); } Artifact artifact = artifactFactory.createBuildArtifact(project.getGroupId(), project.getArtifactId(), project.getVersion(), "woapplication.tar.gz"); artifact.setFile(new File(this.getWOApplicationFileName())); getLog().info("Attaching artifact: " + this.getWOWeberverResourcesArtifactFileName()); project.addAttachedArtifact(artifact); artifact = artifactFactory.createBuildArtifact(project.getGroupId(), project.getArtifactId(), project.getVersion(), "wowebserverresources.tar.gz"); artifact.setFile(new File(this.getWOWeberverResourcesArtifactFileName())); getLog().info("Attaching artifact: " + this.getWOWeberverResourcesArtifactFileName()); project.addAttachedArtifact(artifact); }
2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/a649dd9b6140c39ff40a2cbbb785dbf41e26a8ae/PackageWOApplicationResourcesMojo.java/buggy/maven2/maven-wolifecycle-plugin/src/main/java/org/objectstyle/woproject/maven2/wolifecycle/PackageWOApplicationResourcesMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 18780, 16, 15931, 14389, 288, 202, 202, 588, 1343, 7675, 1376, 2932, 2261, 341, 83, 8863, 202, 202, 17947, 2289, 341, 83, 3685, 2289, 273, 446, 31, 202, 202, 780, 1544, 273, 24957, 4771, 5621, 202, 202, 698, 288, 1082, 202, 6933, 3685, 2289, 273, 394, 22490, 12, 2704, 24639, 12, 2704, 1387, 12, 3459, 3719, 1769, 1082, 202, 6933, 3685, 2289, 18, 2626, 31458, 82, 8863, 202, 202, 97, 1044, 261, 14106, 10847, 13, 288, 1082, 202, 2704, 18780, 2932, 15195, 486, 1045, 315, 397, 1544, 16, 10847, 1769, 202, 202, 97, 3095, 288, 1082, 202, 430, 261, 2011, 480, 341, 83, 3685, 2289, 13, 288, 9506, 202, 698, 288, 6862, 202, 6933, 3685, 2289, 18, 4412, 5621, 9506, 202, 97, 1044, 261, 14106, 10847, 13, 288, 6862, 202, 759, 8049, 1520, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 780, 6462, 4771, 273, 333, 18, 588, 7581, 4771, 5621, 202, 202, 430, 261, 17706, 4771, 480, 446, 13, 288, 1082, 202, 780, 3968, 273, 333, 18, 588, 4109, 3899, 1435, 397, 6462, 4771, 31, 1082, 202, 588, 1343, 7675, 1376, 2932, 6443, 310, 6462, 1544, 30, 315, 397, 3968, 1769, 1082, 202, 2211, 18, 588, 4109, 7675, 588, 7581, 7675, 542, 812, 12, 2704, 1387, 12, 17812, 10019, 202, 202, 97, 202, 202, 7581, 6462, 273, 6462, 1733, 18, 2640, 3116, 7581, 12, 4406, 18, 588, 8722, 9334, 1984, 18, 588, 7581, 548, 9334, 1984, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 18780, 16, 15931, 14389, 288, 202, 202, 588, 1343, 7675, 1376, 2932, 2261, 341, 83, 8863, 202, 202, 17947, 2289, 341, 83, 3685, 2289, 273, 446, 31, 202, 202, 780, 1544, 273, 24957, 4771, 5621, 202, 202, 698, 288, 1082, 202, 6933, 3685, 2289, 273, 394, 22490, 12, 2704, 24639, 12, 2704, 1387, 12, 3459, 3719, 1769, 1082, 202, 6933, 3685, 2289, 18, 2626, 31458, 82, 8863, 202, 202, 97, 1044, 261, 14106, 10847, 13, 288, 1082, 202, 2704, 18780, 2932, 15195, 486, 1045, 315, 397, 1544, 16, 10847, 1769, 202, 202, 97, 3095, 288, 1082, 202, 430, 261, 2011, 480, 341, 83, 3685, 2289, 13, 288, 9506, 202, 698, 288, 6862, 2 ]
public boolean actionRemoveAce() { String file = getParamResource(); String name = getParamName(); String type = getParamType(); try { // lock resource if autolock is enabled checkLock(getParamResource()); getCms().rmacc(file, type, name); return true; } catch (CmsException e) { m_errorMessages.add(key("dialog.permission.error.remove")); return false; } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/332d87a4507ea84a05602410389902e16f82b5e4/CmsChacc.java/clean/src/org/opencms/workplace/commons/CmsChacc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1301, 3288, 37, 311, 1435, 288, 7734, 514, 585, 273, 9027, 1420, 5621, 3639, 514, 508, 273, 9027, 461, 5621, 3639, 514, 618, 273, 9027, 559, 5621, 3639, 775, 288, 5411, 368, 2176, 1058, 309, 2059, 355, 975, 353, 3696, 5411, 866, 2531, 12, 588, 786, 1420, 10663, 5411, 14413, 7675, 86, 2540, 952, 12, 768, 16, 618, 16, 508, 1769, 5411, 327, 638, 31, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 312, 67, 1636, 5058, 18, 1289, 12, 856, 2932, 12730, 18, 9827, 18, 1636, 18, 4479, 7923, 1769, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1301, 3288, 37, 311, 1435, 288, 7734, 514, 585, 273, 9027, 1420, 5621, 3639, 514, 508, 273, 9027, 461, 5621, 3639, 514, 618, 273, 9027, 559, 5621, 3639, 775, 288, 5411, 368, 2176, 1058, 309, 2059, 355, 975, 353, 3696, 5411, 866, 2531, 12, 588, 786, 1420, 10663, 5411, 14413, 7675, 86, 2540, 952, 12, 768, 16, 618, 16, 508, 1769, 5411, 327, 638, 31, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 312, 67, 1636, 5058, 18, 1289, 12, 856, 2932, 12730, 18, 9827, 18, 1636, 18, 4479, 7923, 1769, 5411, 327, 629, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
DynamicWizardPage page = (DynamicWizardPage) getPages()[0];
public boolean performFinish() { DynamicWizardPage page = (DynamicWizardPage) getPages()[0]; if (eObject == null) { eObject = getEFactory().create( getTableColumnEAttributes()[0].getEContainingClass()); EObject plan = section.getPlan(); ((EList) plan.eGet(section.getEReference())).add(eObject); } processEAttributes(page); return true; }
10123 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10123/1258c074eb19c64fe3d3f0e943f34614023c5f04/AbstractTableWizard.java/clean/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/wizards/AbstractTableWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 1435, 288, 202, 202, 9791, 27130, 1964, 1363, 273, 261, 9791, 27130, 1964, 13, 1689, 1023, 1435, 63, 20, 15533, 202, 202, 430, 261, 73, 921, 422, 446, 13, 288, 1082, 202, 73, 921, 273, 4774, 1733, 7675, 2640, 12, 6862, 202, 588, 1388, 1494, 41, 2498, 1435, 63, 20, 8009, 588, 41, 24344, 797, 10663, 1082, 202, 8029, 4995, 273, 2442, 18, 588, 5365, 5621, 1082, 202, 12443, 41, 682, 13, 4995, 18, 73, 967, 12, 3464, 18, 588, 41, 2404, 10756, 2934, 1289, 12, 73, 921, 1769, 202, 202, 97, 202, 202, 2567, 41, 2498, 12, 2433, 1769, 202, 202, 2463, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 11641, 1435, 288, 202, 202, 9791, 27130, 1964, 1363, 273, 261, 9791, 27130, 1964, 13, 1689, 1023, 1435, 63, 20, 15533, 202, 202, 430, 261, 73, 921, 422, 446, 13, 288, 1082, 202, 73, 921, 273, 4774, 1733, 7675, 2640, 12, 6862, 202, 588, 1388, 1494, 41, 2498, 1435, 63, 20, 8009, 588, 41, 24344, 797, 10663, 1082, 202, 8029, 4995, 273, 2442, 18, 588, 5365, 5621, 1082, 202, 12443, 41, 682, 13, 4995, 18, 73, 967, 12, 3464, 18, 588, 41, 2404, 10756, 2934, 1289, 12, 73, 921, 1769, 202, 202, 97, 202, 202, 2567, 41, 2498, 12, 2433, 1769, 202, 202, 2463, 638, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
else { handler.attribute(name, makeStringValue(node));
else { String name = getNodeName(node); final String value = makeStringValue(node); handler.attribute(name, value); return null;
public String shallowCopy(final int node, TransletOutputHandler handler) throws TransletException { switch(_type[node]) { case ROOT: // do nothing return EMPTYSTRING; case TEXT: handler.characters(_text, _offsetOrChild[node], _lengthOrAttr[node]); return null; case PROCESSING_INSTRUCTION: copyPI(node, handler); return null; case COMMENT: return null; default: // element or attribute final String name = getNodeName(node); if (isElement(node)) { // Copy element name - start tag int col = name.lastIndexOf(':'); if (col > 0) { final String uri = name.substring(0,col); final String prefix = handler.getPrefix(uri); final String local = name.substring(col+1); if (prefix.equals(EMPTYSTRING)) handler.startElement(local); else handler.startElement(prefix+':'+local); } else { handler.startElement(name); } return(name); } else { // attribute handler.attribute(name, makeStringValue(node)); } return null; } }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/b49d8887b2fd85f8d0792533d90234dfe84e004b/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 18501, 2951, 12, 6385, 509, 756, 16, 2604, 1810, 30796, 1838, 13, 202, 15069, 2604, 1810, 503, 288, 202, 9610, 24899, 723, 63, 2159, 5717, 288, 202, 3593, 11011, 30, 368, 741, 5083, 202, 565, 327, 8984, 5804, 31, 202, 3593, 9204, 30, 202, 565, 1838, 18, 20558, 24899, 955, 16, 9506, 4202, 389, 3348, 1162, 1763, 63, 2159, 6487, 9506, 4202, 389, 2469, 1162, 3843, 63, 2159, 19226, 202, 565, 327, 446, 31, 202, 3593, 20647, 1360, 67, 706, 3902, 27035, 30, 202, 565, 1610, 1102, 12, 2159, 16, 1838, 1769, 202, 565, 327, 446, 31, 202, 3593, 19400, 30, 202, 565, 327, 446, 31, 202, 1886, 30, 5375, 368, 930, 578, 1566, 202, 565, 727, 514, 508, 273, 21812, 12, 2159, 1769, 202, 565, 309, 261, 291, 1046, 12, 2159, 3719, 288, 202, 202, 759, 5631, 930, 508, 300, 787, 1047, 202, 202, 474, 645, 273, 508, 18, 2722, 31985, 2668, 2497, 1769, 202, 202, 430, 261, 1293, 405, 374, 13, 288, 1082, 565, 727, 514, 2003, 273, 508, 18, 28023, 12, 20, 16, 1293, 1769, 1082, 565, 727, 514, 1633, 273, 1838, 18, 588, 2244, 12, 1650, 1769, 1082, 565, 727, 514, 1191, 273, 508, 18, 28023, 12, 1293, 15, 21, 1769, 1082, 565, 309, 261, 3239, 18, 14963, 12, 13625, 5804, 3719, 1082, 202, 4176, 18, 1937, 1046, 12, 3729, 1769, 1082, 565, 469, 1082, 202, 4176, 18, 1937, 1046, 12, 3239, 6797, 2497, 15, 3729, 1769, 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, 377, 1071, 514, 18501, 2951, 12, 6385, 509, 756, 16, 2604, 1810, 30796, 1838, 13, 202, 15069, 2604, 1810, 503, 288, 202, 9610, 24899, 723, 63, 2159, 5717, 288, 202, 3593, 11011, 30, 368, 741, 5083, 202, 565, 327, 8984, 5804, 31, 202, 3593, 9204, 30, 202, 565, 1838, 18, 20558, 24899, 955, 16, 9506, 4202, 389, 3348, 1162, 1763, 63, 2159, 6487, 9506, 4202, 389, 2469, 1162, 3843, 63, 2159, 19226, 202, 565, 327, 446, 31, 202, 3593, 20647, 1360, 67, 706, 3902, 27035, 30, 202, 565, 1610, 1102, 12, 2159, 16, 1838, 1769, 202, 565, 327, 446, 31, 202, 3593, 19400, 30, 202, 565, 327, 446, 31, 202, 1886, 30, 5375, 368, 930, 578, 1566, 202, 565, 2 ]
return horizontalAlignment;
return horizontalAlignment;
public int horizontalAlignment() { return horizontalAlignment; }
6653 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6653/913d133febf0c5fd6ac6f0b71398cf5fa320da91/Cell.java/clean/src/com/lowagie/text/Cell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 10300, 11535, 1435, 288, 3639, 327, 10300, 11535, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 10300, 11535, 1435, 288, 3639, 327, 10300, 11535, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if( ((String)rowVector.elementAt(2)).equals(VIRUS_OUTBOUND) ){
else if( ((String)rowVector.elementAt(2)).equals(SOURCE_OUTBOUND) ){
public void generateSettings(Object settings, boolean validateOnly) throws Exception { VirusIMAPConfig virusIMAPConfigInbound = null; VirusIMAPConfig virusIMAPConfigOutbound = null; for( Vector rowVector : (Vector<Vector>) this.getDataVector() ){ VirusIMAPConfig virusIMAPConfig = new VirusIMAPConfig(); virusIMAPConfig.setScan( (Boolean) rowVector.elementAt(3) ); String actionString = (String) ((ComboBoxModel)rowVector.elementAt(4)).getSelectedItem(); VirusMessageAction messageAction = VirusMessageAction.getInstance( actionString ); virusIMAPConfig.setMsgAction( messageAction ); virusIMAPConfig.setNotes( (String) rowVector.elementAt(5) ); if( ((String)rowVector.elementAt(2)).equals(VIRUS_INBOUND) ){ virusIMAPConfigInbound = virusIMAPConfig; } else if( ((String)rowVector.elementAt(2)).equals(VIRUS_OUTBOUND) ){ virusIMAPConfigOutbound = virusIMAPConfig; } } // SAVE SETTINGS //////// if( !validateOnly ){ VirusSettings virusSettings = (VirusSettings) settings; virusSettings.setIMAPInbound( virusIMAPConfigInbound ); virusSettings.setIMAPOutbound( virusIMAPConfigOutbound ); } }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/75c7c9414cbe7d794988285e83cb5cdac44a3d5b/ImapConfigJPanel.java/buggy/tran/virus/main/com/metavize/tran/virus/gui/ImapConfigJPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 2628, 12, 921, 1947, 16, 1250, 1954, 3386, 13, 1216, 1185, 288, 202, 58, 481, 407, 3445, 2203, 809, 16831, 407, 3445, 2203, 809, 20571, 273, 446, 31, 202, 58, 481, 407, 3445, 2203, 809, 16831, 407, 3445, 2203, 809, 17873, 273, 446, 31, 202, 1884, 12, 5589, 1027, 5018, 294, 261, 5018, 32, 5018, 23429, 333, 18, 588, 751, 5018, 1435, 262, 95, 5411, 776, 481, 407, 3445, 2203, 809, 16831, 407, 3445, 2203, 809, 273, 394, 776, 481, 407, 3445, 2203, 809, 5621, 5411, 16831, 407, 3445, 2203, 809, 18, 542, 7972, 12, 261, 5507, 13, 1027, 5018, 18, 2956, 861, 12, 23, 13, 11272, 202, 565, 514, 1301, 780, 273, 261, 780, 13, 14015, 22199, 1488, 13, 492, 5018, 18, 2956, 861, 12, 24, 13, 2934, 588, 7416, 1180, 5621, 202, 565, 776, 481, 407, 1079, 1803, 883, 1803, 273, 776, 481, 407, 1079, 1803, 18, 588, 1442, 12, 1301, 780, 11272, 5411, 16831, 407, 3445, 2203, 809, 18, 542, 3332, 1803, 12, 883, 1803, 11272, 5411, 16831, 407, 3445, 2203, 809, 18, 542, 18063, 12, 261, 780, 13, 1027, 5018, 18, 2956, 861, 12, 25, 13, 11272, 202, 377, 202, 565, 309, 12, 14015, 780, 13, 492, 5018, 18, 2956, 861, 12, 22, 13, 2934, 14963, 12, 4136, 54, 3378, 67, 706, 19318, 13, 262, 95, 202, 202, 25692, 407, 3445, 2203, 809, 20571, 273, 16831, 407, 3445, 2203, 809, 31, 202, 565, 289, 202, 565, 469, 309, 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, 2103, 2628, 12, 921, 1947, 16, 1250, 1954, 3386, 13, 1216, 1185, 288, 202, 58, 481, 407, 3445, 2203, 809, 16831, 407, 3445, 2203, 809, 20571, 273, 446, 31, 202, 58, 481, 407, 3445, 2203, 809, 16831, 407, 3445, 2203, 809, 17873, 273, 446, 31, 202, 1884, 12, 5589, 1027, 5018, 294, 261, 5018, 32, 5018, 23429, 333, 18, 588, 751, 5018, 1435, 262, 95, 5411, 776, 481, 407, 3445, 2203, 809, 16831, 407, 3445, 2203, 809, 273, 394, 776, 481, 407, 3445, 2203, 809, 5621, 5411, 16831, 407, 3445, 2203, 809, 18, 542, 7972, 12, 261, 5507, 13, 1027, 5018, 18, 2956, 861, 12, 23, 13, 11272, 202, 565, 514, 1301, 780, 273, 261, 780, 2 ]
}
}
private void determineTechKeyCreation() { String keyCreation = meta.getTechKeyCreation(); if (meta.getDatabase().supportsAutoinc() && CombinationLookupMeta.CREATION_METHOD_AUTOINC.equals(keyCreation) ) { setTechKeyCreation(CREATION_METHOD_AUTOINC); } else if (meta.getDatabase().supportsSequences() && CombinationLookupMeta.CREATION_METHOD_SEQUENCE.equals(keyCreation) ) { setTechKeyCreation(CREATION_METHOD_SEQUENCE); } else { setTechKeyCreation(CREATION_METHOD_TABLEMAX); } }
9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/c485a0191549409e0299519e584105bbf3eee558/CombinationLookup.java/buggy/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4199, 56, 8987, 653, 9906, 1435, 202, 95, 202, 202, 780, 498, 9906, 273, 2191, 18, 588, 56, 8987, 653, 9906, 5621, 202, 202, 430, 261, 3901, 18, 588, 4254, 7675, 28064, 7150, 885, 71, 1435, 597, 1875, 202, 26062, 6609, 2781, 18, 5458, 2689, 67, 5327, 67, 37, 1693, 6266, 39, 18, 14963, 12, 856, 9906, 13, 262, 202, 202, 95, 1082, 565, 444, 56, 8987, 653, 9906, 12, 5458, 2689, 67, 5327, 67, 37, 1693, 6266, 39, 1769, 202, 202, 97, 202, 202, 12107, 309, 261, 3901, 18, 588, 4254, 7675, 28064, 21710, 1435, 597, 1875, 21114, 377, 15645, 1735, 6609, 2781, 18, 5458, 2689, 67, 5327, 67, 25330, 18, 14963, 12, 856, 9906, 13, 262, 202, 202, 95, 1082, 565, 444, 56, 8987, 653, 9906, 12, 5458, 2689, 67, 5327, 67, 25330, 1769, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 542, 56, 8987, 653, 9906, 12, 5458, 2689, 67, 5327, 67, 7775, 6694, 1769, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4199, 56, 8987, 653, 9906, 1435, 202, 95, 202, 202, 780, 498, 9906, 273, 2191, 18, 588, 56, 8987, 653, 9906, 5621, 202, 202, 430, 261, 3901, 18, 588, 4254, 7675, 28064, 7150, 885, 71, 1435, 597, 1875, 202, 26062, 6609, 2781, 18, 5458, 2689, 67, 5327, 67, 37, 1693, 6266, 39, 18, 14963, 12, 856, 9906, 13, 262, 202, 202, 95, 1082, 565, 444, 56, 8987, 653, 9906, 12, 5458, 2689, 67, 5327, 67, 37, 1693, 6266, 39, 1769, 202, 202, 97, 202, 202, 12107, 309, 261, 3901, 18, 588, 4254, 7675, 28064, 21710, 1435, 597, 1875, 21114, 377, 15645, 1735, 6609, 2781, 18, 5458, 2689, 67, 5327, 67, 25330, 18, 14963, 12, 856, 2 ]
public int send(DbEnv env, Dbt control, Dbt rec, int flags, int envid) throws DbException;
public int send(DbEnv dbenv, Dbt control, Dbt rec, DbLsn lsn, int flags, int envid) throws DbException;
public int send(DbEnv env, Dbt control, Dbt rec, int flags, int envid) throws DbException;
9203 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9203/1765c2598bb92e59ff55807fab4076d1b5d838f2/DbRepTransport.java/buggy/db/java/src/com/sleepycat/db/DbRepTransport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1366, 12, 4331, 3491, 1550, 16, 8408, 88, 3325, 16, 8408, 88, 1950, 16, 509, 2943, 16, 509, 570, 1246, 13, 3639, 1216, 8408, 503, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1366, 12, 4331, 3491, 1550, 16, 8408, 88, 3325, 16, 8408, 88, 1950, 16, 509, 2943, 16, 509, 570, 1246, 13, 3639, 1216, 8408, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
includefile="hardtokenprofilepage.jsp";
includefile=PAGE_HARDTOKENPROFILE;
public String parseRequest(HttpServletRequest request) throws AuthorizationDeniedException{ String includefile = "hardtokenprofilespage.jsp"; String profile = null; HardTokenProfileDataHandler handler = hardtokenbean.getHardTokenProfileDataHandler(); String action = null; InputStream file = null; boolean errorrecievingfile = false; boolean buttoncancel = false; boolean buttonupload = false; String filename = null; if(FileUpload.isMultipartContent(request)){ try{ errorrecievingfile = true; DiskFileUpload upload = new DiskFileUpload(); upload.setSizeMax(500000); upload.setSizeThreshold(499999); List /* FileItem */ items = upload.parseRequest(request); Iterator iter = items.iterator(); while (iter.hasNext()) { FileItem item = (FileItem) iter.next(); if (item.isFormField()) { if(item.getFieldName().equals(ACTION)) action = item.getString(); if(item.getFieldName().equals(HIDDEN_HARDTOKENPROFILENAME)) profilename = item.getString(); if(item.getFieldName().equals(BUTTON_CANCEL)) buttoncancel = true; if(item.getFieldName().equals(BUTTON_UPLOADFILE)) buttonupload = true; }else{ file = item.getInputStream(); filename = item.getName(); errorrecievingfile = false; } } }catch(IOException e){ fileuploadfailed = true; includefile="hardtokenprofilepage.jsp"; }catch(FileUploadException e){ fileuploadfailed = true; includefile="hardtokenprofilepage.jsp"; } }else{ action = request.getParameter(ACTION); } if( action != null){ if( action.equals(ACTION_EDIT_HARDTOKENPROFILES)){ if( request.getParameter(BUTTON_EDIT_HARDTOKENPROFILES) != null){ // Display profilepage.jsp profile = request.getParameter(SELECT_HARDTOKENPROFILES); if(profile != null){ if(!profile.trim().equals("")){ includefile="hardtokenprofilepage.jsp"; this.profilename = profile; this.profiledata = handler.getHardTokenProfile(profilename); } else{ profile= null; } } if(profile == null){ includefile="hardtokenprofilespage.jsp"; } } if( request.getParameter(BUTTON_DELETE_HARDTOKENPROFILES) != null) { // Delete profile and display profilespage. profile = request.getParameter(SELECT_HARDTOKENPROFILES); if(profile != null){ if(!profile.trim().equals("")){ hardtokenprofiledeletefailed = handler.removeHardTokenProfile(profile); } } includefile="hardtokenprofilespage.jsp"; } if( request.getParameter(BUTTON_RENAME_HARDTOKENPROFILES) != null){ // Rename selected profile and display profilespage. String newhardtokenprofilename = request.getParameter(TEXTFIELD_HARDTOKENPROFILESNAME); String oldhardtokenprofilename = request.getParameter(SELECT_HARDTOKENPROFILES); if(oldhardtokenprofilename != null && newhardtokenprofilename != null){ if(!newhardtokenprofilename.trim().equals("") && !oldhardtokenprofilename.trim().equals("")){ try{ handler.renameHardTokenProfile(oldhardtokenprofilename.trim(),newhardtokenprofilename.trim()); }catch( HardTokenProfileExistsException e){ hardtokenprofileexists=true; } } } includefile="hardtokenprofilespage.jsp"; } if( request.getParameter(BUTTON_ADD_HARDTOKENPROFILES) != null){ // Add profile and display profilespage. profile = request.getParameter(TEXTFIELD_HARDTOKENPROFILESNAME); if(profile != null){ if(!profile.trim().equals("")){ try{ handler.addHardTokenProfile(profile.trim(), new SwedishEIDProfile()); }catch( HardTokenProfileExistsException e){ hardtokenprofileexists=true; } } } includefile="hardtokenprofilespage.jsp"; } if( request.getParameter(BUTTON_CLONE_HARDTOKENPROFILES) != null){ // clone profile and display profilespage. String newhardtokenprofilename = request.getParameter(TEXTFIELD_HARDTOKENPROFILESNAME); String oldhardtokenprofilename = request.getParameter(SELECT_HARDTOKENPROFILES); if(oldhardtokenprofilename != null && newhardtokenprofilename != null){ if(!newhardtokenprofilename.trim().equals("") && !oldhardtokenprofilename.trim().equals("")){ try{ handler.cloneHardTokenProfile(oldhardtokenprofilename.trim(),newhardtokenprofilename.trim()); }catch(HardTokenProfileExistsException e){ hardtokenprofileexists=true; } } } includefile="hardtokenprofilespage.jsp"; } } if( action.equals(ACTION_EDIT_HARDTOKENPROFILE)){ // Display edit access rules page. profile = request.getParameter(HIDDEN_HARDTOKENPROFILENAME); if(profile != null){ if(!profile.trim().equals("")){ if(request.getParameter(BUTTON_SAVE) != null || request.getParameter(BUTTON_UPLOADENVELOPETEMP) != null || request.getParameter(BUTTON_UPLOADVISUALTEMP) != null){ if(profiledata == null){ String tokentype = request.getParameter(HIDDEN_HARDTOKENTYPE); if(tokentype.equals(TYPE_SWEDISHEID)) profiledata = new SwedishEIDProfile(); if(tokentype.equals(TYPE_ENCHANCEDEID)) profiledata = new EnhancedEIDProfile(); } // Save changes. // General settings String value = request.getParameter(TEXTFIELD_SNPREFIX); if(value != null){ value = value.trim(); profiledata.setHardTokenSNPrefix(value); } value = request.getParameter(CHECKBOX_EREASBLE); if(value != null){ profiledata.setEreasableToken(value.equals(CHECKBOX_VALUE)); }else profiledata.setEreasableToken(false); value = request.getParameter(SELECT_NUMOFTOKENCOPIES); if(value != null){ profiledata.setNumberOfCopies(Integer.parseInt(value)); } value = request.getParameter(CHECKBOX_USEIDENTICALPINS); if(value != null){ profiledata.setGenerateIdenticalPINForCopies(value.equals(CHECKBOX_VALUE)); }else profiledata.setGenerateIdenticalPINForCopies(false); if(profiledata instanceof HardTokenProfileWithPINEnvelope){ value = request.getParameter(SELECT_ENVELOPETYPE); if(value != null) ((HardTokenProfileWithPINEnvelope) profiledata).setPINEnvelopeType(Integer.parseInt(value)); value = request.getParameter(SELECT_NUMOFENVELOPECOPIES); if(value != null) ((HardTokenProfileWithPINEnvelope) profiledata).setNumberOfPINEnvelopeCopies(Integer.parseInt(value)); value = request.getParameter(TEXTFIELD_VISUALVALIDITY); if(value != null) ((HardTokenProfileWithPINEnvelope) profiledata).setVisualValidity(Integer.parseInt(value)); } if(profiledata instanceof HardTokenProfileWithVisualLayout){ HardTokenProfileWithVisualLayout visprof = (HardTokenProfileWithVisualLayout) profiledata; value = request.getParameter(SELECT_VISUALLAYOUTTYPE); if(value != null) visprof.setVisualLayoutType(Integer.parseInt(value)); } if(profiledata instanceof SwedishEIDProfile){ SwedishEIDProfile sweprof = (SwedishEIDProfile) profiledata; value = request.getParameter(SELECT_MINKEYLENGTH); if(value!= null){ int val = Integer.parseInt(value); sweprof.setMinimumKeyLength(SwedishEIDProfile.CERTUSAGE_SIGN, val); sweprof.setMinimumKeyLength(SwedishEIDProfile.CERTUSAGE_AUTHENC, val); sweprof.setKeyType(SwedishEIDProfile.CERTUSAGE_SIGN, SwedishEIDProfile.KEYTYPE_RSA); sweprof.setKeyType(SwedishEIDProfile.CERTUSAGE_AUTHENC, SwedishEIDProfile.KEYTYPE_RSA); } value = request.getParameter(SELECT_CERTIFICATEPROFILE + "0"); if(value!= null) sweprof.setCertificateProfileId(SwedishEIDProfile.CERTUSAGE_SIGN, Integer.parseInt(value)); value = request.getParameter(SELECT_PINTYPE + "0"); if(value!= null) sweprof.setPINType(SwedishEIDProfile.CERTUSAGE_SIGN, Integer.parseInt(value)); value = request.getParameter(SELECT_CERTIFICATEPROFILE + "1"); if(value!= null) sweprof.setCertificateProfileId(SwedishEIDProfile.CERTUSAGE_AUTHENC, Integer.parseInt(value)); value = request.getParameter(SELECT_PINTYPE + "1"); if(value!= null) sweprof.setPINType(SwedishEIDProfile.CERTUSAGE_AUTHENC, Integer.parseInt(value)); } if(profiledata instanceof EnhancedEIDProfile){ EnhancedEIDProfile enhprof = (EnhancedEIDProfile) profiledata; value = request.getParameter(SELECT_MINKEYLENGTH); if(value!= null){ int val = Integer.parseInt(value); enhprof.setMinimumKeyLength(EnhancedEIDProfile.CERTUSAGE_SIGN, val); enhprof.setMinimumKeyLength(EnhancedEIDProfile.CERTUSAGE_AUTH, val); enhprof.setMinimumKeyLength(EnhancedEIDProfile.CERTUSAGE_ENC, val); enhprof.setKeyType(EnhancedEIDProfile.CERTUSAGE_SIGN, SwedishEIDProfile.KEYTYPE_RSA); enhprof.setKeyType(EnhancedEIDProfile.CERTUSAGE_ENC, SwedishEIDProfile.KEYTYPE_RSA); enhprof.setKeyType(EnhancedEIDProfile.CERTUSAGE_ENC, SwedishEIDProfile.KEYTYPE_RSA); } value = request.getParameter(SELECT_CERTIFICATEPROFILE + "0"); if(value!= null) enhprof.setCertificateProfileId(EnhancedEIDProfile.CERTUSAGE_SIGN, Integer.parseInt(value)); value = request.getParameter(SELECT_PINTYPE + "0"); if(value!= null) enhprof.setPINType(EnhancedEIDProfile.CERTUSAGE_SIGN, Integer.parseInt(value)); enhprof.setIsKeyRecoverable(EnhancedEIDProfile.CERTUSAGE_SIGN, false); value = request.getParameter(SELECT_CERTIFICATEPROFILE + "1"); if(value!= null) enhprof.setCertificateProfileId(EnhancedEIDProfile.CERTUSAGE_AUTH, Integer.parseInt(value)); value = request.getParameter(SELECT_PINTYPE + "1"); if(value!= null) enhprof.setPINType(EnhancedEIDProfile.CERTUSAGE_AUTH, Integer.parseInt(value)); enhprof.setIsKeyRecoverable(EnhancedEIDProfile.CERTUSAGE_AUTH, false); value = request.getParameter(SELECT_CERTIFICATEPROFILE + "2"); if(value!= null) enhprof.setCertificateProfileId(EnhancedEIDProfile.CERTUSAGE_ENC, Integer.parseInt(value)); value = request.getParameter(SELECT_PINTYPE + "2"); if(value!= null) enhprof.setPINType(EnhancedEIDProfile.CERTUSAGE_ENC, Integer.parseInt(value)); value = request.getParameter(CHECKBOX_KEYRECOVERABLE + "2"); if(value != null) enhprof.setIsKeyRecoverable(EnhancedEIDProfile.CERTUSAGE_ENC, value.equals(CHECKBOX_VALUE)); else enhprof.setIsKeyRecoverable(EnhancedEIDProfile.CERTUSAGE_ENC, false); } if(request.getParameter(BUTTON_SAVE) != null){ handler.changeHardTokenProfile(profile,profiledata); includefile="hardtokenprofilespage.jsp"; } if(request.getParameter(BUTTON_UPLOADENVELOPETEMP) != null){ uploadmode = UPLOADMODE_ENVELOPE; includefile="uploadtemplate.jsp"; } if(request.getParameter(BUTTON_UPLOADVISUALTEMP) != null){ uploadmode = UPLOADMODE_VISUAL; includefile="uploadtemplate.jsp"; } } if(request.getParameter(BUTTON_CANCEL) != null){ // Don't save changes. includefile="hardtokenprofilespage.jsp"; } } } } if( action.equals(ACTION_CHANGE_PROFILETYPE)){ this.profilename = request.getParameter(HIDDEN_HARDTOKENPROFILENAME); String value = request.getParameter(SELECT_HARDTOKENTYPE); if(value!=null){ int profiletype = Integer.parseInt(value); switch(profiletype){ case SwedishEIDProfile.TYPE_SWEDISHEID : profiledata = new SwedishEIDProfile(); break; case EnhancedEIDProfile.TYPE_ENHANCEDEID: profiledata = new EnhancedEIDProfile(); break; } } includefile="hardtokenprofilepage.jsp"; } if( action.equals(ACTION_UPLOADENVELOPETEMP)){ if(buttonupload){ if(profiledata instanceof IPINEnvelopeSettings){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(file,"UTF8")); String filecontent = ""; String nextline = ""; while(nextline!=null){ nextline = br.readLine(); if(nextline != null) filecontent += nextline + "\n"; } ((IPINEnvelopeSettings) profiledata).setPINEnvelopeData(filecontent); ((IPINEnvelopeSettings) profiledata).setPINEnvelopeTemplateFilename(filename); fileuploadsuccess = true; }catch(IOException ioe){ fileuploadfailed = true; } } } includefile="hardtokenprofilepage.jsp"; } if( action.equals(ACTION_UPLOADVISUALTEMP)){ if(profiledata instanceof IVisualLayoutSettings){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(file,"UTF8")); String filecontent = ""; String nextline = ""; while(nextline!=null){ nextline = br.readLine(); if(nextline != null) filecontent += nextline + "\n"; } ((IVisualLayoutSettings) profiledata).setVisualLayoutData(filecontent); ((IVisualLayoutSettings) profiledata).setVisualLayoutTemplateFilename(filename); fileuploadsuccess = true; }catch(IOException ioe){ fileuploadfailed = true; } } includefile="hardtokenprofilepage.jsp"; } } return includefile; }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/6ede1331d67d74eb28122e57925604df9eaad01c/EditHardTokenProfileJSPHelper.java/clean/src/java/se/anatom/ejbca/webdist/hardtokeninterface/EditHardTokenProfileJSPHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1109, 691, 12, 2940, 18572, 590, 13, 1216, 10234, 15877, 95, 1377, 514, 2823, 89, 536, 398, 273, 315, 20379, 2316, 18314, 2433, 18, 24926, 14432, 3196, 225, 514, 3042, 273, 446, 31, 202, 225, 670, 1060, 1345, 4029, 751, 1503, 1838, 225, 273, 7877, 2316, 14496, 18, 588, 29601, 1345, 4029, 751, 1503, 5621, 202, 1377, 514, 1301, 273, 446, 31, 202, 225, 5037, 585, 273, 446, 31, 202, 21114, 225, 1250, 555, 3927, 1385, 6282, 768, 273, 629, 31, 1377, 1250, 3568, 10996, 273, 629, 31, 1377, 1250, 3568, 6327, 273, 629, 31, 1377, 514, 1544, 273, 446, 31, 202, 225, 309, 12, 812, 4777, 18, 291, 12024, 1350, 12, 2293, 3719, 95, 202, 282, 202, 698, 95, 1377, 202, 282, 9506, 225, 555, 3927, 1385, 6282, 768, 273, 638, 31, 1082, 225, 12951, 812, 4777, 3617, 273, 394, 12951, 812, 4777, 5621, 1082, 225, 3617, 18, 542, 1225, 2747, 12, 25, 11706, 1769, 10792, 1082, 225, 3617, 18, 542, 1225, 7614, 12, 24, 31463, 1769, 1082, 225, 987, 1748, 1387, 1180, 1195, 1516, 273, 3617, 18, 2670, 691, 12, 2293, 1769, 1377, 1082, 225, 4498, 1400, 273, 1516, 18, 9838, 5621, 1082, 225, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 1377, 1082, 225, 1387, 1180, 761, 273, 261, 812, 1180, 13, 1400, 18, 4285, 5621, 1082, 565, 309, 261, 1726, 18, 291, 27317, 10756, 288, 1850, 9506, 225, 309, 12, 1726, 18, 588, 7287, 7675, 14963, 12, 12249, 3719, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1109, 691, 12, 2940, 18572, 590, 13, 1216, 10234, 15877, 95, 1377, 514, 2823, 89, 536, 398, 273, 315, 20379, 2316, 18314, 2433, 18, 24926, 14432, 3196, 225, 514, 3042, 273, 446, 31, 202, 225, 670, 1060, 1345, 4029, 751, 1503, 1838, 225, 273, 7877, 2316, 14496, 18, 588, 29601, 1345, 4029, 751, 1503, 5621, 202, 1377, 514, 1301, 273, 446, 31, 202, 225, 5037, 585, 273, 446, 31, 202, 21114, 225, 1250, 555, 3927, 1385, 6282, 768, 273, 629, 31, 1377, 1250, 3568, 10996, 273, 629, 31, 1377, 1250, 3568, 6327, 273, 629, 31, 1377, 514, 1544, 273, 446, 31, 202, 225, 309, 12, 812, 4777, 18, 291, 12024, 1350, 12, 2293, 3719, 95, 202, 2 ]
GrailsApplication application = new DefaultGrailsApplication(new Class[] { groovyClass },gcl); registerBeanDefinition(groovyClass,application, request,response); GrailsControllerHelper helper1 = new SimpleGrailsControllerHelper(application,context,new MockServletContext());
GrailsApplication application = createGrailsApplication(new Class[] { groovyClass },gcl); MockServletContext mockContext =new MockServletContext(); mockContext.setAttribute(GrailsApplicationAttributes.APPLICATION_CONTEXT,context); GrailsControllerHelper helper1 = new SimpleGrailsControllerHelper(application,context,mockContext);
public void testParamsDynamicProperty() throws Exception { GroovyClassLoader gcl = new GroovyClassLoader(); MockHttpServletRequest request = new MockHttpServletRequest(); MockHttpServletResponse response = new MockHttpServletResponse(); request.addParameter("testParam", "testValue"); Class groovyClass = gcl.parseClass( "class TestController {\n" + "@Property list = {\n" + "}\n" + "}" ); GrailsApplication application = new DefaultGrailsApplication(new Class[] { groovyClass },gcl); registerBeanDefinition(groovyClass,application, request,response); GrailsControllerHelper helper1 = new SimpleGrailsControllerHelper(application,context,new MockServletContext()); try { helper1.handleURI("/test/list",request,response); GroovyObject go = (GroovyObject)request.getAttribute(GrailsApplicationAttributes.CONTROLLER); Object params = go.getProperty( "params" ); assertNotNull(params); assertTrue(params instanceof Map); Map paramsMap = (Map)params; assertTrue(paramsMap.containsKey("testParam")); assertEquals("testValue",paramsMap.get("testParam")); } catch(MissingMethodException mme) { fail("Missing method exception should not have been thrown!"); } catch(MissingPropertyException mpex) { fail("Missing property exception should not have been thrown!"); } }
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/8590844251d7f9a0f98804c3f01c4cfe2301b990/ControllerMetaClassTests.java/clean/grails/test/web/org/codehaus/groovy/grails/web/metaclass/ControllerMetaClassTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1370, 9791, 1396, 1435, 1216, 1185, 288, 540, 20841, 7805, 314, 830, 273, 394, 20841, 7805, 5621, 540, 7867, 2940, 18572, 590, 273, 394, 7867, 2940, 18572, 5621, 540, 7867, 2940, 29910, 766, 273, 394, 7867, 2940, 29910, 5621, 540, 590, 18, 1289, 1662, 2932, 3813, 786, 3113, 315, 3813, 620, 8863, 540, 1659, 24955, 797, 273, 314, 830, 18, 2670, 797, 12, 315, 1106, 7766, 2933, 18890, 82, 6, 397, 7682, 8787, 1396, 666, 273, 18890, 82, 6, 397, 7682, 315, 6280, 82, 6, 397, 7682, 11883, 11272, 540, 10812, 14573, 3208, 2521, 273, 394, 2989, 14571, 14573, 3208, 12, 2704, 1659, 8526, 288, 24955, 797, 19879, 75, 830, 1769, 540, 1744, 3381, 1852, 12, 75, 12859, 797, 16, 3685, 16, 590, 16, 2740, 1769, 540, 10812, 14573, 2933, 2276, 4222, 21, 273, 394, 4477, 14571, 14573, 2933, 2276, 12, 3685, 16, 2472, 16, 2704, 7867, 4745, 1042, 10663, 540, 775, 288, 2398, 4222, 21, 18, 4110, 3098, 2932, 19, 3813, 19, 1098, 3113, 2293, 16, 2740, 1769, 2398, 20841, 921, 1960, 273, 261, 43, 12859, 921, 13, 2293, 18, 588, 1499, 12, 14571, 14573, 3208, 2498, 18, 6067, 25353, 1769, 2398, 1033, 859, 273, 1960, 18, 588, 1396, 12, 315, 2010, 6, 11272, 2398, 25395, 12, 2010, 1769, 2398, 1815, 5510, 12, 2010, 1276, 1635, 1769, 2398, 1635, 859, 863, 273, 261, 863, 13, 2010, 31, 2398, 1815, 5510, 12, 2010, 863, 18, 12298, 653, 2932, 3813, 786, 7923, 1769, 2398, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1370, 9791, 1396, 1435, 1216, 1185, 288, 540, 20841, 7805, 314, 830, 273, 394, 20841, 7805, 5621, 540, 7867, 2940, 18572, 590, 273, 394, 7867, 2940, 18572, 5621, 540, 7867, 2940, 29910, 766, 273, 394, 7867, 2940, 29910, 5621, 540, 590, 18, 1289, 1662, 2932, 3813, 786, 3113, 315, 3813, 620, 8863, 540, 1659, 24955, 797, 273, 314, 830, 18, 2670, 797, 12, 315, 1106, 7766, 2933, 18890, 82, 6, 397, 7682, 8787, 1396, 666, 273, 18890, 82, 6, 397, 7682, 315, 6280, 82, 6, 397, 7682, 11883, 11272, 540, 10812, 14573, 3208, 2521, 273, 394, 2989, 14571, 14573, 3208, 12, 2704, 1659, 8526, 288, 24955, 797, 19879, 75, 830, 1769, 540, 1744, 3381, 1852, 2 ]
player.put("release", Version.VERSION);
player.put("release", Debug.VERSION);
public static Player create(RPObject object) { String[] slots = { "bag", "rhand", "lhand", "head", "armor", "legs", "feet", "cloak", "bank" }; // Port from 0.03 to 0.10 if (!object.has("base_hp")) { object.put("base_hp", "100"); object.put("hp", "100"); } // Port from 0.13 to 0.20 if (!object.has("outfit")) { object.put("outfit", 0); } // create slots if they do not exist yet: // Port from 0.20 to 0.30: bag, rhand, lhand, armor, head, legs, feet // Port from 0.44 to 0.50: cloak, bank for (String slotName : slots) { if (!object.hasSlot(slotName)) { object.addSlot(new RPSlot(slotName)); } } // Port from 0.30 to 0.35 if (!object.hasSlot("!buddy")) { object.addSlot(new RPSlot("!buddy")); } if (!object.has("atk_xp")) { object.put("atk_xp", "0"); object.put("def_xp", "0"); } if (object.has("devel")) { object.remove("devel"); } // From 0.44 to 0.50 if (!object.has("release")) { object.put("release", "0.00"); object.put("atk", "10"); object.put("def", "10"); } if (!object.hasSlot("cloak")) { object.addSlot(new RPSlot("cloak")); } if (!object.hasSlot("bank")) { object.addSlot(new RPSlot("bank")); } if (object.hasSlot("!buddy")) { RPSlot buddy = object.getSlot("!buddy"); if (buddy.size() == 0) { RPObject data = new RPObject(); buddy.assignValidID(data); buddy.add(data); } } if (!object.has("age")) { object.put("age", "0"); } StendhalRPWorld world = StendhalRPWorld.get(); Player player = new Player(object); // Port from 0.48 to 0.50 player.readAdminsFromFile(); player.stop(); player.stopAttack(); boolean firstVisit = false; try { if (!object.has("zoneid") || !object.has("x") || !object.has("y")) { firstVisit = true; } boolean newReleaseHappened = !object.get("release").equals( Version.VERSION); if (newReleaseHappened) { firstVisit = true; player.put("release", Version.VERSION); } if (firstVisit) { player.put("zoneid", "int_semos_townhall"); } world.add(player); } catch (Exception e) { // If placing the player at its last position // fails we reset it to city entry point logger.warn( "cannot place player at its last position. reseting to semos city entry point", e); firstVisit = true; player.put("zoneid", "int_semos_townhall"); player.notifyWorldAboutChanges(); } StendhalRPAction.transferContent(player); StendhalRPZone zone = (StendhalRPZone) world.getRPZone(player.getID()); if (firstVisit) { zone.placeObjectAtEntryPoint(player); } int x = player.getX(); int y = player.getY(); try { if (player.hasSheep()) { logger.debug("Player has a sheep"); Sheep sheep = player.retrieveSheep(); sheep.put("zoneid", object.get("zoneid")); if (!sheep.has("base_hp")) { sheep.put("base_hp", "10"); sheep.put("hp", "10"); } world.add(sheep); x = sheep.getX(); y = sheep.getY(); player.setSheep(sheep); StendhalRPAction.placeat(zone, sheep, x, y); zone.addPlayerAndFriends(sheep); } } catch (Exception e) { /** * No idea how but some players get a sheep but * they don't have it really. Me thinks that it * is a player that has been running for a while * the game and was kicked of server because * shutdown on a pre 1.00 version of Marauroa. * We shouldn't see this anymore. */ logger.error("Pre 1.00 Marauroa sheep bug. (player = " + player.getName() + ")", e); if (player.has("sheep")) { player.remove("sheep"); } if (player.hasSlot("#flock")) { player.removeSlot("#flock"); } } StendhalRPAction.placeat(zone, player, x, y); zone.addPlayerAndFriends(player); for (String slotName : slots) { try { if (player.hasSlot(slotName)) { RPSlot slot = player.getSlot(slotName); List<RPObject> objects = new LinkedList<RPObject>(); for (RPObject objectInSlot : slot) { objects.add(objectInSlot); } slot.clear(); for (RPObject item : objects) { try { if (item.get("type").equals("item")) { // We simply // ignore // corpses... Item entity = world.getRuleManager() .getEntityManager().getItem( item.get("name")); entity.setID(item.getID()); if(item.has("persistent") && item.getInt("persistent")==1) { entity.fill(item); } if (entity instanceof StackableItem) { ((StackableItem) entity).setQuantity(item.getInt("quantity")); } // make sure saved individual information is // restored if (item.has("infostring")) { entity.put("infostring", item .get("infostring")); } if (item.has("description")) { entity.put("description", item .get("description")); } slot.add(entity); } } catch (Exception e) { logger.error("Error adding " + item + " to player slot" + slot, e); } } } else { logger.warn("player " + player.getName() + " does not have the slot " + slotName); } } catch (Exception e) { logger.error("cannot create player", e); if (player.hasSlot(slotName)) { RPSlot slot = player.getSlot(slotName); slot.clear(); } } } if (player.getSlot("!buddy").size() > 0) { RPObject buddies = player.getSlot("!buddy").iterator().next(); for (String name : buddies) { // what is this underscore supposed to do? if (name.charAt(0) == '_') { // cut off the strange underscore Player buddy = StendhalRPRuleProcessor.get().getPlayer(name.substring(1)); if (buddy != null) { player.notifyOnline(buddy.getName()); } else { player.notifyOffline(name.substring(1)); } } } } player.updateItemAtkDef(); // create (or repair) !quests and !kills slots String[] slotsWithOneObject = {"!quests", "!kills"}; for (String slotName : slotsWithOneObject) { if (!player.hasSlot(slotName)) { player.addSlot(new RPSlot(slotName)); } RPSlot questSlot = player.getSlot(slotName); if (!questSlot.iterator().hasNext()) { RPObject quests = new RPObject(); questSlot.assignValidID(quests); questSlot.add(quests); } } player.welcome(); logger.debug("Finally player is :" + player); return player; }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/8094ed3c37015f1a8f317c7ead8c4a2a6c948568/Player.java/buggy/src/games/stendhal/server/entity/Player.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19185, 752, 12, 54, 52, 921, 733, 13, 288, 202, 202, 780, 8526, 12169, 273, 288, 315, 22551, 3113, 315, 86, 2349, 3113, 315, 80, 2349, 3113, 315, 1978, 3113, 315, 4610, 280, 3113, 315, 298, 564, 3113, 9506, 202, 6, 3030, 278, 3113, 315, 7550, 581, 3113, 315, 10546, 6, 289, 31, 9506, 202, 759, 6008, 628, 374, 18, 4630, 358, 374, 18, 2163, 202, 202, 430, 16051, 1612, 18, 5332, 2932, 1969, 67, 15373, 6, 3719, 288, 1082, 202, 1612, 18, 458, 2932, 1969, 67, 15373, 3113, 315, 6625, 8863, 1082, 202, 1612, 18, 458, 2932, 15373, 3113, 315, 6625, 8863, 202, 202, 97, 202, 202, 759, 6008, 628, 374, 18, 3437, 358, 374, 18, 3462, 202, 202, 430, 16051, 1612, 18, 5332, 2932, 659, 7216, 6, 3719, 288, 1082, 202, 1612, 18, 458, 2932, 659, 7216, 3113, 374, 1769, 202, 202, 97, 9506, 202, 759, 752, 12169, 309, 2898, 741, 486, 1005, 4671, 30, 9506, 202, 759, 6008, 628, 374, 18, 3462, 358, 374, 18, 5082, 30, 13189, 16, 436, 2349, 16, 328, 2349, 16, 23563, 280, 16, 910, 16, 884, 564, 16, 1656, 278, 202, 202, 759, 6008, 628, 374, 18, 6334, 358, 374, 18, 3361, 30, 1219, 581, 16, 11218, 202, 202, 1884, 261, 780, 4694, 461, 294, 12169, 13, 288, 1082, 202, 430, 16051, 1612, 18, 5332, 8764, 12, 14194, 461, 3719, 288, 9506, 202, 1612, 18, 1289, 8764, 12, 2704, 534, 52, 8764, 12, 14194, 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, 225, 202, 482, 760, 19185, 752, 12, 54, 52, 921, 733, 13, 288, 202, 202, 780, 8526, 12169, 273, 288, 315, 22551, 3113, 315, 86, 2349, 3113, 315, 80, 2349, 3113, 315, 1978, 3113, 315, 4610, 280, 3113, 315, 298, 564, 3113, 9506, 202, 6, 3030, 278, 3113, 315, 7550, 581, 3113, 315, 10546, 6, 289, 31, 9506, 202, 759, 6008, 628, 374, 18, 4630, 358, 374, 18, 2163, 202, 202, 430, 16051, 1612, 18, 5332, 2932, 1969, 67, 15373, 6, 3719, 288, 1082, 202, 1612, 18, 458, 2932, 1969, 67, 15373, 3113, 315, 6625, 8863, 1082, 202, 1612, 18, 458, 2932, 15373, 3113, 315, 6625, 8863, 202, 202, 97, 202, 202, 759, 6008, 628, 374, 18, 3437, 358, 2 ]
protected void runCommand( Commandline toExecute ) throws BuildException {
protected void runCommand(Commandline toExecute) throws BuildException {
protected void runCommand( Commandline toExecute ) throws BuildException { // XXX: we should use JCVS (www.ice.com/JCVS) instead of // command line execution so that we don't rely on having // native CVS stuff around (SM) // We can't do it ourselves as jCVS is GPLed, a third party task // outside of jakarta repositories would be possible though (SB). Environment env = new Environment(); if (port>0) { Environment.Variable var = new Environment.Variable(); var.setKey("CVS_CLIENT_PORT"); var.setValue(String.valueOf(port)); env.addVariable(var); } /** * Need a better cross platform integration with <cvspass>, so * use the same filename. */ /* But currently we cannot because 'cvs log' is not working * with a pass file. if(passFile == null){ File defaultPassFile = new File(System.getProperty("user.home") + File.separatorChar + ".cvspass"); if(defaultPassFile.exists()) this.setPassfile(defaultPassFile); } */ if (passFile!=null) { Environment.Variable var = new Environment.Variable(); var.setKey("CVS_PASSFILE"); var.setValue(String.valueOf(passFile)); env.addVariable(var); log("Using cvs passfile: " + String.valueOf(passFile), Project.MSG_INFO); } if (cvsRsh!=null) { Environment.Variable var = new Environment.Variable(); var.setKey("CVS_RSH"); var.setValue(String.valueOf(cvsRsh)); env.addVariable(var); } // // Just call the getExecuteStreamHandler() and let it handle // the semantics of instantiation or retrieval. // Execute exe = new Execute(getExecuteStreamHandler(), null); exe.setAntRun(project); if (dest == null) { dest = project.getBaseDir(); } exe.setWorkingDirectory(dest); exe.setCommandline(toExecute.getCommandline()); exe.setEnvironment(env.getVariables()); try { String actualCommandLine = executeToString(exe); log("running cvs command: " + actualCommandLine, Project.MSG_DEBUG); int retCode = exe.execute(); log( "retCode="+retCode, Project.MSG_DEBUG ); /*Throw an exception if cvs exited with error. (Iulian)*/ if(failOnError && retCode != 0) { throw new BuildException("cvs exited with error code " + retCode + StringUtils.LINE_SEP + "Command line was [" + actualCommandLine + "]", location ); } } catch (IOException e) { if( failOnError ) { throw new BuildException(e, location); } else { log("Caught exception: "+e.getMessage(), Project.MSG_WARN); } } catch (BuildException e) { if( failOnError ) { throw( e ); } else { Throwable t = e.getException(); if (t == null) { t = e; } log("Caught exception: "+t.getMessage(), Project.MSG_WARN); } } catch (Exception e) { if( failOnError ) { throw new BuildException(e, location); } else { log("Caught exception: "+e.getMessage(), Project.MSG_WARN); } } finally { // // condition used to be if(output == null) outputStream.close(). This is // not appropriate. Check if the stream itself is not null, then close(). // if (outputStream != null) { try { outputStream.close(); } catch (IOException e) {} } if (errorStream != null) { try { errorStream.close(); } catch (IOException e) {} } } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/b3ab5552dcf9770a8e6c36e61f433e63f1132a52/AbstractCvsTask.java/buggy/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 31933, 12, 2189, 1369, 358, 5289, 13, 1216, 18463, 288, 3639, 368, 11329, 30, 732, 1410, 999, 13032, 14640, 261, 5591, 18, 1812, 18, 832, 19, 46, 39, 14640, 13, 3560, 434, 3639, 368, 1296, 980, 4588, 1427, 716, 732, 2727, 1404, 21187, 603, 7999, 3639, 368, 6448, 385, 14640, 10769, 6740, 261, 7303, 13, 3639, 368, 1660, 848, 1404, 741, 518, 19801, 487, 525, 39, 14640, 353, 4948, 20662, 16, 279, 12126, 18285, 1562, 3639, 368, 8220, 434, 525, 581, 485, 69, 14531, 4102, 506, 3323, 11376, 261, 14541, 2934, 3639, 7518, 1550, 273, 394, 7518, 5621, 3639, 309, 261, 655, 34, 20, 13, 288, 5411, 7518, 18, 3092, 569, 273, 394, 7518, 18, 3092, 5621, 5411, 569, 18, 542, 653, 2932, 39, 14640, 67, 11935, 67, 6354, 8863, 5411, 569, 18, 542, 620, 12, 780, 18, 1132, 951, 12, 655, 10019, 5411, 1550, 18, 1289, 3092, 12, 1401, 1769, 3639, 289, 3639, 1783, 540, 380, 12324, 279, 7844, 6828, 4072, 12040, 598, 411, 19774, 1752, 428, 20401, 1427, 540, 380, 999, 326, 1967, 1544, 18, 540, 1195, 3639, 1748, 12484, 4551, 732, 2780, 2724, 296, 71, 6904, 613, 11, 353, 486, 5960, 540, 380, 598, 279, 1342, 585, 18, 3639, 309, 12, 5466, 812, 422, 446, 15329, 5411, 1387, 805, 6433, 812, 273, 394, 1387, 12, 3163, 18, 588, 1396, 2932, 1355, 18, 8712, 7923, 397, 1387, 18, 11287, 2156, 397, 3552, 19774, 1752, 428, 8863, 5411, 309, 12, 1886, 6433, 812, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 31933, 12, 2189, 1369, 358, 5289, 13, 1216, 18463, 288, 3639, 368, 11329, 30, 732, 1410, 999, 13032, 14640, 261, 5591, 18, 1812, 18, 832, 19, 46, 39, 14640, 13, 3560, 434, 3639, 368, 1296, 980, 4588, 1427, 716, 732, 2727, 1404, 21187, 603, 7999, 3639, 368, 6448, 385, 14640, 10769, 6740, 261, 7303, 13, 3639, 368, 1660, 848, 1404, 741, 518, 19801, 487, 525, 39, 14640, 353, 4948, 20662, 16, 279, 12126, 18285, 1562, 3639, 368, 8220, 434, 525, 581, 485, 69, 14531, 4102, 506, 3323, 11376, 261, 14541, 2934, 3639, 7518, 1550, 273, 394, 7518, 5621, 3639, 309, 261, 655, 34, 20, 13, 288, 5411, 7518, 18, 3092, 569, 273, 394, 7518, 18, 3092, 2 ]
globalState.getErr().println(ioe.toString());
global.getErr().println(ioe.toString());
public static Object evaluateReader(Context cx, Scriptable scope, Reader in, String sourceName, int lineno) { Object result = cx.getUndefinedValue(); try { result = cx.evaluateReader(scope, in, sourceName, lineno, null); } catch (WrappedException we) { globalState.getErr().println(we.getWrappedException().toString()); we.printStackTrace(); } catch (EcmaError ee) { String msg = ToolErrorReporter.getMessage( "msg.uncaughtJSException", ee.toString()); exitCode = EXITCODE_RUNTIME_ERROR; if (ee.getSourceName() != null) { Context.reportError(msg, ee.getSourceName(), ee.getLineNumber(), ee.getLineSource(), ee.getColumnNumber()); } else { Context.reportError(msg); } } catch (EvaluatorException ee) { // Already printed message. exitCode = EXITCODE_RUNTIME_ERROR; } catch (JavaScriptException jse) { // Need to propagate ThreadDeath exceptions. Object value = jse.getValue(); if (value instanceof ThreadDeath) throw (ThreadDeath) value; exitCode = EXITCODE_RUNTIME_ERROR; Context.reportError(ToolErrorReporter.getMessage( "msg.uncaughtJSException", jse.getMessage())); } catch (IOException ioe) { globalState.getErr().println(ioe.toString()); } finally { try { in.close(); } catch (IOException ioe) { globalState.getErr().println(ioe.toString()); } } return result; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/8d348ad77ead316774c893fbf3cadb3ad8c1050a/Main.java/buggy/js/rhino/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 5956, 2514, 12, 1042, 9494, 16, 22780, 2146, 16, 29159, 5393, 316, 16, 514, 28337, 16, 29159, 509, 7586, 13, 565, 288, 3639, 1033, 563, 273, 9494, 18, 588, 10317, 620, 5621, 3639, 775, 288, 5411, 563, 273, 9494, 18, 21024, 2514, 12, 4887, 16, 316, 16, 28337, 16, 7586, 16, 446, 1769, 3639, 289, 3639, 1044, 261, 17665, 503, 732, 13, 288, 5411, 2552, 1119, 18, 588, 2524, 7675, 8222, 12, 1814, 18, 588, 17665, 503, 7675, 10492, 10663, 5411, 732, 18, 1188, 6332, 5621, 3639, 289, 3639, 1044, 261, 23057, 2540, 668, 14657, 13, 288, 5411, 514, 1234, 273, 13288, 668, 13289, 18, 24906, 12, 7734, 315, 3576, 18, 551, 16510, 6479, 503, 3113, 14657, 18, 10492, 10663, 5411, 16067, 273, 28407, 5572, 67, 54, 25375, 67, 3589, 31, 5411, 309, 261, 1340, 18, 588, 1830, 461, 1435, 480, 446, 13, 288, 7734, 1772, 18, 6006, 668, 12, 3576, 16, 14657, 18, 588, 1830, 461, 9334, 19694, 14657, 18, 588, 31063, 9334, 19694, 14657, 18, 588, 1670, 1830, 9334, 19694, 14657, 18, 588, 1494, 1854, 10663, 5411, 289, 469, 288, 7734, 1772, 18, 6006, 668, 12, 3576, 1769, 5411, 289, 3639, 289, 3639, 1044, 261, 15876, 503, 14657, 13, 288, 5411, 368, 17009, 14099, 883, 18, 5411, 16067, 273, 28407, 5572, 67, 54, 25375, 67, 3589, 31, 3639, 289, 3639, 1044, 261, 16634, 503, 525, 307, 13, 288, 202, 377, 202, 759, 12324, 358, 13551, 4884, 758, 421, 4798, 18, 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, 377, 1071, 760, 1033, 5956, 2514, 12, 1042, 9494, 16, 22780, 2146, 16, 29159, 5393, 316, 16, 514, 28337, 16, 29159, 509, 7586, 13, 565, 288, 3639, 1033, 563, 273, 9494, 18, 588, 10317, 620, 5621, 3639, 775, 288, 5411, 563, 273, 9494, 18, 21024, 2514, 12, 4887, 16, 316, 16, 28337, 16, 7586, 16, 446, 1769, 3639, 289, 3639, 1044, 261, 17665, 503, 732, 13, 288, 5411, 2552, 1119, 18, 588, 2524, 7675, 8222, 12, 1814, 18, 588, 17665, 503, 7675, 10492, 10663, 5411, 732, 18, 1188, 6332, 5621, 3639, 289, 3639, 1044, 261, 23057, 2540, 668, 14657, 13, 288, 5411, 514, 1234, 273, 13288, 668, 13289, 18, 24906, 12, 7734, 315, 3576, 18, 551, 16510, 6479, 503, 2 ]
final DocumentReference newRef = new DocumentReferenceByVirtualFile(vFile);
private void createNonUndoableAction(final VirtualFile vFile, final boolean isComplex) { if (getLocalVcs() == null) { return; } if (!vFile.getFileType().isBinary() && !getLocalVcs().isUnderVcs(vFile)) { return; } DocumentReference oldRef = myUndoManager.findInvalidatedReferenceByUrl(vFile.getUrl()); final DocumentReference newRef = new DocumentReferenceByVirtualFile(vFile); createNonUndoableAction(vFile, newRef, isComplex); if ((oldRef != null) && !oldRef.equals(newRef)) { createNonUndoableAction(vFile, oldRef, isComplex); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/cb9da94a3858152039309e6fb2cd0a4906257d3d/FileOperationsUndoProvider.java/buggy/source/com/intellij/openapi/command/impl/FileOperationsUndoProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 752, 3989, 31224, 429, 1803, 12, 6385, 7269, 812, 331, 812, 16, 727, 1250, 353, 12795, 13, 288, 565, 309, 261, 588, 2042, 58, 2143, 1435, 422, 446, 13, 288, 1377, 327, 31, 565, 289, 565, 309, 16051, 90, 812, 18, 588, 28941, 7675, 291, 5905, 1435, 597, 401, 588, 2042, 58, 2143, 7675, 291, 14655, 58, 2143, 12, 90, 812, 3719, 288, 1377, 327, 31, 565, 289, 565, 4319, 2404, 1592, 1957, 273, 3399, 31224, 1318, 18, 4720, 1941, 690, 2404, 858, 1489, 12, 90, 812, 18, 588, 1489, 10663, 4202, 752, 3989, 31224, 429, 1803, 12, 90, 812, 16, 394, 1957, 16, 353, 12795, 1769, 565, 309, 14015, 1673, 1957, 480, 446, 13, 597, 401, 1673, 1957, 18, 14963, 12, 2704, 1957, 3719, 288, 1377, 752, 3989, 31224, 429, 1803, 12, 90, 812, 16, 1592, 1957, 16, 353, 12795, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 752, 3989, 31224, 429, 1803, 12, 6385, 7269, 812, 331, 812, 16, 727, 1250, 353, 12795, 13, 288, 565, 309, 261, 588, 2042, 58, 2143, 1435, 422, 446, 13, 288, 1377, 327, 31, 565, 289, 565, 309, 16051, 90, 812, 18, 588, 28941, 7675, 291, 5905, 1435, 597, 401, 588, 2042, 58, 2143, 7675, 291, 14655, 58, 2143, 12, 90, 812, 3719, 288, 1377, 327, 31, 565, 289, 565, 4319, 2404, 1592, 1957, 273, 3399, 31224, 1318, 18, 4720, 1941, 690, 2404, 858, 1489, 12, 90, 812, 18, 588, 1489, 10663, 4202, 752, 3989, 31224, 429, 1803, 12, 90, 812, 16, 394, 1957, 16, 353, 12795, 1769, 565, 309, 14015, 1673, 1957, 480, 446, 13, 597, 2 ]
public abstract java.lang.Object apply(int i);
public abstract Object apply(int i);
public abstract java.lang.Object apply(int i);
32355 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/32355/b5127bbfea6df39af5db3dc45bb9f7e698acb3f1/Array.java/clean/sources/scala/Array.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 2252, 18, 4936, 18, 921, 2230, 12, 474, 277, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8770, 2252, 18, 4936, 18, 921, 2230, 12, 474, 277, 1769, 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 ]
/* (non-Javadoc) * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor)
/* * (non-Javadoc) @see * org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor)
public void done(IJobChangeEvent event) { JobInfo info = getJobInfo(event.getJob()); if (event.getResult().getSeverity() == IStatus.ERROR) { info.setError(event.getResult()); UIJob job = new UIJob(ProgressMessages.getString("JobProgressManager.OpenProgressJob")) {//$NON-NLS-1$ /* (non-Javadoc) * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { IWorkbenchWindow window = WorkbenchPlugin .getDefault() .getWorkbench() .getActiveWorkbenchWindow(); if (window == null) return Status.CANCEL_STATUS; ProgressUtil.openProgressView(window); return Status.OK_STATUS; } }; job.schedule(); refresh(info); } else { jobs.remove(event.getJob()); //Only refresh if we are showing it remove(info); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/1a9cecd63f2d83ca30cee9aec5659bf7c2b3803d/JobProgressManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2731, 12, 45, 2278, 20930, 871, 13, 288, 202, 202, 2278, 966, 1123, 273, 13024, 966, 12, 2575, 18, 588, 2278, 10663, 202, 202, 430, 261, 2575, 18, 588, 1253, 7675, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 1082, 202, 1376, 18, 542, 668, 12, 2575, 18, 588, 1253, 10663, 9506, 202, 5370, 2278, 1719, 273, 394, 6484, 2278, 12, 5491, 5058, 18, 588, 780, 2932, 2278, 5491, 1318, 18, 3678, 5491, 2278, 6, 3719, 288, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 20308, 261, 5836, 17, 24060, 13, 202, 380, 632, 5946, 2358, 18, 20416, 18, 4881, 18, 8298, 18, 5370, 2278, 7, 2681, 382, 57, 1285, 76, 896, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 13, 202, 1195, 9506, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 6862, 202, 45, 2421, 22144, 3829, 2742, 273, 25083, 202, 2421, 22144, 3773, 6862, 1082, 202, 18, 588, 1868, 1435, 6862, 1082, 202, 18, 588, 2421, 22144, 1435, 6862, 1082, 202, 18, 588, 3896, 2421, 22144, 3829, 5621, 6862, 202, 430, 261, 5668, 422, 446, 13, 25083, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 202, 5491, 1304, 18, 3190, 5491, 1767, 12, 5668, 1769, 6862, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 9506, 202, 97, 1082, 202, 20451, 1082, 202, 4688, 18, 10676, 5621, 1082, 202, 9144, 12, 1376, 1769, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2731, 12, 45, 2278, 20930, 871, 13, 288, 202, 202, 2278, 966, 1123, 273, 13024, 966, 12, 2575, 18, 588, 2278, 10663, 202, 202, 430, 261, 2575, 18, 588, 1253, 7675, 588, 21630, 1435, 422, 467, 1482, 18, 3589, 13, 288, 1082, 202, 1376, 18, 542, 668, 12, 2575, 18, 588, 1253, 10663, 9506, 202, 5370, 2278, 1719, 273, 394, 6484, 2278, 12, 5491, 5058, 18, 588, 780, 2932, 2278, 5491, 1318, 18, 3678, 5491, 2278, 6, 3719, 288, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 20308, 261, 5836, 17, 24060, 13, 202, 380, 632, 5946, 2358, 18, 20416, 18, 4881, 18, 8298, 18, 5370, 2278, 7, 2681, 382, 57, 1285, 76, 896, 2 ]
ArrayList list = new ArrayList(); list.add("toto"); ruby.initLoad(list); RubyObject lCol = ruby.getGlobalVar("$:"); RubyObject lI = ruby.getGlobalVar("$-I"); RubyObject lLoad = ruby.getGlobalVar("$LOAD_PATH"); assertTrue(lCol == lI && lI == lLoad && lLoad != null); RubyArray lLoadA = (RubyArray)lLoad; assertTrue(((RubyFixnum)lLoadA.nitems()).getValue()== 2); assertTrue(new RubyString(ruby,"toto").equal(lLoadA.shift())); assertTrue(new RubyString(ruby,".").equal(lLoadA.shift())); System.setProperty("jruby.home", "RubyHome"); /* C:\dev\jruby>ruby -e "puts $:" /cygdrive/d/ruby/lib/ruby/site_ruby/1.6 /cygdrive/d/ruby/lib/ruby/site_ruby/1.6/i386-cygwin /cygdrive/d/ruby/lib/ruby/site_ruby /cygdrive/d/ruby/lib/ruby/1.6 /cygdrive/d/ruby/lib/ruby/1.6/i386-cygwin . */ ruby.initLoad(new ArrayList()); String wanted; if (File.separatorChar == '/') { wanted = "RubyHome/lib/ruby/site_ruby/1.6" + "RubyHome/lib/ruby/site_ruby/1.6/JAVA" + "RubyHome/lib/ruby/site_ruby" + "RubyHome/lib/ruby/1.6" + "RubyHome/lib/ruby/1.6/JAVA" + ".\n"; } else { wanted = "RubyHome\\lib\\ruby\\site_ruby\\1.6" + "RubyHome\\lib\\ruby\\site_ruby\\1.6\\JAVA" + "RubyHome\\lib\\ruby\\site_ruby" + "RubyHome\\lib\\ruby\\1.6" + "RubyHome\\lib\\ruby\\1.6\\JAVA" + "."; } assertEquals(wanted, eval("puts $:"));
ArrayList list = new ArrayList(); System.setProperty("jruby.home", ""); list.add("toto"); ruby.initLoad(list); RubyObject lCol = ruby.getGlobalVar("$:"); RubyObject lI = ruby.getGlobalVar("$-I"); RubyObject lLoad = ruby.getGlobalVar("$LOAD_PATH"); assertTrue(lCol == lI && lI == lLoad && lLoad != null); RubyArray lLoadA = (RubyArray) lLoad; assertTrue(((RubyFixnum) lLoadA.nitems()).getValue() == 2); assertTrue(new RubyString(ruby, "toto").equal(lLoadA.shift())); assertTrue(new RubyString(ruby, ".").equal(lLoadA.shift())); System.setProperty("jruby.home", "RubyHome"); /* C:\dev\jruby>ruby -e "puts $:" /cygdrive/d/ruby/lib/ruby/site_ruby/1.6 /cygdrive/d/ruby/lib/ruby/site_ruby/1.6/i386-cygwin /cygdrive/d/ruby/lib/ruby/site_ruby /cygdrive/d/ruby/lib/ruby/1.6 /cygdrive/d/ruby/lib/ruby/1.6/i386-cygwin . */ ruby.initLoad(new ArrayList()); String wanted; if (File.separatorChar == '/') { wanted = "RubyHome/lib/ruby/site_ruby/1.6" + "RubyHome/lib/ruby/site_ruby/1.6/JAVA" + "RubyHome/lib/ruby/site_ruby" + "RubyHome/lib/ruby/1.6" + "RubyHome/lib/ruby/1.6/JAVA" + "."; } else { wanted = "RubyHome\\lib\\ruby\\site_ruby\\1.6" + "RubyHome\\lib\\ruby\\site_ruby\\1.6\\JAVA" + "RubyHome\\lib\\ruby\\site_ruby" + "RubyHome\\lib\\ruby\\1.6" + "RubyHome\\lib\\ruby\\1.6\\JAVA" + "."; } assertEquals(wanted, eval("puts $:"));
public void testInitLoad() { ArrayList list = new ArrayList(); //check without a RubyHome and with one parameter list.add("toto"); ruby.initLoad(list); //check that the global vars are correctly valuated RubyObject lCol = ruby.getGlobalVar("$:"); RubyObject lI = ruby.getGlobalVar("$-I"); RubyObject lLoad = ruby.getGlobalVar("$LOAD_PATH"); assertTrue(lCol == lI && lI == lLoad && lLoad != null); RubyArray lLoadA = (RubyArray)lLoad; //check that we have 2 non null element assertTrue(((RubyFixnum)lLoadA.nitems()).getValue()== 2); //check that it is what we expect, a RubyString of the correct type assertTrue(new RubyString(ruby,"toto").equal(lLoadA.shift())); assertTrue(new RubyString(ruby,".").equal(lLoadA.shift())); //check the case when RubyHome is valuated System.setProperty("jruby.home", "RubyHome"); //MRI result /*C:\dev\jruby>ruby -e "puts $:"/cygdrive/d/ruby/lib/ruby/site_ruby/1.6/cygdrive/d/ruby/lib/ruby/site_ruby/1.6/i386-cygwin/cygdrive/d/ruby/lib/ruby/site_ruby/cygdrive/d/ruby/lib/ruby/1.6/cygdrive/d/ruby/lib/ruby/1.6/i386-cygwin. */ ruby.initLoad(new ArrayList()); String wanted; if (File.separatorChar == '/') { wanted = "RubyHome/lib/ruby/site_ruby/1.6" + "RubyHome/lib/ruby/site_ruby/1.6/JAVA" + "RubyHome/lib/ruby/site_ruby" + "RubyHome/lib/ruby/1.6" + "RubyHome/lib/ruby/1.6/JAVA" + ".\n"; } else { wanted = "RubyHome\\lib\\ruby\\site_ruby\\1.6" + "RubyHome\\lib\\ruby\\site_ruby\\1.6\\JAVA" + "RubyHome\\lib\\ruby\\site_ruby" + "RubyHome\\lib\\ruby\\1.6" + "RubyHome\\lib\\ruby\\1.6\\JAVA" + "."; } assertEquals(wanted, eval("puts $:")); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/774c5d3d592dfd020e3a8f961b73f629c4c55cf0/TestRuby.java/clean/org/jruby/test/TestRuby.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2570, 2563, 1435, 288, 202, 19558, 666, 273, 394, 2407, 5621, 202, 759, 1893, 2887, 279, 19817, 8684, 471, 598, 1245, 1569, 202, 1098, 18, 1289, 2932, 3307, 83, 8863, 202, 27768, 18, 2738, 2563, 12, 1098, 1769, 202, 759, 1893, 716, 326, 2552, 4153, 854, 8783, 21748, 690, 202, 54, 10340, 921, 328, 914, 273, 22155, 18, 588, 5160, 1537, 2932, 8, 2773, 1769, 202, 54, 10340, 921, 328, 45, 273, 22155, 18, 588, 5160, 1537, 2932, 8, 17, 45, 8863, 202, 54, 10340, 921, 328, 2563, 273, 22155, 18, 588, 5160, 1537, 2932, 8, 7783, 67, 4211, 8863, 202, 11231, 5510, 12, 80, 914, 422, 328, 45, 597, 328, 45, 422, 328, 2563, 597, 328, 2563, 480, 446, 1769, 202, 54, 10340, 1076, 328, 2563, 37, 273, 261, 54, 10340, 1076, 13, 80, 2563, 31, 202, 759, 1893, 716, 732, 1240, 576, 1661, 446, 930, 202, 11231, 5510, 12443, 12, 54, 10340, 8585, 2107, 13, 80, 2563, 37, 18, 82, 3319, 1435, 2934, 24805, 1435, 631, 576, 1769, 202, 759, 1893, 716, 518, 353, 4121, 732, 4489, 16, 279, 19817, 780, 434, 326, 3434, 618, 202, 11231, 5510, 12, 2704, 19817, 780, 12, 27768, 10837, 3307, 83, 20387, 9729, 12, 80, 2563, 37, 18, 4012, 1435, 10019, 202, 11231, 5510, 12, 2704, 19817, 780, 12, 27768, 10837, 1199, 2934, 9729, 12, 80, 2563, 37, 18, 4012, 1435, 10019, 202, 759, 1893, 326, 648, 1347, 19817, 8684, 353, 21748, 690, 202, 3163, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2570, 2563, 1435, 288, 202, 19558, 666, 273, 394, 2407, 5621, 202, 759, 1893, 2887, 279, 19817, 8684, 471, 598, 1245, 1569, 202, 1098, 18, 1289, 2932, 3307, 83, 8863, 202, 27768, 18, 2738, 2563, 12, 1098, 1769, 202, 759, 1893, 716, 326, 2552, 4153, 854, 8783, 21748, 690, 202, 54, 10340, 921, 328, 914, 273, 22155, 18, 588, 5160, 1537, 2932, 8, 2773, 1769, 202, 54, 10340, 921, 328, 45, 273, 22155, 18, 588, 5160, 1537, 2932, 8, 17, 45, 8863, 202, 54, 10340, 921, 328, 2563, 273, 22155, 18, 588, 5160, 1537, 2932, 8, 7783, 67, 4211, 8863, 202, 11231, 5510, 12, 80, 914, 422, 328, 45, 597, 328, 45, 422, 328, 2563, 2 ]
setTitle("-Dmitri v3- Starting LanguageTool...");
setTitle("Starting LanguageTool...");
public ProgressDialog() { setTitle("-Dmitri v3- Starting LanguageTool..."); JPanel progressPanel = new JPanel(new FlowLayout(FlowLayout.CENTER)); JProgressBar progressBar = new JProgressBar(0, 100); progressBar.setIndeterminate(true); progressPanel.add(progressBar); setContentPane(progressPanel); pack(); setSize(400,80); // center on screen: Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Dimension frameSize = getSize(); setLocation(screenSize.width/2 - (frameSize.width/2), screenSize.height/2 - (frameSize.height/2)); setVisible(true); }
10628 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10628/2c0357e69e848869e80fa352cd3d299151da2ed8/ProgressDialog.java/buggy/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/openoffice/ProgressDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10980, 6353, 1435, 288, 565, 14109, 2932, 11715, 9889, 6364, 7070, 1769, 565, 24048, 4007, 5537, 273, 394, 24048, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 19835, 10019, 565, 804, 31547, 29101, 273, 394, 804, 31547, 12, 20, 16, 2130, 1769, 565, 29101, 18, 542, 3866, 4443, 340, 12, 3767, 1769, 565, 4007, 5537, 18, 1289, 12, 8298, 5190, 1769, 565, 10651, 8485, 12, 8298, 5537, 1769, 565, 2298, 5621, 565, 19106, 12, 16010, 16, 3672, 1769, 565, 368, 4617, 603, 5518, 30, 565, 13037, 5518, 1225, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 7956, 1225, 5621, 565, 13037, 2623, 1225, 273, 9950, 5621, 565, 21751, 12, 9252, 1225, 18, 2819, 19, 22, 300, 261, 3789, 1225, 18, 2819, 19, 22, 3631, 5518, 1225, 18, 4210, 19, 22, 300, 261, 3789, 1225, 18, 4210, 19, 22, 10019, 565, 16697, 12, 3767, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10980, 6353, 1435, 288, 565, 14109, 2932, 11715, 9889, 6364, 7070, 1769, 565, 24048, 4007, 5537, 273, 394, 24048, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 19835, 10019, 565, 804, 31547, 29101, 273, 394, 804, 31547, 12, 20, 16, 2130, 1769, 565, 29101, 18, 542, 3866, 4443, 340, 12, 3767, 1769, 565, 4007, 5537, 18, 1289, 12, 8298, 5190, 1769, 565, 10651, 8485, 12, 8298, 5537, 1769, 565, 2298, 5621, 565, 19106, 12, 16010, 16, 3672, 1769, 565, 368, 4617, 603, 5518, 30, 565, 13037, 5518, 1225, 273, 13288, 8691, 18, 588, 1868, 6364, 8691, 7675, 588, 7956, 1225, 5621, 565, 13037, 2623, 1225, 273, 9950, 5621, 565, 21751, 12, 9252, 1225, 18, 2819, 19, 22, 2 ]
title = FILE_TITLE;
title = FILE_TITLE_ADD;
private String getNewInputObject() { // Create a dialog to prompt for a new list item String input = null; String title = new String(); String message = new String(); String initVal = new String(); if (browseType == IOption.BROWSE_DIR) { title = DIR_TITLE; message = DIR_MSG; initVal = path == null ? initVal : path.toString(); } else if (browseType == IOption.BROWSE_FILE) { title = FILE_TITLE; message = FILE_MSG; initVal = path == null ? initVal : path.toString(); } else { title = TITLE; message = compTitle; } // Prompt for value SelectPathInputDialog dialog = new SelectPathInputDialog(getListControl().getShell(), title, message, initVal, null, browseType); if (dialog.open() == SelectPathInputDialog.OK) { input = dialog.getValue(); } // Double-quote the spaces or backslashes in paths (if any) if (input != null && input.length() > 0) { if (browseType == IOption.BROWSE_DIR || browseType == IOption.BROWSE_FILE) { // Check for spaces int firstWhitespace = input.indexOf(" "); //$NON-NLS-1$ int firstBackslash = input.indexOf("\\"); //$NON-NLS-1$ if (firstWhitespace != -1 || firstBackslash != -1) { // Double-quote paths with whitespaces input = "\"" + input + "\""; //$NON-NLS-1$ //$NON-NLS-2$ } } } return input; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c521553711f3cbb91420dbeb330d34a9f80d35c1/FileListControl.java/clean/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/FileListControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 12654, 1210, 921, 1435, 288, 202, 202, 759, 1788, 279, 6176, 358, 6866, 364, 279, 394, 666, 761, 202, 202, 780, 810, 273, 446, 31, 202, 202, 780, 2077, 273, 394, 514, 5621, 202, 202, 780, 883, 273, 394, 514, 5621, 202, 202, 780, 1208, 3053, 273, 394, 514, 5621, 9506, 202, 430, 261, 25731, 559, 422, 1665, 375, 18, 38, 11226, 1090, 67, 4537, 13, 288, 1082, 202, 2649, 273, 18544, 67, 14123, 31, 1082, 202, 2150, 273, 18544, 67, 11210, 31, 1082, 202, 2738, 3053, 273, 589, 422, 446, 692, 1208, 3053, 294, 589, 18, 10492, 5621, 202, 202, 97, 469, 309, 261, 25731, 559, 422, 1665, 375, 18, 38, 11226, 1090, 67, 3776, 13, 288, 1082, 202, 2649, 273, 7527, 67, 14123, 31, 1082, 202, 2150, 273, 7527, 67, 11210, 31, 1082, 202, 2738, 3053, 273, 589, 422, 446, 692, 1208, 3053, 294, 589, 18, 10492, 5621, 202, 202, 97, 469, 288, 1082, 202, 2649, 273, 29406, 31, 1082, 202, 2150, 273, 1161, 4247, 31, 202, 202, 97, 9506, 202, 759, 28360, 364, 460, 202, 202, 3391, 743, 1210, 6353, 6176, 273, 394, 6766, 743, 1210, 6353, 12, 588, 682, 3367, 7675, 588, 13220, 9334, 2077, 16, 883, 16, 1208, 3053, 16, 446, 16, 21670, 559, 1769, 202, 202, 430, 261, 12730, 18, 3190, 1435, 422, 6766, 743, 1210, 6353, 18, 3141, 13, 288, 1082, 202, 2630, 273, 6176, 18, 24805, 5621, 202, 202, 97, 9506, 202, 759, 3698, 17, 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, 514, 12654, 1210, 921, 1435, 288, 202, 202, 759, 1788, 279, 6176, 358, 6866, 364, 279, 394, 666, 761, 202, 202, 780, 810, 273, 446, 31, 202, 202, 780, 2077, 273, 394, 514, 5621, 202, 202, 780, 883, 273, 394, 514, 5621, 202, 202, 780, 1208, 3053, 273, 394, 514, 5621, 9506, 202, 430, 261, 25731, 559, 422, 1665, 375, 18, 38, 11226, 1090, 67, 4537, 13, 288, 1082, 202, 2649, 273, 18544, 67, 14123, 31, 1082, 202, 2150, 273, 18544, 67, 11210, 31, 1082, 202, 2738, 3053, 273, 589, 422, 446, 692, 1208, 3053, 294, 589, 18, 10492, 5621, 202, 202, 97, 469, 309, 261, 25731, 559, 422, 1665, 375, 18, 38, 11226, 1090, 67, 2 ]
frame.setVisible(true); frame.open(file); JSLDesktop.add(frame); } catch (Exception e) { frame.dispose(); SceneFrame frame2 = new SceneFrame(file); try { frame2.setVisible(true); frame2.open(file); JSLDesktop.add(frame2); } catch (Exception e2) { frame2.dispose(); ErrorMsg.reportError("Error", "Error Loading Library", e2); return; } try { frame2.setSelected(true); } catch (PropertyVetoException e2) { ErrorMsg.reportStatus(e2); } }
frame.open(file); } catch (Exception e) { frame = new SceneFrame(file); try { frame.open(file); } catch (Exception e1) { PatchEdit.hideWaitDialog(); ErrorMsg.reportError("Error", "Error Loading Library", e1); return; } } frame.setVisible(true); JSLDesktop.add(frame);
static void openFrame(File file) { LibraryFrame frame = new LibraryFrame(file); try { // Does this need to be before open? frame.setVisible(true); frame.open(file); JSLDesktop.add(frame); } catch (Exception e) { frame.dispose(); SceneFrame frame2 = new SceneFrame(file); try { frame2.setVisible(true); frame2.open(file); JSLDesktop.add(frame2); } catch (Exception e2) { frame2.dispose(); ErrorMsg.reportError("Error", "Error Loading Library", e2); return; } try { frame2.setSelected(true); } catch (PropertyVetoException e2) { ErrorMsg.reportStatus(e2); } } try { frame.setSelected(true); } catch (PropertyVetoException e) { ErrorMsg.reportStatus(e); } }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/8bcfdbbdcd8f9828d233f248c46b91f36fe42f7b/Actions.java/clean/JSynthLib/core/Actions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 918, 1696, 3219, 12, 812, 585, 13, 288, 3639, 18694, 3219, 2623, 273, 394, 18694, 3219, 12, 768, 1769, 3639, 775, 288, 202, 565, 368, 9637, 333, 1608, 358, 506, 1865, 1696, 35, 202, 565, 2623, 18, 542, 6207, 12, 3767, 1769, 202, 565, 2623, 18, 3190, 12, 768, 1769, 202, 565, 804, 4559, 27583, 18, 1289, 12, 3789, 1769, 202, 97, 1044, 261, 503, 425, 13, 288, 202, 565, 2623, 18, 2251, 4150, 5621, 202, 565, 29347, 3219, 2623, 22, 273, 394, 29347, 3219, 12, 768, 1769, 202, 565, 775, 288, 202, 202, 3789, 22, 18, 542, 6207, 12, 3767, 1769, 202, 202, 3789, 22, 18, 3190, 12, 768, 1769, 202, 202, 46, 4559, 27583, 18, 1289, 12, 3789, 22, 1769, 202, 565, 289, 1044, 261, 503, 425, 22, 13, 288, 202, 202, 3789, 22, 18, 2251, 4150, 5621, 202, 202, 668, 3332, 18, 6006, 668, 2932, 668, 3113, 315, 668, 4444, 310, 18694, 3113, 425, 22, 1769, 202, 202, 2463, 31, 202, 565, 289, 202, 565, 775, 288, 202, 202, 3789, 22, 18, 542, 7416, 12, 3767, 1769, 202, 565, 289, 1044, 261, 1396, 58, 11453, 503, 425, 22, 13, 288, 202, 202, 668, 3332, 18, 6006, 1482, 12, 73, 22, 1769, 202, 565, 289, 202, 97, 3639, 775, 288, 202, 565, 2623, 18, 542, 7416, 12, 3767, 1769, 202, 97, 1044, 261, 1396, 58, 11453, 503, 425, 13, 288, 202, 565, 1068, 3332, 18, 6006, 1482, 12, 73, 1769, 202, 97, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 918, 1696, 3219, 12, 812, 585, 13, 288, 3639, 18694, 3219, 2623, 273, 394, 18694, 3219, 12, 768, 1769, 3639, 775, 288, 202, 565, 368, 9637, 333, 1608, 358, 506, 1865, 1696, 35, 202, 565, 2623, 18, 542, 6207, 12, 3767, 1769, 202, 565, 2623, 18, 3190, 12, 768, 1769, 202, 565, 804, 4559, 27583, 18, 1289, 12, 3789, 1769, 202, 97, 1044, 261, 503, 425, 13, 288, 202, 565, 2623, 18, 2251, 4150, 5621, 202, 565, 29347, 3219, 2623, 22, 273, 394, 29347, 3219, 12, 768, 1769, 202, 565, 775, 288, 202, 202, 3789, 22, 18, 542, 6207, 12, 3767, 1769, 202, 202, 3789, 22, 18, 3190, 12, 768, 1769, 202, 202, 46, 4559, 27583, 18, 2 ]
public ParameterClassCheckVisitor(PsiParameter parameter){
ParameterClassCheckVisitor(PsiParameter parameter){
public ParameterClassCheckVisitor(PsiParameter parameter){ super(); this.parameter = parameter; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ParameterClassCheckVisitor.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/ParameterClassCheckVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 5498, 797, 1564, 7413, 12, 52, 7722, 1662, 1569, 15329, 3639, 2240, 5621, 3639, 333, 18, 6775, 273, 1569, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 5498, 797, 1564, 7413, 12, 52, 7722, 1662, 1569, 15329, 3639, 2240, 5621, 3639, 333, 18, 6775, 273, 1569, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_receivedCount = _packets;
_receivedCount = packets;
public PartiallyReceivedBlock(int packets, int packetSize, byte[] data) { if (data.length != packets * packetSize) { throw new RuntimeException("Length of data ("+data.length+") doesn't match packet number and size"); } _data = data; _received = new boolean[packets]; for (int x=0; x<_received.length; x++) { _received[x] = true; } _receivedCount = _packets; _packets = packets; _packetSize = packetSize; }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/d69dceaa72feee5ece14b8de951841aa9b614188/PartiallyReceivedBlock.java/buggy/src/freenet/io/xfer/PartiallyReceivedBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6393, 6261, 8872, 1768, 12, 474, 12640, 16, 509, 4414, 1225, 16, 1160, 8526, 501, 13, 288, 202, 202, 430, 261, 892, 18, 2469, 480, 12640, 380, 4414, 1225, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 1782, 434, 501, 7566, 15, 892, 18, 2469, 15, 7923, 3302, 1404, 845, 4414, 1300, 471, 963, 8863, 202, 202, 97, 202, 202, 67, 892, 273, 501, 31, 202, 202, 67, 15213, 273, 394, 1250, 63, 28717, 15533, 202, 202, 1884, 261, 474, 619, 33, 20, 31, 619, 32, 67, 15213, 18, 2469, 31, 619, 27245, 288, 1082, 202, 67, 15213, 63, 92, 65, 273, 638, 31, 202, 202, 97, 202, 202, 67, 15213, 1380, 273, 389, 28717, 31, 202, 202, 67, 28717, 273, 12640, 31, 202, 202, 67, 11482, 1225, 273, 4414, 1225, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6393, 6261, 8872, 1768, 12, 474, 12640, 16, 509, 4414, 1225, 16, 1160, 8526, 501, 13, 288, 202, 202, 430, 261, 892, 18, 2469, 480, 12640, 380, 4414, 1225, 13, 288, 1082, 202, 12849, 394, 3235, 2932, 1782, 434, 501, 7566, 15, 892, 18, 2469, 15, 7923, 3302, 1404, 845, 4414, 1300, 471, 963, 8863, 202, 202, 97, 202, 202, 67, 892, 273, 501, 31, 202, 202, 67, 15213, 273, 394, 1250, 63, 28717, 15533, 202, 202, 1884, 261, 474, 619, 33, 20, 31, 619, 32, 67, 15213, 18, 2469, 31, 619, 27245, 288, 1082, 202, 67, 15213, 63, 92, 65, 273, 638, 31, 202, 202, 97, 202, 202, 67, 15213, 1380, 273, 389, 28717, 31, 2 ]
protected Document createDOMDocumentForServiceXML() { WSDLInterface boundInterface = infoHolder.getPorttype(); WSDLBinding axisBinding = infoHolder.getBinding(); WSDLService service = infoHolder.getService(); Document doc = getEmptyDocument(); String coreClassName = getCoreClassName(boundInterface); // WSDLEndpoint endpoint = infoHolder.getPort(); if (service != null) { doc.appendChild(getServiceElement(service.getName().getLocalPart(), coreClassName, doc, boundInterface, axisBinding)); } else { // service is missing. However we can derive a service name from the porttype doc.appendChild(getServiceElement(boundInterface.getName().getLocalPart(), coreClassName, doc, boundInterface, axisBinding)); } return doc; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/ed74743f80688967e0ce716bb8c30b9648f1ef5d/MultiLanguageClientEmitter.java/buggy/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/MultiLanguageClientEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4319, 752, 8168, 2519, 1290, 1179, 4201, 1435, 288, 3639, 30567, 1358, 2489, 1358, 273, 1123, 6064, 18, 588, 2617, 723, 5621, 3639, 30567, 5250, 2654, 5250, 273, 1123, 6064, 18, 588, 5250, 5621, 3639, 30567, 1179, 1156, 273, 1123, 6064, 18, 588, 1179, 5621, 3639, 4319, 997, 273, 30824, 2519, 5621, 3639, 514, 2922, 3834, 273, 23677, 3834, 12, 3653, 1358, 1769, 3639, 368, 30567, 3293, 2494, 273, 1123, 6064, 18, 588, 2617, 5621, 3639, 309, 261, 3278, 480, 446, 13, 288, 5411, 997, 18, 6923, 1763, 12, 588, 1179, 1046, 12, 3278, 18, 17994, 7675, 588, 2042, 1988, 9334, 2922, 3834, 16, 997, 16, 2489, 1358, 16, 10792, 2654, 5250, 10019, 3639, 289, 469, 288, 5411, 368, 1156, 353, 3315, 18, 10724, 732, 848, 14763, 279, 1156, 508, 628, 326, 1756, 723, 5411, 997, 18, 6923, 1763, 12, 588, 1179, 1046, 12, 3653, 1358, 18, 17994, 7675, 588, 2042, 1988, 9334, 2922, 3834, 16, 997, 16, 10792, 2489, 1358, 16, 2654, 5250, 10019, 3639, 289, 3639, 327, 997, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4319, 752, 8168, 2519, 1290, 1179, 4201, 1435, 288, 3639, 30567, 1358, 2489, 1358, 273, 1123, 6064, 18, 588, 2617, 723, 5621, 3639, 30567, 5250, 2654, 5250, 273, 1123, 6064, 18, 588, 5250, 5621, 3639, 30567, 1179, 1156, 273, 1123, 6064, 18, 588, 1179, 5621, 3639, 4319, 997, 273, 30824, 2519, 5621, 3639, 514, 2922, 3834, 273, 23677, 3834, 12, 3653, 1358, 1769, 3639, 368, 30567, 3293, 2494, 273, 1123, 6064, 18, 588, 2617, 5621, 3639, 309, 261, 3278, 480, 446, 13, 288, 5411, 997, 18, 6923, 1763, 12, 588, 1179, 1046, 12, 3278, 18, 17994, 7675, 588, 2042, 1988, 9334, 2922, 3834, 16, 997, 16, 2489, 1358, 16, 10792, 2654, 5250, 10019, 3639, 289, 469, 288, 2 ]
public static synchronized String rot13( String input ) { StringBuffer output = new StringBuffer(); if ( input != null ) { for ( int i = 0; i < input.length(); i++ ) { char inChar = input.charAt( i ); if ( ( inChar >= 'A' ) & ( inChar <= 'Z' ) ) { inChar += 13; if ( inChar > 'Z' ) { inChar -= 26; } } if ( ( inChar >= 'a' ) & ( inChar <= 'z' ) ) { inChar += 13; if ( inChar > 'z' ) { inChar -= 26; } } output.append( inChar ); } } return output.toString(); }
47703 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47703/e5b3b00b0f724a9834bcadb34453e906f7c0d25b/Encoding.java/buggy/ webgoat/main/project/JavaSource/org/owasp/webgoat/lessons/Encoding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5642, 2102, 15666, 780, 8342, 3437, 12, 780, 2630, 13, 202, 95, 202, 202, 780, 1892, 2844, 33, 2704, 780, 1892, 5621, 202, 202, 430, 12, 2630, 5, 33, 2011, 13, 202, 202, 95, 1082, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 2630, 18, 2469, 5621, 77, 27245, 1082, 202, 95, 9506, 202, 3001, 267, 2156, 33, 2630, 18, 3001, 861, 12, 77, 1769, 9506, 202, 430, 12443, 267, 2156, 34, 2218, 37, 6134, 10, 12, 267, 2156, 32, 2218, 62, 26112, 9506, 202, 95, 6862, 202, 267, 2156, 15, 33, 3437, 31, 6862, 202, 430, 12, 267, 2156, 1870, 62, 6134, 6862, 202, 95, 25083, 202, 267, 2156, 17, 33, 5558, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 430, 12443, 267, 2156, 34, 2218, 69, 6134, 10, 12, 267, 2156, 32, 2218, 94, 26112, 9506, 202, 95, 6862, 202, 267, 2156, 15, 33, 3437, 31, 6862, 202, 430, 12, 267, 2156, 1870, 94, 6134, 6862, 202, 95, 25083, 202, 267, 2156, 17, 33, 5558, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 2844, 18, 6923, 12, 267, 2156, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 2844, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5642, 2102, 15666, 780, 8342, 3437, 12, 780, 2630, 13, 202, 95, 202, 202, 780, 1892, 2844, 33, 2704, 780, 1892, 5621, 202, 202, 430, 12, 2630, 5, 33, 2011, 13, 202, 202, 95, 1082, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 2630, 18, 2469, 5621, 77, 27245, 1082, 202, 95, 9506, 202, 3001, 267, 2156, 33, 2630, 18, 3001, 861, 12, 77, 1769, 9506, 202, 430, 12443, 267, 2156, 34, 2218, 37, 6134, 10, 12, 267, 2156, 32, 2218, 62, 26112, 9506, 202, 95, 6862, 202, 267, 2156, 15, 33, 3437, 31, 6862, 202, 430, 12, 267, 2156, 1870, 62, 6134, 6862, 202, 95, 25083, 202, 267, 2156, 17, 33, 5558, 31, 2 ]
if (data!=null && data.equals("narrow"))
if (data!=null && data.equals("narrow"))
public void setInitializationString(String data) { if (data!=null && data.equals("narrow")) narrow=true; }
13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/0f18abf36bfe0399154139be438473549072a236/ShowCapabilitiesPreferenceAction.java/buggy/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/ShowCapabilitiesPreferenceAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 17701, 780, 12, 780, 501, 13, 288, 202, 202, 430, 261, 892, 5, 33, 2011, 597, 501, 18, 14963, 2932, 82, 7815, 6, 3719, 1082, 202, 82, 7815, 33, 3767, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 17701, 780, 12, 780, 501, 13, 288, 202, 202, 430, 261, 892, 5, 33, 2011, 597, 501, 18, 14963, 2932, 82, 7815, 6, 3719, 1082, 202, 82, 7815, 33, 3767, 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 ]
public int put(int eventId, int chanId, Status stat) throws SQLException { int pairId = insert(eventId, chanId); setStatus(pairId, stat); return pairId;
public int put(EventChannelPair ecp) throws SQLException { return put(ecp.getEvent(), ecp.getChannel(), ecp.getStatus());
public int put(int eventId, int chanId, Status stat) throws SQLException { int pairId = insert(eventId, chanId); setStatus(pairId, stat); return pairId; }
45996 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45996/57a76f303905e9c0df3def95f30e8943b0ff327c/JDBCEventChannelStatus.java/clean/src/edu/sc/seis/sod/database/waveform/JDBCEventChannelStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1378, 12, 474, 26004, 16, 509, 3861, 548, 16, 2685, 610, 13, 1216, 6483, 288, 3639, 509, 3082, 548, 273, 2243, 12, 2575, 548, 16, 3861, 548, 1769, 3639, 9433, 12, 6017, 548, 16, 610, 1769, 3639, 327, 3082, 548, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1378, 12, 474, 26004, 16, 509, 3861, 548, 16, 2685, 610, 13, 1216, 6483, 288, 3639, 509, 3082, 548, 273, 2243, 12, 2575, 548, 16, 3861, 548, 1769, 3639, 9433, 12, 6017, 548, 16, 610, 1769, 3639, 327, 3082, 548, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (isActiveWorkbenchItem()) AnimationManager.getInstance().toggleFloatingWindow();
ProgressManagerUtil.openProgressView(AnimationItem.this.window);
public void mouseDoubleClick(MouseEvent arg0) { if (isActiveWorkbenchItem()) AnimationManager.getInstance().toggleFloatingWindow(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f725aeed5438c2fead5cdff95872e4f16919cb5c/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 7644, 5265, 6563, 12, 9186, 1133, 1501, 20, 13, 288, 9506, 202, 430, 261, 291, 3896, 2421, 22144, 1180, 10756, 6862, 202, 10816, 1318, 18, 588, 1442, 7675, 14401, 28344, 3829, 5621, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 7644, 5265, 6563, 12, 9186, 1133, 1501, 20, 13, 288, 9506, 202, 430, 261, 291, 3896, 2421, 22144, 1180, 10756, 6862, 202, 10816, 1318, 18, 588, 1442, 7675, 14401, 28344, 3829, 5621, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IConfiguration config = (IConfiguration)iter.next();
IConfigurationV2 config = (IConfigurationV2)iter.next();
public void removeConfiguration(String id) { // Remove the specified configuration from the list and map Iterator iter = getConfigurationList().listIterator(); while (iter.hasNext()) { IConfiguration config = (IConfiguration)iter.next(); if (config.getId().equals(id)) { getConfigurationList().remove(config); getConfigurationMap().remove(id); isDirty = true; break; } } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/18b49394c46cbbecf041078a70e83e4975d004a7/Target.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Target.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 1750, 12, 780, 612, 13, 288, 202, 202, 759, 3581, 326, 1269, 1664, 628, 326, 666, 471, 852, 202, 202, 3198, 1400, 273, 10316, 682, 7675, 1098, 3198, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 9506, 467, 1750, 642, 273, 261, 45, 1750, 13, 2165, 18, 4285, 5621, 9506, 309, 261, 1425, 18, 26321, 7675, 14963, 12, 350, 3719, 288, 9506, 225, 202, 588, 1750, 682, 7675, 4479, 12, 1425, 1769, 9506, 202, 588, 1750, 863, 7675, 4479, 12, 350, 1769, 9506, 202, 291, 10785, 273, 638, 31, 9506, 225, 202, 8820, 31, 9506, 289, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1206, 1750, 12, 780, 612, 13, 288, 202, 202, 759, 3581, 326, 1269, 1664, 628, 326, 666, 471, 852, 202, 202, 3198, 1400, 273, 10316, 682, 7675, 1098, 3198, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 9506, 467, 1750, 642, 273, 261, 45, 1750, 13, 2165, 18, 4285, 5621, 9506, 309, 261, 1425, 18, 26321, 7675, 14963, 12, 350, 3719, 288, 9506, 225, 202, 588, 1750, 682, 7675, 4479, 12, 1425, 1769, 9506, 202, 588, 1750, 863, 7675, 4479, 12, 350, 1769, 9506, 202, 291, 10785, 273, 638, 31, 9506, 225, 202, 8820, 31, 9506, 289, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ERXArrayUtilities.sortedArraySortedWithKey(aSortedArray, _localDestinationDisplayKey());
ERXArrayUtilities.sortArrayWithKey(aSortedArray, _localDestinationDisplayKey());
public NSArray theList() { NSMutableArray aSortedArray; NSArray anUnsortedArray; if (_privateList()==null) { EODataSource aDataSource = _localDataSource(); anUnsortedArray = aDataSource.fetchObjects(); // 81398 sort contents aSortedArray = new NSMutableArray(anUnsortedArray); try { // WO 5 //_RelationshipSupport._sortEOsUsingSingleKey(aSortedArray, _localDestinationDisplayKey()); ERXArrayUtilities.sortedArraySortedWithKey(aSortedArray, _localDestinationDisplayKey()); // WO 5 //catch (NSComparator.ComparisonException e) // throw new NSForwardException(e); } catch (Exception e) { new RuntimeException("Exception: " + e.getMessage()); } if (!_localIsMandatory()) { aSortedArray.insertObjectAtIndex(noneString(), 0); } set_privateList(aSortedArray); } return _privateList(); }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/6c1817f4bb03a3ecd72ebdf90f67d70ac055afdc/WOToOneRelationship.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/WOToOneRelationship.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11472, 1076, 326, 682, 1435, 288, 3639, 423, 7303, 3050, 1076, 279, 11739, 1076, 31, 3639, 11472, 1076, 392, 984, 10350, 1076, 31, 3639, 309, 261, 67, 1152, 682, 1435, 631, 2011, 13, 288, 5411, 512, 51, 8597, 279, 8597, 273, 389, 3729, 8597, 5621, 5411, 392, 984, 10350, 1076, 273, 279, 8597, 18, 5754, 4710, 5621, 5411, 368, 1725, 3437, 10689, 1524, 2939, 5411, 279, 11739, 1076, 273, 394, 423, 7303, 3050, 1076, 12, 304, 984, 10350, 1076, 1769, 5411, 775, 288, 7734, 368, 678, 51, 1381, 7734, 368, 67, 8180, 6289, 6315, 3804, 41, 15112, 7736, 5281, 653, 12, 69, 11739, 1076, 16, 389, 3729, 5683, 4236, 653, 10663, 7734, 4232, 60, 1076, 11864, 18, 3804, 1076, 1190, 653, 12, 69, 11739, 1076, 16, 389, 3729, 5683, 4236, 653, 10663, 5411, 368, 678, 51, 1381, 7734, 368, 14683, 261, 3156, 5559, 18, 16059, 503, 425, 13, 5411, 368, 565, 604, 394, 11472, 8514, 503, 12, 73, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 394, 3235, 2932, 503, 30, 315, 397, 425, 18, 24906, 10663, 5411, 289, 5411, 309, 16051, 67, 3729, 2520, 49, 10018, 10756, 288, 7734, 279, 11739, 1076, 18, 6387, 921, 24499, 12, 6102, 780, 9334, 374, 1769, 5411, 289, 5411, 444, 67, 1152, 682, 12, 69, 11739, 1076, 1769, 3639, 289, 3639, 327, 389, 1152, 682, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11472, 1076, 326, 682, 1435, 288, 3639, 423, 7303, 3050, 1076, 279, 11739, 1076, 31, 3639, 11472, 1076, 392, 984, 10350, 1076, 31, 3639, 309, 261, 67, 1152, 682, 1435, 631, 2011, 13, 288, 5411, 512, 51, 8597, 279, 8597, 273, 389, 3729, 8597, 5621, 5411, 392, 984, 10350, 1076, 273, 279, 8597, 18, 5754, 4710, 5621, 5411, 368, 1725, 3437, 10689, 1524, 2939, 5411, 279, 11739, 1076, 273, 394, 423, 7303, 3050, 1076, 12, 304, 984, 10350, 1076, 1769, 5411, 775, 288, 7734, 368, 678, 51, 1381, 7734, 368, 67, 8180, 6289, 6315, 3804, 41, 15112, 7736, 5281, 653, 12, 69, 11739, 1076, 16, 389, 3729, 5683, 4236, 653, 10663, 7734, 4232, 60, 1076, 11864, 18, 2 ]
String text = line.substring(line.indexOf("\"")+1, line.lastIndexOf("\"")); PrintWriter out = new PrintWriter(new File(textDir, basename+".txt"), "UTF-8"); out.print(text); out.flush(); out.close();
/* If the basename list asks to process this file, then write the text file */ if ( bnl.contains( basename ) ) { checkList.add( basename ); PrintWriter out = new PrintWriter( new File( textDir, basename + db.txtExt() ), "UTF-8" ); String text = line.substring(line.indexOf("\"")+1, line.lastIndexOf("\"")); out.print(text); out.flush(); out.close(); }
public boolean compute() throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(textFile), "UTF-8")); String line; while ((line = in.readLine()) != null) { line = line.substring(line.indexOf("(")+1, line.lastIndexOf(")")); StringTokenizer st = new StringTokenizer(line); String basename = st.nextToken(); String text = line.substring(line.indexOf("\"")+1, line.lastIndexOf("\"")); PrintWriter out = new PrintWriter(new File(textDir, basename+".txt"), "UTF-8"); out.print(text); out.flush(); out.close(); } return true; }
49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/863a435e1e81a31023f567a49dc521436d84df27/FestvoxTextfileConverter.java/clean/java/de/dfki/lt/mary/unitselection/voiceimport_reorganized/FestvoxTextfileConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3671, 1435, 1216, 1860, 565, 288, 3639, 10633, 316, 273, 394, 10633, 12, 2704, 15322, 12, 2704, 11907, 12, 955, 812, 3631, 315, 5159, 17, 28, 7923, 1769, 3639, 514, 980, 31, 3639, 1323, 14015, 1369, 273, 316, 18, 896, 1670, 10756, 480, 446, 13, 288, 5411, 980, 273, 980, 18, 28023, 12, 1369, 18, 31806, 2932, 2932, 27921, 21, 16, 980, 18, 2722, 31985, 2932, 2225, 10019, 5411, 16370, 384, 273, 394, 16370, 12, 1369, 1769, 5411, 514, 4882, 273, 384, 18, 4285, 1345, 5621, 5411, 514, 977, 273, 980, 18, 28023, 12, 1369, 18, 31806, 2932, 2412, 7923, 15, 21, 16, 980, 18, 2722, 31985, 2932, 2412, 7923, 1769, 5411, 14071, 596, 273, 394, 14071, 12, 2704, 1387, 12, 955, 1621, 16, 4882, 9078, 18, 5830, 6, 3631, 315, 5159, 17, 28, 8863, 5411, 596, 18, 1188, 12, 955, 1769, 5411, 596, 18, 11330, 5621, 5411, 596, 18, 4412, 5621, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 3671, 1435, 1216, 1860, 565, 288, 3639, 10633, 316, 273, 394, 10633, 12, 2704, 15322, 12, 2704, 11907, 12, 955, 812, 3631, 315, 5159, 17, 28, 7923, 1769, 3639, 514, 980, 31, 3639, 1323, 14015, 1369, 273, 316, 18, 896, 1670, 10756, 480, 446, 13, 288, 5411, 980, 273, 980, 18, 28023, 12, 1369, 18, 31806, 2932, 2932, 27921, 21, 16, 980, 18, 2722, 31985, 2932, 2225, 10019, 5411, 16370, 384, 273, 394, 16370, 12, 1369, 1769, 5411, 514, 4882, 273, 384, 18, 4285, 1345, 5621, 5411, 514, 977, 273, 980, 18, 28023, 12, 1369, 18, 31806, 2932, 2412, 7923, 15, 21, 16, 980, 18, 2722, 31985, 2932, 2412, 7923, 1769, 5411, 14071, 596, 273, 394, 2 ]
double length = getLengthProperty(thisObj);
long length = getLengthProperty(thisObj);
private static Object jsFunction_push(Context cx, Scriptable thisObj, Object[] args) { double length = getLengthProperty(thisObj); for (int i = 0; i < args.length; i++) { setElem(thisObj, (long)length + i, args[i]); } length += args.length; ScriptRuntime.setProp(thisObj, "length", new Double(length), thisObj); /* * If JS1.2, follow Perl4 by returning the last thing pushed. * Otherwise, return the new array length. */ if (cx.getLanguageVersion() == Context.VERSION_1_2) // if JS1.2 && no arguments, return undefined. return args.length == 0 ? Context.getUndefinedValue() : args[args.length - 1]; else return new Long((long)length); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/11edce55c2059c9d5f132a293ba40dbbedde6e01/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 3828, 2083, 67, 6206, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 1850, 1033, 8526, 833, 13, 565, 288, 3639, 1525, 769, 273, 9888, 1396, 12, 2211, 2675, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 444, 7498, 12, 2211, 2675, 16, 261, 5748, 13, 2469, 397, 277, 16, 833, 63, 77, 19226, 3639, 289, 3639, 769, 1011, 833, 18, 2469, 31, 3639, 7739, 5576, 18, 542, 4658, 12, 2211, 2675, 16, 315, 2469, 3113, 394, 3698, 12, 2469, 3631, 15261, 1769, 3639, 1748, 540, 380, 971, 6756, 21, 18, 22, 16, 2805, 5722, 80, 24, 635, 5785, 326, 1142, 7757, 18543, 18, 540, 380, 5272, 16, 327, 326, 394, 526, 769, 18, 540, 1195, 3639, 309, 261, 71, 92, 18, 588, 3779, 1444, 1435, 422, 1772, 18, 5757, 67, 21, 67, 22, 13, 5411, 368, 309, 6756, 21, 18, 22, 597, 1158, 1775, 16, 327, 3109, 18, 5411, 327, 833, 18, 2469, 422, 374, 7734, 692, 1772, 18, 588, 10317, 620, 1435, 7734, 294, 833, 63, 1968, 18, 2469, 300, 404, 15533, 3639, 469, 5411, 327, 394, 3407, 12443, 5748, 13, 2469, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 3828, 2083, 67, 6206, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 1850, 1033, 8526, 833, 13, 565, 288, 3639, 1525, 769, 273, 9888, 1396, 12, 2211, 2675, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 444, 7498, 12, 2211, 2675, 16, 261, 5748, 13, 2469, 397, 277, 16, 833, 63, 77, 19226, 3639, 289, 3639, 769, 1011, 833, 18, 2469, 31, 3639, 7739, 5576, 18, 542, 4658, 12, 2211, 2675, 16, 315, 2469, 3113, 394, 3698, 12, 2469, 3631, 15261, 1769, 3639, 1748, 540, 380, 971, 6756, 21, 18, 22, 16, 2805, 5722, 80, 24, 635, 5785, 326, 1142, 7757, 18543, 18, 540, 2 ]
for (int idx = 0; idx < markers.length; idx++) { ConcreteMarker marker = markers[idx];
for (int idx = 0; idx < markers.length; idx++) { ConcreteMarker marker = markers[idx];
private int[] getMarkerCounts() { if (markerCounts == null) { markerCounts = new int[] { 0, 0, 0 }; for (int idx = 0; idx < markers.length; idx++) { ConcreteMarker marker = markers[idx]; if (marker instanceof ProblemMarker) { int severity = ((ProblemMarker) markers[idx]).getSeverity(); if (severity >= 0 && severity <= 2) { markerCounts[severity]++; } } } } return markerCounts; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2bc2f7e05493c8f842d6d73cc7cb85357120cefd/MarkerList.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 8526, 23232, 264, 9211, 1435, 288, 3639, 309, 261, 11145, 9211, 422, 446, 13, 288, 5411, 5373, 9211, 273, 394, 509, 8526, 288, 374, 16, 374, 16, 374, 289, 31, 5411, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 11754, 18, 2469, 31, 2067, 27245, 288, 7734, 735, 6883, 7078, 5373, 273, 11754, 63, 3465, 15533, 7734, 309, 261, 11145, 1276, 21685, 7078, 13, 288, 10792, 509, 11426, 273, 14015, 13719, 7078, 13, 11754, 63, 3465, 65, 2934, 588, 21630, 5621, 10792, 309, 261, 27341, 1545, 374, 597, 11426, 1648, 576, 13, 288, 13491, 5373, 9211, 63, 27341, 3737, 15, 31, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 5373, 9211, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 8526, 23232, 264, 9211, 1435, 288, 3639, 309, 261, 11145, 9211, 422, 446, 13, 288, 5411, 5373, 9211, 273, 394, 509, 8526, 288, 374, 16, 374, 16, 374, 289, 31, 5411, 364, 261, 474, 2067, 273, 374, 31, 2067, 411, 11754, 18, 2469, 31, 2067, 27245, 288, 7734, 735, 6883, 7078, 5373, 273, 11754, 63, 3465, 15533, 7734, 309, 261, 11145, 1276, 21685, 7078, 13, 288, 10792, 509, 11426, 273, 14015, 13719, 7078, 13, 11754, 63, 3465, 65, 2934, 588, 21630, 5621, 10792, 309, 261, 27341, 1545, 374, 597, 11426, 1648, 576, 13, 288, 13491, 5373, 9211, 63, 27341, 3737, 15, 31, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 5373, 9211, 31, 565, 2 ]
autoPwdlThread != null && !pwdlPolicies.isEnabled() && autoPwdlThread.isPaused()) { if (autoPwdlThread.shouldPause()){ HashMap<String, Download> downloads = (HashMap) content; synchronized (downloads) { List<Download> toPause = new Vector<Download>(); for (Download curDownload : downloads.values()) { if (curDownload.getStatus() == Download.SUCHEN_LADEN) { toPause.add(curDownload); }
autoPwdlThread != null && autoPwdlThread.isPaused()) { HashMap<String, Download> downloads = (HashMap) content; synchronized (downloads) { List<Download> toPause = new Vector<Download>(); for (Download curDownload : downloads.values()) { if (curDownload.getStatus() == Download.SUCHEN_LADEN) { toPause.add(curDownload);
public void fireContentChanged(DATALISTENER_TYPE type, Object content) { try { if (type == DATALISTENER_TYPE.INFORMATION_CHANGED) { lastInformation = (Information) content; if (!pwdlPolicies.isEnabled() && autoPwdlThread != null && lastInformation != null) { long eingegebenBis = Integer.parseInt(autoBis.getText()) * 1048576l; long eingegebenAb = Integer.parseInt(autoAb.getText()) * 1048576l; if (lastInformation.getCredits() > eingegebenAb && autoPwdlThread.isPaused()) { autoPwdlThread.setPaused(false); } else if (lastInformation.getCredits() < eingegebenBis && !autoPwdlThread.isPaused()) { autoPwdlThread.setPaused(true); } } } else if (type == DATALISTENER_TYPE.DOWNLOAD_CHANGED && autoPwdlThread != null && !pwdlPolicies.isEnabled() && autoPwdlThread.isPaused()) { if (autoPwdlThread.shouldPause()){ HashMap<String, Download> downloads = (HashMap) content; synchronized (downloads) { List<Download> toPause = new Vector<Download>(); for (Download curDownload : downloads.values()) { if (curDownload.getStatus() == Download.SUCHEN_LADEN) { toPause.add(curDownload); } } AppleJuiceClient.getAjFassade().pauseDownload(toPause); } } } } catch (Exception e) { logger.error(ApplejuiceFassade.ERROR_MESSAGE, e); } }
13641 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13641/0b8e77cf8f0da4b8b323ac0de0e176b267dc2177/PowerDownloadPanel.java/clean/AJClientGUI/src/de/applejuicenet/client/gui/download/PowerDownloadPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4452, 1350, 5033, 12, 11102, 1013, 5511, 8196, 67, 2399, 618, 16, 1033, 913, 13, 288, 3639, 775, 288, 5411, 309, 261, 723, 422, 12364, 1013, 5511, 8196, 67, 2399, 18, 706, 23805, 67, 24435, 13, 288, 7734, 1142, 5369, 273, 261, 5369, 13, 913, 31, 7734, 309, 16051, 27487, 80, 8825, 18, 291, 1526, 1435, 597, 3656, 52, 3623, 80, 3830, 480, 446, 597, 10792, 1142, 5369, 480, 446, 13, 288, 10792, 1525, 425, 30391, 908, 19425, 38, 291, 273, 2144, 18, 2670, 1702, 12, 6079, 38, 291, 18, 588, 1528, 10756, 380, 13491, 21856, 7140, 6669, 80, 31, 10792, 1525, 425, 30391, 908, 19425, 5895, 273, 2144, 18, 2670, 1702, 12, 6079, 5895, 18, 588, 1528, 10756, 380, 13491, 21856, 7140, 6669, 80, 31, 10792, 309, 261, 2722, 5369, 18, 588, 24201, 1282, 1435, 405, 425, 30391, 908, 19425, 5895, 597, 13491, 3656, 52, 3623, 80, 3830, 18, 291, 28590, 10756, 288, 13491, 3656, 52, 3623, 80, 3830, 18, 542, 28590, 12, 5743, 1769, 10792, 289, 10792, 469, 309, 261, 2722, 5369, 18, 588, 24201, 1282, 1435, 411, 425, 30391, 908, 19425, 38, 291, 597, 11794, 401, 6079, 52, 3623, 80, 3830, 18, 291, 28590, 10756, 288, 13491, 3656, 52, 3623, 80, 3830, 18, 542, 28590, 12, 3767, 1769, 10792, 289, 7734, 289, 5411, 289, 5411, 469, 309, 261, 723, 422, 12364, 1013, 5511, 8196, 67, 2399, 18, 12711, 7783, 67, 24435, 597, 5397, 3656, 52, 3623, 80, 3830, 480, 446, 597, 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, 4452, 1350, 5033, 12, 11102, 1013, 5511, 8196, 67, 2399, 618, 16, 1033, 913, 13, 288, 3639, 775, 288, 5411, 309, 261, 723, 422, 12364, 1013, 5511, 8196, 67, 2399, 18, 706, 23805, 67, 24435, 13, 288, 7734, 1142, 5369, 273, 261, 5369, 13, 913, 31, 7734, 309, 16051, 27487, 80, 8825, 18, 291, 1526, 1435, 597, 3656, 52, 3623, 80, 3830, 480, 446, 597, 10792, 1142, 5369, 480, 446, 13, 288, 10792, 1525, 425, 30391, 908, 19425, 38, 291, 273, 2144, 18, 2670, 1702, 12, 6079, 38, 291, 18, 588, 1528, 10756, 380, 13491, 21856, 7140, 6669, 80, 31, 10792, 1525, 425, 30391, 908, 19425, 5895, 273, 2144, 18, 2670, 1702, 12, 6079, 5895, 18, 2 ]
final StringBuffer sb = new StringBuffer('{');
final StringBuffer sb = new StringBuffer("{");
public RubyString inspect() { //FIXME this two strings should be built only once, at leas only once //per instance no matter how many calls to inspect and maybe better once //per ruby interpreter. //Benoit final String sep = ", "; final String arrow = "=>"; final StringBuffer sb = new StringBuffer('{'); valueMap.foreach(new RubyMapMethod() { boolean firstEntry = true; public int execute(Object key, Object value, Object arg) { // RubyString str = RubyString.stringValue((RubyObject) arg); if (!firstEntry) { sb.append(sep); } sb.append(((RubyObject) key).funcall("inspect")); sb.append(arrow); sb.append(((RubyObject) value).funcall("inspect")); firstEntry = false; return RubyMapMethod.CONTINUE; } }, null); sb.append("}"); return RubyString.newString(ruby, sb.toString()); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/2f13ba47385b7584839c7f6f6f1abfee251cbe53/RubyHash.java/buggy/org/jruby/RubyHash.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 5334, 1435, 288, 3639, 368, 25810, 333, 2795, 2064, 1410, 506, 6650, 1338, 3647, 16, 622, 884, 345, 1338, 3647, 3639, 368, 457, 791, 1158, 15177, 3661, 4906, 4097, 358, 5334, 471, 6944, 7844, 3647, 3639, 368, 457, 22155, 16048, 18, 3639, 368, 38, 5764, 305, 3639, 727, 514, 5478, 273, 3104, 13636, 3639, 727, 514, 12274, 273, 29199, 2984, 31, 7734, 727, 6674, 2393, 273, 394, 6674, 2932, 95, 8863, 3639, 460, 863, 18, 25055, 12, 2704, 19817, 863, 1305, 1435, 288, 5411, 1250, 1122, 1622, 273, 638, 31, 5411, 1071, 509, 1836, 12, 921, 498, 16, 1033, 460, 16, 1033, 1501, 13, 288, 7734, 368, 19817, 780, 609, 273, 19817, 780, 18, 1080, 620, 12443, 54, 10340, 921, 13, 1501, 1769, 7734, 309, 16051, 3645, 1622, 13, 288, 10792, 2393, 18, 6923, 12, 10814, 1769, 7734, 289, 7734, 2393, 18, 6923, 12443, 12, 54, 10340, 921, 13, 498, 2934, 644, 454, 2932, 12009, 7923, 1769, 7734, 2393, 18, 6923, 12, 7815, 1769, 7734, 2393, 18, 6923, 12443, 12, 54, 10340, 921, 13, 460, 2934, 644, 454, 2932, 12009, 7923, 1769, 7734, 1122, 1622, 273, 629, 31, 7734, 327, 19817, 863, 1305, 18, 6067, 26725, 31, 5411, 289, 3639, 19879, 446, 1769, 3639, 2393, 18, 6923, 2932, 1532, 1769, 3639, 327, 19817, 780, 18, 2704, 780, 12, 27768, 16, 2393, 18, 10492, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19817, 780, 5334, 1435, 288, 3639, 368, 25810, 333, 2795, 2064, 1410, 506, 6650, 1338, 3647, 16, 622, 884, 345, 1338, 3647, 3639, 368, 457, 791, 1158, 15177, 3661, 4906, 4097, 358, 5334, 471, 6944, 7844, 3647, 3639, 368, 457, 22155, 16048, 18, 3639, 368, 38, 5764, 305, 3639, 727, 514, 5478, 273, 3104, 13636, 3639, 727, 514, 12274, 273, 29199, 2984, 31, 7734, 727, 6674, 2393, 273, 394, 6674, 2932, 95, 8863, 3639, 460, 863, 18, 25055, 12, 2704, 19817, 863, 1305, 1435, 288, 5411, 1250, 1122, 1622, 273, 638, 31, 5411, 1071, 509, 1836, 12, 921, 498, 16, 1033, 460, 16, 1033, 1501, 13, 288, 7734, 368, 19817, 780, 609, 273, 19817, 780, 18, 1080, 2 ]