rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
saveOperate( "PropertyCommandTest_golden_10.xml" );
saveOperate( "PropertyCommandTest_golden_10.xml" );
public void testMoveItem( ) throws Exception { StyleElement style = design.findStyle( "Style2" ); //$NON-NLS-1$ // check if original Style2 has two properties List rules = (List) style.getProperty( design, Style.MAP_RULES_PROP ); assertTrue( rules.size( ) == 2 ); // get map.rules handle PropertyHandle propHandle = style.getHandle( design ) .getPropertyHandle( Style.MAP_RULES_PROP ); // move item from index zero to index one propHandle.moveItem( 0, 2 ); saveOperate( "PropertyCommandTest_golden_9.xml" );//$NON-NLS-1$ // undo and check result design.getActivityStack( ).undo( ); saveOperate( "PropertyCommandTest_golden_10.xml" );//$NON-NLS-1$ // redo and check result design.getActivityStack( ).redo( ); saveOperate( "PropertyCommandTest_golden_9.xml" );//$NON-NLS-1$ // move Item to the end of the list. propHandle.moveItem( 0, rules.size( ) ); saveOperate( "PropertyCommandTest_golden_10.xml" );//$NON-NLS-1$ // move item from null structure list style = design.findStyle( "Style1" ); //$NON-NLS-1$ propHandle = style.getHandle( design ).getPropertyHandle( Style.MAP_RULES_PROP ); try { propHandle.moveItem( 0, 6 ); fail( ); } catch ( Exception e ) { assertTrue( e instanceof PropertyValueException ); } // move item within a member list. MemberHandle memberHandle = actionHandle .getMember( Action.SEARCH_MEMBER ); assertEquals( 2, memberHandle.getListValue( ).size( ) ); PropertyCommand command = new PropertyCommand( design, imageHandle .getElement( ) ); command.moveItem( memberHandle.getReference( ), 0, 2 ); assertEquals( "searchKey1", ( (SearchKeyHandle) memberHandle.getAt( 1 ) ).getExpression( ) ); //$NON-NLS-1$ assertEquals( "searchKey2", ( (SearchKeyHandle) memberHandle.getAt( 0 ) ).getExpression( ) ); //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/8529bccfd675ca4ba8b0642f4a2b0f94ae7c57ae/PropertyCommandTest.java/clean/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7607, 1180, 12, 262, 1216, 1185, 202, 95, 202, 202, 2885, 1046, 2154, 273, 8281, 18, 4720, 2885, 12, 315, 2885, 22, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 866, 309, 2282, 9767, 22, 711, 2795, 1790, 202, 202, 682, 2931, 273, 261, 682, 13, 2154, 18, 588, 1396, 12, 8281, 16, 9767, 18, 8352, 67, 14920, 55, 67, 15811, 11272, 202, 202, 11231, 5510, 12, 2931, 18, 1467, 12, 262, 422, 576, 11272, 202, 202, 759, 336, 852, 18, 7482, 1640, 202, 202, 1396, 3259, 2270, 3259, 273, 2154, 18, 588, 3259, 12, 8281, 262, 9506, 202, 18, 588, 1396, 3259, 12, 9767, 18, 8352, 67, 14920, 55, 67, 15811, 11272, 202, 202, 759, 3635, 761, 628, 770, 3634, 358, 770, 1245, 202, 202, 5986, 3259, 18, 8501, 1180, 12, 374, 16, 576, 11272, 202, 202, 5688, 3542, 340, 12, 9506, 202, 6, 1396, 2189, 4709, 67, 75, 1673, 275, 67, 29, 18, 2902, 6, 11272, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 15436, 471, 866, 563, 202, 202, 16934, 18, 588, 6193, 2624, 12, 262, 18, 31226, 12, 11272, 202, 202, 5688, 3542, 340, 12, 9506, 202, 6, 1396, 2189, 4709, 67, 75, 1673, 275, 67, 2163, 18, 2902, 6, 11272, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 24524, 471, 866, 563, 202, 202, 16934, 18, 588, 6193, 2624, 12, 262, 18, 1118, 83, 12, 11272, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7607, 1180, 12, 262, 1216, 1185, 202, 95, 202, 202, 2885, 1046, 2154, 273, 8281, 18, 4720, 2885, 12, 315, 2885, 22, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 866, 309, 2282, 9767, 22, 711, 2795, 1790, 202, 202, 682, 2931, 273, 261, 682, 13, 2154, 18, 588, 1396, 12, 8281, 16, 9767, 18, 8352, 67, 14920, 55, 67, 15811, 11272, 202, 202, 11231, 5510, 12, 2931, 18, 1467, 12, 262, 422, 576, 11272, 202, 202, 759, 336, 852, 18, 7482, 1640, 202, 202, 1396, 3259, 2270, 3259, 273, 2154, 18, 588, 3259, 12, 8281, 262, 9506, 202, 18, 588, 1396, 3259, 12, 9767, 18, 8352, 67, 14920, 55, 2 ]
uri = buf.toString().replace('/', File.separatorChar);
uri= buf.toString().replace('/', File.separatorChar);
private String fromURI(String uri) { URL url = null; try { url = new URL(uri); } catch(MalformedURLException murle) { } if((null == url) || !("file".equals(url.getProtocol()))) { throw new IllegalArgumentException("Can only handle valid file: URIs"); } StringBuffer buf = new StringBuffer(url.getHost()); if(buf.length() > 0) { buf.insert(0, File.separatorChar).insert(0, File.separatorChar); } String file = url.getFile(); int queryPos = file.indexOf('?'); buf.append((queryPos < 0) ? file : file.substring(0, queryPos)); uri = buf.toString().replace('/', File.separatorChar); if((File.pathSeparatorChar == ';') && uri.startsWith("\\") && (uri.length() > 2) && Character.isLetter(uri.charAt(1)) && (uri.lastIndexOf(':') > -1)) { uri = uri.substring(1); } StringBuffer sb = new StringBuffer(); CharacterIterator iter = new StringCharacterIterator(uri); for(char c = iter.first(); c != CharacterIterator.DONE; c = iter.next()) { if(c == '%') { char c1 = iter.next(); if(c1 != CharacterIterator.DONE) { int i1 = Character.digit(c1, 16); char c2 = iter.next(); if(c2 != CharacterIterator.DONE) { int i2 = Character.digit(c2, 16); sb.append((char) ((i1 << 4) + i2)); } } } else { sb.append(c); } } return sb.toString(); }
50502 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50502/75c0741cfb0fc75ef79c70ec78da0a1cd8144089/TestNGAntTask.java/buggy/src/main/org/testng/TestNGAntTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 628, 3098, 12, 780, 2003, 13, 288, 565, 1976, 880, 273, 446, 31, 565, 775, 288, 1377, 880, 273, 394, 1976, 12, 1650, 1769, 565, 289, 565, 1044, 12, 18695, 20160, 312, 295, 298, 13, 288, 565, 289, 565, 309, 12443, 2011, 422, 880, 13, 747, 401, 2932, 768, 9654, 14963, 12, 718, 18, 588, 5752, 1435, 20349, 288, 1377, 604, 394, 2754, 2932, 2568, 1338, 1640, 923, 585, 30, 24565, 8863, 565, 289, 565, 6674, 1681, 273, 394, 6674, 12, 718, 18, 588, 2594, 10663, 565, 309, 12, 4385, 18, 2469, 1435, 405, 374, 13, 288, 1377, 1681, 18, 6387, 12, 20, 16, 1387, 18, 11287, 2156, 2934, 6387, 12, 20, 16, 1387, 18, 11287, 2156, 1769, 565, 289, 565, 514, 585, 273, 880, 18, 29925, 5621, 565, 509, 565, 843, 1616, 273, 585, 18, 31806, 2668, 4899, 1769, 565, 1681, 18, 6923, 12443, 2271, 1616, 411, 374, 13, 692, 585, 294, 585, 18, 28023, 12, 20, 16, 843, 1616, 10019, 565, 2003, 33, 1681, 18, 10492, 7675, 2079, 2668, 19, 2187, 1387, 18, 11287, 2156, 1769, 565, 309, 12443, 812, 18, 803, 6581, 2156, 422, 7554, 13, 597, 2003, 18, 17514, 1190, 2932, 1695, 7923, 597, 261, 1650, 18, 2469, 1435, 405, 576, 13, 1377, 597, 6577, 18, 291, 13938, 12, 1650, 18, 3001, 861, 12, 21, 3719, 597, 261, 1650, 18, 2722, 31985, 2668, 2497, 13, 405, 300, 21, 3719, 288, 1377, 2003, 273, 2003, 18, 28023, 12, 21, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 628, 3098, 12, 780, 2003, 13, 288, 565, 1976, 880, 273, 446, 31, 565, 775, 288, 1377, 880, 273, 394, 1976, 12, 1650, 1769, 565, 289, 565, 1044, 12, 18695, 20160, 312, 295, 298, 13, 288, 565, 289, 565, 309, 12443, 2011, 422, 880, 13, 747, 401, 2932, 768, 9654, 14963, 12, 718, 18, 588, 5752, 1435, 20349, 288, 1377, 604, 394, 2754, 2932, 2568, 1338, 1640, 923, 585, 30, 24565, 8863, 565, 289, 565, 6674, 1681, 273, 394, 6674, 12, 718, 18, 588, 2594, 10663, 565, 309, 12, 4385, 18, 2469, 1435, 405, 374, 13, 288, 1377, 1681, 18, 6387, 12, 20, 16, 1387, 18, 11287, 2156, 2934, 6387, 12, 20, 16, 1387, 18, 11287, 2 ]
result = new java.util.Vector();
result = new Vector();
public static Object getObjectForMessage(Message source) throws JMSException { Object result; try { if (source instanceof ObjectMessage) { result = ((ObjectMessage)source).getObject(); } else if (source instanceof MapMessage) { Hashtable map = new Hashtable(); MapMessage m = (MapMessage)source; for (Enumeration e = m.getMapNames(); e.hasMoreElements();) { String name = (String)e.nextElement(); Object obj = m.getObject(name); map.put(name, obj); } result = map; } else if (source instanceof BytesMessage) { BytesMessage bm = (BytesMessage)source; ByteArrayOutputStream baos = new ByteArrayOutputStream(); byte[] buffer = new byte[1024 * 4]; int len; bm.reset(); while ((len = bm.readBytes(buffer)) != -1) { baos.write(buffer, 0, len); } baos.flush(); result = baos.toByteArray(); baos.close(); if (result != null) { if (logger.isDebugEnabled()) { logger.debug("JMSToObject: extracted " + ((byte[])result).length + " bytes from JMS BytesMessage"); } } } else if (source instanceof TextMessage) { result = ((TextMessage)source).getText(); } else if (source instanceof BytesMessage) { byte[] bytes = getBytesFromMessage(source); return CompressionHelper.getDefaultCompressionStrategy().uncompressByteArray(bytes); } else if (source instanceof StreamMessage) { StreamMessage sm = (StreamMessage)source; result = new java.util.Vector(); try { Object obj; while ((obj = sm.readObject()) != null) { ((java.util.Vector)result).addElement(obj); } } catch (MessageEOFException eof) { // ignored } catch (Exception e) { throw new JMSException("Failed to extract information from JMS Stream Message: " + e); } } else { result = source; } } catch (Exception e) { throw new JMSException("Failed to transform message: " + e.getMessage()); } return result; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/5a8b9e99057a2e727e4c69b12bcb38ef19f03351/JmsMessageUtils.java/buggy/providers/jms/src/java/org/mule/providers/jms/JmsMessageUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 6455, 1290, 1079, 12, 1079, 1084, 13, 1216, 20343, 565, 288, 3639, 1033, 563, 31, 3639, 775, 288, 5411, 309, 261, 3168, 1276, 1033, 1079, 13, 288, 7734, 563, 273, 14015, 921, 1079, 13, 3168, 2934, 588, 921, 5621, 5411, 289, 5411, 469, 309, 261, 3168, 1276, 1635, 1079, 13, 288, 7734, 18559, 852, 273, 394, 18559, 5621, 7734, 1635, 1079, 312, 273, 261, 863, 1079, 13, 3168, 31, 7734, 364, 261, 21847, 425, 273, 312, 18, 588, 863, 1557, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 10792, 514, 508, 273, 261, 780, 13, 73, 18, 4285, 1046, 5621, 10792, 1033, 1081, 273, 312, 18, 588, 921, 12, 529, 1769, 10792, 852, 18, 458, 12, 529, 16, 1081, 1769, 7734, 289, 7734, 563, 273, 852, 31, 5411, 289, 5411, 469, 309, 261, 3168, 1276, 5985, 1079, 13, 288, 7734, 5985, 1079, 18829, 273, 261, 2160, 1079, 13, 3168, 31, 7734, 11559, 17548, 273, 394, 11559, 5621, 7734, 1160, 8526, 1613, 273, 394, 1160, 63, 2163, 3247, 380, 1059, 15533, 7734, 509, 562, 31, 7734, 18829, 18, 6208, 5621, 7734, 1323, 14015, 1897, 273, 18829, 18, 896, 2160, 12, 4106, 3719, 480, 300, 21, 13, 288, 10792, 17548, 18, 2626, 12, 4106, 16, 374, 16, 562, 1769, 7734, 289, 7734, 17548, 18, 11330, 5621, 7734, 563, 273, 17548, 18, 869, 8826, 5621, 7734, 17548, 18, 4412, 5621, 7734, 309, 261, 2088, 480, 446, 13, 288, 10792, 309, 261, 4901, 18, 291, 2829, 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, 6455, 1290, 1079, 12, 1079, 1084, 13, 1216, 20343, 565, 288, 3639, 1033, 563, 31, 3639, 775, 288, 5411, 309, 261, 3168, 1276, 1033, 1079, 13, 288, 7734, 563, 273, 14015, 921, 1079, 13, 3168, 2934, 588, 921, 5621, 5411, 289, 5411, 469, 309, 261, 3168, 1276, 1635, 1079, 13, 288, 7734, 18559, 852, 273, 394, 18559, 5621, 7734, 1635, 1079, 312, 273, 261, 863, 1079, 13, 3168, 31, 7734, 364, 261, 21847, 425, 273, 312, 18, 588, 863, 1557, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 288, 10792, 514, 508, 273, 261, 780, 13, 73, 18, 4285, 1046, 5621, 10792, 1033, 1081, 273, 312, 18, 588, 921, 12, 529, 1769, 10792, 852, 18, 2 ]
return new JarEnumeration(super.entries());
return new JarEnumeration(super.entries(), this);
public Enumeration entries() throws IllegalStateException { return new JarEnumeration(super.entries()); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/da1be2b141f444e9c3374e734eeaa08531d30659/JarFile.java/buggy/java/util/jar/JarFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13864, 3222, 1435, 1216, 5477, 225, 288, 565, 327, 394, 15644, 21847, 12, 9565, 18, 8219, 9334, 333,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13864, 3222, 1435, 1216, 5477, 225, 288, 565, 327, 394, 15644, 21847, 12, 9565, 18, 8219, 9334, 333, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected Context getContext(Object node) { if ( node instanceof Context ) { return (Context) node; } Context fullContext = new Context( getContextSupport() ); if ( node instanceof List ) { fullContext.setNodeSet( (List) node ); } else { List list = new SingletonList(node); fullContext.setNodeSet( list ); } return fullContext; }
12974 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12974/daa69b236a15fda7e6da8910a4821377bb0e4882/BaseXPath.java/clean/src/java/main/org/jaxen/BaseXPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 1042, 29120, 12, 921, 2159, 15329, 430, 12, 2159, 1336, 792, 1042, 15329, 2463, 12, 1042, 13, 2159, 31, 97, 1042, 2854, 1042, 33, 2704, 1042, 12, 29120, 6289, 10663, 430, 12, 2159, 1336, 792, 682, 15329, 2854, 1042, 18, 542, 907, 694, 12443, 682, 13, 2159, 1769, 97, 12107, 95, 682, 1098, 33, 2704, 19571, 682, 12, 2159, 1769, 2854, 1042, 18, 542, 907, 694, 12, 1098, 1769, 97, 2463, 2854, 1042, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 1042, 29120, 12, 921, 2159, 15329, 430, 12, 2159, 1336, 792, 1042, 15329, 2463, 12, 1042, 13, 2159, 31, 97, 1042, 2854, 1042, 33, 2704, 1042, 12, 29120, 6289, 10663, 430, 12, 2159, 1336, 792, 682, 15329, 2854, 1042, 18, 542, 907, 694, 12443, 682, 13, 2159, 1769, 97, 12107, 95, 682, 1098, 33, 2704, 19571, 682, 12, 2159, 1769, 2854, 1042, 18, 542, 907, 694, 12, 1098, 1769, 97, 2463, 2854, 1042, 31, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void parseTimeZone (String buffer, int start, int end, DateTimeData date, int[] timeZone) throws RuntimeException{
protected void parseTimeZone (String buffer, int start, int end, DateTimeData date) throws RuntimeException{
protected void parseTimeZone (String buffer, int start, int end, DateTimeData date, int[] timeZone) throws RuntimeException{ //fStart points right after the date if ( start<end ) { int sign = findUTCSign(buffer, start, end); if ( sign<0 ) { throw new RuntimeException ("Error in month parsing"); } else { getTimeZone(buffer, date, sign, end, timeZone); } } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/c380bf3077081cba3b736ee21b1eb054f5580364/AbstractDateTimeDV.java/buggy/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1109, 16760, 261, 780, 1613, 16, 509, 787, 16, 509, 679, 16, 3716, 751, 1509, 13, 1216, 3235, 95, 3639, 368, 74, 1685, 3143, 2145, 1839, 326, 1509, 3639, 309, 261, 787, 32, 409, 262, 288, 5411, 509, 1573, 273, 1104, 11471, 2766, 12, 4106, 16, 787, 16, 679, 1769, 5411, 309, 261, 1573, 32, 20, 262, 288, 7734, 604, 394, 3235, 7566, 668, 316, 3138, 5811, 8863, 5411, 289, 5411, 469, 288, 7734, 28556, 12, 4106, 16, 1509, 16, 1573, 16, 679, 16, 17512, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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3235, 95, 3639, 368, 74, 1685, 3143, 2145, 1839, 326, 1509, 3639, 309, 261, 787, 32, 409, 262, 288, 5411, 509, 1573, 273, 1104, 11471, 2766, 12, 4106, 16, 787, 16, 679, 1769, 5411, 309, 261, 1573, 32, 20, 262, 288, 7734, 604, 394, 3235, 7566, 668, 316, 3138, 5811, 8863, 5411, 289, 5411, 469, 288, 7734, 28556, 12, 4106, 16, 1509, 16, 1573, 16, 679, 16, 17512, 1769, 5411, 289, 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 ]
while (i.hasNext()) { Class baseClass = repository.loadClass((String) i.next(), true); JavaClass[] classes = repository.findClass(baseClass.getName()).getSuperClasses(); overridedMethods.addAll(this.getOverridedMethods(baseClass, classes)); classes = repository.findClass(baseClass.getName()).getAllInterfaces(); overridedMethods.addAll(this.getOverridedMethods(baseClass, classes));
while (ii.hasNext()) { Class baseClass = (Class) abstractClasses.get(ii.next()); Class[] sub = ((Class) sourceClasses.get(baseClass.getName())) .getSubClasses(); for (int i = 0; i < sub.length; i++) { Set ms = this.getOverridedMethods(baseClass, sub[i]); overridedMethods.addAll(ms); log.debug("Find " + ms.size() + " overrided methods in sub class: " + sub[i].getName() + " from super class: " + baseClass.getName()); }
private Set analiseAbstractMethods() throws ClassNotFoundException { Iterator i = repository.getProgramClasses().iterator(); Set overridedMethods = new HashSet(); while (i.hasNext()) { Class baseClass = repository.loadClass((String) i.next(), true); JavaClass[] classes = repository.findClass(baseClass.getName()).getSuperClasses(); overridedMethods.addAll(this.getOverridedMethods(baseClass, classes)); classes = repository.findClass(baseClass.getName()).getAllInterfaces(); overridedMethods.addAll(this.getOverridedMethods(baseClass, classes)); } abstractClasses.clear(); return overridedMethods; }
10293 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10293/f8c5449649080ba5d8b846e18d35e0ec85606a5c/Analyser.java/clean/src/java/net/java/dev/jminimizer/Analyser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1000, 392, 287, 784, 7469, 4712, 1435, 1216, 10403, 288, 202, 202, 3198, 277, 273, 3352, 18, 588, 9459, 4818, 7675, 9838, 5621, 202, 202, 694, 5713, 13898, 4712, 273, 394, 6847, 5621, 202, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 288, 1082, 202, 797, 23955, 273, 3352, 18, 945, 797, 12443, 780, 13, 277, 18, 4285, 9334, 638, 1769, 1082, 202, 5852, 797, 8526, 3318, 273, 3352, 18, 4720, 797, 12, 1969, 797, 18, 17994, 1435, 2934, 588, 8051, 4818, 5621, 1082, 202, 83, 1107, 13898, 4712, 18, 1289, 1595, 12, 2211, 18, 588, 22042, 13898, 4712, 12, 1969, 797, 16, 3318, 10019, 1082, 202, 4701, 273, 3352, 18, 4720, 797, 12, 1969, 797, 18, 17994, 1435, 2934, 588, 1595, 10273, 5621, 1082, 202, 83, 1107, 13898, 4712, 18, 1289, 1595, 12, 2211, 18, 588, 22042, 13898, 4712, 12, 1969, 797, 16, 3318, 10019, 202, 202, 97, 202, 202, 17801, 4818, 18, 8507, 5621, 202, 202, 2463, 5713, 13898, 4712, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 1000, 392, 287, 784, 7469, 4712, 1435, 1216, 10403, 288, 202, 202, 3198, 277, 273, 3352, 18, 588, 9459, 4818, 7675, 9838, 5621, 202, 202, 694, 5713, 13898, 4712, 273, 394, 6847, 5621, 202, 202, 17523, 261, 77, 18, 5332, 2134, 10756, 288, 1082, 202, 797, 23955, 273, 3352, 18, 945, 797, 12443, 780, 13, 277, 18, 4285, 9334, 638, 1769, 1082, 202, 5852, 797, 8526, 3318, 273, 3352, 18, 4720, 797, 12, 1969, 797, 18, 17994, 1435, 2934, 588, 8051, 4818, 5621, 1082, 202, 83, 1107, 13898, 4712, 18, 1289, 1595, 12, 2211, 18, 588, 22042, 13898, 4712, 12, 1969, 797, 16, 3318, 10019, 1082, 202, 4701, 273, 3352, 18, 4720, 797, 12, 1969, 797, 2 ]
if(parent == m_pluginPanels.get(0)) { return m_pluginPanels.size() - 1;
if(parent == pluginPanels.get(0)) { return pluginPanels.size() - 1;
public int getChildCount(Object parent) { if(parent == m_pluginPanels.get(0)) { return m_pluginPanels.size() - 1; } return 0; }
48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/TreePluginPanelContainer.java/clean/src/java/org/apache/ftpserver/gui/TreePluginPanelContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 27157, 12, 921, 982, 13, 288, 3639, 309, 12, 2938, 422, 312, 67, 4094, 5537, 87, 18, 588, 12, 20, 3719, 288, 5411, 327, 312, 67, 4094, 5537, 87, 18, 1467, 1435, 300, 404, 31, 3639, 289, 3639, 327, 374, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"",
public void test2() throws Exception { runCode(//--- input code --- "\\catcode`{=1" + "\\catcode`}=2" + "\\def\\x{ttt}" + "a{b\\aftergroup\\x d}e", //--- log message --- "", //--- output channel --- "abdttte\n\n"); }
9123 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9123/16fe77b95f8a23b872ed1b46b7c225491c5d96a0/AftergroupTest.java/buggy/ExTeX/src/test/de/dante/extex/interpreter/primitives/group/AftergroupTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 22, 1435, 1216, 1185, 288, 3639, 1086, 1085, 12, 759, 6062, 810, 981, 9948, 7734, 8422, 2574, 710, 68, 95, 33, 21, 6, 7734, 397, 8422, 2574, 710, 68, 97, 33, 22, 6, 7734, 397, 8422, 536, 1695, 92, 95, 748, 88, 1532, 7734, 397, 315, 69, 95, 70, 1695, 5205, 1655, 1695, 92, 302, 97, 73, 3113, 7734, 368, 6062, 613, 883, 9948, 17311, 368, 6062, 876, 1904, 9948, 7734, 315, 378, 72, 748, 736, 64, 82, 64, 82, 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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 316, 326, 981, 30, 377, 1071, 918, 1842, 22, 1435, 1216, 1185, 288, 3639, 1086, 1085, 12, 759, 6062, 810, 981, 9948, 7734, 8422, 2574, 710, 68, 95, 33, 21, 6, 7734, 397, 8422, 2574, 710, 68, 97, 33, 22, 6, 7734, 397, 8422, 536, 1695, 92, 95, 748, 88, 1532, 7734, 397, 315, 69, 95, 70, 1695, 5205, 1655, 1695, 92, 302, 97, 73, 3113, 7734, 368, 6062, 613, 883, 9948, 17311, 368, 6062, 876, 1904, 9948, 7734, 315, 378, 72, 748, 736, 64, 82, 64, 82, 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 ]
protected synchronized int next(int bits) { //Logger.minor(this,"In "+this+" next("+bits+")"); int[] parameters = bitTable[bits]; int offset = getBytes(parameters[0]); int val = output_buffer[offset]; if (parameters[0] == 4) val += (output_buffer[offset + 1] << 24) + (output_buffer[offset + 2] << 16) + (output_buffer[offset + 3] << 8); else if (parameters[0] == 3) val += (output_buffer[offset + 1] << 16) + (output_buffer[offset + 2] << 8); else if (parameters[0] == 2) val += output_buffer[offset + 2] << 8; return val & parameters[1]; }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/bc50c0ab3552700dd11500ebecd9c37ad70a191e/Yarrow.java/clean/src/freenet/crypt/Yarrow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 22043, 474, 4285, 12, 474, 6789, 15329, 202, 759, 3328, 18, 17364, 12, 2211, 10837, 382, 6, 15, 2211, 9078, 4285, 2932, 15, 6789, 9078, 2225, 1769, 202, 202, 474, 8526, 3977, 33, 3682, 1388, 63, 6789, 15533, 202, 202, 474, 3348, 33, 588, 2160, 12, 3977, 63, 20, 19226, 202, 202, 474, 1125, 33, 2844, 67, 4106, 63, 3348, 15533, 202, 202, 430, 12, 3977, 63, 20, 65, 631, 24, 13, 1082, 202, 1125, 15, 28657, 2844, 67, 4106, 63, 3348, 15, 21, 65, 17685, 3247, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 2313, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 23, 65, 17685, 28, 1769, 202, 202, 12107, 430, 12, 3977, 63, 20, 65, 631, 23, 13, 1082, 202, 1125, 15, 28657, 2844, 67, 4106, 63, 3348, 15, 21, 65, 17685, 2313, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 28, 1769, 202, 202, 12107, 430, 12, 3977, 63, 20, 65, 631, 22, 13, 1082, 202, 1125, 15, 33, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 28, 31, 202, 202, 2463, 1125, 10, 3977, 63, 21, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 22043, 474, 4285, 12, 474, 6789, 15329, 202, 759, 3328, 18, 17364, 12, 2211, 10837, 382, 6, 15, 2211, 9078, 4285, 2932, 15, 6789, 9078, 2225, 1769, 202, 202, 474, 8526, 3977, 33, 3682, 1388, 63, 6789, 15533, 202, 202, 474, 3348, 33, 588, 2160, 12, 3977, 63, 20, 19226, 202, 202, 474, 1125, 33, 2844, 67, 4106, 63, 3348, 15533, 202, 202, 430, 12, 3977, 63, 20, 65, 631, 24, 13, 1082, 202, 1125, 15, 28657, 2844, 67, 4106, 63, 3348, 15, 21, 65, 17685, 3247, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 22, 65, 17685, 2313, 13, 9506, 202, 15, 12, 2844, 67, 4106, 63, 3348, 15, 23, 65, 17685, 2 ]
public void setErrorHandler (ErrorHandler handler)
public void setErrorHandler(ErrorHandler handler)
public void setErrorHandler (ErrorHandler handler) { if (handler == null) handler = base; this.errorHandler = handler; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/SAXDriver.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/SAXDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9967, 1503, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9967, 1503, 12, 17729, 1838, 13, 565, 288, 202, 430, 261, 4176, 422, 446, 13, 202, 565, 1838, 273, 1026, 31, 202, 2211, 18, 1636, 1503, 273, 1838, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{if (true) throw (Error)jjte000;}
{if (true) throw (RuntimeException)jjte000;}
final public void MethodDeclarationLookahead() throws ParseException { /*@bgen(jjtree) MethodDeclarationLookahead */ ASTMethodDeclarationLookahead jjtn000 = new ASTMethodDeclarationLookahead(this, JJTMETHODDECLARATIONLOOKAHEAD); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case FINAL: case NATIVE: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: case SYNCHRONIZED: case STRICTFP: ; break; default: jj_la1[13] = jj_gen; break label_6; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PUBLIC: jj_consume_token(PUBLIC); break; case PROTECTED: jj_consume_token(PROTECTED); break; case PRIVATE: jj_consume_token(PRIVATE); break; case STATIC: jj_consume_token(STATIC); break; case ABSTRACT: jj_consume_token(ABSTRACT); break; case FINAL: jj_consume_token(FINAL); break; case NATIVE: jj_consume_token(NATIVE); break; case SYNCHRONIZED: jj_consume_token(SYNCHRONIZED); break; case STRICTFP: jj_consume_token(STRICTFP); break; default: jj_la1[14] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } ResultType(); jj_consume_token(IDENTIFIER); jj_consume_token(LPAREN); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/daf9b5230c9f4c287726006244d0ded29856732b/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 2985, 6094, 9794, 11617, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 2985, 6094, 9794, 11617, 1195, 225, 9183, 1305, 6094, 9794, 11617, 10684, 5088, 3784, 273, 394, 9183, 1305, 6094, 9794, 11617, 12, 2211, 16, 804, 46, 56, 5327, 23956, 985, 2689, 1502, 3141, 37, 12458, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1433, 67, 26, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 10336, 21398, 30, 3639, 648, 17563, 1013, 30, 3639, 648, 423, 12992, 30, 3639, 648, 23685, 30, 3639, 648, 4629, 26729, 30, 3639, 648, 17187, 30, 3639, 648, 19980, 30, 3639, 648, 7068, 50, 1792, 19359, 24131, 30, 3639, 648, 2347, 2259, 1268, 30246, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 3437, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 26, 31, 3639, 289, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 17187, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 14939, 1769, 1850, 898, 31, 3639, 648, 4629, 26729, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 3373, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 2985, 6094, 9794, 11617, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 2985, 6094, 9794, 11617, 1195, 225, 9183, 1305, 6094, 9794, 11617, 10684, 5088, 3784, 273, 394, 9183, 1305, 6094, 9794, 11617, 12, 2211, 16, 804, 46, 56, 5327, 23956, 985, 2689, 1502, 3141, 37, 12458, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1433, 67, 26, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 2 ]
fontScalingFactor = 1.2F; minFontScale = 0.50F; maxFontScale = 3.0F;
public XHTMLPanel() { fontScalingFactor = 1.2F; minFontScale = 0.50F; maxFontScale = 3.0F; setupListeners(); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/700deda900763fb4334d7a41940a307a33287ba5/XHTMLPanel.java/clean/src/java/org/xhtmlrenderer/simple/XHTMLPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 30551, 5537, 1435, 288, 3639, 3512, 8471, 6837, 273, 404, 18, 22, 42, 31, 3639, 1131, 5711, 5587, 273, 374, 18, 3361, 42, 31, 3639, 943, 5711, 5587, 273, 890, 18, 20, 42, 31, 3639, 3875, 5583, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 30551, 5537, 1435, 288, 3639, 3512, 8471, 6837, 273, 404, 18, 22, 42, 31, 3639, 1131, 5711, 5587, 273, 374, 18, 3361, 42, 31, 3639, 943, 5711, 5587, 273, 890, 18, 20, 42, 31, 3639, 3875, 5583, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(log.isDebugEnabled()) {
if(log.isErrorEnabled()) {
private void populateAgent(ComponentData data, boolean isAdded) throws SQLException { AgentAssetData assetData = data.getAgentAssetData(); if (assetData == null) return; substitutions.put(":agent_org_class:", sqlQuote(assetData.getAssetClass())); substitutions.put(":agent_lib_name:", sqlQuote(data.getName())); substitutions.put(":component_name:", sqlQuote(data.getName())); if (isAdded) { // finish populating a new agent ResultSet rs = executeQuery(stmt, dbp.getQuery("checkAgentOrg", substitutions)); if (!rs.next()) { executeUpdate(dbp.getQuery("insertAgentOrg", substitutions)); } rs.close(); rs = executeQuery(stmt, dbp.getQuery("checkAsbAgent", substitutions)); if (!rs.next()) { executeUpdate(dbp.getQuery("insertAsbAgent", substitutions)); } rs.close(); PropGroupData[] pgs = assetData.getPropGroups(); for (int i = 0; i < pgs.length; i++) { PropGroupData pg = pgs[i]; String pgName = pg.getName(); PGPropData[] props = pg.getProperties(); for (int j = 0; j < props.length; j++) { PGPropData prop = props[j]; PropertyInfo propInfo = getPropertyInfo(pgName, prop.getName()); substitutions.put(":component_alib_id:", sqlQuote(getComponentAlibId(data))); substitutions.put(":pg_attribute_lib_id:", sqlQuote(propInfo.getAttributeLibId())); substitutions.put(":start_date:", sqlQuote("2000-01-01 00:00:00")); substitutions.put(":end_date:", sqlQuote(null)); if (propInfo.isCollection()) { if (!prop.isListType()) throw new RuntimeException("Property is not a collection: " + propInfo.toString()); String[] values = ((PGPropMultiVal) prop.getValue()).getValuesStringArray(); for (int k = 0; k < values.length; k++) { substitutions.put(":attribute_value:", sqlQuote(values[k])); substitutions.put(":attribute_order:", String.valueOf(k + 1)); executeUpdate(dbp.getQuery("insertAttribute", substitutions)); } } else { if (prop.isListType()) throw new RuntimeException("Property is not a single value: " + propInfo.toString()); substitutions.put(":attribute_value:", sqlQuote(prop.getValue().toString())); substitutions.put(":attribute_order:", "1"); executeUpdate(dbp.getQuery("insertAttribute", substitutions)); } } } } RelationshipData[] relationships = assetData.getRelationshipData(); // dbp.setDebug(true); for (int i = 0; i < relationships.length; i++) { RelationshipData r = relationships[i]; long startTime = r.getStartTime(); long endTime = r.getEndTime(); substitutions.put(":role:", sqlQuote(r.getRole())); substitutions.put(":supporting:", sqlQuote(getComponentAlibId(data))); substitutions.put(":supported:", getAgentAlibId(r.getSupported())); substitutions.put(":start_date:", "?"); substitutions.put(":end_date:", "?"); String query = dbp.getQuery("checkRelationship", substitutions); PreparedStatement pstmt = dbConnection.prepareStatement(query); pstmt.setTimestamp(1, new Timestamp(startTime)); ResultSet rs = executeQuery(pstmt, query); if (!rs.next()) { query = dbp.getQuery("insertRelationship", substitutions); PreparedStatement pstmt2 = dbConnection.prepareStatement(query); pstmt2.setTimestamp(1, new Timestamp(startTime)); if (endTime > 0L) { pstmt2.setTimestamp(2, new Timestamp(endTime)); } else { pstmt2.setNull(2, Types.TIMESTAMP); } try { executeUpdate(pstmt2, query); } catch (SQLException e) { if(log.isDebugEnabled()) { log.error("SQLException query: " + query, e); } throw e; } finally { pstmt2.close(); } } pstmt.close(); } }
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/efe9a4b3362c3c4139e7255630e84e5bcb6786e1/PopulateDb.java/clean/csmart/src/org/cougaar/tools/csmart/core/db/PopulateDb.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 3630, 12, 1841, 751, 501, 16, 1250, 353, 8602, 13, 1216, 6483, 288, 2868, 8669, 6672, 751, 3310, 751, 273, 501, 18, 588, 3630, 6672, 751, 5621, 3639, 309, 261, 9406, 751, 422, 446, 13, 327, 31, 3639, 23368, 18, 458, 2932, 30, 5629, 67, 3341, 67, 1106, 2773, 16, 1847, 10257, 12, 9406, 751, 18, 588, 6672, 797, 1435, 10019, 3639, 23368, 18, 458, 2932, 30, 5629, 67, 2941, 67, 529, 2773, 16, 1847, 10257, 12, 892, 18, 17994, 1435, 10019, 3639, 23368, 18, 458, 2932, 30, 4652, 67, 529, 2773, 16, 1847, 10257, 12, 892, 18, 17994, 1435, 10019, 3639, 309, 261, 291, 8602, 13, 288, 5411, 368, 4076, 3650, 1776, 279, 394, 4040, 5411, 10842, 3597, 273, 14304, 12, 10589, 16, 1319, 84, 18, 588, 1138, 2932, 1893, 3630, 6001, 3113, 23368, 10019, 5411, 309, 16051, 5453, 18, 4285, 10756, 288, 7734, 17521, 12, 1966, 84, 18, 588, 1138, 2932, 6387, 3630, 6001, 3113, 23368, 10019, 5411, 289, 5411, 3597, 18, 4412, 5621, 5411, 3597, 273, 14304, 12, 10589, 16, 1319, 84, 18, 588, 1138, 2932, 1893, 1463, 70, 3630, 3113, 23368, 10019, 5411, 309, 16051, 5453, 18, 4285, 10756, 288, 2868, 17521, 12, 1966, 84, 18, 588, 1138, 2932, 6387, 1463, 70, 3630, 3113, 23368, 10019, 5411, 289, 5411, 3597, 18, 4412, 5621, 5411, 10484, 1114, 751, 8526, 293, 564, 273, 3310, 751, 18, 588, 4658, 3621, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 293, 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, 6490, 3630, 12, 1841, 751, 501, 16, 1250, 353, 8602, 13, 1216, 6483, 288, 2868, 8669, 6672, 751, 3310, 751, 273, 501, 18, 588, 3630, 6672, 751, 5621, 3639, 309, 261, 9406, 751, 422, 446, 13, 327, 31, 3639, 23368, 18, 458, 2932, 30, 5629, 67, 3341, 67, 1106, 2773, 16, 1847, 10257, 12, 9406, 751, 18, 588, 6672, 797, 1435, 10019, 3639, 23368, 18, 458, 2932, 30, 5629, 67, 2941, 67, 529, 2773, 16, 1847, 10257, 12, 892, 18, 17994, 1435, 10019, 3639, 23368, 18, 458, 2932, 30, 4652, 67, 529, 2773, 16, 1847, 10257, 12, 892, 18, 17994, 1435, 10019, 3639, 309, 261, 291, 8602, 13, 288, 5411, 368, 4076, 3650, 1776, 279, 394, 2 ]
PsiTreeChangeEventImpl treeEvent = new PsiTreeChangeEventImpl(myManager); treeEvent.setParent(parentDir); if (VirtualFile.PROP_NAME.equals(propertyName)) { final String newName = (String)event.getNewValue(); if (vFile.isDirectory()) { PsiDirectory psiDir = findDirectory(vFile); if (psiDir != null) { if (!myFileTypeManager.isFileIgnored(newName)) { treeEvent.setChild(psiDir); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_DIRECTORY_NAME); treeEvent.setOldValue(vFile.getName()); treeEvent.setNewValue(newName); myManager.beforePropertyChange(treeEvent); } else { treeEvent.setChild(psiDir); myManager.beforeChildRemoval(treeEvent); }
PsiTreeChangeEventImpl treeEvent = new PsiTreeChangeEventImpl(myManager); treeEvent.setParent(parentDir); treeEvent.setChild(psiDir); myManager.childRemoved(treeEvent);
public void run() { PsiTreeChangeEventImpl treeEvent = new PsiTreeChangeEventImpl(myManager); treeEvent.setParent(parentDir); if (VirtualFile.PROP_NAME.equals(propertyName)) { final String newName = (String)event.getNewValue(); if (vFile.isDirectory()) { PsiDirectory psiDir = findDirectory(vFile); if (psiDir != null) { if (!myFileTypeManager.isFileIgnored(newName)) { treeEvent.setChild(psiDir); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_DIRECTORY_NAME); treeEvent.setOldValue(vFile.getName()); treeEvent.setNewValue(newName); myManager.beforePropertyChange(treeEvent); } else { treeEvent.setChild(psiDir); myManager.beforeChildRemoval(treeEvent); } } else { if (!isExcludeRoot(vFile) && !myFileTypeManager.isFileIgnored(newName)) { myManager.beforeChildAddition(treeEvent); } } } else { PsiFile psiFile = findFile(vFile); PsiFile psiFile1 = createPsiFile(vFile, newName); if (psiFile != null) { if (psiFile1 == null) { treeEvent.setChild(psiFile); myManager.beforeChildRemoval(treeEvent); } else if (!psiFile1.getClass().equals(psiFile.getClass())) { treeEvent.setOldChild(psiFile); myManager.beforeChildReplacement(treeEvent); } else { treeEvent.setChild(psiFile); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_FILE_NAME); treeEvent.setOldValue(vFile.getName()); treeEvent.setNewValue(newName); myManager.beforePropertyChange(treeEvent); } } else { if (psiFile1 != null) { myManager.beforeChildAddition(treeEvent); } } } } else if (VirtualFile.PROP_WRITABLE.equals(propertyName)) { PsiFile psiFile = myVFileToPsiFileMap.get(vFile); if (psiFile == null) return; treeEvent.setElement(psiFile); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_WRITABLE); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.beforePropertyChange(treeEvent); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/671af53ecb4df5a36564759f83fd6c3b1163178f/FileManagerImpl.java/buggy/source/com/intellij/psi/impl/file/impl/FileManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 1086, 1435, 288, 5411, 453, 7722, 2471, 20930, 2828, 2151, 1133, 273, 394, 453, 7722, 2471, 20930, 2828, 12, 4811, 1318, 1769, 5411, 2151, 1133, 18, 542, 3054, 12, 2938, 1621, 1769, 5411, 309, 261, 6466, 812, 18, 15811, 67, 1985, 18, 14963, 12, 4468, 461, 3719, 288, 2868, 727, 514, 13253, 273, 261, 780, 13, 2575, 18, 588, 1908, 620, 5621, 2868, 309, 261, 90, 812, 18, 291, 2853, 10756, 288, 7734, 453, 7722, 2853, 23921, 1621, 273, 1104, 2853, 12, 90, 812, 1769, 7734, 309, 261, 24275, 1621, 480, 446, 13, 288, 5375, 309, 16051, 4811, 28941, 1318, 18, 291, 812, 15596, 12, 2704, 461, 3719, 288, 10792, 2151, 1133, 18, 542, 1763, 12, 24275, 1621, 1769, 10792, 2151, 1133, 18, 542, 13073, 12, 52, 7722, 2471, 20930, 18, 15811, 67, 17229, 67, 1985, 1769, 10792, 2151, 1133, 18, 542, 7617, 620, 12, 90, 812, 18, 17994, 10663, 10792, 2151, 1133, 18, 542, 1908, 620, 12, 2704, 461, 1769, 10792, 3399, 1318, 18, 5771, 1396, 3043, 12, 3413, 1133, 1769, 5375, 289, 5375, 469, 288, 10792, 2151, 1133, 18, 542, 1763, 12, 24275, 1621, 1769, 10792, 3399, 1318, 18, 5771, 1763, 24543, 12, 3413, 1133, 1769, 5375, 289, 7734, 289, 7734, 469, 288, 5375, 309, 16051, 291, 12689, 2375, 12, 90, 812, 13, 597, 401, 4811, 28941, 1318, 18, 291, 812, 15596, 12, 2704, 461, 3719, 288, 10792, 3399, 1318, 18, 5771, 1763, 30296, 12, 3413, 1133, 1769, 5375, 289, 7734, 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, 6647, 1071, 918, 1086, 1435, 288, 5411, 453, 7722, 2471, 20930, 2828, 2151, 1133, 273, 394, 453, 7722, 2471, 20930, 2828, 12, 4811, 1318, 1769, 5411, 2151, 1133, 18, 542, 3054, 12, 2938, 1621, 1769, 5411, 309, 261, 6466, 812, 18, 15811, 67, 1985, 18, 14963, 12, 4468, 461, 3719, 288, 2868, 727, 514, 13253, 273, 261, 780, 13, 2575, 18, 588, 1908, 620, 5621, 2868, 309, 261, 90, 812, 18, 291, 2853, 10756, 288, 7734, 453, 7722, 2853, 23921, 1621, 273, 1104, 2853, 12, 90, 812, 1769, 7734, 309, 261, 24275, 1621, 480, 446, 13, 288, 5375, 309, 16051, 4811, 28941, 1318, 18, 291, 812, 15596, 12, 2704, 461, 3719, 288, 10792, 2151, 1133, 18, 542, 1763, 12, 2 ]
public ASTUsingDirective( IASTScope scope, String name, int startingOffset, int startingLine, int endingOffset, int endingLine, char[] filename )
public ASTUsingDirective( IASTScope scope, String name, int startingOffset, int startingLine, int endingOffset, int endingLine, char[] filename, int nStart, int nEnd, int nLine )
public ASTUsingDirective( IASTScope scope, String name, int startingOffset, int startingLine, int endingOffset, int endingLine, char[] filename ) { super( scope ); this.namespaceName = name; setStartingOffsetAndLineNumber(startingOffset, startingLine); setEndingOffsetAndLineNumber(endingOffset, endingLine); fn = filename; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/9ac724d2edcb3085225e8e4e3281e34bca88c97d/ASTUsingDirective.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/quick/ASTUsingDirective.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9183, 7736, 13307, 12, 467, 9053, 3876, 2146, 16, 514, 508, 16, 509, 5023, 2335, 16, 509, 5023, 1670, 16, 509, 11463, 2335, 16, 509, 11463, 1670, 16, 1149, 8526, 1544, 262, 202, 95, 202, 202, 9565, 12, 2146, 11272, 202, 202, 2211, 18, 4937, 461, 273, 508, 31, 202, 202, 542, 11715, 2335, 1876, 31063, 12, 18526, 2335, 16, 5023, 1670, 1769, 202, 202, 542, 25674, 2335, 1876, 31063, 12, 2846, 2335, 16, 11463, 1670, 1769, 202, 202, 4293, 273, 1544, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9183, 7736, 13307, 12, 467, 9053, 3876, 2146, 16, 514, 508, 16, 509, 5023, 2335, 16, 509, 5023, 1670, 16, 509, 11463, 2335, 16, 509, 11463, 1670, 16, 1149, 8526, 1544, 262, 202, 95, 202, 202, 9565, 12, 2146, 11272, 202, 202, 2211, 18, 4937, 461, 273, 508, 31, 202, 202, 542, 11715, 2335, 1876, 31063, 12, 18526, 2335, 16, 5023, 1670, 1769, 202, 202, 542, 25674, 2335, 1876, 31063, 12, 2846, 2335, 16, 11463, 1670, 1769, 202, 202, 4293, 273, 1544, 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 ]
envoyer(new etatParticipant(p));
envoyer(new etatParticipant(new Participant(p.getLogin(), p.getNom(), p.getPrenom(), p.getStatut())));
void etatParticipant(Participant p) { envoyer(new etatParticipant(p)); }
57791 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57791/a42f3836799b36db6530f98f3771defa8a9228b0/SessionServeur.java/buggy/src/serveur/trollhammer/SessionServeur.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3393, 270, 22540, 12, 22540, 293, 13, 288, 1850, 1550, 13372, 264, 12, 2704, 3393, 270, 22540, 12, 2704, 31333, 12, 84, 18, 588, 5358, 9334, 293, 18, 588, 26685, 9334, 293, 18, 588, 52, 1187, 362, 9334, 293, 18, 588, 5000, 322, 1435, 3719, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3393, 270, 22540, 12, 22540, 293, 13, 288, 1850, 1550, 13372, 264, 12, 2704, 3393, 270, 22540, 12, 2704, 31333, 12, 84, 18, 588, 5358, 9334, 293, 18, 588, 26685, 9334, 293, 18, 588, 52, 1187, 362, 9334, 293, 18, 588, 5000, 322, 1435, 3719, 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 ]
private void fireHits(
public void fireHits(
private void fireHits( int word, int offset, SearchListener listener ) { int hitOffset = hashTable.get(word); if(hitOffset >= 0) { try { hitTable.position(hitOffset); } catch (IllegalArgumentException e) { System.out.println("word:\t" + word); System.out.println("offset:\t" + offset); System.out.println("hitOffset\t" + hitOffset); throw e; } int hits = hitTable.getInt(); for(int i = 0; i < hits; i++) { int pos = hitTable.getInt(); int id = seqIDForPos(pos); listener.hit( id, offset, pos - offsetForID(id), wordLength ); } } else if (hitOffset == -2) { System.err.println("Hit an elided word!"); } }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/870ae31364b930bd9261ff9ca75ebaded0462c9b/CompactedDataStore.java/clean/src-1.4/org/biojava/bio/program/ssaha/CompactedDataStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4452, 20950, 12, 565, 509, 2076, 16, 565, 509, 1384, 16, 565, 5167, 2223, 2991, 225, 262, 288, 565, 509, 6800, 2335, 273, 1651, 1388, 18, 588, 12, 1095, 1769, 565, 309, 12, 15989, 2335, 1545, 374, 13, 288, 1377, 775, 288, 3639, 6800, 1388, 18, 3276, 12, 15989, 2335, 1769, 1377, 289, 1044, 261, 31237, 425, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 1095, 5581, 88, 6, 397, 2076, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 3348, 5581, 88, 6, 397, 1384, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 15989, 2335, 64, 88, 6, 397, 6800, 2335, 1769, 3639, 604, 425, 31, 2868, 289, 1377, 509, 11076, 273, 6800, 1388, 18, 588, 1702, 5621, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 11076, 31, 277, 27245, 288, 202, 225, 509, 949, 273, 6800, 1388, 18, 588, 1702, 5621, 202, 225, 509, 612, 273, 3833, 734, 1290, 1616, 12, 917, 1769, 202, 225, 2991, 18, 15989, 12, 1082, 4202, 612, 16, 1082, 4202, 1384, 16, 1082, 4202, 949, 300, 1384, 1290, 734, 12, 350, 3631, 1082, 4202, 2076, 1782, 1082, 1377, 11272, 1377, 289, 565, 289, 469, 309, 261, 15989, 2335, 422, 300, 22, 13, 288, 202, 3163, 18, 370, 18, 8222, 2932, 13616, 392, 415, 13898, 2076, 4442, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 4452, 20950, 12, 565, 509, 2076, 16, 565, 509, 1384, 16, 565, 5167, 2223, 2991, 225, 262, 288, 565, 509, 6800, 2335, 273, 1651, 1388, 18, 588, 12, 1095, 1769, 565, 309, 12, 15989, 2335, 1545, 374, 13, 288, 1377, 775, 288, 3639, 6800, 1388, 18, 3276, 12, 15989, 2335, 1769, 1377, 289, 1044, 261, 31237, 425, 13, 288, 3639, 2332, 18, 659, 18, 8222, 2932, 1095, 5581, 88, 6, 397, 2076, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 3348, 5581, 88, 6, 397, 1384, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 15989, 2335, 64, 88, 6, 397, 6800, 2335, 1769, 3639, 604, 425, 31, 2868, 289, 1377, 509, 11076, 273, 6800, 1388, 18, 2 ]
return bufsenqueued<<LOG_PAGES_PER_BUFFER;
return bufsenqueued << LOG_PAGES_PER_BUFFER;
public final int enqueuedPages() throws InlinePragma { return bufsenqueued<<LOG_PAGES_PER_BUFFER; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/SharedDeque.java/buggy/MMTk/src/org/mmtk/utility/deque/SharedDeque.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 509, 570, 19499, 5716, 1435, 1216, 16355, 2050, 9454, 288, 565, 327, 1681, 87, 275, 19499, 2296, 2018, 67, 11219, 55, 67, 3194, 67, 11302, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ((flags & ~0xEF) != 0) throw new IllegalArgumentException (); return new Pattern (regex, flags);
return compile(regex, 0);
public static Pattern compile (String regex, int flags) throws PatternSyntaxException { // FIXME: check which flags are really accepted if ((flags & ~0xEF) != 0) throw new IllegalArgumentException (); return new Pattern (regex, flags); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/185f373a9e9ecb5bf2a02c698e74f2e18f96abb6/Pattern.java/buggy/libraries/javalib/java/util/regex/Pattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6830, 4074, 261, 780, 3936, 16, 509, 2943, 13, 565, 1216, 6830, 14714, 225, 288, 565, 368, 9852, 30, 866, 1492, 2943, 854, 8654, 8494, 565, 309, 14015, 7133, 473, 4871, 20, 17432, 42, 13, 480, 374, 13, 1377, 604, 394, 2754, 261, 1769, 3639, 327, 394, 6830, 261, 7584, 16, 2943, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 6830, 4074, 261, 780, 3936, 16, 509, 2943, 13, 565, 1216, 6830, 14714, 225, 288, 565, 368, 9852, 30, 866, 1492, 2943, 854, 8654, 8494, 565, 309, 14015, 7133, 473, 4871, 20, 17432, 42, 13, 480, 374, 13, 1377, 604, 394, 2754, 261, 1769, 3639, 327, 394, 6830, 261, 7584, 16, 2943, 1769, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Map model = new HashMap(); return scaffoldResponseHandler.handleResponse(request,response,CREATE_ACTION,model);
Map model = this.scaffoldRequestHandler.handleCreate(request,response,new DefaultScaffoldCallback()); return scaffoldResponseHandler.handleResponse(request,response,CREATE_ACTION,model);
public Object call(Object[] args) { // do nothing for the moment Map model = new HashMap(); return scaffoldResponseHandler.handleResponse(request,response,CREATE_ACTION,model); }
6460 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6460/b6b4f5ebc44e1bf38a2930c42610d0d1bdafc46d/DefaultGrailsScaffolder.java/buggy/src/scaffolding/org/codehaus/groovy/grails/scaffolding/DefaultGrailsScaffolder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1033, 745, 12, 921, 8526, 833, 13, 288, 1082, 202, 759, 741, 5083, 364, 326, 10382, 1082, 202, 863, 938, 273, 394, 4317, 5621, 1082, 202, 2463, 20992, 1064, 1503, 18, 4110, 1064, 12, 2293, 16, 2740, 16, 9344, 67, 12249, 16, 2284, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1033, 745, 12, 921, 8526, 833, 13, 288, 1082, 202, 759, 741, 5083, 364, 326, 10382, 1082, 202, 863, 938, 273, 394, 4317, 5621, 1082, 202, 2463, 20992, 1064, 1503, 18, 4110, 1064, 12, 2293, 16, 2740, 16, 9344, 67, 12249, 16, 2284, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jMenuItemCheckOutFromFileActionPerformed(evt);
jMenuItemCompileActionPerformed(evt);
public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItemCheckOutFromFileActionPerformed(evt); }
7731 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7731/6b4414bf371e946bc05b8db3367c659f10582315/jFrame.java/clean/Project/jFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 525, 12958, 9937, 19449, 12, 73, 11734, 1769, 5411, 289, 2, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 525, 12958, 9937, 19449, 12, 73, 11734, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String taskName = CCorePlugin.getResourceString("CoreModel.BinaryRunner.Binary_Search_Thread"); Job runner = new Job(taskName) { /* (non-Javadoc)
String taskName = CCorePlugin.getResourceString("CoreModel.BinaryRunner.Binary_Search_Thread"); runner = new Job(taskName) { /* * (non-Javadoc) *
public void start() { String taskName = CCorePlugin.getResourceString("CoreModel.BinaryRunner.Binary_Search_Thread"); //$NON-NLS-1 Job runner = new Job(taskName) { /* (non-Javadoc) * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor) */ protected IStatus run(IProgressMonitor monitor) { if (cproject == null || Thread.currentThread().isInterrupted()) { return Status.CANCEL_STATUS; } vbin = (BinaryContainer)cproject.getBinaryContainer(); vlib = (ArchiveContainer)cproject.getArchiveContainer(); vlib.removeChildren(); vbin.removeChildren(); try { project.accept(new Visitor(BinaryRunner.this)); } catch (CoreException e) { //e.printStackTrace(); } catch (Exception e) { // What is wrong ? e.printStackTrace(); } if (!Thread.currentThread().isInterrupted()) { fireEvents(cproject, vbin); fireEvents(cproject, vlib); } // Tell the listeners we are done. synchronized(BinaryRunner.this) { BinaryRunner.this.notifyAll(); BinaryRunner.this.runner = null; } return Status.OK_STATUS; } }; runner.schedule(); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/84c89baed2d5075ab2dc5a5810d04c445f608a68/BinaryRunner.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1435, 288, 202, 202, 780, 20172, 273, 385, 4670, 3773, 18, 588, 1420, 780, 2932, 4670, 1488, 18, 5905, 9709, 18, 5905, 67, 2979, 67, 3830, 8863, 4329, 3993, 17, 5106, 17, 21, 202, 202, 2278, 8419, 273, 394, 3956, 12, 4146, 461, 13, 288, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 2278, 7, 2681, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 13, 9506, 1195, 1082, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 71, 4406, 422, 446, 747, 4884, 18, 2972, 3830, 7675, 291, 24485, 10756, 288, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 97, 9506, 202, 90, 4757, 273, 261, 5905, 2170, 13, 71, 4406, 18, 588, 5905, 2170, 5621, 9506, 202, 90, 2941, 273, 261, 7465, 2170, 13, 71, 4406, 18, 588, 7465, 2170, 5621, 9506, 202, 90, 2941, 18, 4479, 4212, 5621, 9506, 202, 90, 4757, 18, 4479, 4212, 5621, 9506, 202, 698, 288, 6862, 202, 4406, 18, 9436, 12, 2704, 17360, 12, 5905, 9709, 18, 2211, 10019, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 759, 73, 18, 1188, 6332, 5621, 9506, 202, 97, 1044, 261, 503, 425, 13, 288, 6862, 202, 759, 18734, 353, 7194, 692, 6862, 202, 73, 18, 1188, 6332, 5621, 9506, 202, 97, 9506, 202, 430, 16051, 3830, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 787, 1435, 288, 202, 202, 780, 20172, 273, 385, 4670, 3773, 18, 588, 1420, 780, 2932, 4670, 1488, 18, 5905, 9709, 18, 5905, 67, 2979, 67, 3830, 8863, 4329, 3993, 17, 5106, 17, 21, 202, 202, 2278, 8419, 273, 394, 3956, 12, 4146, 461, 13, 288, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 2278, 7, 2681, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 13, 9506, 1195, 1082, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 71, 4406, 422, 446, 747, 4884, 18, 2972, 3830, 7675, 291, 24485, 2 ]
ivRenderer.groupPrimitive(tre, true);
ivRenderer.groupPrimitive( tre, true );
public void drawText( TextRenderEvent tre ) throws ChartException { ivRenderer.groupPrimitive(tre, true); SVGTextRenderer tr = SVGTextRenderer.instance( (SVGDisplayServer) _ids ); switch ( tre.getAction( ) ) { case TextRenderEvent.UNDEFINED : throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, "exception.missing.text.render.action", //$NON-NLS-1$ Messages.getResourceBundle( getULocale( ) ) ); case TextRenderEvent.RENDER_SHADOW_AT_LOCATION : tr.renderShadowAtLocation( this, tre.getTextPosition( ), tre.getLocation( ), tre.getLabel( ) ); break; case TextRenderEvent.RENDER_TEXT_AT_LOCATION : tr.renderTextAtLocation( this, tre.getTextPosition( ), tre.getLocation( ), tre.getLabel( ) ); break; case TextRenderEvent.RENDER_TEXT_IN_BLOCK : tr.renderTextInBlock( this, tre.getBlockBounds( ), tre.getBlockAlignment( ), tre.getLabel( ) ); break; } ivRenderer.ungroupPrimitive(tre, true); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/1cb055a94d0be6592f772701e9d73d66322c6253/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3724, 1528, 12, 3867, 3420, 1133, 9787, 262, 1216, 14804, 503, 202, 95, 202, 202, 427, 6747, 18, 1655, 9840, 12, 27427, 16, 638, 1769, 202, 202, 26531, 1528, 6747, 433, 273, 11281, 1528, 6747, 18, 1336, 12, 261, 26531, 4236, 2081, 13, 389, 2232, 11272, 202, 202, 9610, 261, 9787, 18, 588, 1803, 12, 262, 262, 202, 202, 95, 1082, 202, 3593, 3867, 3420, 1133, 18, 2124, 15544, 294, 9506, 202, 12849, 394, 14804, 503, 12, 14804, 3654, 3625, 3773, 18, 734, 16, 25083, 202, 7984, 503, 18, 25230, 1360, 16, 25083, 202, 6, 4064, 18, 7337, 18, 955, 18, 5902, 18, 1128, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 5058, 18, 588, 18731, 12, 23037, 3916, 12, 262, 262, 11272, 1082, 202, 3593, 3867, 3420, 1133, 18, 25230, 67, 2664, 1880, 7306, 67, 789, 67, 15277, 294, 9506, 202, 313, 18, 5902, 12957, 861, 2735, 12, 333, 16, 25083, 202, 27427, 18, 588, 1528, 2555, 12, 262, 16, 25083, 202, 27427, 18, 588, 2735, 12, 262, 16, 25083, 202, 27427, 18, 588, 2224, 12, 262, 11272, 9506, 202, 8820, 31, 1082, 202, 3593, 3867, 3420, 1133, 18, 25230, 67, 5151, 67, 789, 67, 15277, 294, 9506, 202, 313, 18, 5902, 1528, 861, 2735, 12, 333, 16, 25083, 202, 27427, 18, 588, 1528, 2555, 12, 262, 16, 25083, 202, 27427, 18, 588, 2735, 12, 262, 16, 25083, 202, 27427, 18, 588, 2224, 12, 262, 11272, 9506, 202, 8820, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3724, 1528, 12, 3867, 3420, 1133, 9787, 262, 1216, 14804, 503, 202, 95, 202, 202, 427, 6747, 18, 1655, 9840, 12, 27427, 16, 638, 1769, 202, 202, 26531, 1528, 6747, 433, 273, 11281, 1528, 6747, 18, 1336, 12, 261, 26531, 4236, 2081, 13, 389, 2232, 11272, 202, 202, 9610, 261, 9787, 18, 588, 1803, 12, 262, 262, 202, 202, 95, 1082, 202, 3593, 3867, 3420, 1133, 18, 2124, 15544, 294, 9506, 202, 12849, 394, 14804, 503, 12, 14804, 3654, 3625, 3773, 18, 734, 16, 25083, 202, 7984, 503, 18, 25230, 1360, 16, 25083, 202, 6, 4064, 18, 7337, 18, 955, 18, 5902, 18, 1128, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 5058, 2 ]
final BufferedResponse redirectResponse = new BufferedResponse(redirectUrl)
final BufferedResponse redirectResponse = new BufferedResponse()
protected void redirectTo(final Page page) throws ServletException { String redirectUrl = page.urlFor(page, IRedirectListener.class); // Check if use serverside response for client side redirects ApplicationSettings settings = application.getSettings(); if ((settings.getRenderStrategy() == ApplicationSettings.REDIRECT_TO_BUFFER) && (application instanceof WebApplication)) { // remember the current response final Response currentResponse = getResponse(); try { // create the redirect response. // override the encodeURL so that it will use the real once encoding. final BufferedResponse redirectResponse = new BufferedResponse(redirectUrl) { public String encodeURL(String url) { return currentResponse.encodeURL(url); } }; redirectResponse.setCharacterEncoding(currentResponse.getCharacterEncoding()); // redirect the response to the buffer setResponse(redirectResponse); // test if the invoker page was the same as the page that is going to be renderd if (getInvokePage() == getResponsePage()) { // set it to null because it is already ended in the page.doRender() setInvokePage(null); } // render the page into the buffer page.doRender(); // re-assign the original response setResponse(currentResponse); final String responseRedirect = redirectResponse.getRedirectUrl(); if (redirectUrl != responseRedirect) { // if the redirectResponse has another redirect url set // then the rendering of this page caused a redirect to something else. // set this redirect then. redirectUrl = redirectResponse.getRedirectUrl(); } else if (redirectResponse.getContentLength() > 0) { // if no content is created then don't set it in the redirect buffer // (maybe access failed). // Set the encoding of the response (what the browser wants) redirectResponse.setCharacterEncoding(currentResponse.getCharacterEncoding()); // close it so that the reponse is fixed and encoded from here on. redirectResponse.close(); // TODO adouma: no Portlets support yet so typecasted for Servlet env. ((WebApplication)application).addRedirect( ((ServletWebRequest)getWebRequest()).getHttpServletRequest(), redirectUrl, redirectResponse); } } catch (RuntimeException ex) { // re-assign the original response setResponse(currentResponse); internalOnRuntimeException(page, ex); return; } } else { session.touch(page); // redirect page can touch its models already (via for example the constructors) page.internalEndRequest(); } // Redirect to the url for the page response.redirect(redirectUrl); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/98fd33a35eaa2d534bda1b2b6b00f39d39ec563e/WebRequestCycle.java/buggy/wicket/src/java/wicket/protocol/http/WebRequestCycle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 19200, 12, 6385, 3460, 1363, 13, 1216, 16517, 202, 95, 202, 202, 780, 25372, 273, 1363, 18, 718, 1290, 12, 2433, 16, 467, 5961, 2223, 18, 1106, 1769, 202, 202, 759, 2073, 309, 999, 7084, 831, 766, 364, 1004, 4889, 18064, 202, 202, 3208, 2628, 1947, 273, 2521, 18, 588, 2628, 5621, 202, 202, 430, 14015, 4272, 18, 588, 3420, 4525, 1435, 422, 4257, 2628, 18, 25103, 67, 4296, 67, 11302, 13, 1082, 3639, 597, 261, 3685, 1276, 25555, 3719, 202, 202, 95, 1082, 565, 368, 11586, 326, 783, 766, 1082, 202, 6385, 2306, 783, 1064, 273, 6476, 5621, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 752, 326, 3136, 766, 18, 9506, 202, 759, 3849, 326, 2017, 1785, 1427, 716, 518, 903, 999, 326, 2863, 3647, 2688, 18, 9506, 202, 6385, 5987, 1064, 3136, 1064, 273, 394, 5987, 1064, 12, 7590, 1489, 13, 9506, 202, 95, 6862, 202, 482, 514, 2017, 1785, 12, 780, 880, 13, 6862, 202, 95, 25083, 202, 2463, 783, 1064, 18, 3015, 1785, 12, 718, 1769, 6862, 202, 97, 9506, 202, 20451, 9506, 202, 7590, 1064, 18, 542, 7069, 4705, 12, 2972, 1064, 18, 588, 7069, 4705, 10663, 9506, 202, 759, 3136, 326, 766, 358, 326, 1613, 9506, 202, 542, 1064, 12, 7590, 1064, 1769, 9506, 202, 759, 1842, 309, 326, 24920, 1363, 1703, 326, 1967, 487, 326, 1363, 716, 353, 8554, 358, 506, 1743, 72, 9506, 202, 430, 261, 588, 10969, 1964, 1435, 422, 6476, 1964, 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, 19200, 12, 6385, 3460, 1363, 13, 1216, 16517, 202, 95, 202, 202, 780, 25372, 273, 1363, 18, 718, 1290, 12, 2433, 16, 467, 5961, 2223, 18, 1106, 1769, 202, 202, 759, 2073, 309, 999, 7084, 831, 766, 364, 1004, 4889, 18064, 202, 202, 3208, 2628, 1947, 273, 2521, 18, 588, 2628, 5621, 202, 202, 430, 14015, 4272, 18, 588, 3420, 4525, 1435, 422, 4257, 2628, 18, 25103, 67, 4296, 67, 11302, 13, 1082, 3639, 597, 261, 3685, 1276, 25555, 3719, 202, 202, 95, 1082, 565, 368, 11586, 326, 783, 766, 1082, 202, 6385, 2306, 783, 1064, 273, 6476, 5621, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 752, 326, 3136, 766, 18, 9506, 202, 2 ]
if ( !choices[i].getDisplayName( )
if ( !choices[i].getName( )
protected String[][] initChoiceArray( ) { if ( choiceArray == null ) { IChoiceSet set = ChoiceSetFactory.getElementChoiceSet( ReportDesignConstants.STYLE_ELEMENT, Style.NUMBER_FORMAT_PROP ); IChoice[] choices = set.getChoices( ); if ( choices.length > 0 ) { choiceArray = new String[choices.length - 1][2]; for ( int i = 0, j = 0; i < choices.length; i++ ) { if ( !choices[i].getDisplayName( ) .equals( DesignChoiceConstants.NUMBER_FORMAT_TYPE_STANDARD ) ) { choiceArray[j][0] = choices[i].getDisplayName( ); choiceArray[j][1] = choices[i].getName( ); j++; } } } else { choiceArray = new String[0][0]; } } return choiceArray; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/36d1915ca9de9d07edd2229210f9d708b51ed017/FormatNumberPage.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/FormatNumberPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 63, 6362, 65, 1208, 10538, 1076, 12, 262, 202, 95, 202, 202, 430, 261, 6023, 1076, 422, 446, 262, 202, 202, 95, 1082, 202, 45, 10538, 694, 444, 273, 16432, 694, 1733, 18, 21336, 10538, 694, 12, 8706, 15478, 2918, 18, 15066, 67, 10976, 16, 6862, 202, 2885, 18, 9931, 67, 7254, 67, 15811, 11272, 1082, 202, 45, 10538, 8526, 7246, 273, 444, 18, 588, 17442, 12, 11272, 1082, 202, 430, 261, 7246, 18, 2469, 405, 374, 262, 1082, 202, 95, 9506, 202, 11569, 1076, 273, 394, 514, 63, 11937, 18, 2469, 300, 404, 6362, 22, 15533, 9506, 202, 1884, 261, 509, 277, 273, 374, 16, 525, 273, 374, 31, 277, 411, 7246, 18, 2469, 31, 277, 9904, 262, 9506, 202, 95, 6862, 202, 430, 261, 401, 11937, 63, 77, 8009, 588, 20524, 12, 262, 6862, 1082, 202, 18, 14963, 12, 29703, 10538, 2918, 18, 9931, 67, 7254, 67, 2399, 67, 882, 18264, 262, 262, 6862, 202, 95, 25083, 202, 11569, 1076, 63, 78, 6362, 20, 65, 273, 7246, 63, 77, 8009, 588, 20524, 12, 11272, 25083, 202, 11569, 1076, 63, 78, 6362, 21, 65, 273, 7246, 63, 77, 8009, 17994, 12, 11272, 25083, 202, 78, 9904, 31, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 11569, 1076, 273, 394, 514, 63, 20, 6362, 20, 15533, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 6023, 1076, 31, 202, 97, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 63, 6362, 65, 1208, 10538, 1076, 12, 262, 202, 95, 202, 202, 430, 261, 6023, 1076, 422, 446, 262, 202, 202, 95, 1082, 202, 45, 10538, 694, 444, 273, 16432, 694, 1733, 18, 21336, 10538, 694, 12, 8706, 15478, 2918, 18, 15066, 67, 10976, 16, 6862, 202, 2885, 18, 9931, 67, 7254, 67, 15811, 11272, 1082, 202, 45, 10538, 8526, 7246, 273, 444, 18, 588, 17442, 12, 11272, 1082, 202, 430, 261, 7246, 18, 2469, 405, 374, 262, 1082, 202, 95, 9506, 202, 11569, 1076, 273, 394, 514, 63, 11937, 18, 2469, 300, 404, 6362, 22, 15533, 9506, 202, 1884, 261, 509, 277, 273, 374, 16, 525, 273, 374, 31, 277, 411, 7246, 18, 2469, 2 ]
String message = Context.getMessage0("msg.bad.esc.mask"); cx.reportError(message); mask = URL_XALPHAS | URL_XPALPHAS | URL_PATH;
throw Context.reportRuntimeError0("msg.bad.esc.mask");
private Object js_escape(Context cx, Object[] args) { final int URL_XALPHAS = 1, URL_XPALPHAS = 2, URL_PATH = 4; String s = ScriptRuntime.toString(args, 0); int mask = URL_XALPHAS | URL_XPALPHAS | URL_PATH; if (args.length > 1) { // the 'mask' argument. Non-ECMA. double d = ScriptRuntime.toNumber(args[1]); if (d != d || ((mask = (int) d) != d) || 0 != (mask & ~(URL_XALPHAS | URL_XPALPHAS | URL_PATH))) { String message = Context.getMessage0("msg.bad.esc.mask"); cx.reportError(message); // do the ecma thing, in case reportError returns. mask = URL_XALPHAS | URL_XPALPHAS | URL_PATH; } } StringBuffer sb = null; for (int k = 0, L = s.length(); k != L; ++k) { int c = s.charAt(k); if (mask != 0 && ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '@' || c == '*' || c == '_' || c == '-' || c == '.' || (0 != (mask & URL_PATH) && (c == '/' || c == '+')))) { if (sb != null) { sb.append((char)c); } } else { if (sb == null) { sb = new StringBuffer(L + 3); sb.append(s); sb.setLength(k); } int hexSize; if (c < 256) { if (c == ' ' && mask == URL_XPALPHAS) { sb.append('+'); continue; } sb.append('%'); hexSize = 2; } else { sb.append('%'); sb.append('u'); hexSize = 4; } // append hexadecimal form of c left-padded with 0 for (int shift = (hexSize - 1) * 4; shift >= 0; shift -= 4) { int digit = 0xf & (c >> shift); int hc = (digit < 10) ? '0' + digit : 'A' - 10 + digit; sb.append((char)hc); } } } return (sb == null) ? s : sb.toString(); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/d0771b878dc28db19b34996d546b15ce93d669c9/NativeGlobal.java/clean/src/org/mozilla/javascript/NativeGlobal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 67, 6939, 12, 1042, 9494, 16, 1033, 8526, 833, 13, 288, 3639, 727, 509, 5411, 1976, 67, 60, 19799, 3033, 273, 404, 16, 5411, 1976, 67, 60, 52, 19799, 3033, 273, 576, 16, 5411, 1976, 67, 4211, 273, 1059, 31, 3639, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 3639, 509, 3066, 273, 1976, 67, 60, 19799, 3033, 571, 1976, 67, 60, 52, 19799, 3033, 571, 1976, 67, 4211, 31, 3639, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 368, 326, 296, 4455, 11, 1237, 18, 225, 3858, 17, 7228, 5535, 18, 5411, 1645, 302, 273, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 21, 19226, 5411, 309, 261, 72, 480, 302, 747, 14015, 4455, 273, 261, 474, 13, 302, 13, 480, 302, 13, 747, 7734, 374, 480, 261, 4455, 473, 4871, 12, 1785, 67, 60, 19799, 3033, 571, 1976, 67, 60, 52, 19799, 3033, 571, 1976, 67, 4211, 20349, 5411, 288, 7734, 514, 883, 273, 1772, 18, 24906, 20, 2932, 3576, 18, 8759, 18, 742, 18, 4455, 8863, 7734, 9494, 18, 6006, 668, 12, 2150, 1769, 7734, 368, 741, 326, 6557, 2540, 7757, 16, 316, 648, 17887, 1135, 18, 7734, 3066, 273, 1976, 67, 60, 19799, 3033, 571, 1976, 67, 60, 52, 19799, 3033, 571, 1976, 67, 4211, 31, 5411, 289, 3639, 289, 3639, 6674, 2393, 273, 446, 31, 3639, 364, 261, 474, 417, 273, 374, 16, 511, 273, 272, 18, 2469, 5621, 417, 480, 511, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 67, 6939, 12, 1042, 9494, 16, 1033, 8526, 833, 13, 288, 3639, 727, 509, 5411, 1976, 67, 60, 19799, 3033, 273, 404, 16, 5411, 1976, 67, 60, 52, 19799, 3033, 273, 576, 16, 5411, 1976, 67, 4211, 273, 1059, 31, 3639, 514, 272, 273, 7739, 5576, 18, 10492, 12, 1968, 16, 374, 1769, 3639, 509, 3066, 273, 1976, 67, 60, 19799, 3033, 571, 1976, 67, 60, 52, 19799, 3033, 571, 1976, 67, 4211, 31, 3639, 309, 261, 1968, 18, 2469, 405, 404, 13, 288, 368, 326, 296, 4455, 11, 1237, 18, 225, 3858, 17, 7228, 5535, 18, 5411, 1645, 302, 273, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 21, 19226, 5411, 309, 261, 72, 2 ]
activateOnOpen.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.ACTIVATE_ON_OPEN));
activateOnOpen.setSelection(getPreferenceStore().getBoolean(TaskListPreferenceConstants.ACTIVATE_ON_OPEN));
public boolean performCancel() { taskDirectoryText.setText(TasksUiPlugin.getDefault().getDefaultDataDirectory()); notificationEnabledButton.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.NOTIFICATIONS_ENABLED)); backupScheduleTimeText.setText(getPreferenceStore().getString(TaskListPreferenceConstants.BACKUP_SCHEDULE)); backupFolderText.setText(TasksUiPlugin.getDefault().getBackupFolderPath()); reportEditor.setSelection(getPreferenceStore().getBoolean(TaskListPreferenceConstants.REPORT_OPEN_EDITOR)); reportInternal.setSelection(getPreferenceStore().getBoolean(TaskListPreferenceConstants.REPORT_OPEN_INTERNAL)); disableInternal.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.REPORT_DISABLE_INTERNAL)); activateOnOpen.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.ACTIVATE_ON_OPEN)); // synchQueries.setSelection(getPreferenceStore().getBoolean( // TaskListPreferenceConstants.REPOSITORY_SYNCH_ON_STARTUP)); enableBackgroundSynch.setSelection(getPreferenceStore().getBoolean( TaskListPreferenceConstants.REPOSITORY_SYNCH_SCHEDULE_ENABLED)); synchScheduleTime.setText(getMinutesString()); hourDayStart.setSelection(getPreferenceStore().getInt(TaskListPreferenceConstants.PLANNING_STARTHOUR)); hourDayEnd.setSelection(getPreferenceStore().getInt(TaskListPreferenceConstants.PLANNING_ENDHOUR)); return true; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d3273f667e4dfe3e39f55c9af7b959becbfa3dea/TasksPreferencePage.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/preferences/TasksPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 6691, 1435, 288, 202, 202, 4146, 2853, 1528, 18, 542, 1528, 12, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 1868, 751, 2853, 10663, 202, 202, 9927, 1526, 3616, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 9506, 202, 2174, 682, 9624, 2918, 18, 4400, 14865, 55, 67, 13560, 10019, 202, 202, 9572, 6061, 950, 1528, 18, 542, 1528, 12, 588, 9624, 2257, 7675, 588, 780, 12, 2174, 682, 9624, 2918, 18, 8720, 3079, 67, 55, 27395, 10019, 202, 202, 9572, 3899, 1528, 18, 542, 1528, 12, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 6248, 28785, 10663, 202, 202, 6006, 6946, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 2174, 682, 9624, 2918, 18, 22710, 67, 11437, 67, 13208, 10019, 202, 202, 6006, 3061, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 2174, 682, 9624, 2918, 18, 22710, 67, 11437, 67, 14005, 10019, 202, 202, 8394, 3061, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 9506, 202, 2174, 682, 9624, 2918, 18, 22710, 67, 13498, 2782, 67, 14005, 10019, 202, 202, 10014, 1398, 3678, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 9506, 202, 2174, 682, 9624, 2918, 18, 22271, 1777, 67, 673, 67, 11437, 10019, 202, 202, 759, 272, 2515, 9592, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 202, 202, 759, 3837, 682, 9624, 2918, 18, 862, 30986, 67, 7474, 50, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3073, 6691, 1435, 288, 202, 202, 4146, 2853, 1528, 18, 542, 1528, 12, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 1868, 751, 2853, 10663, 202, 202, 9927, 1526, 3616, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 5507, 12, 9506, 202, 2174, 682, 9624, 2918, 18, 4400, 14865, 55, 67, 13560, 10019, 202, 202, 9572, 6061, 950, 1528, 18, 542, 1528, 12, 588, 9624, 2257, 7675, 588, 780, 12, 2174, 682, 9624, 2918, 18, 8720, 3079, 67, 55, 27395, 10019, 202, 202, 9572, 3899, 1528, 18, 542, 1528, 12, 6685, 13943, 3773, 18, 588, 1868, 7675, 588, 6248, 28785, 10663, 202, 202, 6006, 6946, 18, 542, 6233, 12, 588, 9624, 2257, 7675, 588, 2 ]
public double min(double x, double y) { if ((x != x) || (y != y)) return Double.POSITIVE_INFINITY; return Math.min(x, y);
static public double min(Context cx, Scriptable thisObj, Object[] args, Function funObj) { double result = Double.POSITIVE_INFINITY; if (args.length == 0) return result; for (int i = 0; i < args.length; i++) { double d = ScriptRuntime.toNumber(args[i]); if (d != d) return d; result = Math.min(result, d); } return result;
public double min(double x, double y) { if ((x != x) || (y != y)) return Double.POSITIVE_INFINITY; return Math.min(x, y); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/002b3bb5f3273f8f40d7492a66a48eafe39e269d/NativeMath.java/buggy/src/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 1131, 12, 9056, 619, 16, 1645, 677, 13, 288, 3639, 309, 14015, 92, 480, 619, 13, 747, 261, 93, 480, 677, 3719, 5411, 327, 3698, 18, 7057, 16325, 67, 17716, 31, 3639, 327, 2361, 18, 1154, 12, 92, 16, 677, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1645, 1131, 12, 9056, 619, 16, 1645, 677, 13, 288, 3639, 309, 14015, 92, 480, 619, 13, 747, 261, 93, 480, 677, 3719, 5411, 327, 3698, 18, 7057, 16325, 67, 17716, 31, 3639, 327, 2361, 18, 1154, 12, 92, 16, 677, 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 ]
for (int i = 0, length = not.length; i < length; i++) {
for (int i = 0, length = not.length; !deActivate && i < length; i++) {
public void doAssertObject( final InternalFactHandle factHandle, final Object object, final PropagationContext propagationContext ) throws FactException { this.pushTokenOnStack( factHandle, new Token( this, factHandle, propagationContext ) ); // determine what classes it belongs to put it into the "table" on // class name key List tuplesToAssert = new LinkedList( ); final Object objectClass = LeapsBuilder.getLeapsClassType( object ); for (final Iterator tables = this.getFactTablesList( objectClass ).iterator( ); tables.hasNext( );) { tuplesToAssert.clear( ); final FactTable factTable = (FactTable) tables.next( ); // adding fact to container factTable.add( factHandle ); for (final Iterator tuples = factTable.getTuplesIterator( ); tuples.hasNext( );) { final LeapsTuple tuple = (LeapsTuple) tuples.next( ); final ColumnConstraints[] not = tuple.getLeapsRule( ) .getNotColumnConstraints( ); for (int i = 0, length = not.length; i < length; i++) { final ColumnConstraints constraint = not[i]; final Object columnClassObject = constraint.getClassType( ); if (!tuple.isBlockingNotFactHandle( i ) && ( ( objectClass.getClass( ) == Class.class && columnClassObject.getClass( ) == Class.class && ( (Class) columnClassObject ).isAssignableFrom( (Class) objectClass ) ) || ( objectClass.getClass( ) != Class.class && columnClassObject.getClass( ) != Class.class && columnClassObject.equals( objectClass ) ) ) && constraint.isAllowed( factHandle, tuple, this )) { tuple.setBlockingNotFactHandle( (LeapsFactHandle) factHandle, i ); ( (LeapsFactHandle) factHandle ).addNotTuple( tuple, i ); } } // check exists constraints and activate constraints final ColumnConstraints[] exists = tuple.getLeapsRule( ) .getExistsColumnConstraints( ); for (int i = 0, length = exists.length; i < length; i++) { final ColumnConstraints constraint = exists[i]; final Object columnClassObject = constraint.getClassType( ); if (!tuple.isExistsFactHandle( i ) && ( ( objectClass.getClass( ) == Class.class && columnClassObject.getClass( ) == Class.class && ( (Class) columnClassObject ).isAssignableFrom( (Class) objectClass ) ) || ( objectClass.getClass( ) != Class.class && columnClassObject.getClass( ) != Class.class && columnClassObject.equals( objectClass ) ) ) && constraint.isAllowed( factHandle, tuple, this )) { tuple.setExistsFactHandle( (LeapsFactHandle) factHandle, i ); ( (LeapsFactHandle) factHandle ).addExistsTuple( tuple, i ); } } // check and see if we need activate // activate only if tuple was not ready for it before if (tuple.isReadyForActivation( )) { // ready to activate tuple.setContext( new PropagationContextImpl( nextPropagationIdCounter( ), PropagationContext.ASSERTION, tuple.getLeapsRule( ) .getRule( ), null ) ); tuplesToAssert.add( tuple ); } } for (Iterator tuples = tuplesToAssert.iterator( ); tuples.hasNext( );) { LeapsTuple tuple = (LeapsTuple) tuples.next( ); factTable.removeTuple( tuple ); this.assertTuple( tuple ); } } // inspect all tuples for exists and not conditions and activate // deactivate agenda items Activation[] activations = this.agenda.getActivations( ); for (int k = 0; k < activations.length; k++) { boolean deActivate = false; LeapsTuple tuple = (LeapsTuple) activations[k].getTuple( ); final ColumnConstraints[] not = tuple.getLeapsRule( ).getNotColumnConstraints( ); for (int i = 0, length = not.length; i < length; i++) { final ColumnConstraints constraint = not[i]; final Object columnClassObject = constraint.getClassType( ); if (!tuple.isBlockingNotFactHandle( i ) && ( ( objectClass.getClass( ) == Class.class && columnClassObject.getClass( ) == Class.class && ( (Class) columnClassObject ).isAssignableFrom( (Class) objectClass ) ) || ( objectClass.getClass( ) != Class.class && columnClassObject.getClass( ) != Class.class && columnClassObject.equals( objectClass ) ) ) && constraint.isAllowed( factHandle, tuple, this )) { tuple.setBlockingNotFactHandle( (LeapsFactHandle) factHandle, i ); ( (LeapsFactHandle) factHandle ).addNotTuple( tuple, i ); if (!deActivate) { deActivate = true; } } } // check and see if we need de-activate if (deActivate) { if (tuple.getLeapsRule( ).getRule( ) instanceof Query) { // put query results to the working memory // location removeFromQueryResults( tuple.getLeapsRule( ).getRule( ).getName( ), tuple ); } else { // time to pull from agenda invalidateActivation( tuple ); } } } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/262c79407ddf88c74a119d85b4090bd0ac4b0cfd/LeapsWorkingMemory.java/clean/drools-core/src/main/java/org/drools/leaps/LeapsWorkingMemory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 8213, 921, 12, 727, 3186, 9766, 3259, 5410, 3259, 16, 27573, 727, 1033, 733, 16, 27573, 727, 1186, 9095, 367, 1042, 25686, 1042, 262, 5411, 1216, 29057, 503, 288, 3639, 333, 18, 6206, 1345, 1398, 2624, 12, 5410, 3259, 16, 394, 3155, 12, 333, 16, 5410, 3259, 16, 25686, 1042, 262, 11272, 3639, 368, 4199, 4121, 3318, 518, 11081, 358, 1378, 518, 1368, 326, 315, 2121, 6, 603, 3639, 368, 667, 508, 498, 3639, 987, 10384, 774, 8213, 273, 394, 10688, 12, 11272, 3639, 727, 1033, 23992, 273, 3519, 6679, 1263, 18, 588, 1682, 6679, 18328, 12, 733, 11272, 3639, 364, 261, 6385, 4498, 4606, 273, 333, 18, 588, 9766, 6905, 682, 12, 23992, 262, 18, 9838, 12, 11272, 4606, 18, 5332, 2134, 12, 11272, 13, 288, 5411, 10384, 774, 8213, 18, 8507, 12, 11272, 5411, 727, 29057, 1388, 5410, 1388, 273, 261, 9766, 1388, 13, 4606, 18, 4285, 12, 11272, 5411, 368, 6534, 5410, 358, 1478, 5411, 5410, 1388, 18, 1289, 12, 5410, 3259, 11272, 5411, 364, 261, 6385, 4498, 10384, 273, 5410, 1388, 18, 588, 25813, 3198, 12, 11272, 10384, 18, 5332, 2134, 12, 11272, 13, 288, 7734, 727, 3519, 6679, 9038, 3193, 273, 261, 1682, 6679, 9038, 13, 10384, 18, 4285, 12, 11272, 7734, 727, 4753, 4878, 8526, 486, 273, 3193, 18, 588, 1682, 6679, 2175, 12, 262, 4766, 5397, 263, 588, 1248, 1494, 4878, 12, 11272, 7734, 364, 261, 474, 277, 273, 374, 16, 769, 273, 486, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 8213, 921, 12, 727, 3186, 9766, 3259, 5410, 3259, 16, 27573, 727, 1033, 733, 16, 27573, 727, 1186, 9095, 367, 1042, 25686, 1042, 262, 5411, 1216, 29057, 503, 288, 3639, 333, 18, 6206, 1345, 1398, 2624, 12, 5410, 3259, 16, 394, 3155, 12, 333, 16, 5410, 3259, 16, 25686, 1042, 262, 11272, 3639, 368, 4199, 4121, 3318, 518, 11081, 358, 1378, 518, 1368, 326, 315, 2121, 6, 603, 3639, 368, 667, 508, 498, 3639, 987, 10384, 774, 8213, 273, 394, 10688, 12, 11272, 3639, 727, 1033, 23992, 273, 3519, 6679, 1263, 18, 588, 1682, 6679, 18328, 12, 733, 11272, 3639, 364, 261, 6385, 4498, 4606, 273, 333, 18, 588, 9766, 6905, 682, 12, 23992, 262, 2 ]
if(userinfo != null) {
if (userinfo != null) {
public Integer getCurrentProject(String sessionId) { Hashtable userinfo = null; Integer currentProject = new Integer(I_CmsConstants.C_PROJECT_ONLINE_ID); userinfo = getUser(sessionId); // this user does exist, so get his current project if(userinfo != null) { currentProject = (Integer)userinfo.get(I_CmsConstants.C_SESSION_PROJECT); if(currentProject == null) { currentProject = new Integer(I_CmsConstants.C_PROJECT_ONLINE_ID); } } return currentProject; }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/ffc32b76c29173f5c5a234dd285591436e5529e0/CmsCoreSession.java/clean/src/com/opencms/core/CmsCoreSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 5175, 4109, 12, 780, 10338, 13, 288, 3639, 18559, 18297, 273, 446, 31, 3639, 2144, 783, 4109, 273, 394, 2144, 12, 45, 67, 4747, 2918, 18, 39, 67, 17147, 67, 673, 5997, 67, 734, 1769, 3639, 18297, 273, 4735, 12, 3184, 548, 1769, 3639, 368, 333, 729, 1552, 1005, 16, 1427, 336, 18423, 783, 1984, 3639, 309, 261, 31271, 480, 446, 13, 288, 5411, 783, 4109, 273, 261, 4522, 13, 31271, 18, 588, 12, 45, 67, 4747, 2918, 18, 39, 67, 7042, 67, 17147, 1769, 5411, 309, 12, 2972, 4109, 422, 446, 13, 288, 7734, 783, 4109, 273, 394, 2144, 12, 45, 67, 4747, 2918, 18, 39, 67, 17147, 67, 673, 5997, 67, 734, 1769, 5411, 289, 3639, 289, 3639, 327, 783, 4109, 31, 565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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 5175, 4109, 12, 780, 10338, 13, 288, 3639, 18559, 18297, 273, 446, 31, 3639, 2144, 783, 4109, 273, 394, 2144, 12, 45, 67, 4747, 2918, 18, 39, 67, 17147, 67, 673, 5997, 67, 734, 1769, 3639, 18297, 273, 4735, 12, 3184, 548, 1769, 3639, 368, 333, 729, 1552, 1005, 16, 1427, 336, 18423, 783, 1984, 3639, 309, 261, 31271, 480, 446, 13, 288, 5411, 783, 4109, 273, 261, 4522, 13, 31271, 18, 588, 12, 45, 67, 4747, 2918, 18, 39, 67, 7042, 67, 17147, 1769, 5411, 309, 12, 2972, 4109, 422, 446, 13, 288, 7734, 783, 4109, 273, 394, 2144, 12, 45, 67, 4747, 2918, 18, 39, 67, 17147, 67, 673, 5997, 67, 734, 1769, 5411, 2 ]
return false;
return ((ICPPFunction)getTemplateDefinition()).isExtern();
public boolean isExtern() throws DOMException { // TODO Auto-generated method stub return false; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ef268895ccff277140a6a391744014f9c270eb09/CPPDeferredFunctionInstance.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPDeferredFunctionInstance.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 29764, 1435, 1216, 4703, 503, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 29764, 1435, 1216, 4703, 503, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new FileResource(this, file.path(), file);
return new FileResource(this, file.getPath(), file);
Resource getResource(String name) { try { File file = new File(dir, name).getCanonicalFile(); if (file.exists() && !file.isDirectory()) return new FileResource(this, file.path(), file); } catch (IOException e) { // Fall through... } return null; }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/1eed8c0224f9c58b02d5457b256780af30beddcc/URLClassLoader.java/clean/libjava/java/net/URLClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2591, 5070, 12, 780, 508, 13, 565, 288, 1377, 775, 282, 202, 95, 3196, 225, 1387, 585, 273, 394, 1387, 12, 1214, 16, 508, 2934, 588, 15512, 812, 5621, 3196, 225, 309, 261, 768, 18, 1808, 1435, 597, 401, 768, 18, 291, 2853, 10756, 3196, 565, 327, 394, 1387, 1420, 12, 2211, 16, 585, 18, 588, 743, 9334, 585, 1769, 225, 202, 97, 1377, 1044, 261, 14106, 425, 13, 225, 202, 95, 3196, 225, 368, 23647, 3059, 2777, 225, 202, 97, 1377, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2591, 5070, 12, 780, 508, 13, 565, 288, 1377, 775, 282, 202, 95, 3196, 225, 1387, 585, 273, 394, 1387, 12, 1214, 16, 508, 2934, 588, 15512, 812, 5621, 3196, 225, 309, 261, 768, 18, 1808, 1435, 597, 401, 768, 18, 291, 2853, 10756, 3196, 565, 327, 394, 1387, 1420, 12, 2211, 16, 585, 18, 588, 743, 9334, 585, 1769, 225, 202, 97, 1377, 1044, 261, 14106, 425, 13, 225, 202, 95, 3196, 225, 368, 23647, 3059, 2777, 225, 202, 97, 1377, 327, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int halcount=getHalogenCount(ac, atomi); if ( halcount== 2) { xlogP += 0.137; }else if (halcount==3){ xlogP += (3*0.137); }else if (halcount==4){ xlogP += (6*0.137); }
int halcount=getHalogenCount(ac, atomi); if ( halcount== 2) { xlogP += 0.137; }else if (halcount==3){ xlogP += (3*0.137); }else if (halcount==4){ xlogP += (6*0.137); }
public DescriptorValue calculate(IAtomContainer ac) throws CDKException { IRingSet rs = (IRingSet) (new AllRingsFinder()).findAllRings(ac); IRingSet atomRingSet=null; if (checkAromaticity) { HueckelAromaticityDetector.detectAromaticity(ac, rs, true); } double xlogP = 0;// SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance()); String symbol = ""; int bondCount = 0; int atomCount = ac.getAtomCount(); int hsCount = 0; double xlogPOld=0; double maxBondOrder = 0; Vector hBondAcceptors=new Vector(); Vector hBondDonors=new Vector(); int checkAminoAcid=1;//if 0 no check, if >1 check IAtom atomi = null; for (int i = 0; i < atomCount; i++) { atomi = (IAtom)ac.getAtom(i); // Problem fused ring systems atomRingSet= rs.getRings(atomi); atomi.setProperty("IS_IN_AROMATIC_RING", new Boolean(false)); atomi.setProperty(CDKConstants.PART_OF_RING_OF_SIZE, new Integer(0)); //System.out.print("atomRingSet.size "+atomRingSet.size()); if (atomRingSet.getAtomContainerCount()>0){ if (atomRingSet.getAtomContainerCount()>1){ ssrf=new SSSRFinder(RingSetManipulator.getAllInOneContainer(atomRingSet)); atomRingSet=ssrf.findEssentialRings(); //System.out.println(" SSSRatomRingSet.size "+atomRingSet.size()); } for (int j=0;j<atomRingSet.getAtomContainerCount();j++){ if (j==0){ atomi.setProperty(CDKConstants.PART_OF_RING_OF_SIZE, new Integer(((IRing)atomRingSet.getAtomContainer(j)).getRingSize())); } if (((IRing)atomRingSet.getAtomContainer(j)).contains(atomi)){ if (((IRing)atomRingSet.getAtomContainer(j)).getRingSize()>=6 && atomi.getFlag(CDKConstants.ISAROMATIC)){ atomi.setProperty("IS_IN_AROMATIC_RING", new Boolean(true)); } if (((IRing)atomRingSet.getAtomContainer(j)).getRingSize()<((Integer)atomi.getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()){ atomi.setProperty(CDKConstants.PART_OF_RING_OF_SIZE, new Integer(((IRing)atomRingSet.getAtomContainer(j)).getRingSize())); } } } }//else{ //System.out.println(); //} } for (int i = 0; i < atomCount; i++) { atomi = (IAtom)ac.getAtom(i); if (xlogPOld==xlogP & i>0 & !symbol.equals("H")){ //System.out.println("\nXlogPAssignmentError: Could not assign atom number:"+(i-1)); } xlogPOld=xlogP; symbol = atomi.getSymbol(); bondCount = ac.getConnectedBondsCount(atomi); hsCount = getHydrogenCount(ac, atomi); maxBondOrder = ac.getMaximumBondOrder(atomi); if (!symbol.equals("H")){ //System.out.print("i:"+i+" Symbol:"+symbol+" "+" bondC:"+bondCount+" Charge:"+atoms[i].getFormalCharge()+" hsC:"+hsCount+" maxBO:"+maxBondOrder+" Arom:"+atoms[i].getFlag(CDKConstants.ISAROMATIC)+" AtomTypeX:"+getAtomTypeXCount(ac, atoms[i])+" PiSys:"+getPiSystemsCount(ac, atoms[i])+" C=:"+getDoubleBondedCarbonsCount(ac, atoms[i])+" AromCc:"+getAromaticCarbonsCount(ac,atoms[i])+" RS:"+((Integer)atoms[i].getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()+"\t"); } if (symbol.equals("C")) { if (bondCount == 2) { // C sp if (hsCount >= 1) { xlogP += 0.209; //System.out.println("XLOGP: 38 0.209"); } else { if (maxBondOrder == 2.0) { xlogP += 2.073; //System.out.println("XLOGP: 40 2.037"); } else if (maxBondOrder == 3.0) { xlogP += 0.33; //System.out.println("XLOGP: 39 0.33"); } } } if (bondCount == 3) { // C sp2 if (((Boolean)atomi.getProperty("IS_IN_AROMATIC_RING")).booleanValue()) { if (getAromaticCarbonsCount(ac, atomi) >= 2 && getAromaticNitrogensCount(ac,atomi)==0) { if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0 ) { xlogP += 0.296; //System.out.println("XLOGP: 34 0.296"); } else { xlogP -= 0.151; //System.out.println("XLOGP: 35 C.ar.x -0.151"); } } else { xlogP += 0.337; //System.out.println("XLOGP: 32 0.337"); } //} else if (getAromaticCarbonsCount(ac, atoms[i]) < 2 && getAromaticNitrogensCount(ac, atoms[i]) > 1) { } else if (getAromaticNitrogensCount(ac, atomi) >= 1) { if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.174; //System.out.println("XLOGP: 36 C.ar.(X) 0.174"); } else { xlogP += 0.366; //System.out.println("XLOGP: 37 0.366"); } } else if (getHydrogenCount(ac, atomi) == 1) { xlogP += 0.126; //System.out.println("XLOGP: 33 0.126"); } } //NOT aromatic, but sp2 } else { if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) <= 1) { xlogP += 0.05; //System.out.println("XLOGP: 26 0.05"); } else { xlogP += 0.013; //System.out.println("XLOGP: 27 0.013"); } } else if (getAtomTypeXCount(ac, atomi) == 1) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.03; //System.out.println("XLOGP: 28 -0.03"); } else { xlogP -= 0.027; //System.out.println("XLOGP: 29 -0.027"); } } else if (getAtomTypeXCount(ac, atomi) == 2) { if (getPiSystemsCount(ac, atomi) ==0) { xlogP += 0.005; //System.out.println("XLOGP: 30 0.005"); } else { xlogP -= 0.315; //System.out.println("XLOGP: 31 -0.315"); } } } if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.466; //System.out.println("XLOGP: 22 0.466"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.136; //System.out.println("XLOGP: 23 0.136"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.001; //System.out.println("XLOGP: 24 0.001"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.31; //System.out.println("XLOGP: 25 -0.31"); } } } if (hsCount == 2) { xlogP += 0.42; //System.out.println("XLOGP: 21 0.42"); } if (getIfCarbonIsHydrophobic(ac, atomi)) { xlogP += 0.211; //System.out.println("XLOGP: Hydrophobic Carbon 0.211"); } }//sp2 NOT aromatic } if (bondCount == 4) { // C sp3 if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.006; //System.out.println("XLOGP: 16 -0.006"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.57; //System.out.println("XLOGP: 17 -0.57"); } if (getPiSystemsCount(ac, atomi) >= 2) { xlogP -= 0.317; //System.out.println("XLOGP: 18 -0.317"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.316; //System.out.println("XLOGP: 19 -0.316"); } else { xlogP -= 0.723; //System.out.println("XLOGP: 20 -0.723"); } } } if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.127; //System.out.println("XLOGP: 10 0.127"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.243; //System.out.println("XLOGP: 11 -0.243"); } if (getPiSystemsCount(ac, atomi) >= 2) { xlogP -= 0.499; //System.out.println("XLOGP: 12 -0.499"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.205; //System.out.println("XLOGP: 13 -0.205"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.305; //System.out.println("XLOGP: 14 -0.305"); } if (getPiSystemsCount(ac, atomi) >= 2) { xlogP -= 0.709; //System.out.println("XLOGP: 15 -0.709"); } } } if (hsCount == 2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.358; //System.out.println("XLOGP: 4 0.358"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.008; //System.out.println("XLOGP: 5 -0.008"); } if (getPiSystemsCount(ac, atomi) == 2) { xlogP -= 0.185; //System.out.println("XLOGP: 6 -0.185"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.137; //System.out.println("XLOGP: 7 -0.137"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.303; //System.out.println("XLOGP: 8 -0.303"); } if (getPiSystemsCount(ac, atomi) == 2) { xlogP -= 0.815; //System.out.println("XLOGP: 9 -0.815"); } } } if (hsCount > 2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.528; //System.out.println("XLOGP: 1 0.528"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.267; //System.out.println("XLOGP: 2 0.267"); } }else{ //if (getNitrogenOrOxygenCount(ac, atomi) == 1) { xlogP -= 0.032; //System.out.println("XLOGP: 3 -0.032"); } } if (getIfCarbonIsHydrophobic(ac, atomi)) { xlogP += 0.211; //System.out.println("XLOGP: Hydrophobic Carbon 0.211"); } }//csp3 }//C if (symbol.equals("N")) { //NO2 if (ac.getBondOrderSum(atomi) >= 3.0 && getOxygenCount(ac, atomi) >= 2 && maxBondOrder==2) { xlogP += 1.178; //System.out.println("XLOGP: 66 1.178"); } else { if (getPresenceOfCarbonil(ac, atomi)>=1) { // amidic nitrogen if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.078; //System.out.println("XLOGP: 57 0.078"); } if (getAtomTypeXCount(ac, atomi) == 1) { xlogP -= 0.118; //System.out.println("XLOGP: 58 -0.118"); } } if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP -= 0.096; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 55 -0.096"); } else { xlogP -= 0.044; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 56 -0.044"); } } if (hsCount == 2) { xlogP -= 0.646; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 54 -0.646"); } } else {//NO amidic nitrogen if (bondCount == 1) { // -C#N if (getCarbonsCount(ac, atomi) == 1) { xlogP -= 0.566; //System.out.println("XLOGP: 68 -0.566"); } }else if (bondCount == 2) { // N sp2 if (((Boolean)atomi.getProperty("IS_IN_AROMATIC_RING")).booleanValue()) { xlogP -= 0.493; //System.out.println("XLOGP: 67 -0.493"); if (checkAminoAcid!=0){ checkAminoAcid+=1;} } else { if (getDoubleBondedCarbonsCount(ac, atomi) == 0) { if (getDoubleBondedNitrogenCount(ac, atomi) == 0) { if (getDoubleBondedOxygenCount(ac, atomi) == 1) { xlogP += 0.427; //System.out.println("XLOGP: 65 0.427"); } } if (getDoubleBondedNitrogenCount(ac, atomi) == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.536; //System.out.println("XLOGP: 63 0.536"); } if (getAtomTypeXCount(ac, atomi) == 1) { xlogP -= 0.597; //System.out.println("XLOGP: 64 -0.597"); } } }else if (getDoubleBondedCarbonsCount(ac, atomi) == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.007; //System.out.println("XLOGP: 59 0.007"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.275; //System.out.println("XLOGP: 60 -0.275"); } }else if (getAtomTypeXCount(ac, atomi) == 1) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.366; //System.out.println("XLOGP: 61 0.366"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.251; //System.out.println("XLOGP: 62 0.251"); } } } } }else if (bondCount == 3) { // N sp3 if (hsCount == 0) { //if (rs.contains(atomi)&&ringSize>3) { if (atomi.getFlag(CDKConstants.ISAROMATIC)|| (rs.contains(atomi)&& ((Integer)atomi.getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()>3 && getPiSystemsCount(ac,atomi)>=1)){ if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.881; //System.out.println("XLOGP: 51 0.881"); } else { xlogP -= 0.01; //System.out.println("XLOGP: 53 -0.01"); } } else { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.159; //System.out.println("XLOGP: 49 0.159"); } if (getPiSystemsCount(ac, atomi) > 0) { xlogP += 0.761; //System.out.println("XLOGP: 50 0.761"); } } else { xlogP -= 0.239; //System.out.println("XLOGP: 52 -0.239"); } } }else if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) {// like pyrrole if (atomi.getFlag(CDKConstants.ISAROMATIC)|| (rs.contains(atomi)&& ((Integer)atomi.getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()>3 && getPiSystemsCount(ac,atomi)>=2)) { xlogP += 0.545; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 46 0.545"); } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.112; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 44 -0.112"); } if (getPiSystemsCount(ac, atomi) > 0) { xlogP += 0.166; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 45 0.166"); } } } else { if (rs.contains(atomi)) { xlogP += 0.153; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 48 0.153"); } else { xlogP += 0.324; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 47 0.324"); } } }else if (hsCount == 2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.534; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 41 -0.534"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.329; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 42 -0.329"); } if (checkAminoAcid!=0){ checkAminoAcid+=1;} } else { xlogP -= 1.082; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 43 -1.082"); } } } } } } if (symbol.equals("O")) { if (bondCount == 1 && maxBondOrder==2.0) { xlogP -= 0.399; if (!getPresenceOfHydroxy(ac,atomi)){ hBondAcceptors.add(new Integer(i)); } //System.out.println("XLOGP: 75 A=O -0.399"); }else if(bondCount == 1 && hsCount==0 && (getPresenceOfNitro(ac,atomi) || getPresenceOfCarbonil(ac,atomi)==1) || getPresenceOfSulfat(ac,atomi)){ xlogP -= 0.399; if (!getPresenceOfHydroxy(ac,atomi)){ hBondAcceptors.add(new Integer(i)); } //System.out.println("XLOGP: 75 A=O -0.399"); }else if (bondCount >= 1) { if (hsCount == 0 && bondCount==2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.084; //System.out.println("XLOGP: 72 R-O-R 0.084"); } if (getPiSystemsCount(ac, atomi) > 0) { xlogP += 0.435; //System.out.println("XLOGP: 73 R-O-R.1 0.435"); } }else if (getAtomTypeXCount(ac, atomi) == 1) { xlogP += 0.105; //System.out.println("XLOGP: 74 R-O-X 0.105"); } }else{ if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.467; hBondDonors.add(new Integer(i)); hBondAcceptors.add(new Integer(i)); //System.out.println("XLOGP: 69 R-OH -0.467"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.082; hBondDonors.add(new Integer(i)); hBondAcceptors.add(new Integer(i)); //System.out.println("XLOGP: 70 R-OH.1 0.082"); } }else if (getAtomTypeXCount(ac, atomi) == 1) { xlogP -= 0.522; hBondDonors.add(new Integer(i)); hBondAcceptors.add(new Integer(i)); //System.out.println("XLOGP: 71 X-OH -0.522"); } } } } if (symbol.equals("S")) { if ((bondCount == 1 && maxBondOrder==2) || (bondCount == 1 && atomi.getFormalCharge()==-1)) { xlogP -= 0.148; //System.out.println("XLOGP: 78 A=S -0.148"); }else if (bondCount == 2) { if (hsCount == 0) { xlogP += 0.255; //System.out.println("XLOGP: 77 A-S-A 0.255"); } else { xlogP += 0.419; //System.out.println("XLOGP: 76 A-SH 0.419"); } }else if (bondCount == 3) { if (getOxygenCount(ac, atomi) >= 1) { xlogP -= 1.375; //System.out.println("XLOGP: 79 A-SO-A -1.375"); } }else if (bondCount == 4) { if (getDoubleBondedOxygenCount(ac, atomi) >= 2) { xlogP -= 0.168; //System.out.println("XLOGP: 80 A-SO2-A -0.168"); } } } if (symbol.equals("P")) { if (getDoubleBondedSulfurCount(ac, atomi) >= 1 && bondCount>=4) { xlogP += 1.253; //System.out.println("XLOGP: 82 S=PA3 1.253"); }else if (getOxygenCount(ac,atomi)>=1 || getDoubleBondedOxygenCount(ac, atomi) == 1 && bondCount>=4) { xlogP -= 0.447; //System.out.println("XLOGP: 81 O=PA3 -0.447"); } } if (symbol.equals("F")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.375; //System.out.println("XLOGP: 83 F.0 0.512"); }else if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.202; //System.out.println("XLOGP: 84 F.1 0.202"); } } if (symbol.equals("Cl")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.512; //System.out.println("XLOGP: 85 Cl.0 0.512"); }else if (getPiSystemsCount(ac, atomi) >= 1) { xlogP += 0.663; //System.out.println("XLOGP: 86 Cl.1 0.663"); } } if (symbol.equals("Br")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.85; //System.out.println("XLOGP: 87 Br.0 0.85"); }else if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.839; //System.out.println("XLOGP: 88 Br.1 0.839"); } } if (symbol.equals("I")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 1.05; //System.out.println("XLOGP: 89 I.0 1.05"); }else if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 1.109; //System.out.println("XLOGP: 90 I.1 1.109"); } }// Halogen pair 1-3 int halcount=getHalogenCount(ac, atomi); if ( halcount== 2) { xlogP += 0.137; //System.out.println("XLOGP: Halogen 1-3 pair 0.137"); }else if (halcount==3){ xlogP += (3*0.137); //System.out.println("XLOGP: Halogen 1-3 pair 0.411"); }else if (halcount==4){ xlogP += (6*0.137); //System.out.println("XLOGP: Halogen 1-3 pair 1.902"); }// sp2 Oxygen 1-5 pair if (getPresenceOfCarbonil(ac, atomi) == 2) {// sp2 oxygen 1-5 pair if(!rs.contains(atomi)) { xlogP += 0.580; //System.out.println("XLOGP: sp2 Oxygen 1-5 pair 0.580"); } } } //System.out.println("XLOGP: Before Correction:"+xlogP); List path=null; SimpleGraph moleculeGraph=null; int [][] pairCheck=null;// //System.out.println("Acceptors:"+hBondAcceptors.size()+" Donors:"+hBondDonors.size()); if (hBondAcceptors.size()>0 && hBondDonors.size()>0){ moleculeGraph=MoleculeGraphs.getMoleculeGraph(ac); pairCheck=initializeHydrogenPairCheck(new int[atomCount][atomCount]); } for (int i=0; i<hBondAcceptors.size();i++){ for (int j=0; j<hBondDonors.size();j++){ if (checkRingLink(rs,ac,ac.getAtom(((Integer)hBondAcceptors.get(i)).intValue())) || checkRingLink(rs,ac,ac.getAtom(((Integer)hBondDonors.get(j)).intValue()))){ path=BFSShortestPath.findPathBetween(moleculeGraph,ac.getAtom(((Integer)hBondAcceptors.get(i)).intValue()), ac.getAtom(((Integer)hBondDonors.get(j)).intValue()));// //System.out.println(" Acc:"+checkRingLink(rs,ac,atoms[((Integer)hBondAcceptors.get(i)).intValue()])// +" S:"+atoms[((Integer)hBondAcceptors.get(i)).intValue()].getSymbol()// +" Nr:"+((Integer)hBondAcceptors.get(i)).intValue()// +" Don:"+checkRingLink(rs,ac,atoms[((Integer)hBondDonors.get(j)).intValue()])// +" S:"+atoms[((Integer)hBondDonors.get(j)).intValue()].getSymbol()// +" Nr:"+((Integer)hBondDonors.get(j)).intValue()// +" i:"+i+" j:"+j+" path:"+path.size()); if (checkRingLink(rs,ac,ac.getAtom(((Integer)hBondAcceptors.get(i)).intValue())) && checkRingLink(rs,ac,ac.getAtom(((Integer)hBondDonors.get(j)).intValue()))){ if (path.size()==3 && pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]==0){ xlogP += 0.429; pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]=1; pairCheck[((Integer)hBondDonors.get(j)).intValue()][((Integer)hBondAcceptors.get(i)).intValue()]=1; //System.out.println("XLOGP: Internal HBonds 1-4 0.429"); } }else{ if (path.size()==4 && pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]==0){ xlogP += 0.429; pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]=1; pairCheck[((Integer)hBondDonors.get(j)).intValue()][((Integer)hBondAcceptors.get(i)).intValue()]=1; //System.out.println("XLOGP: Internal HBonds 1-5 0.429"); } } } } } if (checkAminoAcid>1){// alpha amino acid QueryAtomContainer aminoAcid = QueryAtomContainerCreator.createBasicQueryContainer( createAminoAcid(ac.getBuilder()) ); IBond [] bonds=aminoAcid.getBonds(); IAtom bondAtom0=null; IAtom bondAtom1=null; for (int i=0;i<bonds.length;i++){ bondAtom0=bonds[i].getAtom(0); bondAtom1=bonds[i].getAtom(1); if ((bondAtom0.getSymbol().equals("C") && bondAtom1.getSymbol().equals("N")) || (bondAtom0.getSymbol().equals("N") && bondAtom1.getSymbol().equals("C"))&& bonds[i].getOrder()==1){ aminoAcid.removeBond(bondAtom0,bondAtom1); aminoAcid.addBond(new AnyOrderQueryBond((IQueryAtom)bondAtom0,(IQueryAtom)bondAtom1,1)); break; } } //AtomContainer aminoacid = sp.parseSmiles("NCC(=O)O"); if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, aminoAcid)) { List list = UniversalIsomorphismTester.getSubgraphAtomsMap((org.openscience.cdk.AtomContainer)ac, aminoAcid); RMap map = null; IAtom atom1=null; for (int j = 0; j < list.size(); j++){ map = (RMap) list.get(j); atom1 = ac.getAtom(map.getId1()); if (atom1.getSymbol().equals("O")&& ac.getMaximumBondOrder(atom1)==1){ if (ac.getConnectedBondsCount(atom1)==2 && getHydrogenCount(ac, atom1)==0){ }else{ xlogP -= 2.166; //System.out.println("XLOGP: alpha amino acid -2.166"); break; } } } } } IAtomContainer paba = createPaba(ac.getBuilder()); // p-amino sulphonic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, paba)) { xlogP -= 0.501; //System.out.println("XLOGP: p-amino sulphonic acid -0.501"); } // salicylic acid if (salicylFlag){ IAtomContainer salicilic = createSalicylicAcid(ac.getBuilder()); if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, salicilic)) { xlogP += 0.554; //System.out.println("XLOGP: salicylic acid 0.554"); } } // ortho oxygen pair //AtomContainer orthopair = sp.parseSmiles("OCCO"); QueryAtomContainer orthopair=new QueryAtomContainer(); AromaticAtom atom1=new AromaticAtom(); atom1.setSymbol("C"); AromaticAtom atom2=new AromaticAtom(); atom2.setSymbol("C"); SymbolQueryAtom atom3=new SymbolQueryAtom(); atom3.setSymbol("O"); SymbolQueryAtom atom4=new SymbolQueryAtom(); atom4.setSymbol("O"); orthopair.addBond(new AromaticQueryBond(atom1,atom2,1.5)); orthopair.addBond(new OrderQueryBond(atom1,atom3,1)); orthopair.addBond(new OrderQueryBond(atom2,atom4,1)); if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, orthopair)) { xlogP -= 0.268; //System.out.println("XLOGP: Ortho oxygen pair -0.268"); } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(xlogP), new String[] {"XLogP"}); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/76f1c3db1c889a4fd7bd9dd2e93ee1e9a39ec301/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/descriptors/molecular/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 45, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 7937, 310, 694, 3597, 273, 261, 7937, 310, 694, 13, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 7937, 310, 694, 3179, 10369, 694, 33, 2011, 31, 202, 202, 430, 261, 1893, 37, 27468, 560, 13, 288, 1082, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 97, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 759, 202, 202, 9552, 1449, 2678, 1694, 273, 394, 9425, 1449, 2678, 12, 1868, 20200, 921, 1263, 18, 588, 1442, 10663, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 3179, 1380, 273, 1721, 18, 588, 3641, 1380, 5621, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 619, 1330, 2419, 1236, 33, 20, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 31, 202, 202, 5018, 366, 9807, 5933, 1383, 33, 2704, 5589, 5621, 202, 202, 5018, 366, 9807, 22293, 1383, 33, 2704, 5589, 5621, 202, 202, 474, 866, 37, 19544, 9988, 350, 33, 21, 31, 759, 430, 374, 1158, 866, 16, 309, 405, 21, 866, 202, 202, 45, 3641, 3179, 77, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3179, 1380, 31, 277, 27245, 288, 1082, 202, 7466, 77, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 45, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 7937, 310, 694, 3597, 273, 261, 7937, 310, 694, 13, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 7937, 310, 694, 3179, 10369, 694, 33, 2011, 31, 202, 202, 430, 261, 1893, 37, 27468, 560, 13, 288, 1082, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 97, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 759, 202, 202, 9552, 1449, 2678, 1694, 273, 394, 9425, 1449, 2678, 12, 1868, 20200, 921, 1263, 18, 588, 1442, 10663, 202, 2 ]
configurePacingInterval();
configureMaxBatchSize();
public void actionPropertySetChanged(PropertySet source) throws UnsupportedQoS { configurePacingInterval(); }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/e4871f5bcac14ea12a2f8421b413d20704bfaf16/SequenceProxyPushSupplierImpl.java/buggy/src/org/jacorb/notification/servant/SequenceProxyPushSupplierImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1301, 1396, 694, 5033, 12, 1396, 694, 1084, 13, 1216, 7221, 53, 31605, 5411, 288, 7734, 5068, 2747, 23304, 5621, 5411, 289, 2, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 1301, 1396, 694, 5033, 12, 1396, 694, 1084, 13, 1216, 7221, 53, 31605, 5411, 288, 7734, 5068, 2747, 23304, 5621, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jj_la1[17] = jj_gen;
jj_la1[19] = jj_gen;
final public void IntegerRange() throws ParseException { /*@bgen(jjtree) IntegerRange */ ASTIntegerRange jjtn000 = new ASTIntegerRange(this, JJTINTEGERRANGE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(LBRACKET); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WHITESPACE: jj_consume_token(WHITESPACE); break; default: jj_la1[12] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: case LCURLY: Reference(); break; case NUMBER_LITERAL: NumberLiteral(); break; default: jj_la1[13] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WHITESPACE: jj_consume_token(WHITESPACE); break; default: jj_la1[14] = jj_gen; ; } jj_consume_token(DOUBLEDOT); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WHITESPACE: jj_consume_token(WHITESPACE); break; default: jj_la1[15] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IDENTIFIER: case LCURLY: Reference(); break; case NUMBER_LITERAL: NumberLiteral(); break; default: jj_la1[16] = jj_gen; jj_consume_token(-1); throw new ParseException(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WHITESPACE: jj_consume_token(WHITESPACE); break; default: jj_la1[17] = jj_gen; ; } jj_consume_token(RBRACKET); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/e128e4125429834f73621c8aa67036ca877e731e/Parser.java/buggy/src/java/org/apache/velocity/runtime/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 2144, 2655, 1435, 1216, 10616, 288, 15604, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 2144, 2655, 1195, 225, 9183, 4522, 2655, 10684, 5088, 3784, 273, 394, 9183, 4522, 2655, 12, 2211, 16, 804, 46, 56, 14217, 15928, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 24353, 6616, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 20767, 1769, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 2138, 65, 273, 10684, 67, 4507, 31, 3639, 274, 1377, 289, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 26765, 30, 1377, 648, 511, 26314, 30, 3639, 6268, 5621, 3639, 898, 31, 1377, 648, 15532, 67, 23225, 30, 3639, 3588, 6177, 5621, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 3437, 65, 273, 10684, 67, 4507, 31, 3639, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 3639, 604, 394, 10616, 5621, 1377, 289, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 2144, 2655, 1435, 1216, 10616, 288, 15604, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 2144, 2655, 1195, 225, 9183, 4522, 2655, 10684, 5088, 3784, 273, 394, 9183, 4522, 2655, 12, 2211, 16, 804, 46, 56, 14217, 15928, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 48, 21217, 1769, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 24353, 6616, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 20767, 1769, 3639, 898, 2 ]
public ConsoleOutputStream getOutputStream() {
public ConsoleOutputStream getOutputStream() throws CoreException {
public ConsoleOutputStream getOutputStream() { return fConsoleManager.getConsole(project).getOutputStream(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2989ee45370f5cde2cd03c5f3f5cca843930de8c/CBuildConsole.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/buildconsole/CBuildConsole.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9657, 4632, 22553, 1435, 288, 202, 202, 2463, 284, 10215, 1318, 18, 588, 10215, 12, 4406, 2934, 588, 4632, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 9657, 4632, 22553, 1435, 288, 202, 202, 2463, 284, 10215, 1318, 18, 588, 10215, 12, 4406, 2934, 588, 4632, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean hasNext() { return iter.hasNext(); } public VertexType next() { return iter.next().getSource(); } public void remove() { iter.remove(); }
public boolean hasNext() { return iter.hasNext(); } public VertexType next() { return iter.next().getSource(); } public void remove() { iter.remove(); }
public Iterator<VertexType> predecessorIterator(final VertexType target) { return new Iterator<VertexType>() { private Iterator<EdgeType> iter = incomingEdgeIterator(target); public boolean hasNext() { return iter.hasNext(); } public VertexType next() { return iter.next().getSource(); } public void remove() { iter.remove(); } }; }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/4748a5a9b76f3dd763ee6bc7755c932a711bd6a6/AbstractGraph.java/clean/findbugs/src/java/edu/umd/cs/findbugs/graph/AbstractGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4498, 32, 6475, 559, 34, 24282, 3198, 12, 6385, 12541, 559, 1018, 13, 288, 202, 202, 2463, 394, 4498, 32, 6475, 559, 34, 1435, 288, 1082, 202, 1152, 4498, 32, 6098, 559, 34, 1400, 273, 6935, 6098, 3198, 12, 3299, 1769, 1082, 202, 482, 1250, 4564, 1435, 288, 327, 1400, 18, 5332, 2134, 5621, 289, 1082, 202, 482, 12541, 559, 1024, 1435, 288, 327, 1400, 18, 4285, 7675, 588, 1830, 5621, 289, 1082, 202, 482, 918, 1206, 1435, 288, 1400, 18, 4479, 5621, 289, 202, 202, 20451, 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, 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, 32, 6475, 559, 34, 1435, 288, 1082, 202, 1152, 4498, 32, 6098, 559, 34, 1400, 273, 6935, 6098, 3198, 12, 3299, 1769, 1082, 202, 482, 1250, 4564, 1435, 288, 327, 1400, 18, 5332, 2134, 5621, 289, 1082, 202, 482, 12541, 559, 1024, 1435, 288, 327, 1400, 18, 4285, 7675, 588, 1830, 5621, 289, 1082, 202, 482, 918, 1206, 1435, 288, 1400, 18, 4479, 5621, 289, 202, 202, 20451, 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 ]
MM_PP_DISCOVERY_PROFILE_ID, false);
profileInstance.getProfile().getId(), false);
protected void calculateEntriesDynamically(final IProject project, SCProfileInstance profileInstance, final IScannerInfoCollector collector) { // TODO Get the provider from the toolchain specification final IScannerConfigBuilderInfo2 buildInfo = ScannerConfigProfileManager. createScannerConfigBuildInfo2(MakeCorePlugin.getDefault().getPluginPreferences(), MM_PP_DISCOVERY_PROFILE_ID, false); final IExternalScannerInfoProvider esiProvider = profileInstance.createExternalScannerInfoProvider(SPECS_FILE_PROVIDER); // Set the arguments for the provider ISafeRunnable runnable = new ISafeRunnable() { public void run() { IProgressMonitor monitor = new NullProgressMonitor(); esiProvider.invokeProvider(monitor, project, SPECS_FILE_PROVIDER, buildInfo, collector); } public void handleException(Throwable exception) { if (exception instanceof OperationCanceledException) { throw (OperationCanceledException) exception; } } }; Platform.run(runnable); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2aae3af85f6e18eafd1daf6b3b633c0efda2967f/ManagedBuildCPathEntryContainer.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/scannerconfig/ManagedBuildCPathEntryContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4604, 5400, 9791, 1230, 12, 6385, 467, 4109, 1984, 16, 4766, 7734, 8795, 4029, 1442, 3042, 1442, 16, 4766, 7734, 727, 467, 11338, 966, 7134, 8543, 13, 288, 202, 202, 759, 2660, 968, 326, 2893, 628, 326, 5226, 5639, 7490, 3639, 727, 467, 11338, 809, 1263, 966, 22, 1361, 966, 273, 19074, 809, 4029, 1318, 18, 7734, 752, 11338, 809, 3116, 966, 22, 12, 6464, 4670, 3773, 18, 588, 1868, 7675, 588, 3773, 12377, 9334, 4766, 2868, 3042, 1442, 18, 588, 4029, 7675, 26321, 9334, 629, 1769, 3639, 727, 467, 6841, 11338, 966, 2249, 27453, 2249, 273, 3042, 1442, 18, 2640, 6841, 11338, 966, 2249, 12, 23810, 4596, 67, 3776, 67, 26413, 1769, 540, 202, 202, 759, 1000, 326, 1775, 364, 326, 2893, 9506, 202, 5127, 2513, 20013, 14685, 273, 394, 4437, 2513, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 5491, 7187, 6438, 273, 394, 4112, 5491, 7187, 5621, 9506, 202, 281, 77, 2249, 18, 14407, 2249, 12, 10259, 16, 1984, 16, 348, 1423, 4596, 67, 3776, 67, 26413, 16, 1361, 966, 16, 8543, 1769, 1082, 202, 97, 1082, 202, 482, 918, 20879, 12, 15155, 1520, 13, 288, 9506, 202, 430, 261, 4064, 1276, 4189, 23163, 503, 13, 288, 6862, 202, 12849, 261, 2988, 23163, 503, 13, 1520, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 20451, 202, 202, 8201, 18, 2681, 12, 2681, 6914, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4604, 5400, 9791, 1230, 12, 6385, 467, 4109, 1984, 16, 4766, 7734, 8795, 4029, 1442, 3042, 1442, 16, 4766, 7734, 727, 467, 11338, 966, 7134, 8543, 13, 288, 202, 202, 759, 2660, 968, 326, 2893, 628, 326, 5226, 5639, 7490, 3639, 727, 467, 11338, 809, 1263, 966, 22, 1361, 966, 273, 19074, 809, 4029, 1318, 18, 7734, 752, 11338, 809, 3116, 966, 22, 12, 6464, 4670, 3773, 18, 588, 1868, 7675, 588, 3773, 12377, 9334, 4766, 2868, 3042, 1442, 18, 588, 4029, 7675, 26321, 9334, 629, 1769, 3639, 727, 467, 6841, 11338, 966, 2249, 27453, 2249, 273, 3042, 1442, 18, 2640, 6841, 11338, 966, 2249, 12, 23810, 4596, 67, 3776, 67, 26413, 1769, 540, 202, 2 ]
String url = VirtualFileManager.constructUrl(LocalFileSystem.PROTOCOL, file.getAbsolutePath().replace(File.separatorChar, '/'));
String url = VirtualFileManager.constructUrl(LocalFileSystem.PROTOCOL, file.getAbsolutePath().replace(File.separatorChar, '/'));
public VirtualFile compute() { String url = VirtualFileManager.constructUrl(LocalFileSystem.PROTOCOL, file.getAbsolutePath().replace(File.separatorChar, '/')); return VirtualFileManager.getInstance().findFileByUrl(url); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/f815bc91a0ccfd60fe02336070d85d81209aad84/AntBuildMessageView.java/clean/plugins/ant/src/com/intellij/lang/ant/config/execution/AntBuildMessageView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 7269, 812, 3671, 1435, 288, 2868, 514, 880, 273, 7269, 812, 1318, 18, 10062, 1489, 12, 2042, 11785, 18, 16850, 16, 585, 18, 588, 10368, 743, 7675, 2079, 12, 812, 18, 11287, 2156, 16, 2023, 10019, 2868, 327, 7269, 812, 1318, 18, 588, 1442, 7675, 4720, 812, 858, 1489, 12, 718, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2079, 12, 812, 18, 11287, 2156, 16, 2023, 10019, 2868, 327, 7269, 812, 1318, 18, 588, 1442, 7675, 4720, 812, 858, 1489, 12, 718, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void selectDBConnection(ArchitectDataSource ds) { databaseDropdown.setSelectedItem(ds); }
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/821f8b183e315e64240df330c64b71e323dc5ac5/CompareDMPanel.java/clean/src/ca/sqlpower/architect/swingui/CompareDMPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2027, 2290, 1952, 12, 12269, 15004, 8597, 3780, 13, 288, 6647, 2063, 23947, 18, 542, 7416, 1180, 12, 2377, 1769, 10792, 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,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, 2290, 1952, 12, 12269, 15004, 8597, 3780, 13, 288, 6647, 2063, 23947, 18, 542, 7416, 1180, 12, 2377, 1769, 10792, 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 ]
buffer .append(string.substring(0, index)) .append("<a href=\"") .append(url) .append("\">") .append(url) .append("</a>");
buffer.append(work.substring(0, index)).append("<a href=\"").append(url).append("\">").append(url).append( "</a>");
public static String autoLink(String string) { if (string == null || string.length() == 0) { return string; } int index = -1; StringBuffer buffer = new StringBuffer(); // First check for email addresses. while ((index = string.indexOf("@")) != -1) { int start = 0; int end = string.length() - 1; // scan backwards... for (int j = index; j >= 0; j--) { if (Character.isWhitespace(string.charAt(j))) { start = j + 1; break; } } // scan forwards... for (int j = index; j <= end; j++) { if (Character.isWhitespace(string.charAt(j))) { end = j - 1; break; } } String email = string.substring(start, end + 1); buffer .append(string.substring(0, start)) .append("<a href=\"mailto:") .append(email + "\">") .append(email) .append("</a>"); if (end == string.length()) { string = ""; } else { string = string.substring(end + 1); } } string = buffer.toString() + string; buffer = new StringBuffer(); // Now check for urls... while ((index = string.indexOf(URL_HTTP)) != -1) { int end = string.length() - 1; // scan forwards... for (int j = index; j <= end; j++) { if (Character.isWhitespace(string.charAt(j))) { end = j - 1; break; } } String url = string.substring(index, end + 1); buffer .append(string.substring(0, index)) .append("<a href=\"") .append(url) .append("\">") .append(url) .append("</a>"); if (end == string.length()) { string = ""; } else { string = string.substring(end + 1); } } buffer.append(string); return buffer.toString(); }
10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/1b58325da0459620bdc110ac37a48c034e65bf21/LinkUtil.java/buggy/displaytag/src/main/java/org/displaytag/util/LinkUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3656, 2098, 12, 780, 533, 13, 565, 288, 3639, 309, 261, 1080, 422, 446, 747, 533, 18, 2469, 1435, 422, 374, 13, 3639, 288, 5411, 327, 533, 31, 3639, 289, 3639, 509, 770, 273, 300, 21, 31, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 368, 5783, 866, 364, 2699, 6138, 18, 3639, 1323, 14015, 1615, 273, 533, 18, 31806, 2932, 27614, 3719, 480, 300, 21, 13, 3639, 288, 5411, 509, 787, 273, 374, 31, 5411, 509, 679, 273, 533, 18, 2469, 1435, 300, 404, 31, 5411, 368, 4135, 12727, 2777, 5411, 364, 261, 474, 525, 273, 770, 31, 525, 1545, 374, 31, 525, 413, 13, 5411, 288, 7734, 309, 261, 7069, 18, 291, 9431, 12, 1080, 18, 3001, 861, 12, 78, 20349, 7734, 288, 10792, 787, 273, 525, 397, 404, 31, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 368, 4135, 24578, 2777, 5411, 364, 261, 474, 525, 273, 770, 31, 525, 1648, 679, 31, 525, 27245, 5411, 288, 7734, 309, 261, 7069, 18, 291, 9431, 12, 1080, 18, 3001, 861, 12, 78, 20349, 7734, 288, 10792, 679, 273, 525, 300, 404, 31, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 514, 2699, 273, 533, 18, 28023, 12, 1937, 16, 679, 397, 404, 1769, 5411, 1613, 7734, 263, 6923, 12, 1080, 18, 28023, 12, 20, 16, 787, 3719, 7734, 263, 6923, 2932, 32, 69, 3897, 5189, 4408, 869, 2773, 13, 7734, 263, 6923, 12, 3652, 397, 7023, 2984, 13, 7734, 263, 6923, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3656, 2098, 12, 780, 533, 13, 565, 288, 3639, 309, 261, 1080, 422, 446, 747, 533, 18, 2469, 1435, 422, 374, 13, 3639, 288, 5411, 327, 533, 31, 3639, 289, 3639, 509, 770, 273, 300, 21, 31, 3639, 6674, 1613, 273, 394, 6674, 5621, 3639, 368, 5783, 866, 364, 2699, 6138, 18, 3639, 1323, 14015, 1615, 273, 533, 18, 31806, 2932, 27614, 3719, 480, 300, 21, 13, 3639, 288, 5411, 509, 787, 273, 374, 31, 5411, 509, 679, 273, 533, 18, 2469, 1435, 300, 404, 31, 5411, 368, 4135, 12727, 2777, 5411, 364, 261, 474, 525, 273, 770, 31, 525, 1545, 374, 31, 525, 413, 13, 5411, 288, 7734, 309, 261, 7069, 18, 291, 9431, 2 ]
throw ScriptRuntime.typeError1("msg.incompat.call", f.functionName);
throw ScriptRuntime.typeError1("msg.incompat.call", f.getFunctionName());
private BaseFunction realFunction(Scriptable thisObj, IdFunctionObject f) { Object x = thisObj.getDefaultValue(ScriptRuntime.FunctionClass); if (x instanceof BaseFunction) { return (BaseFunction)x; } throw ScriptRuntime.typeError1("msg.incompat.call", f.functionName); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/271fb8a31366d1ed2d5e5b21b321497a48f75694/BaseFunction.java/clean/src/org/mozilla/javascript/BaseFunction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3360, 2083, 2863, 2083, 12, 3651, 429, 15261, 16, 3124, 2083, 921, 284, 13, 565, 288, 3639, 1033, 619, 273, 15261, 18, 588, 15646, 12, 3651, 5576, 18, 2083, 797, 1769, 3639, 309, 261, 92, 1276, 3360, 2083, 13, 288, 5411, 327, 261, 2171, 2083, 13, 92, 31, 3639, 289, 3639, 604, 7739, 5576, 18, 723, 668, 21, 2932, 3576, 18, 267, 16239, 18, 1991, 3113, 284, 18, 588, 25258, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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2083, 2863, 2083, 12, 3651, 429, 15261, 16, 3124, 2083, 921, 284, 13, 565, 288, 3639, 1033, 619, 273, 15261, 18, 588, 15646, 12, 3651, 5576, 18, 2083, 797, 1769, 3639, 309, 261, 92, 1276, 3360, 2083, 13, 288, 5411, 327, 261, 2171, 2083, 13, 92, 31, 3639, 289, 3639, 604, 7739, 5576, 18, 723, 668, 21, 2932, 3576, 18, 267, 16239, 18, 1991, 3113, 284, 18, 588, 25258, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Message req = DMT.createFNPInsertRequest(uid, htl, myKey);
Message req = DMT.createFNPInsertRequest(uid, htl, myKey, closestLocation);
public void run() { short origHTL = htl; try { HashSet nodesRoutedTo = new HashSet(); while(true) { if(receiveFailed) return; // don't need to set status as killed by InsertHandler if(htl == 0) { // Send an InsertReply back finish(SUCCESS); return; } // Route it PeerNode next; // Can backtrack, so only route to nodes closer than we are to target. double nextValue; synchronized(node.peers) { next = node.peers.closerPeer(source, nodesRoutedTo, target, source == null); if(next != null) nextValue = next.getLocation().getValue(); else nextValue = -1.0; } if(next == null) { // Backtrack finish(ROUTE_NOT_FOUND); return; } Logger.minor(this, "Routing insert to "+next); nodesRoutedTo.add(next); if(Math.abs(target - nextValue) > Math.abs(target - closestLocation)) { Logger.minor(this, "Backtracking: target="+target+" next="+nextValue+" closest="+closestLocation); htl = node.decrementHTL(source, htl); } Message req = DMT.createFNPInsertRequest(uid, htl, myKey); // Wait for ack or reject... will come before even a locally generated DataReply MessageFilter mfAccepted = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPAccepted); MessageFilter mfRejectedLoop = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedLoop); MessageFilter mfRejectedOverload = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPRejectedOverload); // mfRejectedOverload must be the last thing in the or // So its or pointer remains null // Otherwise we need to recreate it below MessageFilter mf = mfAccepted.or(mfRejectedLoop.or(mfRejectedOverload)); mfRejectedOverload.clearOr(); // Send to next node next.send(req); if(receiveFailed) return; // don't need to set status as killed by InsertHandler Message msg; try { msg = node.usm.waitFor(mf); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected from "+next+" while waiting for Accepted"); continue; } if(receiveFailed) return; // don't need to set status as killed by InsertHandler if(msg == null) { // No response, move on continue; } if(msg.getSpec() == DMT.FNPRejectedLoop) { // Loop - we don't want to send the data to this one continue; } if(msg.getSpec() == DMT.FNPRejectedOverload) { // Overload... hmmmm - propagate error back to source Logger.error(this, "Propagating "+msg+" back to source on "+this); finish(REJECTED_OVERLOAD); return; } // Otherwise must be an Accepted // Send them the data. // Which might be the new data resulting from a collision... BlockTransmitter bt; Message dataInsert; PartiallyReceivedBlock prbNow; prbNow = prb; dataInsert = DMT.createFNPDataInsert(uid, headers); bt = new BlockTransmitter(node.usm, next, uid, prbNow); /** What are we waiting for now??: * - FNPRouteNotFound - couldn't exhaust HTL, but send us the * data anyway please * - FNPInsertReply - used up all HTL, yay * - FNPRejectOverload - propagating an overload error :( * - FNPDataFound - target already has the data, and the data is * an SVK/SSK/KSK, therefore could be different to what we are * inserting. */ MessageFilter mfRNF = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPRouteNotFound); MessageFilter mfInsertReply = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPInsertReply); mfRejectedOverload.setTimeout(PUT_TIMEOUT); MessageFilter mfRouteNotFound = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPRouteNotFound); MessageFilter mfDataInsertRejected = MessageFilter.create().setSource(next).setField(DMT.UID, uid).setTimeout(PUT_TIMEOUT).setType(DMT.FNPDataInsertRejected); mf = mfRNF.or(mfInsertReply.or(mfRouteNotFound.or(mfDataInsertRejected.or(mfRejectedOverload.setTimeout(PUT_TIMEOUT))))); Logger.minor(this, "Sending DataInsert"); if(receiveFailed) return; next.send(dataInsert); Logger.minor(this, "Sending data"); if(receiveFailed) return; bt.send(); Logger.minor(this, "Sent data"); if(receiveFailed) return; try { msg = node.usm.waitFor(mf); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected from "+next+" while waiting for InsertReply on "+this); continue; } if(receiveFailed) return; if(msg == null) { // Timeout :( // Fairly serious problem Logger.error(this, "Timeout after Accepted in insert"); // Treat as rejected-overload finish(REJECTED_OVERLOAD); return; } if(msg.getSpec() == DMT.FNPRejectedOverload) { Logger.minor(this, "Rejected due to overload"); finish(REJECTED_OVERLOAD); return; } if(msg.getSpec() == DMT.FNPRouteNotFound) { Logger.minor(this, "Rejected: RNF"); // Still gets the data - but not yet short newHtl = msg.getShort(DMT.HTL); if(htl > newHtl) htl = newHtl; continue; } if(msg.getSpec() == DMT.FNPDataInsertRejected) { short reason = msg.getShort(DMT.DATA_INSERT_REJECTED_REASON); Logger.minor(this, "DataInsertRejected: "+reason); if(reason == DMT.DATA_INSERT_REJECTED_VERIFY_FAILED) { if(fromStore) { // That's odd... Logger.error(this, "Verify failed on next node "+next+" for DataInsert but we were sending from the store!"); } else { try { if(!prb.allReceived()) Logger.error(this, "Did not receive all packets but next node says invalid anyway!"); else { // Check the data new CHKBlock(prb.getBlock(), headers, myKey); Logger.error(this, "Verify failed on "+next+" but data was valid!"); } } catch (CHKVerifyException e) { Logger.normal(this, "Verify failed because data was invalid"); } } continue; // What else can we do? } else if(reason == DMT.DATA_INSERT_REJECTED_RECEIVE_FAILED) { if(receiveFailed) { Logger.minor(this, "Failed to receive data, so failed to send data"); } else { if(prb.allReceived()) { Logger.error(this, "Received all data but send failed to "+next); } else { if(prb.isAborted()) { Logger.normal(this, "Send failed: aborted: "+prb.getAbortReason()+": "+prb.getAbortDescription()); } else Logger.normal(this, "Send failed; have not yet received all data but not aborted: "+next); } } continue; } Logger.error(this, "DataInsert rejected! Reason="+DMT.getDataInsertRejectedReason(reason)); } // Otherwise should be an InsertReply // Our task is complete finish(SUCCESS); return; } } catch (Throwable t) { Logger.error(this, "Caught "+t, t); } finally { node.completed(uid); node.removeInsertSender(myKey, origHTL, this); } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/1f477f2c2fc4d16e27b069d0ef2683e3b258e83a/InsertSender.java/clean/src/freenet/node/InsertSender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 3025, 1647, 5062, 48, 273, 366, 6172, 31, 3639, 775, 288, 3639, 6847, 2199, 4583, 329, 774, 273, 394, 6847, 5621, 7734, 1323, 12, 3767, 13, 288, 5411, 309, 12, 18149, 2925, 13, 327, 31, 368, 2727, 1404, 1608, 358, 444, 1267, 487, 24859, 635, 8040, 1503, 13491, 309, 12, 647, 80, 422, 374, 13, 288, 7734, 368, 2479, 392, 8040, 7817, 1473, 7734, 4076, 12, 12778, 1769, 7734, 327, 31, 5411, 289, 13491, 368, 5179, 518, 5411, 10669, 907, 1024, 31, 5411, 368, 4480, 1473, 4101, 16, 1427, 1338, 1946, 358, 2199, 13306, 2353, 732, 854, 358, 1018, 18, 5411, 1645, 1024, 620, 31, 5411, 3852, 12, 2159, 18, 30502, 13, 288, 7734, 1024, 273, 756, 18, 30502, 18, 27736, 6813, 12, 3168, 16, 2199, 4583, 329, 774, 16, 1018, 16, 1084, 422, 446, 1769, 7734, 309, 12, 4285, 480, 446, 13, 10792, 1024, 620, 273, 1024, 18, 588, 2735, 7675, 24805, 5621, 7734, 469, 10792, 1024, 620, 273, 300, 21, 18, 20, 31, 5411, 289, 13491, 309, 12, 4285, 422, 446, 13, 288, 7734, 368, 4297, 4101, 7734, 4076, 12, 30334, 67, 4400, 67, 9294, 1769, 7734, 327, 31, 5411, 289, 5411, 4242, 18, 17364, 12, 2211, 16, 315, 13966, 2243, 358, 13773, 4285, 1769, 5411, 2199, 4583, 329, 774, 18, 1289, 12, 4285, 1769, 13491, 309, 12, 10477, 18, 5113, 12, 3299, 300, 1024, 620, 13, 405, 2361, 18, 5113, 12, 3299, 300, 9219, 2735, 3719, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 3025, 1647, 5062, 48, 273, 366, 6172, 31, 3639, 775, 288, 3639, 6847, 2199, 4583, 329, 774, 273, 394, 6847, 5621, 7734, 1323, 12, 3767, 13, 288, 5411, 309, 12, 18149, 2925, 13, 327, 31, 368, 2727, 1404, 1608, 358, 444, 1267, 487, 24859, 635, 8040, 1503, 13491, 309, 12, 647, 80, 422, 374, 13, 288, 7734, 368, 2479, 392, 8040, 7817, 1473, 7734, 4076, 12, 12778, 1769, 7734, 327, 31, 5411, 289, 13491, 368, 5179, 518, 5411, 10669, 907, 1024, 31, 5411, 368, 4480, 1473, 4101, 16, 1427, 1338, 1946, 358, 2199, 13306, 2353, 732, 854, 358, 1018, 18, 5411, 1645, 1024, 620, 31, 5411, 3852, 12, 2159, 18, 30502, 13, 2 ]
if (log.isDebugEnabled()) log.debug("Busy goes false with state WRITING_FIRST");
if (log.isDebugEnabled()) log.debug("CV "+getCvNum()+","+getSecondCvNum()+" Busy goes false with state WRITING_FIRST");
public void propertyChange(java.beans.PropertyChangeEvent e) { if (log.isDebugEnabled()) log.debug("property changed event - name: " +e.getPropertyName()); // notification from CV; check for Value being changed if (e.getPropertyName().equals("Busy") && ((Boolean)e.getNewValue()).equals(Boolean.FALSE)) { // busy transitions drive the state switch (_progState) { case IDLE: // no, just a CV update if (log.isDebugEnabled()) log.error("Busy goes false with state IDLE"); return; case READING_FIRST: // read first CV, now read second if (log.isDebugEnabled()) log.debug("Busy goes false with state READING_FIRST"); _progState = READING_SECOND; ((CvValue)_cvVector.elementAt(getSecondCvNum())).read(_status); return; case READING_SECOND: // finally done, set not busy if (log.isDebugEnabled()) log.debug("Busy goes false with state READING_SECOND"); _progState = IDLE; ((CvValue)_cvVector.elementAt(getCvNum())).setState(READ); ((CvValue)_cvVector.elementAt(getSecondCvNum())).setState(READ); //super.setState(READ); setBusy(false); return; case WRITING_FIRST: // no, just a CV update if (log.isDebugEnabled()) log.debug("Busy goes false with state WRITING_FIRST"); _progState = WRITING_SECOND; ((CvValue)_cvVector.elementAt(getSecondCvNum())).write(_status); return; case WRITING_SECOND: // now done with complete request if (log.isDebugEnabled()) log.debug("Busy goes false with state WRITING_SECOND"); _progState = IDLE; super.setState(STORED); setBusy(false); return; default: // unexpected! log.error("Unexpected state found: "+_progState); _progState = IDLE; return; } } else if (e.getPropertyName().equals("State")) { CvValue cv = (CvValue)_cvVector.elementAt(getCvNum()); if (log.isDebugEnabled()) log.debug("CV State changed to "+cv.getState()); setState(cv.getState()); } else if (e.getPropertyName().equals("Value")) { // update value of Variable CvValue cv0 = (CvValue)_cvVector.elementAt(getCvNum()); CvValue cv1 = (CvValue)_cvVector.elementAt(getSecondCvNum()); int newVal = ((cv0.getValue()&lowerbitmask) >> lowerbitoffset) + (((cv1.getValue()&upperbitmask)*256)>>upperbitoffset); if (log.isDebugEnabled()) log.debug("set value to "+newVal+" based on cv0="+cv0.getValue()+" cv1="+cv1.getValue()); setValue(newVal); // check for duplicate done inside setVal // state change due to CV state change, so propagate that setState(cv0.getState()); // see if this was a read or write operation switch (_progState) { case IDLE: // no, just a CV update if (log.isDebugEnabled()) log.debug("Value changed with state IDLE"); return; case READING_FIRST: // yes, now read second if (log.isDebugEnabled()) log.debug("Value changed with state READING_FIRST"); return; case READING_SECOND: // now done with complete request if (log.isDebugEnabled()) log.debug("Value changed with state READING_SECOND"); return; default: // unexpected! log.error("Unexpected state found: "+_progState); _progState = IDLE; return; } } }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/4f6cc3462d641dd1c34a86e68c95eac1c3b6e35a/SplitVariableValue.java/clean/jmri/jmrit/symbolicprog/SplitVariableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 6290, 18, 2196, 634, 18, 1396, 20930, 425, 13, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 4468, 3550, 871, 300, 508, 30, 315, 4766, 5411, 397, 73, 18, 588, 13073, 10663, 3639, 368, 3851, 628, 385, 58, 31, 866, 364, 1445, 3832, 3550, 3639, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 29289, 7923, 597, 14015, 5507, 13, 73, 18, 588, 1908, 620, 1435, 2934, 14963, 12, 5507, 18, 21053, 3719, 288, 5411, 368, 21697, 13136, 14316, 326, 919, 5411, 1620, 261, 67, 14654, 1119, 13, 288, 5411, 648, 1599, 900, 30, 225, 368, 1158, 16, 2537, 279, 385, 58, 1089, 7734, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 1636, 2932, 29289, 13998, 629, 598, 919, 1599, 900, 8863, 7734, 327, 31, 5411, 648, 10746, 1360, 67, 15354, 30, 282, 368, 855, 1122, 385, 58, 16, 2037, 855, 2205, 7734, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 29289, 13998, 629, 598, 919, 10746, 1360, 67, 15354, 8863, 7734, 389, 14654, 1119, 273, 10746, 1360, 67, 16328, 31, 7734, 14015, 39, 90, 620, 13, 67, 19774, 5018, 18, 2956, 861, 12, 588, 8211, 39, 90, 2578, 10756, 2934, 896, 24899, 2327, 1769, 7734, 327, 31, 5411, 648, 10746, 1360, 67, 16328, 30, 225, 368, 3095, 2731, 16, 444, 486, 21697, 7734, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 29289, 13998, 629, 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, 1272, 3043, 12, 6290, 18, 2196, 634, 18, 1396, 20930, 425, 13, 288, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 4468, 3550, 871, 300, 508, 30, 315, 4766, 5411, 397, 73, 18, 588, 13073, 10663, 3639, 368, 3851, 628, 385, 58, 31, 866, 364, 1445, 3832, 3550, 3639, 309, 261, 73, 18, 588, 13073, 7675, 14963, 2932, 29289, 7923, 597, 14015, 5507, 13, 73, 18, 588, 1908, 620, 1435, 2934, 14963, 12, 5507, 18, 21053, 3719, 288, 5411, 368, 21697, 13136, 14316, 326, 919, 5411, 1620, 261, 67, 14654, 1119, 13, 288, 5411, 648, 1599, 900, 30, 225, 368, 1158, 16, 2537, 279, 385, 58, 1089, 7734, 309, 261, 1330, 2 ]
super(); this.application = application; }
super(); this.application = application; }
public GrailsRuntimeConfigurator(GrailsApplication application) { super(); this.application = application; }
28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/19601f65169b576936ff7d5084709da10ec6a748/GrailsRuntimeConfigurator.java/clean/src/commons/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfigurator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10812, 14573, 5576, 17182, 12, 14571, 14573, 3208, 2521, 13, 288, 202, 202, 9565, 5621, 202, 202, 2211, 18, 3685, 273, 2521, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10812, 14573, 5576, 17182, 12, 14571, 14573, 3208, 2521, 13, 288, 202, 202, 9565, 5621, 202, 202, 2211, 18, 3685, 273, 2521, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new Error(JaiI18N.getString("TIFFFaxDecoder2"));
throw new RuntimeException(JaiI18N.getString("TIFFFaxDecoder2"));
private int decodeBlackCodeWord() { int current, entry, bits, isT, twoBits, code = -1; int runLength = 0; boolean isWhite = false; while (!isWhite) { current = nextLesserThan8Bits(4); entry = initBlack[current]; // Get the 3 fields from the entry isT = entry & 0x0001; bits = (entry >>> 1) & 0x000f; code = (entry >>> 5) & 0x07ff; if (code == 100) { current = nextNBits(9); entry = black[current]; // Get the 3 fields from the entry isT = entry & 0x0001; bits = (entry >>> 1) & 0x000f; code = (entry >>> 5) & 0x07ff; if (bits == 12) { // Additional makeup codes updatePointer(5); current = nextLesserThan8Bits(4); entry = additionalMakeup[current]; bits = (entry >>> 1) & 0x07; // 3 bits 0000 0111 code = (entry >>> 4) & 0x0fff; // 12 bits runLength += code; updatePointer(4 - bits); } else if (bits == 15) { // EOL code throw new Error(JaiI18N.getString("TIFFFaxDecoder2")); } else { runLength += code; updatePointer(9 - bits); if (isT == 0) { isWhite = true; } } } else if (code == 200) { // Is a Terminating code current = nextLesserThan8Bits(2); entry = twoBitBlack[current]; code = (entry >>> 5) & 0x07ff; runLength += code; bits = (entry >>> 1) & 0x0f; updatePointer(2 - bits); isWhite = true; } else { // Is a Terminating code runLength += code; updatePointer(4 - bits); isWhite = true; } } return runLength; }
49628 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49628/681f368f1c05fbaff3a23313e9f1484aef7549a0/TIFFFaxDecoder.java/clean/src/share/classes/com/sun/media/jai/codecimpl/TIFFFaxDecoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2495, 13155, 1085, 3944, 1435, 288, 202, 474, 783, 16, 1241, 16, 4125, 16, 353, 56, 16, 2795, 6495, 16, 981, 273, 300, 21, 31, 3639, 509, 1086, 1782, 273, 374, 31, 202, 6494, 353, 13407, 273, 629, 31, 202, 202, 17523, 16051, 291, 13407, 13, 288, 202, 565, 783, 273, 1024, 15313, 264, 9516, 28, 6495, 12, 24, 1769, 202, 565, 1241, 273, 1208, 13155, 63, 2972, 15533, 202, 377, 202, 565, 368, 968, 326, 890, 1466, 628, 326, 1241, 202, 565, 353, 56, 273, 1241, 473, 374, 92, 13304, 31, 202, 565, 4125, 273, 261, 4099, 4080, 404, 13, 473, 374, 92, 3784, 74, 31, 202, 565, 981, 273, 261, 4099, 4080, 1381, 13, 473, 374, 92, 8642, 1403, 31, 202, 377, 202, 565, 309, 261, 710, 422, 2130, 13, 288, 202, 202, 2972, 273, 1024, 50, 6495, 12, 29, 1769, 202, 202, 4099, 273, 7721, 63, 2972, 15533, 9506, 202, 759, 968, 326, 890, 1466, 628, 326, 1241, 202, 202, 291, 56, 273, 1241, 473, 374, 92, 13304, 31, 202, 202, 6789, 273, 261, 4099, 4080, 404, 13, 473, 374, 92, 3784, 74, 31, 202, 202, 710, 273, 261, 4099, 4080, 1381, 13, 473, 374, 92, 8642, 1403, 31, 9506, 202, 430, 261, 6789, 422, 2593, 13, 288, 1082, 565, 368, 15119, 1221, 416, 6198, 1082, 377, 1082, 565, 1089, 4926, 12, 25, 1769, 1082, 565, 783, 273, 1024, 15313, 264, 9516, 28, 6495, 12, 24, 1769, 1082, 565, 1241, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2495, 13155, 1085, 3944, 1435, 288, 202, 474, 783, 16, 1241, 16, 4125, 16, 353, 56, 16, 2795, 6495, 16, 981, 273, 300, 21, 31, 3639, 509, 1086, 1782, 273, 374, 31, 202, 6494, 353, 13407, 273, 629, 31, 202, 202, 17523, 16051, 291, 13407, 13, 288, 202, 565, 783, 273, 1024, 15313, 264, 9516, 28, 6495, 12, 24, 1769, 202, 565, 1241, 273, 1208, 13155, 63, 2972, 15533, 202, 377, 202, 565, 368, 968, 326, 890, 1466, 628, 326, 1241, 202, 565, 353, 56, 273, 1241, 473, 374, 92, 13304, 31, 202, 565, 4125, 273, 261, 4099, 4080, 404, 13, 473, 374, 92, 3784, 74, 31, 202, 565, 981, 273, 261, 4099, 4080, 1381, 13, 2 ]
public IRubyObject op_cmp(IRubyObject obj) { if (this == obj) { return getRuntime().newFixnum(0); } if (!(obj instanceof RubyModule)) { throw getRuntime().newTypeError( "<=> requires Class or Module (" + getMetaClass().getName() + " given)"); } RubyModule module = (RubyModule)obj; if (module.isKindOfModule(this)) { return getRuntime().newFixnum(1); } else if (this.isKindOfModule(module)) { return getRuntime().newFixnum(-1); } return getRuntime().getNil(); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 15908, 10340, 921, 1061, 67, 9625, 12, 7937, 10340, 921, 1081, 13, 288, 4202, 309, 261, 2211, 422, 1081, 13, 288, 6647, 327, 18814, 7675, 2704, 8585, 2107, 12, 20, 1769, 4202, 289, 4202, 309, 16051, 12, 2603, 1276, 19817, 3120, 3719, 288, 6647, 604, 18814, 7675, 2704, 19030, 12, 9079, 3532, 9207, 4991, 1659, 578, 5924, 7566, 397, 11312, 797, 7675, 17994, 1435, 397, 315, 864, 2225, 1769, 4202, 289, 2868, 19817, 3120, 1605, 273, 261, 54, 10340, 3120, 13, 2603, 31, 2868, 309, 261, 2978, 18, 291, 5677, 951, 3120, 12, 2211, 3719, 288, 6647, 327, 18814, 7675, 2704, 8585, 2107, 12, 21, 1769, 4202, 289, 469, 309, 261, 2211, 18, 291, 5677, 951, 3120, 12, 2978, 3719, 288, 6647, 327, 18814, 7675, 2704, 8585, 2107, 19236, 21, 1769, 4202, 289, 2868, 327, 18814, 7675, 588, 12616, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 15908, 10340, 921, 1061, 67, 9625, 12, 7937, 10340, 921, 1081, 13, 288, 4202, 309, 261, 2211, 422, 1081, 13, 288, 6647, 327, 18814, 7675, 2704, 8585, 2107, 12, 20, 1769, 4202, 289, 4202, 309, 16051, 12, 2603, 1276, 19817, 3120, 3719, 288, 6647, 604, 18814, 7675, 2704, 19030, 12, 9079, 3532, 9207, 4991, 1659, 578, 5924, 7566, 397, 11312, 797, 7675, 17994, 1435, 397, 315, 864, 2225, 1769, 4202, 289, 2868, 19817, 3120, 1605, 273, 261, 54, 10340, 3120, 13, 2603, 31, 2868, 309, 261, 2978, 18, 291, 5677, 951, 3120, 12, 2211, 3719, 288, 6647, 327, 18814, 7675, 2704, 8585, 2107, 12, 21, 1769, 4202, 289, 469, 309, 261, 2211, 18, 291, 5677, 951, 3120, 2 ]
info (getName ()+ " mapping " + taskKey + " to " + subtask.getUID());
info (getName ()+ " mapping " + taskKey + " to " + subtask.getUID() + " mptask " + mpTask.getUID());
public void makePlanElement (Vector tasklist, Asset anAsset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore) { if (assetWasUsedBefore) { if (addToPrevious (tasklist, anAsset, start, end, setupStart, wrapupEnd)) return; else { warn ("Though we believe " + anAsset + " was used before at " + start + " we could not find the previous task, so making a new one."); } } List aggResults = aggregateHelper.makeAggregation(this, ldmf, realityPlan, tasklist, getVerbForAgg(tasklist), getPrepPhrasesForAgg(anAsset, tasklist), getDirectObjectsForAgg(tasklist), getPreferencesForAgg(anAsset, tasklist, start, end), getAgentIdentifier(), getAspectValuesMap(tasklist, start, end), allocHelper.MEDIUM_CONFIDENCE); publishList(aggResults); cleanupAggregation(anAsset, tasklist, aggResults); Task mpTask = findMPTask (aggResults); // store each distinct assignment so we can get it later in addToPrevious // // Bug #11866: // // The problem (https://bugs.ultralog.net/show_bug.cgi?id=11866) is that // addToPrevious initially looks on the role schedule for mptasks assigned to an asset. // BUT the allocator plugin has to get a chance to run to update the role schedule. So // it may seem like no previous task has been assigned, if you just look at the role schedule, // even though the assignment has been made (an MPTask created) but not yet reflected in // the role schedule via an allocation. This results in multiple MPTasks being made for the same // mission - the same conveyance and for the same period of time. // // We need to remember the assignment locally through a map to avoid this problem. if (assetWasUsedBefore) { warn ("asset was used before, but made a new mptask : " + mpTask.getUID()); } Collection subtasks = makeSetupWrapupExpansion (mpTask, anAsset, start, end, setupStart, wrapupEnd); for (Iterator iter = subtasks.iterator(); iter.hasNext(); ) { Task subtask = (Task) iter.next(); String taskKey = anAsset.getUID().toString() + "-" + prefHelper.getReadyAt(subtask).getTime() + "-" + prefHelper.getBestDate(subtask).getTime(); if (tripletToTask.get (taskKey) == null) { tripletToTask.put (taskKey, subtask); if (isInfoEnabled ()) { info (getName ()+ " mapping " + taskKey + " to " + subtask.getUID()); } taskToMPTask.put (subtask, mpTask); } else { warn (getName () + " - unexpected : there already is a task in table with key " +taskKey); } } }
9369 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9369/22d9043ec1c2f37e9054c686ca851f653b7be038/VishnuAggregatorPlugin.java/clean/vishnuClient/src/org/cougaar/lib/vishnu/client/VishnuAggregatorPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1221, 5365, 1046, 261, 5018, 1562, 1098, 16, 10494, 392, 6672, 16, 2167, 787, 16, 2167, 679, 16, 2167, 3875, 1685, 16, 2167, 2193, 416, 1638, 16, 9506, 4202, 1250, 3310, 14992, 6668, 4649, 13, 288, 565, 309, 261, 9406, 14992, 6668, 4649, 13, 288, 1377, 309, 261, 1289, 774, 8351, 261, 4146, 1098, 16, 392, 6672, 16, 787, 16, 679, 16, 3875, 1685, 16, 2193, 416, 1638, 3719, 202, 2463, 31, 1377, 469, 288, 202, 8935, 7566, 1315, 4966, 732, 3952, 21271, 315, 397, 392, 6672, 397, 315, 1703, 1399, 1865, 622, 315, 397, 787, 397, 3196, 1377, 315, 732, 3377, 486, 1104, 326, 2416, 1562, 16, 1427, 10480, 279, 394, 1245, 1199, 1769, 1377, 289, 565, 289, 565, 987, 10421, 3447, 273, 7047, 2276, 18, 6540, 12089, 12, 2211, 16, 6862, 1082, 1377, 328, 10956, 74, 16, 25083, 202, 7688, 560, 5365, 16, 25083, 202, 4146, 1098, 16, 25083, 202, 588, 16281, 1290, 17139, 12, 4146, 1098, 3631, 25083, 202, 588, 15543, 28890, 1290, 17139, 12, 304, 6672, 16, 1562, 1098, 3631, 25083, 202, 588, 5368, 4710, 1290, 17139, 12, 4146, 1098, 3631, 25083, 202, 588, 12377, 1290, 17139, 12, 304, 6672, 16, 1562, 1098, 16, 787, 16, 679, 3631, 25083, 202, 588, 3630, 3004, 9334, 25083, 202, 588, 17468, 1972, 863, 12, 4146, 1098, 16, 787, 16, 679, 3631, 25083, 202, 9853, 2276, 18, 15971, 2799, 67, 14497, 734, 7535, 1769, 565, 3808, 682, 12, 17535, 3447, 1769, 1850, 6686, 12089, 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, 1221, 5365, 1046, 261, 5018, 1562, 1098, 16, 10494, 392, 6672, 16, 2167, 787, 16, 2167, 679, 16, 2167, 3875, 1685, 16, 2167, 2193, 416, 1638, 16, 9506, 4202, 1250, 3310, 14992, 6668, 4649, 13, 288, 565, 309, 261, 9406, 14992, 6668, 4649, 13, 288, 1377, 309, 261, 1289, 774, 8351, 261, 4146, 1098, 16, 392, 6672, 16, 787, 16, 679, 16, 3875, 1685, 16, 2193, 416, 1638, 3719, 202, 2463, 31, 1377, 469, 288, 202, 8935, 7566, 1315, 4966, 732, 3952, 21271, 315, 397, 392, 6672, 397, 315, 1703, 1399, 1865, 622, 315, 397, 787, 397, 3196, 1377, 315, 732, 3377, 486, 1104, 326, 2416, 1562, 16, 1427, 10480, 279, 394, 1245, 1199, 1769, 1377, 2 ]
/* if ((prevElement != null && !prevElement.textContains('\n'))) { adjustWSBefore = true; } */
public static void removeChildren(CompositeElement parent, ASTNode first, ASTNode last) { if (DO_OUTPUT) { System.out.println("CodeEditUtil.removeChildrenBefore\n" + parent.getPsi().getContainingFile().getText()); } checkAllWhiteSpaces(parent); ASTNode lastChild = last == null ? null : last.getTreeNext(); ASTNode prevElement = TreeUtil.prevLeaf(first); ASTNode nextElement = findElementAfter(last == null ? parent : last, false); if (nextElement != null) { saveIndents(nextElement); } boolean adjustWSBefore = containLineBreaks(first, lastChild); if (!mustKeepFirstIndent(prevElement, parent)) { adjustWSBefore = true; } /* if ((prevElement != null && !prevElement.textContains('\n'))) { adjustWSBefore = true; } */ parent.removeRange(first, lastChild); if (!adjustWSBefore && parent.getTextLength() == 0 && prevElement != null && isWS(prevElement) && !prevElement.textContains('\n')) { adjustWSBefore = true; } final PsiFile file = parent.getPsi().getContainingFile(); final CodeStyleSettings.IndentOptions options = CodeStyleSettingsManager.getSettings(file.getProject()) .getIndentOptions(file.getFileType()); if (nextElement != null) { ASTNode elementBeforeNext = TreeUtil.prevLeaf(nextElement); if (prevElement != null && isWS(prevElement) && isWS(elementBeforeNext) && prevElement != elementBeforeNext) { if (!elementBeforeNext.textContains('\n') && prevElement.textContains('\n')) { /* void foo1(){} static void foo2(){} remove static */ delete(elementBeforeNext); } else { String text = composeNewWS(prevElement.getText(), elementBeforeNext.getText(), options); delete(prevElement); if (!text.equals(elementBeforeNext.getText())){ final CharTable charTable = SharedImplUtil.findCharTableByTree(elementBeforeNext); LeafElement newWhiteSpace = Factory.createSingleLeafElement(elementBeforeNext.getElementType(), text.toCharArray(), 0, text.length(), charTable, SharedImplUtil.getManagerByTree(elementBeforeNext)); elementBeforeNext.getTreeParent().replaceChild(elementBeforeNext, newWhiteSpace); } } } elementBeforeNext = TreeUtil.prevLeaf(nextElement); if (isWS(elementBeforeNext) && whiteSpaceHasInvalidPosition(elementBeforeNext)) { final String text = elementBeforeNext.getText(); delete(elementBeforeNext); FormatterUtil.replaceWhiteSpace(text, nextElement, ElementType.WHITE_SPACE); } if (adjustWSBefore) { adjustWhiteSpaceBefore(nextElement, true, true, true, false); } } else { final ASTNode fileNode = SourceTreeToPsiMap.psiElementToTree(parent.getPsi().getContainingFile()); ASTNode lastLeaf = TreeUtil.findLastLeaf(fileNode); if (isWS(lastLeaf)) { delete(lastLeaf); } } checkAllWhiteSpaces(parent); if (DO_OUTPUT) { System.out.println("CodeEditUtil.removeChildren\n" + parent.getPsi().getContainingFile().getText()); } //removeChildrenOld(parent,first, last); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/338adcf8094091bcad3643eaf6d4fda2f48e86cc/CodeEditUtil.java/clean/source/com/intellij/psi/impl/source/codeStyle/CodeEditUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1206, 4212, 12, 9400, 1046, 982, 16, 9183, 907, 1122, 16, 9183, 907, 1142, 13, 288, 565, 309, 261, 3191, 67, 15527, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 1085, 4666, 1304, 18, 4479, 4212, 4649, 64, 82, 6, 397, 982, 18, 588, 52, 7722, 7675, 588, 24344, 812, 7675, 588, 1528, 10663, 565, 289, 565, 866, 1595, 13407, 12077, 12, 2938, 1769, 565, 9183, 907, 30006, 273, 1142, 422, 446, 692, 446, 294, 1142, 18, 588, 2471, 2134, 5621, 565, 9183, 907, 2807, 1046, 273, 4902, 1304, 18, 10001, 9858, 12, 3645, 1769, 565, 9183, 907, 14512, 273, 1104, 1046, 4436, 12, 2722, 422, 446, 692, 982, 294, 1142, 16, 629, 1769, 565, 309, 261, 4285, 1046, 480, 446, 13, 288, 1377, 1923, 3866, 4877, 12, 4285, 1046, 1769, 565, 289, 565, 1250, 5765, 2651, 4649, 273, 912, 1670, 26806, 12, 3645, 16, 30006, 1769, 565, 309, 16051, 11926, 11523, 3759, 7790, 12, 10001, 1046, 16, 982, 3719, 288, 1377, 5765, 2651, 4649, 273, 638, 31, 377, 289, 3639, 1748, 565, 309, 14015, 10001, 1046, 480, 446, 597, 401, 10001, 1046, 18, 955, 10846, 2668, 64, 82, 11, 20349, 288, 1377, 5765, 2651, 4649, 273, 638, 31, 565, 289, 565, 1195, 565, 982, 18, 4479, 2655, 12, 3645, 16, 30006, 1769, 3639, 309, 16051, 13362, 2651, 4649, 597, 982, 18, 588, 1528, 1782, 1435, 422, 374, 597, 2807, 1046, 480, 446, 597, 353, 2651, 12, 10001, 1046, 13, 597, 401, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1206, 4212, 12, 9400, 1046, 982, 16, 9183, 907, 1122, 16, 9183, 907, 1142, 13, 288, 565, 309, 261, 3191, 67, 15527, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 1085, 4666, 1304, 18, 4479, 4212, 4649, 64, 82, 6, 397, 982, 18, 588, 52, 7722, 7675, 588, 24344, 812, 7675, 588, 1528, 10663, 565, 289, 565, 866, 1595, 13407, 12077, 12, 2938, 1769, 565, 9183, 907, 30006, 273, 1142, 422, 446, 692, 446, 294, 1142, 18, 588, 2471, 2134, 5621, 565, 9183, 907, 2807, 1046, 273, 4902, 1304, 18, 10001, 9858, 12, 3645, 1769, 565, 9183, 907, 14512, 273, 1104, 1046, 4436, 12, 2722, 422, 446, 692, 982, 294, 1142, 16, 629, 1769, 2 ]
private void resetBytes()
private synchronized void resetBytes()
private void resetBytes() { fBytes = null; fDirtyBytes = null; }
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, 1152, 918, 2715, 2160, 1435, 202, 95, 202, 202, 74, 2160, 273, 446, 31, 202, 202, 74, 10785, 2160, 273, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2715, 2160, 1435, 202, 95, 202, 202, 74, 2160, 273, 446, 31, 202, 202, 74, 10785, 2160, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (uiJob == null)
if (countUpdateJob == null)
public void scheduleCountUpdate() { if (uiJob == null) createUIJob(); uiJob.schedule(); try { uiJob.join(); } catch (InterruptedException e) { return; } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c63c79c798228e08b338ad3d3ab9b500d45cc948/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, 482, 918, 4788, 1380, 1891, 1435, 288, 202, 202, 430, 261, 4881, 2278, 422, 446, 13, 1082, 202, 2640, 5370, 2278, 5621, 202, 202, 4881, 2278, 18, 10676, 5621, 202, 202, 698, 288, 1082, 202, 4881, 2278, 18, 5701, 5621, 202, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4788, 1380, 1891, 1435, 288, 202, 202, 430, 261, 4881, 2278, 422, 446, 13, 1082, 202, 2640, 5370, 2278, 5621, 202, 202, 4881, 2278, 18, 10676, 5621, 202, 202, 698, 288, 1082, 202, 4881, 2278, 18, 5701, 5621, 202, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IVariable A = (IVariable) col.getName(0).resolveBinding();
ITypedef A = (ITypedef) col.getName(0).resolveBinding();
public void testNewExpressions() throws Exception { IASTTranslationUnit tu = parse( "int A; int B; int C; int D; int P; int*p = new (P) (A)[B][C][D];" ); //$NON-NLS-1$ CPPNameCollector col = new CPPNameCollector(); CPPVisitor.visitTranslationUnit( tu, col ); assertEquals( col.size(), 11 ); IVariable A = (IVariable) col.getName(0).resolveBinding(); IVariable B = (IVariable) col.getName(1).resolveBinding(); IVariable C = (IVariable) col.getName(2).resolveBinding(); IVariable D = (IVariable) col.getName(3).resolveBinding(); IVariable P = (IVariable) col.getName(4).resolveBinding(); IVariable p = (IVariable) col.getName(5).resolveBinding(); assertInstances( col, A, 2 ); assertInstances( col, B, 2 ); assertInstances( col, C, 2 ); assertInstances( col, D, 2 ); assertInstances( col, P, 2 ); assertTrue( p.getType() instanceof IPointerType ); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/66c2e911bf7827e6a48d6cc7b5a30d02a947ac62/CompleteParser2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/CompleteParser2Tests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1908, 8927, 1435, 1216, 1185, 202, 95, 202, 202, 45, 9053, 6717, 2802, 28325, 273, 1109, 12, 315, 474, 432, 31, 509, 605, 31, 509, 385, 31, 509, 463, 31, 509, 453, 31, 509, 14, 84, 273, 394, 225, 261, 52, 13, 261, 37, 25146, 38, 6362, 39, 6362, 40, 65, 4868, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4258, 52, 461, 7134, 645, 273, 394, 5181, 52, 461, 7134, 5621, 3196, 202, 4258, 52, 7413, 18, 11658, 6717, 2802, 12, 28325, 16, 645, 11272, 1875, 3196, 202, 11231, 8867, 12, 645, 18, 1467, 9334, 4648, 11272, 3196, 202, 45, 559, 536, 432, 273, 261, 45, 559, 536, 13, 645, 18, 17994, 12, 20, 2934, 10828, 5250, 5621, 3196, 202, 45, 3092, 605, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 21, 2934, 10828, 5250, 5621, 3196, 202, 45, 3092, 385, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 22, 2934, 10828, 5250, 5621, 3196, 202, 45, 3092, 463, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 23, 2934, 10828, 5250, 5621, 3196, 202, 45, 3092, 453, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 24, 2934, 10828, 5250, 5621, 3196, 202, 45, 3092, 293, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 25, 2934, 10828, 5250, 5621, 1875, 3196, 202, 11231, 5361, 12, 645, 16, 432, 16, 576, 11272, 3196, 202, 11231, 5361, 12, 645, 16, 605, 16, 576, 11272, 3196, 202, 11231, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1908, 8927, 1435, 1216, 1185, 202, 95, 202, 202, 45, 9053, 6717, 2802, 28325, 273, 1109, 12, 315, 474, 432, 31, 509, 605, 31, 509, 385, 31, 509, 463, 31, 509, 453, 31, 509, 14, 84, 273, 394, 225, 261, 52, 13, 261, 37, 25146, 38, 6362, 39, 6362, 40, 65, 4868, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 4258, 52, 461, 7134, 645, 273, 394, 5181, 52, 461, 7134, 5621, 3196, 202, 4258, 52, 7413, 18, 11658, 6717, 2802, 12, 28325, 16, 645, 11272, 1875, 3196, 202, 11231, 8867, 12, 645, 18, 1467, 9334, 4648, 11272, 3196, 202, 45, 559, 536, 432, 273, 261, 45, 559, 536, 13, 645, 18, 2 ]
public DirectColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType)
public DirectColorModel(int pixelBits, int rmask, int gmask, int bmask)
public DirectColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType) { super(cspace, pixelBits, rmask, gmask, bmask, amask, isAlphaPremultiplied, ((amask == 0) ? Transparency.OPAQUE : Transparency.TRANSLUCENT), transferType); }
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/51a535c0ebf53d0804b5afd81cb0acf823872599/DirectColorModel.java/buggy/libjava/java/awt/image/DirectColorModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9908, 2957, 1488, 12, 2957, 3819, 2873, 909, 16, 509, 4957, 6495, 16, 9506, 225, 509, 436, 4455, 16, 509, 314, 4455, 16, 509, 324, 4455, 16, 509, 2125, 835, 16, 9506, 225, 1250, 353, 9690, 1386, 7027, 3110, 16, 9506, 225, 509, 7412, 559, 13, 225, 288, 565, 2240, 12, 2143, 909, 16, 4957, 6495, 16, 202, 225, 436, 4455, 16, 314, 4455, 16, 324, 4455, 16, 2125, 835, 16, 353, 9690, 1386, 7027, 3110, 16, 202, 225, 14015, 301, 835, 422, 374, 13, 692, 2604, 18258, 18, 3665, 37, 4067, 294, 2604, 18258, 18, 25419, 17479, 2222, 3631, 202, 225, 7412, 559, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 9908, 2957, 1488, 12, 2957, 3819, 2873, 909, 16, 509, 4957, 6495, 16, 9506, 225, 509, 436, 4455, 16, 509, 314, 4455, 16, 509, 324, 4455, 16, 509, 2125, 835, 16, 9506, 225, 1250, 353, 9690, 1386, 7027, 3110, 16, 9506, 225, 509, 7412, 559, 13, 225, 288, 565, 2240, 12, 2143, 909, 16, 4957, 6495, 16, 202, 225, 436, 4455, 16, 314, 4455, 16, 324, 4455, 16, 2125, 835, 16, 353, 9690, 1386, 7027, 3110, 16, 202, 225, 14015, 301, 835, 422, 374, 13, 692, 2604, 18258, 18, 3665, 37, 4067, 294, 2604, 18258, 18, 25419, 17479, 2222, 3631, 202, 225, 7412, 559, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
uninstallListeners(c);
super.uninstallUI(c); uninstallDefaults(c);
public void uninstallUI(JComponent c) { uninstallListeners(c); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicViewportUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicViewportUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 16577, 5370, 12, 46, 1841, 276, 13, 282, 288, 565, 2240, 18, 28872, 5370, 12, 71, 1769, 16577, 7019, 12, 71, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 918, 16577, 5370, 12, 46, 1841, 276, 13, 282, 288, 565, 2240, 18, 28872, 5370, 12, 71, 1769, 16577, 7019, 12, 71, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("Find peer: "+p+" source: "+e.event.source+" event: "+e.event);
private void handleSendableNotDelivered(SendableNotDeliveredEvent e) { PeerInfo p = findPeer(e.event.source); System.out.println("Find peer: "+p+" source: "+e.event.source+" event: "+e.event); if (FifoConfig.debugOn) System.out.println("FifoSession: going to giveup sending some message because of NotDelivered!"); giveup(p, e.event); }
47988 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47988/aa9c125afcaae35b3cbc95d0403e91f2418baa9d/FifoSession.java/clean/trunk/appia/src/org/continuent/appia/protocols/fifo/FifoSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 3826, 429, 1248, 20813, 329, 12, 3826, 429, 1248, 20813, 329, 1133, 425, 13, 288, 202, 565, 10669, 966, 293, 273, 1104, 6813, 12, 73, 18, 2575, 18, 3168, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 3125, 4261, 30, 13773, 84, 9078, 1084, 30, 13773, 73, 18, 2575, 18, 3168, 9078, 871, 30, 13773, 73, 18, 2575, 1769, 202, 565, 309, 261, 42, 20299, 809, 18, 4148, 1398, 13, 202, 3639, 2332, 18, 659, 18, 8222, 2932, 42, 20299, 2157, 30, 8554, 358, 8492, 416, 5431, 2690, 883, 2724, 434, 2288, 20813, 329, 4442, 1769, 202, 565, 8492, 416, 12, 84, 16, 425, 18, 2575, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 3826, 429, 1248, 20813, 329, 12, 3826, 429, 1248, 20813, 329, 1133, 425, 13, 288, 202, 565, 10669, 966, 293, 273, 1104, 6813, 12, 73, 18, 2575, 18, 3168, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 3125, 4261, 30, 13773, 84, 9078, 1084, 30, 13773, 73, 18, 2575, 18, 3168, 9078, 871, 30, 13773, 73, 18, 2575, 1769, 202, 565, 309, 261, 42, 20299, 809, 18, 4148, 1398, 13, 202, 3639, 2332, 18, 659, 18, 8222, 2932, 42, 20299, 2157, 30, 8554, 358, 8492, 416, 5431, 2690, 883, 2724, 434, 2288, 20813, 329, 4442, 1769, 202, 565, 8492, 416, 12, 84, 16, 425, 18, 2575, 1769, 202, 97, 2, -100, -100, -100, -100, -100 ]
out.write(lines[i][j].toLowerCase().concat("\t"));
out.write(lines[i][j].concat("\t"));
private static void printConfig(String [][] lines,String table, BufferedWriter out) throws IOException{ out.write("#"+"\n"); out.write("# TABLE: "+ table.toUpperCase()+"\n"); out.write("#"+"\n"); for (int i = 0; i < lines.length; i++) { for (int j = 0; j < lines[i].length; j++) { out.write(lines[i][j].toLowerCase().concat("\t")); } out.write("\n"); }}
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/1fe1a01a964656d57cebae56579f783b0e3f0b94/ConfigurationUtils.java/buggy/src/java/org/ensembl/mart/builder/ConfigurationUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 918, 1172, 809, 12, 780, 5378, 8526, 2362, 16, 780, 1014, 16, 22490, 596, 13, 1216, 1860, 95, 1082, 202, 659, 18, 2626, 2932, 17133, 9078, 64, 82, 8863, 202, 659, 18, 2626, 2932, 7, 3639, 7567, 30, 13773, 1014, 18, 869, 8915, 1435, 9078, 64, 82, 8863, 202, 659, 18, 2626, 2932, 17133, 9078, 64, 82, 8863, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2362, 18, 2469, 31, 277, 27245, 288, 202, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 2362, 63, 77, 8009, 2469, 31, 525, 27245, 288, 1082, 202, 659, 18, 2626, 12, 3548, 63, 77, 6362, 78, 8009, 869, 5630, 7675, 16426, 31458, 88, 7923, 1769, 202, 202, 97, 202, 202, 659, 18, 2626, 31458, 82, 8863, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3238, 760, 918, 1172, 809, 12, 780, 5378, 8526, 2362, 16, 780, 1014, 16, 22490, 596, 13, 1216, 1860, 95, 1082, 202, 659, 18, 2626, 2932, 17133, 9078, 64, 82, 8863, 202, 659, 18, 2626, 2932, 7, 3639, 7567, 30, 13773, 1014, 18, 869, 8915, 1435, 9078, 64, 82, 8863, 202, 659, 18, 2626, 2932, 17133, 9078, 64, 82, 8863, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2362, 18, 2469, 31, 277, 27245, 288, 202, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 2362, 63, 77, 8009, 2469, 31, 525, 27245, 288, 1082, 202, 659, 18, 2626, 12, 3548, 63, 77, 6362, 78, 8009, 869, 5630, 7675, 16426, 31458, 88, 7923, 1769, 202, 2 ]
TA_RetCode INT_SMA( int startIdx, int endIdx, double inReal[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ double periodTotal, tempReal; int i, outIdx, trailingIdx, lookbackTotal; lookbackTotal = (optInTimePeriod-1); if( startIdx < lookbackTotal ) startIdx = lookbackTotal; if( startIdx > endIdx ) { outBegIdx.value = 0 ; outNbElement.value = 0 ; return TA_RetCode. TA_SUCCESS; } periodTotal = 0; trailingIdx = startIdx-lookbackTotal; i=trailingIdx; if( optInTimePeriod > 1 ) { while( i < startIdx ) periodTotal += inReal[i++]; } outIdx = 0; do { periodTotal += inReal[i++]; tempReal = periodTotal; periodTotal -= inReal[trailingIdx++]; outReal[outIdx++] = tempReal / optInTimePeriod; } while( i <= endIdx ); outNbElement.value = outIdx; outBegIdx.value = startIdx; 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, 399, 37, 67, 7055, 1085, 6137, 67, 55, 5535, 12, 509, 27108, 16, 509, 679, 4223, 16, 9056, 267, 6955, 63, 6487, 509, 2153, 382, 26540, 16, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 8526, 262, 95, 1645, 3879, 5269, 16, 31497, 31, 509, 277, 16, 596, 4223, 16, 7341, 4223, 16, 2324, 823, 5269, 31, 2324, 823, 5269, 273, 261, 3838, 382, 26540, 17, 21, 1769, 309, 12, 27108, 411, 2324, 823, 5269, 262, 27108, 273, 2324, 823, 5269, 31, 309, 12, 27108, 405, 679, 4223, 262, 288, 659, 24059, 4223, 18, 1132, 273, 374, 274, 659, 22816, 1046, 18, 1132, 273, 374, 274, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 12778, 31, 289, 3879, 5269, 273, 374, 31, 7341, 4223, 273, 27108, 17, 7330, 823, 5269, 31, 277, 33, 26453, 4223, 31, 309, 12, 2153, 382, 26540, 405, 404, 262, 288, 1323, 12, 277, 411, 27108, 262, 3879, 5269, 1011, 316, 6955, 63, 77, 9904, 15533, 289, 596, 4223, 273, 374, 31, 741, 288, 3879, 5269, 1011, 316, 6955, 63, 77, 9904, 15533, 31497, 273, 3879, 5269, 31, 3879, 5269, 3947, 316, 6955, 63, 26453, 4223, 9904, 15533, 29205, 63, 659, 4223, 9904, 65, 273, 31497, 342, 2153, 382, 26540, 31, 289, 1323, 12, 277, 1648, 679, 4223, 11272, 659, 22816, 1046, 18, 1132, 33, 596, 4223, 31, 659, 24059, 4223, 18, 1132, 33, 27108, 31, 327, 9833, 67, 7055, 1085, 18, 399, 37, 67, 12778, 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, 399, 37, 67, 7055, 1085, 6137, 67, 55, 5535, 12, 509, 27108, 16, 509, 679, 4223, 16, 9056, 267, 6955, 63, 6487, 509, 2153, 382, 26540, 16, 490, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 8526, 262, 95, 1645, 3879, 5269, 16, 31497, 31, 509, 277, 16, 596, 4223, 16, 7341, 4223, 16, 2324, 823, 5269, 31, 2324, 823, 5269, 273, 261, 3838, 382, 26540, 17, 21, 1769, 309, 12, 27108, 411, 2324, 823, 5269, 262, 27108, 273, 2324, 823, 5269, 31, 309, 12, 27108, 405, 679, 4223, 262, 288, 659, 24059, 4223, 18, 1132, 273, 374, 274, 659, 22816, 1046, 18, 1132, 273, 374, 274, 327, 9833, 67, 7055, 1085, 18, 399, 2 ]
public void compilation_unit() throws RecognitionException { try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:286:4: ( prolog ( statement )* ) // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:286:4: prolog ( statement )* { pushFollow(FOLLOW_prolog_in_compilation_unit51); prolog(); _fsp--; // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:287:3: ( statement )* loop2: do { int alt2=2; int LA2_0 = input.LA(1); if ( ((LA2_0>=29 && LA2_0<=30)||LA2_0==33||LA2_0==35||(LA2_0>=37 && LA2_0<=38)) ) { alt2=1; } switch (alt2) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:287:5: statement { pushFollow(FOLLOW_statement_in_compilation_unit58); statement(); _fsp--; } break; default : break loop2; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/c3437c2488c314384990c4282a547e0f92ca02c2/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8916, 67, 4873, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 22, 5292, 30, 24, 30, 261, 450, 1330, 261, 3021, 8618, 262, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 22, 5292, 30, 24, 30, 450, 1330, 261, 3021, 8618, 5411, 288, 5411, 10881, 12, 29890, 67, 685, 1330, 67, 267, 67, 2919, 6613, 67, 4873, 10593, 1769, 5411, 450, 1330, 5621, 5411, 389, 10749, 413, 31, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 6030, 27, 30, 23, 30, 261, 3021, 8618, 5411, 2798, 22, 30, 5411, 741, 288, 7734, 509, 3770, 22, 33, 22, 31, 7734, 509, 2928, 22, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 14015, 2534, 22, 67, 20, 34, 33, 5540, 597, 2928, 22, 67, 20, 32, 33, 5082, 14047, 96, 2534, 22, 67, 20, 631, 3707, 20081, 2534, 22, 67, 20, 631, 4763, 20081, 12, 2534, 22, 67, 20, 34, 33, 6418, 597, 2928, 22, 67, 20, 32, 33, 7414, 3719, 262, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8916, 67, 4873, 1435, 1216, 9539, 288, 6647, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 22, 5292, 30, 24, 30, 261, 450, 1330, 261, 3021, 8618, 262, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 22, 5292, 30, 24, 30, 450, 1330, 261, 3021, 8618, 5411, 288, 5411, 10881, 12, 29890, 67, 685, 1330, 67, 267, 67, 2919, 6613, 67, 4873, 10593, 1769, 5411, 450, 2 ]
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier);
throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier, global);
public ClientGetMessage(SimpleFieldSet fs) throws MessageInvalidException { short defaultPriority; clientToken = fs.get("ClientToken"); global = Fields.stringToBool(fs.get("Global"), false); ignoreDS = Fields.stringToBool(fs.get("IgnoreDS"), false); dsOnly = Fields.stringToBool(fs.get("DSOnly"), false); identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { uri = new FreenetURI(fs.get("URI")); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } String returnTypeString = fs.get("ReturnType"); returnType = parseReturnType(returnTypeString); if(returnType == RETURN_TYPE_DIRECT) { diskFile = null; tempFile = null; // default just below FProxy defaultPriority = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else if(returnType == RETURN_TYPE_NONE) { diskFile = null; tempFile = null; defaultPriority = RequestStarter.PREFETCH_PRIORITY_CLASS; } else if(returnType == RETURN_TYPE_DISK) { defaultPriority = RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing Filename", identifier); diskFile = new File(filename); String tempFilename = fs.get("TempFilename"); if(tempFilename == null) tempFilename = filename + ".freenet-tmp"; tempFile = new File(tempFilename); if(!diskFile.getAbsoluteFile().getParentFile().equals(tempFile.getAbsoluteFile().getParentFile())) throw new MessageInvalidException(ProtocolErrorMessage.FILENAME_AND_TEMP_FILENAME_MUST_BE_IN_SAME_DIR, null, identifier); if(diskFile.exists()) throw new MessageInvalidException(ProtocolErrorMessage.DISK_TARGET_EXISTS, null, identifier); try { if(!(tempFile.createNewFile() || (tempFile.exists() && tempFile.canRead() && tempFile.canWrite()))) throw new MessageInvalidException(ProtocolErrorMessage.COULD_NOT_CREATE_FILE, "Could not create temp file "+tempFile, identifier); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.COULD_NOT_CREATE_FILE, e.getMessage(), identifier); } } else throw new MessageInvalidException(ProtocolErrorMessage.MESSAGE_PARSE_ERROR, "Unknown return-type", identifier); String maxSizeString = fs.get("MaxSize"); if(maxSizeString == null) // default to unlimited maxSize = Long.MAX_VALUE; else { try { maxSize = Long.parseLong(maxSizeString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } String maxTempSizeString = fs.get("MaxTempSize"); if(maxTempSizeString == null) // default to unlimited maxTempSize = Long.MAX_VALUE; else { try { maxTempSize = Long.parseLong(maxTempSizeString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "max retries="+maxRetries); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = defaultPriority; } else { try { priorityClass = Short.parseShort(priorityString, 10); if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String persistenceString = fs.get("Persistence"); if((persistenceString == null) || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } if(global && (persistenceType == ClientRequest.PERSIST_CONNECTION)) { throw new MessageInvalidException(ProtocolErrorMessage.NOT_SUPPORTED, "Global requests must be persistent", identifier); } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientGetMessage.java/buggy/src/freenet/node/fcp/ClientGetMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 967, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 6620, 805, 8183, 31, 202, 202, 2625, 1345, 273, 2662, 18, 588, 2932, 1227, 1345, 8863, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 5160, 6, 3631, 629, 1769, 202, 202, 6185, 3948, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3777, 3948, 6, 3631, 629, 1769, 202, 202, 2377, 3386, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3948, 3386, 6, 3631, 629, 1769, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 1650, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 9334, 2756, 1769, 202, 202, 97, 202, 202, 780, 11561, 780, 273, 2662, 18, 588, 2932, 30594, 8863, 202, 202, 430, 12, 16629, 8807, 780, 422, 446, 13, 1082, 202, 16629, 8807, 273, 374, 31, 202, 202, 12107, 288, 1082, 202, 698, 288, 9506, 202, 16629, 8807, 273, 2144, 18, 2670, 1702, 12, 16629, 8807, 780, 16, 1728, 1769, 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, 225, 202, 482, 2445, 967, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 6620, 805, 8183, 31, 202, 202, 2625, 1345, 273, 2662, 18, 588, 2932, 1227, 1345, 8863, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 5160, 6, 3631, 629, 1769, 202, 202, 6185, 3948, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3777, 3948, 6, 3631, 629, 1769, 202, 202, 2377, 3386, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3948, 3386, 6, 3631, 629, 1769, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 2 ]
getLog().warn("Expected content type of text/javascript for remotely loaded javascript element but got ["+webResponse.getContentType()+"]");
getLog().warn( "Expected content type of text/javascript for remotely loaded javascript element but got [" +webResponse.getContentType()+"]");
private String loadJavaScriptFromUrl( final String urlString ) { URL url = null; try { url = getFullyQualifiedUrl(urlString); final WebResponse webResponse= getWebClient().loadWebResponse( url, SubmitMethod.GET, Collections.EMPTY_LIST); if( webResponse.getStatusCode() == 200 ) { if( webResponse.getContentType().equals("text/javascript") == false ) { getLog().warn("Expected content type of text/javascript for remotely loaded javascript element but got ["+webResponse.getContentType()+"]"); } return webResponse.getContentAsString(); } else { getLog().error("Error loading javascript from ["+url.toExternalForm() +"] status=["+webResponse.getStatusCode()+" " +webResponse.getStatusMessage()+"]"); } } catch( final MalformedURLException e ) { getLog().error("Unable to build url for script src tag ["+urlString+"]"); return ""; } catch( final Exception e ) { getLog().error("Error loading javascript from ["+url.toExternalForm()+"]: ", e); } return ""; }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/582a0705d8897022e7cd6ba466009199db999f2b/HtmlPage.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 1262, 16634, 28488, 12, 727, 514, 29374, 262, 288, 3639, 1976, 880, 273, 446, 31, 3639, 775, 288, 5411, 880, 273, 10208, 93, 8708, 1489, 12, 718, 780, 1769, 5411, 727, 2999, 1064, 3311, 1064, 33, 20312, 1227, 7675, 945, 4079, 1064, 12, 7734, 880, 16, 17320, 1305, 18, 3264, 16, 5737, 18, 13625, 67, 7085, 1769, 5411, 309, 12, 3311, 1064, 18, 588, 14041, 1435, 422, 4044, 262, 288, 7734, 309, 12, 3311, 1064, 18, 588, 8046, 7675, 14963, 2932, 955, 19, 11242, 7923, 422, 629, 262, 288, 10792, 9189, 7675, 8935, 12, 315, 6861, 913, 618, 434, 977, 19, 11242, 364, 26693, 2357, 4203, 11341, 930, 1496, 2363, 8247, 397, 4875, 1064, 18, 588, 8046, 1435, 9078, 4279, 1769, 7734, 289, 7734, 327, 3311, 1064, 18, 588, 1350, 8092, 5621, 5411, 289, 5411, 469, 288, 7734, 9189, 7675, 1636, 2932, 668, 7153, 11341, 628, 8247, 15, 718, 18, 869, 6841, 1204, 1435, 10792, 397, 11929, 1267, 33, 9614, 15, 4875, 1064, 18, 588, 14041, 1435, 9078, 315, 10792, 397, 4875, 1064, 18, 588, 1482, 1079, 1435, 9078, 4279, 1769, 5411, 289, 3639, 289, 3639, 1044, 12, 727, 20710, 425, 262, 288, 5411, 9189, 7675, 1636, 2932, 3370, 358, 1361, 880, 364, 2728, 1705, 1047, 8247, 15, 718, 780, 9078, 4279, 1769, 5411, 327, 1408, 31, 3639, 289, 3639, 1044, 12, 727, 1185, 425, 262, 288, 5411, 9189, 7675, 1636, 2932, 668, 7153, 11341, 628, 8247, 15, 718, 18, 869, 6841, 1204, 1435, 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, 514, 1262, 16634, 28488, 12, 727, 514, 29374, 262, 288, 3639, 1976, 880, 273, 446, 31, 3639, 775, 288, 5411, 880, 273, 10208, 93, 8708, 1489, 12, 718, 780, 1769, 5411, 727, 2999, 1064, 3311, 1064, 33, 20312, 1227, 7675, 945, 4079, 1064, 12, 7734, 880, 16, 17320, 1305, 18, 3264, 16, 5737, 18, 13625, 67, 7085, 1769, 5411, 309, 12, 3311, 1064, 18, 588, 14041, 1435, 422, 4044, 262, 288, 7734, 309, 12, 3311, 1064, 18, 588, 8046, 7675, 14963, 2932, 955, 19, 11242, 7923, 422, 629, 262, 288, 10792, 9189, 7675, 8935, 12, 315, 6861, 913, 618, 434, 977, 19, 11242, 364, 26693, 2357, 4203, 11341, 930, 1496, 2363, 8247, 397, 4875, 1064, 18, 588, 2 ]
br.setEnabled(true);
public void setRow(int row, Element e) { // get the values for the VariableValue ctor String name = e.getAttribute("label").getValue(); // Note the name variable is actually the label attribute if (log.isDebugEnabled()) log.debug("Starting to setRow \""+name+"\""); String item = ( e.getAttribute("item")!=null ? e.getAttribute("item").getValue() : null); String comment = null; if (e.getAttribute("comment") != null) comment = e.getAttribute("comment").getValue(); int CV = Integer.valueOf(e.getAttribute("CV").getValue()).intValue(); String mask = null; if (e.getAttribute("mask") != null) mask = e.getAttribute("mask").getValue(); else { log.warn("Element missing mask attribute: "+name); mask ="VVVVVVVV"; } int minVal = 0; int maxVal = 255; boolean readOnly = false; if (e.getAttribute("readOnly") != null) { readOnly = e.getAttribute("readOnly").getValue().equals("yes") ? true : false; if (log.isDebugEnabled()) log.debug("found readOnly "+e.getAttribute("readOnly").getValue()); } else { log.warn("Element missing readOnly attribute: "+name); } boolean infoOnly = false; if (e.getAttribute("infoOnly") != null) { readOnly = e.getAttribute("infoOnly").getValue().equals("yes") ? true : false; if (log.isDebugEnabled()) log.debug("found readOnly "+e.getAttribute("infoOnly").getValue()); } else { log.warn("Element missing readOnly attribute: "+name); } boolean writeOnly = false; if (e.getAttribute("writeOnly") != null) { writeOnly = e.getAttribute("writeOnly").getValue().equals("yes") ? true : false; if (log.isDebugEnabled()) log.debug("found writeOnly "+e.getAttribute("writeOnly").getValue()); } else { log.warn("Element missing readOnly attribute: "+name); } boolean opsOnly = false; if (e.getAttribute("opsOnly") != null) { opsOnly = e.getAttribute("opsOnly").getValue().equals("yes") ? true : false; if (log.isDebugEnabled()) log.debug("found opsOnly "+e.getAttribute("opsOnly").getValue()); } else { log.warn("Element missing readOnly attribute: "+name); } JButton bw = new JButton("Write"); _writeButtons.addElement(bw); JButton br = new JButton("Read"); _readButtons.addElement(br); if (infoOnly || readOnly) { bw.setEnabled(false); if (infoOnly) { br.setEnabled(false); } else { br.setEnabled(true); br.setActionCommand("R"+row); br.addActionListener(this); } } else { bw.setEnabled(true); bw.setActionCommand("W"+row); bw.addActionListener(this); if (writeOnly) { br.setEnabled(false); } else { br.setEnabled(true); br.setActionCommand("R" + row); br.addActionListener(this); } } if (_cvModel == null) { log.error("CvModel reference is null; cannot add variables"); return; } _cvModel.addCV(""+CV, readOnly); // have to handle various value types, see "snippet" Attribute a; Element child; VariableValue v = null; if ( (child = e.getChild("decVal")) != null) { if ( (a = child.getAttribute("min")) != null) minVal = Integer.valueOf(a.getValue()).intValue(); if ( (a = child.getAttribute("max")) != null) maxVal = Integer.valueOf(a.getValue()).intValue(); v = new DecVariableValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, minVal, maxVal, _cvModel.allCvVector(), _status, item); } else if ( (child = e.getChild("hexVal")) != null) { if ( (a = child.getAttribute("min")) != null) minVal = Integer.valueOf(a.getValue(),16).intValue(); if ( (a = child.getAttribute("max")) != null) maxVal = Integer.valueOf(a.getValue(),16).intValue(); v = new HexVariableValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, minVal, maxVal, _cvModel.allCvVector(), _status, item); } else if ( (child = e.getChild("enumVal")) != null) { List l = child.getChildren("enumChoice"); EnumVariableValue v1 = new EnumVariableValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, 0, l.size()-1, _cvModel.allCvVector(), _status, item); v = v1; v1.nItems(l.size()); for (int k=0; k< l.size(); k++) { // is a value specified? Element enumChElement = (Element)l.get(k); Attribute valAttr = enumChElement.getAttribute("value"); if ( valAttr==null) v1.addItem(enumChElement.getAttribute("choice").getValue()); else { v1.addItem(enumChElement.getAttribute("choice").getValue(), Integer.parseInt(valAttr.getValue())); } } v1.lastItem(); } else if ( (child = e.getChild("speedTableVal")) != null) { if ( (a = child.getAttribute("min")) != null) minVal = Integer.valueOf(a.getValue()).intValue(); if ( (a = child.getAttribute("max")) != null) maxVal = Integer.valueOf(a.getValue()).intValue(); Attribute entriesAttr = child.getAttribute("entries"); int entries = 28; try { if (entriesAttr!=null) entries = entriesAttr.getIntValue(); } catch (org.jdom.DataConversionException e1) {} // ensure all CVs exist for (int i=0; i<entries; i++) { _cvModel.addCV(""+(CV+i), readOnly); } v = new SpeedTableVarValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, minVal, maxVal, _cvModel.allCvVector(), _status, item, entries); } else if ( (child = e.getChild("longAddressVal")) != null) { _cvModel.addCV(""+(CV+1), readOnly); // ensure 2nd CV exists v = new LongAddrVariableValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, minVal, maxVal, _cvModel.allCvVector(), _status, item); } else if ( (child = e.getChild("shortAddressVal")) != null) { ShortAddrVariableValue v1 = new ShortAddrVariableValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, _cvModel.allCvVector(), _status, item); v = v1; // get specifics if any List l = child.getChildren("shortAddressChanges"); for (int k=0; k< l.size(); k++) try { v1.setModifiedCV(((Element)l.get(k)).getAttribute("cv").getIntValue()); } catch (org.jdom.DataConversionException e1) { log.error("invalid cv attribute in short address element of decoder file"); } } else if ( (child = e.getChild("splitVal")) != null) { if ( (a = child.getAttribute("min")) != null) minVal = Integer.valueOf(a.getValue()).intValue(); if ( (a = child.getAttribute("max")) != null) maxVal = Integer.valueOf(a.getValue()).intValue(); int highCV = CV+1; if ( (a = child.getAttribute("highCV")) != null) highCV = Integer.valueOf(a.getValue()).intValue(); int factor = 1; if ( (a = child.getAttribute("factor")) != null) factor = Integer.valueOf(a.getValue()).intValue(); int offset = 0; if ( (a = child.getAttribute("offset")) != null) offset = Integer.valueOf(a.getValue()).intValue(); String uppermask = "VVVVVVVV"; if ( (a = child.getAttribute("upperMask")) != null) uppermask = a.getValue(); _cvModel.addCV(""+(highCV), readOnly); // ensure 2nd CV exists v = new SplitVariableValue(name, comment, readOnly, infoOnly, writeOnly, opsOnly, CV, mask, minVal, maxVal, _cvModel.allCvVector(), _status, item, highCV, factor, offset, uppermask); } else { reportBogus(); return; } // back to general processing // add tooltip text if present if ( (a = e.getAttribute("tooltip")) != null) v.setTooltipText(a.getValue()); // record new variable, update state, hook up listeners rowVector.addElement(v); v.setState(VariableValue.FROMFILE); v.addPropertyChangeListener(this); // set to default value if specified (CV load may later override this) if ( (a = e.getAttribute("default")) != null) { String val = a.getValue(); if (log.isDebugEnabled()) log.debug("Found default value: "+val+" for "+name); v.setIntValue(Integer.valueOf(val).intValue()); _cvModel.getCvByNumber(CV).setState(VariableValue.FROMFILE); // correct for transition to "edited" } }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/9af8cf5e81c69f317fd4dd5bb3b08f5c3674492a/VariableTableModel.java/clean/jmri/jmrit/symbolicprog/VariableTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 1999, 12, 474, 1027, 16, 3010, 425, 13, 288, 3639, 368, 336, 326, 924, 364, 326, 7110, 620, 15120, 3639, 514, 508, 273, 425, 18, 588, 1499, 2932, 1925, 20387, 24805, 5621, 225, 202, 759, 3609, 326, 508, 2190, 353, 6013, 326, 1433, 1566, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 11715, 358, 444, 1999, 11843, 15, 529, 9078, 8530, 1769, 3639, 514, 761, 273, 261, 425, 18, 588, 1499, 2932, 1726, 7923, 5, 33, 2011, 692, 13491, 425, 18, 588, 1499, 2932, 1726, 20387, 24805, 1435, 294, 13491, 446, 1769, 3639, 514, 2879, 273, 446, 31, 3639, 309, 261, 73, 18, 588, 1499, 2932, 3469, 7923, 480, 446, 13, 5411, 2879, 273, 425, 18, 588, 1499, 2932, 3469, 20387, 24805, 5621, 3639, 509, 385, 58, 273, 2144, 18, 1132, 951, 12, 73, 18, 588, 1499, 2932, 22007, 20387, 24805, 1435, 2934, 474, 620, 5621, 3639, 514, 3066, 273, 446, 31, 3639, 309, 261, 73, 18, 588, 1499, 2932, 4455, 7923, 480, 446, 13, 5411, 3066, 273, 425, 18, 588, 1499, 2932, 4455, 20387, 24805, 5621, 3639, 469, 288, 5411, 613, 18, 8935, 2932, 1046, 3315, 3066, 1566, 30, 13773, 529, 1769, 5411, 3066, 273, 6, 58, 58, 58, 58, 58, 58, 58, 58, 14432, 3639, 289, 3639, 509, 1131, 3053, 273, 374, 31, 3639, 509, 943, 3053, 273, 4561, 31, 3639, 1250, 15075, 273, 629, 31, 3639, 309, 261, 73, 18, 588, 1499, 2932, 896, 3386, 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, 444, 1999, 12, 474, 1027, 16, 3010, 425, 13, 288, 3639, 368, 336, 326, 924, 364, 326, 7110, 620, 15120, 3639, 514, 508, 273, 425, 18, 588, 1499, 2932, 1925, 20387, 24805, 5621, 225, 202, 759, 3609, 326, 508, 2190, 353, 6013, 326, 1433, 1566, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 11715, 358, 444, 1999, 11843, 15, 529, 9078, 8530, 1769, 3639, 514, 761, 273, 261, 425, 18, 588, 1499, 2932, 1726, 7923, 5, 33, 2011, 692, 13491, 425, 18, 588, 1499, 2932, 1726, 20387, 24805, 1435, 294, 13491, 446, 1769, 3639, 514, 2879, 273, 446, 31, 3639, 309, 261, 73, 18, 588, 1499, 2932, 3469, 7923, 480, 446, 2 ]
assertNotSame("not same", "hello", "good-bye");
assertNotSame("message", o, o); fail();
@Test public void notSameWithMessage() { try { assertNotSame("not same", "hello", "good-bye"); } catch (AssertionError exception) { assertEquals("not same expected not same", exception.getMessage()); } }
48424 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48424/e08329cae4a1198e124c7615e92f44a7319a2cb8/AssertionTest.java/clean/org/junit/tests/AssertionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 4709, 1071, 918, 486, 8650, 1190, 1079, 1435, 288, 202, 202, 698, 288, 1082, 202, 11231, 1248, 8650, 2932, 902, 1967, 3113, 315, 23711, 3113, 315, 19747, 17, 1637, 73, 8863, 202, 202, 97, 1044, 261, 14979, 668, 1520, 13, 288, 1082, 202, 11231, 8867, 2932, 902, 1967, 2665, 486, 1967, 3113, 1520, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 4709, 1071, 918, 486, 8650, 1190, 1079, 1435, 288, 202, 202, 698, 288, 1082, 202, 11231, 1248, 8650, 2932, 902, 1967, 3113, 315, 23711, 3113, 315, 19747, 17, 1637, 73, 8863, 202, 202, 97, 1044, 261, 14979, 668, 1520, 13, 288, 1082, 202, 11231, 8867, 2932, 902, 1967, 2665, 486, 1967, 3113, 1520, 18, 24906, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public LocationPath createAbsoluteLocationPath() throws JaxenException { return new DefaultAbsoluteLocationPath(); }
5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/d180ba623954ff7cb231af711a9133a78d7dd0c5/DefaultXPathFactory.java/buggy/src/java/main/org/jaxen/expr/DefaultXPathFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2735, 743, 2640, 10368, 2735, 743, 1435, 15069, 46, 651, 275, 503, 95, 2463, 2704, 1868, 10368, 2735, 743, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 2735, 743, 2640, 10368, 2735, 743, 1435, 15069, 46, 651, 275, 503, 95, 2463, 2704, 1868, 10368, 2735, 743, 5621, 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 ]
public void setFont(FontData[] fontData) { if (font != null) font.dispose(); FontData[] bestData = JFaceResources.getFontRegistry(). bestDataArray(fontData,text.getDisplay()); //If there are no specified values then return. if(bestData == null) return; font = new Font(text.getDisplay(), bestData); text.setFont(font); //Also set the text here text.setText(WorkbenchMessages.getString("FontsPreference.SampleText")); //$NON-NLS-1$ }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1bba6e68027322eb4457204fdeda19454e06701c/FontPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FontPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 20454, 12, 5711, 751, 8526, 3512, 751, 13, 288, 1082, 202, 430, 261, 5776, 480, 446, 13, 9506, 202, 5776, 18, 2251, 4150, 5621, 6862, 1082, 202, 5711, 751, 8526, 3796, 751, 273, 4697, 202, 46, 11824, 3805, 18, 588, 5711, 4243, 7675, 6862, 202, 12729, 751, 1076, 12, 5776, 751, 16, 955, 18, 588, 4236, 10663, 6862, 9506, 202, 759, 2047, 1915, 854, 1158, 1269, 924, 1508, 327, 18, 1082, 202, 430, 12, 12729, 751, 422, 446, 13, 9506, 202, 2463, 31, 6862, 1082, 202, 5776, 273, 394, 10063, 12, 955, 18, 588, 4236, 9334, 3796, 751, 1769, 1082, 202, 955, 18, 542, 5711, 12, 5776, 1769, 1082, 202, 759, 1067, 2048, 444, 326, 977, 2674, 1082, 202, 955, 18, 542, 1528, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 5711, 87, 9624, 18, 8504, 1528, 7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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 20454, 12, 5711, 751, 8526, 3512, 751, 13, 288, 1082, 202, 430, 261, 5776, 480, 446, 13, 9506, 202, 5776, 18, 2251, 4150, 5621, 6862, 1082, 202, 5711, 751, 8526, 3796, 751, 273, 4697, 202, 46, 11824, 3805, 18, 588, 5711, 4243, 7675, 6862, 202, 12729, 751, 1076, 12, 5776, 751, 16, 955, 18, 588, 4236, 10663, 6862, 9506, 202, 759, 2047, 1915, 854, 1158, 1269, 924, 1508, 327, 18, 1082, 202, 430, 12, 12729, 751, 422, 446, 13, 9506, 202, 2463, 31, 6862, 1082, 202, 5776, 273, 394, 10063, 12, 955, 18, 588, 4236, 9334, 3796, 751, 1769, 1082, 202, 955, 18, 542, 5711, 12, 5776, 1769, 1082, 202, 759, 1067, 2048, 444, 326, 2 ]
.openReportDocument( getReportDesignName( options ), docName );
.openReportDocument( getReportDesignName( options ), docName, getModuleOptions( options ) );
public long getPageCount( String docName, InputOptions options, OutputOptions outputOptions ) throws ReportServiceException { IReportDocument doc = ReportEngineService.getInstance( ) .openReportDocument( getReportDesignName( options ), docName ); long count = doc.getPageCount( ); doc.close( ); return count; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/6750b617d962564415d786421fab385be3789fb1/BirtViewerReportService.java/clean/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1525, 8957, 1380, 12, 514, 997, 461, 16, 2741, 1320, 702, 16, 1082, 202, 1447, 1320, 876, 1320, 262, 1216, 8706, 15133, 202, 95, 202, 202, 45, 4820, 2519, 997, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 9506, 202, 18, 3190, 4820, 2519,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1525, 8957, 1380, 12, 514, 997, 461, 16, 2741, 1320, 702, 16, 1082, 202, 1447, 1320, 876, 1320, 262, 1216, 8706, 15133, 202, 95, 202, 202, 45, 4820, 2519, 997, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 9506, 202, 18, 3190, 4820, 2519, 12, 22452, 15478, 461, 12, 702, 262, 16, 997, 461, 11272, 202, 202, 5748, 1056, 273, 997, 18, 588, 1964, 1380, 12, 11272, 202, 202, 2434, 18, 4412, 12, 11272, 202, 202, 2463, 1056, 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 ]
auth = (AuthService)componentManager. lookup( "org.apache.james.nntpserver.AuthService" );
getLogger().debug("NNTPHandler compose...begin"); UsersStore usersStore = (UsersStore)componentManager.lookup(UsersStore.ROLE); userRepository = usersStore.getRepository("LocalUsers");
public void compose( final ComponentManager componentManager ) throws ComponentException { //System.out.println(getClass().getName()+ ": compose - " + authRequired); auth = (AuthService)componentManager. lookup( "org.apache.james.nntpserver.AuthService" ); scheduler = (TimeScheduler)componentManager. lookup( "org.apache.avalon.cornerstone.services.scheduler.TimeScheduler" ); repo = (NNTPRepository)componentManager .lookup("org.apache.james.nntpserver.repository.NNTPRepository"); }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/cc100f37ee536c71759c5c9fd585b8437c35e0e2/NNTPHandler.java/buggy/src/java/org/apache/james/nntpserver/NNTPHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 11458, 12, 727, 5435, 1318, 1794, 1318, 262, 3639, 1216, 5435, 503, 565, 288, 3639, 368, 3163, 18, 659, 18, 8222, 12, 588, 797, 7675, 17994, 1435, 15, 6398, 11458, 300, 315, 397, 1357, 3705, 1769, 3639, 1357, 273, 261, 1730, 1179, 13, 4652, 1318, 18, 5411, 3689, 12, 315, 3341, 18, 19211, 18, 78, 753, 18, 82, 496, 84, 3567, 18, 1730, 1179, 6, 11272, 3639, 8129, 273, 261, 950, 11870, 13, 4652, 1318, 18, 5411, 3689, 12, 315, 3341, 18, 19211, 18, 842, 287, 265, 18, 30519, 13925, 18, 8387, 18, 19972, 18, 950, 11870, 6, 11272, 3639, 3538, 273, 261, 50, 1784, 52, 3305, 13, 4652, 1318, 5411, 263, 8664, 2932, 3341, 18, 19211, 18, 78, 753, 18, 82, 496, 84, 3567, 18, 9071, 18, 50, 1784, 52, 3305, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 11458, 12, 727, 5435, 1318, 1794, 1318, 262, 3639, 1216, 5435, 503, 565, 288, 3639, 368, 3163, 18, 659, 18, 8222, 12, 588, 797, 7675, 17994, 1435, 15, 6398, 11458, 300, 315, 397, 1357, 3705, 1769, 3639, 1357, 273, 261, 1730, 1179, 13, 4652, 1318, 18, 5411, 3689, 12, 315, 3341, 18, 19211, 18, 78, 753, 18, 82, 496, 84, 3567, 18, 1730, 1179, 6, 11272, 3639, 8129, 273, 261, 950, 11870, 13, 4652, 1318, 18, 5411, 3689, 12, 315, 3341, 18, 19211, 18, 842, 287, 265, 18, 30519, 13925, 18, 8387, 18, 19972, 18, 950, 11870, 6, 11272, 3639, 3538, 273, 261, 50, 1784, 52, 3305, 13, 4652, 1318, 5411, 263, 8664, 2932, 3341, 18, 2 ]
LOG.error( "TODO: error msg", e );
LOG.error( "Error modifying schedule '" + oldName + "' for specification " + i.getUri(), e );
private void editExistingSchedule( CronTriggerEx trigger ) { ScheduleInformation i = new ScheduleInformation( trigger.getName(), trigger.getJobDataMap().getString( "specID" ), trigger.getCronExpression(), trigger.getStartTime(), trigger.getEndTime() ); String oldName = trigger.getName(); i = SchedulerDialog.showSchedulerDialog( WorkflowEditor.getInstance(), i ); if( i != null ) { try { CronTriggerEx t = new CronTriggerEx( i.getScheduleName(), "DEFAULT" ); t.setCronExpression( i.getCronExpression() ); t.setEndTime( i.getEndDate() ); t.setStartTime( i.getStartDate() ); t.setJobName( trigger.getJobName() ); t.setGroup( trigger.getGroup() ); JobDataMap data = new JobDataMap(); data.put( "specID", i.getUri() ); t.setJobDataMap( data ); scheduler.rescheduleJob( oldName, "DEFAULT", t ); // force the calendar (the UI) to update calendar.setCalendar( calendar.getCalendar() ); } catch( SchedulerException e ) { LOG.error( "TODO: error msg", e ); } catch( ParseException e ) { LOG.error( "Scheduler Dialog created an invalid cron expression!", e ); } } }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/bbc32ecbadc4af031bf23a5aae6efad741e6a3a6/SchedulerCalendar.java/clean/yawl/editor/com/nexusbpm/editor/editors/schedule/SchedulerCalendar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3874, 9895, 6061, 12, 18972, 6518, 424, 3080, 262, 288, 202, 202, 6061, 5369, 277, 273, 394, 10674, 5369, 12, 9506, 202, 10668, 18, 17994, 9334, 9506, 202, 10668, 18, 588, 2278, 31982, 7675, 588, 780, 12, 315, 2793, 734, 6, 262, 16, 9506, 202, 10668, 18, 588, 18586, 2300, 9334, 9506, 202, 10668, 18, 588, 13649, 9334, 9506, 202, 10668, 18, 588, 25255, 1435, 11272, 202, 202, 780, 22916, 273, 3080, 18, 17994, 5621, 202, 202, 77, 273, 12620, 6353, 18, 4500, 11870, 6353, 12, 11363, 6946, 18, 588, 1442, 9334, 277, 11272, 202, 202, 430, 12, 277, 480, 446, 262, 288, 1082, 202, 698, 288, 9506, 202, 18586, 6518, 424, 268, 273, 394, 18972, 6518, 424, 12, 277, 18, 588, 6061, 461, 9334, 315, 5280, 6, 11272, 9506, 202, 88, 18, 542, 18586, 2300, 12, 277, 18, 588, 18586, 2300, 1435, 11272, 9506, 202, 88, 18, 542, 25255, 12, 277, 18, 588, 24640, 1435, 11272, 9506, 202, 88, 18, 542, 13649, 12, 277, 18, 588, 22635, 1435, 11272, 9506, 202, 88, 18, 542, 29425, 12, 3080, 18, 588, 29425, 1435, 11272, 9506, 202, 88, 18, 542, 1114, 12, 3080, 18, 588, 1114, 1435, 11272, 6862, 9506, 202, 2278, 31982, 501, 273, 394, 3956, 31982, 5621, 9506, 202, 892, 18, 458, 12, 315, 2793, 734, 3113, 277, 18, 588, 3006, 1435, 11272, 9506, 202, 88, 18, 542, 2278, 31982, 12, 501, 11272, 6862, 9506, 202, 19972, 18, 455, 2847, 2278, 12, 22916, 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, 3874, 9895, 6061, 12, 18972, 6518, 424, 3080, 262, 288, 202, 202, 6061, 5369, 277, 273, 394, 10674, 5369, 12, 9506, 202, 10668, 18, 17994, 9334, 9506, 202, 10668, 18, 588, 2278, 31982, 7675, 588, 780, 12, 315, 2793, 734, 6, 262, 16, 9506, 202, 10668, 18, 588, 18586, 2300, 9334, 9506, 202, 10668, 18, 588, 13649, 9334, 9506, 202, 10668, 18, 588, 25255, 1435, 11272, 202, 202, 780, 22916, 273, 3080, 18, 17994, 5621, 202, 202, 77, 273, 12620, 6353, 18, 4500, 11870, 6353, 12, 11363, 6946, 18, 588, 1442, 9334, 277, 11272, 202, 202, 430, 12, 277, 480, 446, 262, 288, 1082, 202, 698, 288, 9506, 202, 18586, 6518, 424, 268, 273, 394, 2 ]
refGlyphElement = ctx.getReferencedElement(altGlyphElement, glyphUri);
refGlyphElement = ctx.getReferencedElement(altGlyphElement, glyphUri);
private Glyph getGlyph(BridgeContext ctx, String glyphUri, Element altGlyphElement, float fontSize, AttributedCharacterIterator aci) { Element refGlyphElement = null; try { refGlyphElement = ctx.getReferencedElement(altGlyphElement, glyphUri); } catch (BridgeException e) { // this is ok, it is possible that the glyph at the given // uri is not available } if (refGlyphElement == null || !refGlyphElement.getTagName().equals(SVG_GLYPH_TAG)) { // couldn't find the referenced glyph element, // or referenced element not a glyph return null; } // see if the referenced glyph element is local SVGOMDocument document = (SVGOMDocument)altGlyphElement.getOwnerDocument(); SVGOMDocument refDocument = (SVGOMDocument)refGlyphElement.getOwnerDocument(); boolean isLocal = (refDocument == document); // if not local, import both the glyph and its font-face element Element localGlyphElement = null; Element localFontFaceElement = null; if (isLocal) { localGlyphElement = refGlyphElement; Element fontElement = (Element)localGlyphElement.getParentNode(); NodeList fontFaceElements = fontElement.getElementsByTagNameNS (SVG_NAMESPACE_URI, SVG_FONT_FACE_TAG); if (fontFaceElements.getLength() > 0) { localFontFaceElement = (Element)fontFaceElements.item(0); } } else { // import the whole font Element localFontElement = (Element)document.importNode(refGlyphElement.getParentNode(), true); Element g = document.createElementNS(SVG_NAMESPACE_URI, SVG_G_TAG); g.appendChild(localFontElement); CSSUtilities.computeStyleAndURIs( (Element)refGlyphElement.getParentNode(), localFontElement); // get the local glyph element String glyphId = refGlyphElement.getAttributeNS(null, SVG_ID_ATTRIBUTE); NodeList glyphElements = localFontElement.getElementsByTagNameNS (SVG_NAMESPACE_URI, SVG_GLYPH_TAG); for (int i = 0; i < glyphElements.getLength(); i++) { Element glyphElem = (Element)glyphElements.item(i); if (glyphElem.getAttributeNS(null, SVG_ID_ATTRIBUTE).equals(glyphId)) { localGlyphElement = glyphElem; break; } } // get the local font-face element NodeList fontFaceElements = localFontElement.getElementsByTagNameNS (SVG_NAMESPACE_URI, SVG_FONT_FACE_TAG); if (fontFaceElements.getLength() > 0) { localFontFaceElement = (Element)fontFaceElements.item(0); } } // if couldn't find the glyph or its font-face return null if (localGlyphElement == null || localFontFaceElement == null) { return null; } SVGFontFaceElementBridge fontFaceBridge = (SVGFontFaceElementBridge)ctx.getBridge(localFontFaceElement); SVGFontFace fontFace = fontFaceBridge.createFontFace(ctx, localFontFaceElement); SVGGlyphElementBridge glyphBridge = (SVGGlyphElementBridge)ctx.getBridge(localGlyphElement); aci.first(); Paint fillPaint = (Paint)aci.getAttribute(TextAttribute.FOREGROUND); Paint strokePaint = (Paint)aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.STROKE_PAINT); Stroke stroke = (Stroke)aci.getAttribute( GVTAttributedCharacterIterator.TextAttribute.STROKE); return glyphBridge.createGlyph(ctx, localGlyphElement, altGlyphElement, -1, fontSize, fontFace, fillPaint, strokePaint, stroke); }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/5344fee0e75e857c928622d2ea0816b1373e9f61/SVGAltGlyphElementBridge.java/buggy/sources/org/apache/batik/bridge/SVGAltGlyphElementBridge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 31572, 7162, 6451, 12, 13691, 1042, 1103, 16, 21821, 514, 9440, 3006, 16, 21821, 3010, 3770, 15141, 1046, 16, 21821, 1431, 16746, 16, 21821, 2380, 11050, 7069, 3198, 1721, 77, 13, 288, 3639, 3010, 1278, 15141, 1046, 273, 446, 31, 3639, 775, 288, 5411, 1278, 15141, 1046, 273, 1103, 18, 588, 22344, 1046, 12, 2390, 15141, 1046, 16, 9440, 3006, 1769, 3639, 289, 1044, 261, 13691, 503, 425, 13, 288, 5411, 368, 333, 353, 1529, 16, 518, 353, 3323, 716, 326, 9440, 622, 326, 864, 5411, 368, 2003, 353, 486, 2319, 3639, 289, 3639, 309, 261, 1734, 15141, 1046, 422, 446, 5411, 747, 401, 1734, 15141, 1046, 18, 588, 8520, 7675, 14963, 12, 26531, 67, 43, 7076, 8939, 67, 7927, 3719, 288, 5411, 368, 17991, 1404, 1104, 326, 8042, 9440, 930, 16, 5411, 368, 578, 8042, 930, 486, 279, 9440, 5411, 327, 446, 31, 3639, 289, 3639, 368, 2621, 309, 326, 8042, 9440, 930, 353, 1191, 3639, 11281, 1872, 2519, 1668, 5411, 273, 261, 26531, 1872, 2519, 13, 2390, 15141, 1046, 18, 588, 5541, 2519, 5621, 3639, 11281, 1872, 2519, 1278, 2519, 5411, 273, 261, 26531, 1872, 2519, 13, 1734, 15141, 1046, 18, 588, 5541, 2519, 5621, 3639, 1250, 22873, 273, 261, 1734, 2519, 422, 1668, 1769, 3639, 368, 309, 486, 1191, 16, 1930, 3937, 326, 9440, 471, 2097, 3512, 17, 865, 930, 3639, 3010, 1191, 15141, 1046, 273, 446, 31, 3639, 3010, 1191, 5711, 11824, 1046, 273, 446, 31, 3639, 309, 261, 291, 2042, 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, 31572, 7162, 6451, 12, 13691, 1042, 1103, 16, 21821, 514, 9440, 3006, 16, 21821, 3010, 3770, 15141, 1046, 16, 21821, 1431, 16746, 16, 21821, 2380, 11050, 7069, 3198, 1721, 77, 13, 288, 3639, 3010, 1278, 15141, 1046, 273, 446, 31, 3639, 775, 288, 5411, 1278, 15141, 1046, 273, 1103, 18, 588, 22344, 1046, 12, 2390, 15141, 1046, 16, 9440, 3006, 1769, 3639, 289, 1044, 261, 13691, 503, 425, 13, 288, 5411, 368, 333, 353, 1529, 16, 518, 353, 3323, 716, 326, 9440, 622, 326, 864, 5411, 368, 2003, 353, 486, 2319, 3639, 289, 3639, 309, 261, 1734, 15141, 1046, 422, 446, 5411, 747, 401, 1734, 15141, 1046, 18, 588, 8520, 7675, 14963, 12, 26531, 67, 43, 7076, 2 ]
String sourceName = getNormilizedUrl(fnOrScript); SourceInfo si; synchronized (sourceNames) { si = (SourceInfo)sourceNames.get(sourceName); if (si != null) { si.setSource(source); }else { si = new SourceInfo(sourceName, source); sourceNames.put(sourceName, si); } } ScriptItem item = new ScriptItem(fnOrScript, si); si.updateLineInfo(item); scriptItems.put(fnOrScript, item); String name = fnOrScript.getFunctionName(); if (name != null && name.length() > 0 && !name.equals("anonymous")) { functionNames.put(name, item); } loadedFile(si);
String sourceUrl = getNormilizedUrl(fnOrScript); SourceInfo si = registerSource(sourceUrl, source); registerScript(si, fnOrScript);
public void handleCompilationDone(Context cx, DebuggableScript fnOrScript, String source) { String sourceName = getNormilizedUrl(fnOrScript); SourceInfo si; synchronized (sourceNames) { si = (SourceInfo)sourceNames.get(sourceName); if (si != null) { si.setSource(source); }else { si = new SourceInfo(sourceName, source); sourceNames.put(sourceName, si); } } ScriptItem item = new ScriptItem(fnOrScript, si); si.updateLineInfo(item); scriptItems.put(fnOrScript, item); String name = fnOrScript.getFunctionName(); if (name != null && name.length() > 0 && !name.equals("anonymous")) { functionNames.put(name, item); } loadedFile(si); }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/50029c37e2419ff529758cddb93bb0c01830ae0a/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1640, 19184, 7387, 12, 1042, 9494, 16, 4015, 8455, 3651, 2295, 1162, 3651, 16, 4766, 1377, 514, 1084, 13, 565, 288, 3639, 514, 28337, 273, 11069, 535, 330, 1235, 1489, 12, 4293, 1162, 3651, 1769, 3639, 4998, 966, 7533, 31, 3639, 3852, 261, 3168, 1557, 13, 288, 5411, 7533, 273, 261, 1830, 966, 13, 3168, 1557, 18, 588, 12, 3168, 461, 1769, 5411, 309, 261, 7722, 480, 446, 13, 288, 7734, 7533, 18, 542, 1830, 12, 3168, 1769, 5411, 289, 12107, 288, 7734, 7533, 273, 394, 4998, 966, 12, 3168, 461, 16, 1084, 1769, 7734, 1084, 1557, 18, 458, 12, 3168, 461, 16, 7533, 1769, 5411, 289, 3639, 289, 3639, 7739, 1180, 761, 273, 394, 7739, 1180, 12, 4293, 1162, 3651, 16, 7533, 1769, 3639, 7533, 18, 2725, 1670, 966, 12, 1726, 1769, 3639, 2728, 3126, 18, 458, 12, 4293, 1162, 3651, 16, 761, 1769, 3639, 514, 508, 273, 2295, 1162, 3651, 18, 588, 25258, 5621, 3639, 309, 261, 529, 480, 446, 597, 508, 18, 2469, 1435, 405, 374, 597, 401, 529, 18, 14963, 2932, 19070, 6, 3719, 288, 5411, 445, 1557, 18, 458, 12, 529, 16, 761, 1769, 3639, 289, 3639, 4203, 812, 12, 7722, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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3651, 1769, 3639, 4998, 966, 7533, 31, 3639, 3852, 261, 3168, 1557, 13, 288, 5411, 7533, 273, 261, 1830, 966, 13, 3168, 1557, 18, 588, 12, 3168, 461, 1769, 5411, 309, 261, 7722, 480, 446, 13, 288, 7734, 7533, 18, 542, 1830, 12, 3168, 1769, 5411, 289, 12107, 288, 7734, 7533, 273, 394, 4998, 966, 12, 3168, 461, 16, 1084, 1769, 7734, 1084, 1557, 18, 458, 12, 3168, 461, 16, 7533, 1769, 5411, 289, 3639, 289, 3639, 7739, 1180, 761, 273, 394, 7739, 2 ]
a.setValue(optionValues.get((optionValues.size() / 2)));
a.setValue(model.getProduct());
public static void setupBugAttributes(String serverUrl, NewBugModel model) { HashMap<String, Attribute> attributes = new HashMap<String, Attribute>(); Attribute a = new Attribute(BugReportElement.BUG_SEVERITY.toString()); a.setParameterName(BugReportElement.BUG_SEVERITY.getKeyString()); List<String> optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getSeverities(); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(optionValues.get((optionValues.size() / 2))); attributes.put(a.getName(), a); a = new Attribute(BugReportElement.OP_SYS.toString()); a.setParameterName(BugReportElement.OP_SYS.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getOSs(); for (String option : optionValues) { a.addOptionValue(option, option); } attributes.put(a.getName(), a); a = new Attribute(BugReportElement.REP_PLATFORM.toString()); a.setParameterName(BugReportElement.REP_PLATFORM.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getPlatforms(); for (String option : optionValues) { a.addOptionValue(option, option); } attributes.put(a.getName(), a); a = new Attribute(BugReportElement.VERSION.toString()); a.setParameterName(BugReportElement.VERSION.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getVersions(model.getProduct()); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(optionValues.get(optionValues.size() - 1)); attributes.put(a.getName(), a); a = new Attribute(BugReportElement.COMPONENT.toString()); a.setParameterName(BugReportElement.COMPONENT.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getComponents(model.getProduct()); for (String option : optionValues) { a.addOptionValue(option, option); } attributes.put(a.getName(), a); a = new Attribute(BugReportElement.PRIORITY.toString()); a.setParameterName(BugReportElement.PRIORITY.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getPriorities(); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(optionValues.get((optionValues.size() / 2))); attributes.put(a.getName(), a); a = new Attribute(BugReportElement.PRODUCT.toString()); a.setParameterName(BugReportElement.PRODUCT.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getProducts(); for (String option : optionValues) { a.addOptionValue(option, option); } attributes.put(a.getName(), a); a = new Attribute(BugReportElement.BUG_STATUS.toString()); a.setParameterName(BugReportElement.BUG_STATUS.getKeyString()); optionValues = BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getStatusValues(); for (String option : optionValues) { a.addOptionValue(option, option); } attributes.put(a.getName(), a); model.attributes = attributes; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/804a6ca635f36ebe92d1dd532bcd473e0e2f9c30/BugzillaRepositoryUtil.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 3875, 19865, 2498, 12, 780, 1438, 1489, 16, 1166, 19865, 1488, 938, 13, 288, 202, 202, 8658, 32, 780, 16, 3601, 34, 1677, 273, 394, 4317, 32, 780, 16, 3601, 34, 5621, 202, 202, 1499, 279, 273, 394, 3601, 12, 19865, 4820, 1046, 18, 4827, 67, 1090, 2204, 4107, 18, 10492, 10663, 202, 202, 69, 18, 542, 24586, 12, 19865, 4820, 1046, 18, 4827, 67, 1090, 2204, 4107, 18, 588, 653, 780, 10663, 202, 202, 682, 32, 780, 34, 1456, 1972, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 4133, 1750, 12, 3567, 1489, 2934, 588, 1761, 502, 1961, 5621, 202, 202, 1884, 261, 780, 1456, 294, 1456, 1972, 13, 288, 1082, 202, 69, 18, 1289, 13366, 12, 3482, 16, 1456, 1769, 202, 202, 97, 202, 202, 69, 18, 542, 620, 12, 3482, 1972, 18, 588, 12443, 3482, 1972, 18, 1467, 1435, 342, 576, 3719, 1769, 202, 202, 4350, 18, 458, 12, 69, 18, 17994, 9334, 279, 1769, 202, 202, 69, 273, 394, 3601, 12, 19865, 4820, 1046, 18, 3665, 67, 30664, 18, 10492, 10663, 202, 202, 69, 18, 542, 24586, 12, 19865, 4820, 1046, 18, 3665, 67, 30664, 18, 588, 653, 780, 10663, 202, 202, 3482, 1972, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 4133, 1750, 12, 3567, 1489, 2934, 588, 4618, 87, 5621, 202, 202, 1884, 261, 780, 1456, 294, 1456, 1972, 13, 288, 1082, 202, 69, 18, 1289, 13366, 12, 3482, 16, 1456, 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, 760, 918, 3875, 19865, 2498, 12, 780, 1438, 1489, 16, 1166, 19865, 1488, 938, 13, 288, 202, 202, 8658, 32, 780, 16, 3601, 34, 1677, 273, 394, 4317, 32, 780, 16, 3601, 34, 5621, 202, 202, 1499, 279, 273, 394, 3601, 12, 19865, 4820, 1046, 18, 4827, 67, 1090, 2204, 4107, 18, 10492, 10663, 202, 202, 69, 18, 542, 24586, 12, 19865, 4820, 1046, 18, 4827, 67, 1090, 2204, 4107, 18, 588, 653, 780, 10663, 202, 202, 682, 32, 780, 34, 1456, 1972, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 4133, 1750, 12, 3567, 1489, 2934, 588, 1761, 502, 1961, 5621, 202, 202, 1884, 261, 780, 1456, 294, 1456, 1972, 13, 288, 1082, 202, 2 ]
if(h == null) {
if (h == null) {
protected String getHadoopClientHome() { String h = env_.getProperty("HADOOP_HOME"); // standard Hadoop if(h == null) { //fail("Missing required environment variable: HADOOP_HOME"); h = "UNDEF"; } return h; }
50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/e10b40e8014547113799b2653164e8c990d41209/StreamJob.java/clean/src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 7628, 12460, 1227, 8684, 1435, 225, 288, 565, 514, 366, 273, 1550, 27799, 588, 1396, 2932, 44, 1880, 51, 3665, 67, 14209, 8863, 368, 4529, 23471, 565, 309, 261, 76, 422, 446, 13, 288, 1377, 368, 6870, 2932, 4841, 1931, 3330, 2190, 30, 670, 1880, 51, 3665, 67, 14209, 8863, 1377, 366, 273, 315, 2124, 12904, 14432, 565, 289, 565, 327, 366, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 7628, 12460, 1227, 8684, 1435, 225, 288, 565, 514, 366, 273, 1550, 27799, 588, 1396, 2932, 44, 1880, 51, 3665, 67, 14209, 8863, 368, 4529, 23471, 565, 309, 261, 76, 422, 446, 13, 288, 1377, 368, 6870, 2932, 4841, 1931, 3330, 2190, 30, 670, 1880, 51, 3665, 67, 14209, 8863, 1377, 366, 273, 315, 2124, 12904, 14432, 565, 289, 565, 327, 366, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected Boolean equivalentValues(Object value)
protected Object equivalentValues(Object value)
protected Boolean equivalentValues(Object value) { return (this == value) ? Boolean.TRUE : null; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/e056c6cd398e14bb613713e0d2422d282617403a/ScriptableObject.java/clean/js/rhino/src/org/mozilla/javascript/ScriptableObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 7680, 1972, 12, 921, 460, 13, 565, 288, 3639, 327, 261, 2211, 422, 460, 13, 692, 3411, 18, 18724, 294, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1033, 7680, 1972, 12, 921, 460, 13, 565, 288, 3639, 327, 261, 2211, 422, 460, 13, 692, 3411, 18, 18724, 294, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (username == null || username.trim().equals("") || password == null || password.trim().equals("")) { JForum.getContext().put("error", I18n.getMessage("UsernamePasswordCannotBeNull"));
if (username == null || username.trim().equals("") || password == null || password.trim().equals("")) { JForum.getContext().put("error", I18n.getMessage("UsernamePasswordCannotBeNull"));
public void insertSave() throws Exception { User u = new User(); UserModel um = DataAccessDriver.getInstance().newUserModel(); String username = JForum.getRequest().getParameter("username"); String password = JForum.getRequest().getParameter("password"); boolean error = false; if (username == null || username.trim().equals("") || password == null || password.trim().equals("")) { JForum.getContext().put("error", I18n.getMessage("UsernamePasswordCannotBeNull")); error = true; } if (!error && um.isUsernameRegistered(JForum.getRequest().getParameter( "username"))) { JForum.getContext().put("error", I18n.getMessage("UsernameExists")); error = true; } if (error) { this.insert(); return; } u.setUsername(username); u.setPassword(MD5.crypt(password)); u.setEmail(JForum.getRequest().getParameter("email")); if (SystemGlobals.getBoolValue(ConfigKeys.MAIL_USER_EMAIL_AUTH)) { u .setActivationKey(MD5.crypt(username + System.currentTimeMillis())); } int userId = um.addNew(u); if (SystemGlobals.getBoolValue(ConfigKeys.MAIL_USER_EMAIL_AUTH)) { try { //Send an email to new user QueuedExecutor.getInstance().execute( new EmailSenderTask(new ActivationKeySpammer(userId, u .getUsername(), u.getEmail(), u .getActivationKey()))); } catch (Exception e) { e.printStackTrace(); } JForum.getContext().put("moduleAction", "message.htm"); JForum.getContext().put("message", I18n.getMessage("User.GoActivateAccountMessage")); } else { this.logNewRegisteredUserIn(userId, u); } }
52144 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52144/12ab778e1c856f70084f819e1ce97f90b5d97226/UserAction.java/buggy/src/net/jforum/view/forum/UserAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2243, 4755, 1435, 1216, 1185, 288, 202, 202, 1299, 582, 273, 394, 2177, 5621, 202, 202, 1299, 1488, 9570, 273, 1910, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 5621, 202, 202, 780, 2718, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 5053, 8863, 202, 202, 780, 2201, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 3664, 8863, 202, 202, 6494, 555, 273, 629, 31, 202, 202, 430, 261, 5053, 422, 446, 747, 2718, 18, 5290, 7675, 14963, 2932, 7923, 747, 2201, 422, 446, 9506, 202, 20081, 2201, 18, 5290, 7675, 14963, 2932, 6, 3719, 288, 1082, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 1636, 3113, 6862, 202, 45, 2643, 82, 18, 24906, 2932, 8575, 3913, 4515, 1919, 2041, 7923, 1769, 1082, 202, 1636, 273, 638, 31, 202, 202, 97, 202, 202, 430, 16051, 1636, 9506, 202, 10, 10, 9570, 18, 291, 8575, 10868, 12, 46, 1290, 379, 18, 588, 691, 7675, 588, 1662, 12, 25083, 202, 6, 5053, 6, 20349, 288, 1082, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 1636, 3113, 467, 2643, 82, 18, 24906, 2932, 8575, 4002, 7923, 1769, 1082, 202, 1636, 273, 638, 31, 202, 202, 97, 202, 202, 430, 261, 1636, 13, 288, 1082, 202, 2211, 18, 6387, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 89, 18, 542, 8575, 12, 5053, 1769, 202, 202, 89, 18, 542, 3913, 12, 6188, 25, 18, 22784, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2243, 4755, 1435, 1216, 1185, 288, 202, 202, 1299, 582, 273, 394, 2177, 5621, 202, 202, 1299, 1488, 9570, 273, 1910, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 5621, 202, 202, 780, 2718, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 5053, 8863, 202, 202, 780, 2201, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 3664, 8863, 202, 202, 6494, 555, 273, 629, 31, 202, 202, 430, 261, 5053, 422, 446, 747, 2718, 18, 5290, 7675, 14963, 2932, 7923, 747, 2201, 422, 446, 9506, 202, 20081, 2201, 18, 5290, 7675, 14963, 2932, 6, 3719, 288, 1082, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 1636, 3113, 2 ]
Iterator parameters = element.getChildElements("param").iterator(); while (parameters.hasNext()) { Element nextParameter = (Element) parameters.next(); String name = nextParameter.getAttribute("name"); if ("_function".equals(name)) { if (! TextUtils.isEmpty(nextParameter.getText())) { return true; } } } return false;
return element.getLocalName().equals("request") && element.getAttribute("function") != null;
protected boolean matches(HttpServletRequest httpRequest) throws Exception { // Parse the XML in the request (if any) Element element = parseXMLRequest(httpRequest); // Get all <param/> elements // // NOTE: getChildElements never returns null Iterator parameters = element.getChildElements("param").iterator(); // Search through the parameters until we find the one that specifies // the name of the function to invoke while (parameters.hasNext()) { Element nextParameter = (Element) parameters.next(); String name = nextParameter.getAttribute("name"); // We found the _function parameter, stop searching; if the value // is non-empty we have a match, otherwise we don't. if ("_function".equals(name)) { if (! TextUtils.isEmpty(nextParameter.getText())) { return true; } } } return false; }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/e026abe2c64a05b9716fe92c434577a95e165348/XMLCallingConvention.java/clean/src/java-server-framework/org/xins/server/XMLCallingConvention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 1250, 1885, 12, 2940, 18572, 12189, 13, 282, 1216, 1185, 288, 1377, 368, 2884, 326, 3167, 316, 326, 590, 261, 430, 1281, 13, 1377, 3010, 930, 273, 1109, 4201, 691, 12, 2505, 691, 1769, 1377, 368, 968, 777, 411, 891, 21259, 2186, 1377, 368, 1377, 368, 5219, 30, 8154, 3471, 5903, 1135, 446, 1377, 4498, 1472, 273, 930, 18, 588, 1763, 3471, 2932, 891, 20387, 9838, 5621, 1377, 368, 5167, 3059, 326, 1472, 3180, 732, 1104, 326, 1245, 716, 11470, 1377, 368, 326, 508, 434, 326, 445, 358, 4356, 1377, 1323, 261, 3977, 18, 5332, 2134, 10756, 288, 540, 3010, 1024, 1662, 273, 261, 1046, 13, 1472, 18, 4285, 5621, 540, 514, 225, 508, 1850, 273, 1024, 1662, 18, 588, 1499, 2932, 529, 8863, 540, 368, 1660, 1392, 326, 389, 915, 1569, 16, 2132, 15300, 31, 309, 326, 460, 540, 368, 353, 1661, 17, 5531, 732, 1240, 279, 845, 16, 3541, 732, 2727, 1404,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4750, 1250, 1885, 12, 2940, 18572, 12189, 13, 282, 1216, 1185, 288, 1377, 368, 2884, 326, 3167, 316, 326, 590, 261, 430, 1281, 13, 1377, 3010, 930, 273, 1109, 4201, 691, 12, 2505, 691, 1769, 1377, 368, 968, 777, 411, 891, 21259, 2186, 1377, 368, 1377, 368, 5219, 30, 8154, 3471, 5903, 1135, 446, 1377, 4498, 1472, 273, 930, 18, 588, 1763, 3471, 2932, 891, 20387, 9838, 5621, 1377, 368, 5167, 3059, 326, 1472, 3180, 732, 1104, 326, 1245, 716, 11470, 1377, 368, 326, 508, 434, 326, 445, 358, 4356, 1377, 1323, 261, 3977, 18, 5332, 2134, 10756, 288, 540, 3010, 1024, 1662, 273, 261, 1046, 13, 1472, 18, 4285, 5621, 540, 514, 225, 508, 1850, 273, 1024, 2 ]
receiveMessage("You must select an agent in the list first and add one if none is already present");
receiveMessage("You must select an agent in the list first or add one if none is already present");
private int getIndex() { int n = agentList.getSelectedIndex(); if (n == -1) { receiveMessage("You must select an agent in the list first and add one if none is already present"); } return agentList.getSelectedIndex(); }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/fa5a996c0fc1921a71bd3e973d207e138f215eb8/PenguinApplet.java/buggy/src/org/objectweb/proactive/examples/penguin/PenguinApplet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 8088, 1435, 288, 565, 509, 290, 273, 4040, 682, 18, 588, 7416, 1016, 5621, 565, 309, 261, 82, 422, 300, 21, 13, 288, 1377, 6798, 1079, 2932, 6225, 1297, 2027, 392, 4040, 316, 326, 666, 1122, 578, 527, 1245, 309, 6555, 353, 1818, 3430, 8863, 565, 289, 565, 327, 4040, 682, 18, 588, 7416, 1016, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 8088, 1435, 288, 565, 509, 290, 273, 4040, 682, 18, 588, 7416, 1016, 5621, 565, 309, 261, 82, 422, 300, 21, 13, 288, 1377, 6798, 1079, 2932, 6225, 1297, 2027, 392, 4040, 316, 326, 666, 1122, 578, 527, 1245, 309, 6555, 353, 1818, 3430, 8863, 565, 289, 565, 327, 4040, 682, 18, 588, 7416, 1016, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean checkGroup(XsdNode node) { if (node.transparent) { boolean checkedOk = true; Enumeration children = node.children(); while (children.hasMoreElements()) { XsdNode child = (XsdNode) children.nextElement(); if (!check(child)) { System.out.println("pb with " + child); checkedOk = false; } } node.isCheckedOk = checkedOk; //System.out.println("check " + node + ":" + checkedOk); return checkedOk; } boolean errors = false; /* check if number of subelts is correct */ HashMap maxOccurs = new HashMap(); HashMap minOccurs = new HashMap(); Enumeration children = node.children(); while (children.hasMoreElements()) { XsdNode child = (XsdNode) children.nextElement(); int nbDuplications = 1; String previousFilter = pathFilter; String filter = ""; if (associatedDuplicableFields.containsKey(child)) { // sSystem.out.println(child + ", " + getPathForNode(child) + ": // " +(String) associatedDuplicableFields // .get(child)); nbDuplications = flatFiles .nbElements((String) associatedDuplicableFields .get(child)); for (int i = 0; i < ((String) associatedDuplicableFields .get(child)).split("\\.").length; i++) { filter += "0."; } filter += "0"; pathFilter = filter; } for (int i = 0; i < nbDuplications; i++) { if (i > 0) { int lastFilterIdx = Integer.parseInt(filter .substring(filter.lastIndexOf(".") + 1)) + i; pathFilter = filter.substring(0, filter.lastIndexOf(".") + 1) + lastFilterIdx; } boolean isChildOk = check(child); switch (((Annotated) child.getUserObject()).getStructureType()) { case Structure.ATTRIBUTE: if (!isChildOk) errors = true; break; case Structure.GROUP: if (!isChildOk) { System.out.println("oups:" + node + ", " + child); errors = true; } break; case Structure.ELEMENT: /* initialisation if first occurence of the element */ if (!maxOccurs.containsKey(child.toString())) { int max = child.max; if (max != -1) { maxOccurs.put(child.toString(), new Integer(max)); } else { maxOccurs.put(child.toString(), "UNBOUNDED"); } minOccurs.put(child.toString(), new Integer(child.min)); } if (child.isCheckedOk) { try { maxOccurs.put(child.toString(), new Integer( ((Integer) maxOccurs.get(child.toString())) .intValue() - 1)); } catch (ClassCastException e) { /* * ok, max is unbounded and exception is throws when * trying to cast String to Integer */ } minOccurs.put(child.toString(), new Integer( ((Integer) minOccurs.get(child.toString())) .intValue() - 1)); // minOccurs.put(child.toString(), new Integer(0)); } } pathFilter = previousFilter; } } Iterator names = minOccurs.keySet().iterator(); Iterator mins = minOccurs.values().iterator(); Iterator maxs = maxOccurs.values().iterator(); while (names.hasNext()) { String name = (String) names.next(); // if a min is > 0, it means that an element is missing /////////////////////// dat one if (((Integer) mins.next()).intValue() > 0) { errorManager.addMessage(node, "a " + name + " is missing!", ErrorManager.error); errors = true; } /* if a max is < 0, it means there are too much elements */ try { if (((Integer) maxs.next()).intValue() < 0) { errorManager.addMessage(node, "a " + name + " should be removed", ErrorManager.error); errors = true; } } catch (ClassCastException e) { /* * ok, max is unbounded and exception is throws when trying to * cast String to Integer */ } } node.isCheckedOk = !errors; // } else { // errorManager.addMessage(node, "-->maybe something is missing", // ErrorManager.warning); // } return node.isCheckedOk; }
3154 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3154/8317fd24793c994e235d930875bec53a6e8fe9fa/XsdTreeStructImpl.java/clean/tools/xmlMakerFlattener/src/mint/filemakers/xmlMaker/structure/XsdTreeStructImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 866, 1114, 12, 60, 6427, 907, 756, 13, 288, 202, 202, 430, 261, 2159, 18, 26516, 13, 288, 1082, 202, 6494, 5950, 8809, 273, 638, 31, 1082, 202, 21847, 2325, 273, 756, 18, 5906, 5621, 1082, 202, 17523, 261, 5906, 18, 5332, 7417, 3471, 10756, 288, 9506, 202, 60, 6427, 907, 1151, 273, 261, 60, 6427, 907, 13, 2325, 18, 4285, 1046, 5621, 9506, 202, 430, 16051, 1893, 12, 3624, 3719, 288, 6862, 202, 3163, 18, 659, 18, 8222, 2932, 5733, 598, 315, 397, 1151, 1769, 6862, 202, 4532, 8809, 273, 629, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2159, 18, 291, 11454, 8809, 273, 5950, 8809, 31, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 1893, 315, 397, 756, 397, 6153, 397, 5950, 8809, 1769, 1082, 202, 2463, 5950, 8809, 31, 202, 202, 97, 202, 202, 6494, 1334, 273, 629, 31, 202, 202, 20308, 866, 309, 1300, 434, 720, 292, 3428, 353, 3434, 1195, 202, 202, 8658, 943, 31084, 273, 394, 4317, 5621, 202, 202, 8658, 1131, 31084, 273, 394, 4317, 5621, 202, 202, 21847, 2325, 273, 756, 18, 5906, 5621, 202, 202, 17523, 261, 5906, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 60, 6427, 907, 1151, 273, 261, 60, 6427, 907, 13, 2325, 18, 4285, 1046, 5621, 1082, 202, 474, 4264, 40, 89, 1254, 87, 273, 404, 31, 1082, 202, 780, 2416, 1586, 273, 589, 1586, 31, 1082, 202, 780, 1034, 273, 1408, 31, 1082, 202, 430, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 866, 1114, 12, 60, 6427, 907, 756, 13, 288, 202, 202, 430, 261, 2159, 18, 26516, 13, 288, 1082, 202, 6494, 5950, 8809, 273, 638, 31, 1082, 202, 21847, 2325, 273, 756, 18, 5906, 5621, 1082, 202, 17523, 261, 5906, 18, 5332, 7417, 3471, 10756, 288, 9506, 202, 60, 6427, 907, 1151, 273, 261, 60, 6427, 907, 13, 2325, 18, 4285, 1046, 5621, 9506, 202, 430, 16051, 1893, 12, 3624, 3719, 288, 6862, 202, 3163, 18, 659, 18, 8222, 2932, 5733, 598, 315, 397, 1151, 1769, 6862, 202, 4532, 8809, 273, 629, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2159, 18, 291, 11454, 8809, 273, 5950, 8809, 31, 1082, 202, 759, 3163, 18, 2 ]
private boolean externalPersonsAlreadyExists(String name, String address, IWorkLocation workLocation, List<IExternalPerson> allExternalPersons) { for (IExternalPerson externalPerson : allExternalPersons) { if (externalPerson.getPerson().getNome().equals(name) && externalPerson.getPerson().getMorada().equals(address) && externalPerson.getWorkLocation().equals(workLocation) ) return true; } return false; }
private boolean externalPersonsAlreadyExists(String name, String address, IWorkLocation workLocation, List<IExternalPerson> allExternalPersons) { for (IExternalPerson externalPerson : allExternalPersons) { if (externalPerson.getPerson().getNome().equals(name) && externalPerson.getPerson().getMorada().equals(address) && externalPerson.getWorkLocation().equals(workLocation) && !externalPerson.equals(this)) return true; } return false; }
private boolean externalPersonsAlreadyExists(String name, String address, IWorkLocation workLocation, List<IExternalPerson> allExternalPersons) { for (IExternalPerson externalPerson : allExternalPersons) { if (externalPerson.getPerson().getNome().equals(name) && externalPerson.getPerson().getMorada().equals(address) && externalPerson.getWorkLocation().equals(workLocation) ) return true; } return false; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/73c8a140638e5945088c0f8db0d9349bc3baf30f/ExternalPerson.java/clean/src/net/sourceforge/fenixedu/domain/ExternalPerson.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3903, 8346, 87, 16686, 12, 780, 508, 16, 514, 1758, 16, 467, 2421, 2735, 1440, 2735, 16, 987, 32, 45, 6841, 8346, 34, 777, 6841, 8346, 87, 13, 288, 202, 202, 1884, 261, 45, 6841, 8346, 3903, 8346, 294, 777, 6841, 8346, 87, 13, 288, 1082, 202, 430, 261, 9375, 8346, 18, 588, 8346, 7675, 588, 50, 1742, 7675, 14963, 12, 529, 13, 597, 9506, 202, 9375, 8346, 18, 588, 8346, 7675, 588, 49, 280, 16524, 7675, 14963, 12, 2867, 13, 597, 9506, 202, 9375, 8346, 18, 588, 2421, 2735, 7675, 14963, 12, 1252, 2735, 13, 262, 6862, 9506, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 3903, 8346, 87, 16686, 12, 780, 508, 16, 514, 1758, 16, 467, 2421, 2735, 1440, 2735, 16, 987, 32, 45, 6841, 8346, 34, 777, 6841, 8346, 87, 13, 288, 202, 202, 1884, 261, 45, 6841, 8346, 3903, 8346, 294, 777, 6841, 8346, 87, 13, 288, 1082, 202, 430, 261, 9375, 8346, 18, 588, 8346, 7675, 588, 50, 1742, 7675, 14963, 12, 529, 13, 597, 9506, 202, 9375, 8346, 18, 588, 8346, 7675, 588, 49, 280, 16524, 7675, 14963, 12, 2867, 13, 597, 9506, 202, 9375, 8346, 18, 588, 2421, 2735, 7675, 14963, 12, 1252, 2735, 13, 262, 6862, 9506, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100 ]
HTMLNode insertForm = insertContent.addChild("form", new String[] { "action", "method", "enctype", "encoding" }, new String[] { "/queue/", "post", "UTF-8", "multipart/form-data" }); insertForm.addChild(pageMaker.createFormPasswordInput(core.formPassword));
HTMLNode insertForm = ctx.addFormChild(insertContent, "/queue/", "queueInsertForm");
private HTMLNode createInsertBox(PageMaker pageMaker) { /* the insert file box */ HTMLNode insertBox = pageMaker.getInfobox("Insert File"); HTMLNode insertContent = pageMaker.getContentNode(insertBox); HTMLNode insertForm = insertContent.addChild("form", new String[] { "action", "method", "enctype", "encoding" }, new String[] { "/queue/", "post", "UTF-8", "multipart/form-data" }); insertForm.addChild(pageMaker.createFormPasswordInput(core.formPassword)); insertForm.addChild("#", "Insert as: "); insertForm.addChild("input", new String[] { "type", "name", "value", "checked" }, new String[] { "radio", "keytype", "chk", "checked" }); insertForm.addChild("#", " CHK \u00a0 "); insertForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "radio", "keytype", "ksk" }); insertForm.addChild("#", " KSK \u00a0 "); insertForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "text", "key", "KSK@" }); insertForm.addChild("#", " \u00a0 File: "); insertForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "file", "filename", "" }); insertForm.addChild("#", " \u00a0 "); insertForm.addChild("input", new String[] { "type", "name", "checked" }, new String[] { "checkbox", "compress", "checked" }); insertForm.addChild("#", " Compress \u00a0 "); insertForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "insert", "Insert file" }); insertForm.addChild("#", " \u00a0 "); insertForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "insert-local", "Browse..." }); insertForm.addChild("#", " \u00a0 "); insertForm.addChild("input", new String[] { "type", "name" }, new String[] { "reset", "Reset form" }); return insertBox; }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/7b992ac7b46f4eaaf97e9e0e1b7e5c18e1c89deb/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3982, 907, 752, 4600, 3514, 12, 1964, 12373, 1363, 12373, 13, 288, 202, 202, 20308, 326, 2243, 585, 3919, 1195, 202, 202, 4870, 907, 2243, 3514, 273, 1363, 12373, 18, 588, 966, 2147, 2932, 4600, 1387, 8863, 202, 202, 4870, 907, 2243, 1350, 273, 1363, 12373, 18, 588, 1350, 907, 12, 6387, 3514, 1769, 202, 202, 4870, 907, 2243, 1204, 273, 2243, 1350, 18, 1289, 1763, 2932, 687, 3113, 394, 514, 8526, 288, 315, 1128, 3113, 315, 2039, 3113, 315, 275, 12387, 3113, 315, 5999, 6, 19879, 394, 514, 8526, 288, 2206, 4000, 19, 3113, 315, 2767, 3113, 315, 5159, 17, 28, 3113, 315, 16404, 19, 687, 17, 892, 6, 15549, 202, 202, 6387, 1204, 18, 1289, 1763, 12, 2433, 12373, 18, 2640, 1204, 3913, 1210, 12, 3644, 18, 687, 3913, 10019, 202, 202, 6387, 1204, 18, 1289, 1763, 2932, 7, 3113, 315, 4600, 487, 30, 315, 1769, 202, 202, 6387, 1204, 18, 1289, 1763, 2932, 2630, 3113, 394, 514, 8526, 288, 315, 723, 3113, 315, 529, 3113, 315, 1132, 3113, 315, 4532, 6, 19879, 394, 514, 8526, 288, 315, 17006, 3113, 315, 856, 723, 3113, 315, 27038, 3113, 315, 4532, 6, 15549, 202, 202, 6387, 1204, 18, 1289, 1763, 2932, 7, 3113, 315, 6469, 47, 521, 89, 713, 69, 20, 315, 1769, 202, 202, 6387, 1204, 18, 1289, 1763, 2932, 2630, 3113, 394, 514, 8526, 288, 315, 723, 3113, 315, 529, 3113, 315, 1132, 6, 19879, 394, 514, 8526, 288, 315, 17006, 3113, 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, 3982, 907, 752, 4600, 3514, 12, 1964, 12373, 1363, 12373, 13, 288, 202, 202, 20308, 326, 2243, 585, 3919, 1195, 202, 202, 4870, 907, 2243, 3514, 273, 1363, 12373, 18, 588, 966, 2147, 2932, 4600, 1387, 8863, 202, 202, 4870, 907, 2243, 1350, 273, 1363, 12373, 18, 588, 1350, 907, 12, 6387, 3514, 1769, 202, 202, 4870, 907, 2243, 1204, 273, 2243, 1350, 18, 1289, 1763, 2932, 687, 3113, 394, 514, 8526, 288, 315, 1128, 3113, 315, 2039, 3113, 315, 275, 12387, 3113, 315, 5999, 6, 19879, 394, 514, 8526, 288, 2206, 4000, 19, 3113, 315, 2767, 3113, 315, 5159, 17, 28, 3113, 315, 16404, 19, 687, 17, 892, 6, 15549, 202, 202, 6387, 1204, 18, 2 ]
return order; }
return order; }
public int getOrder() { return order; }
54552 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54552/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 11973, 1435, 288, 202, 202, 2463, 1353, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new UTF8( Short.toString(replication))};
toLogReplication( replication )};
public boolean addFile(UTF8 path, Block[] blocks, short replication) { waitForReady(); // Always do an implicit mkdirs for parent directory tree String pathString = path.toString(); mkdirs(new Path(pathString).getParent().toString()); INode newNode = new INode( new File(pathString).getName(), blocks, replication); if( ! unprotectedAddFile(path, newNode) ) return false; // add create file record to log UTF8 nameReplicationPair[] = new UTF8[] { path, new UTF8( Short.toString(replication))}; logEdit(OP_ADD, new ArrayWritable( UTF8.class, nameReplicationPair ), new ArrayWritable( Block.class, newNode.blocks )); return true; }
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/cae1cf44dac13d6acf7521dba60d821eb3970dc3/FSDirectory.java/buggy/src/java/org/apache/hadoop/dfs/FSDirectory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 18671, 12, 5159, 28, 589, 16, 3914, 8526, 4398, 16, 3025, 11335, 13, 288, 3639, 10712, 8367, 5621, 3639, 368, 14178, 741, 392, 10592, 18095, 364, 982, 1867, 2151, 3639, 514, 29307, 273, 589, 18, 10492, 5621, 3639, 18095, 12, 2704, 2666, 12, 803, 780, 2934, 588, 3054, 7675, 10492, 10663, 3639, 21176, 10942, 273, 394, 21176, 12, 394, 1387, 12, 803, 780, 2934, 17994, 9334, 4398, 16, 11335, 1769, 3639, 309, 12, 401, 640, 1117, 986, 812, 12, 803, 16, 10942, 13, 262, 1850, 327, 629, 31, 3639, 368, 527, 752, 585, 1409, 358, 613, 3639, 6380, 28, 508, 8309, 4154, 8526, 273, 394, 6380, 28, 8526, 288, 1171, 9079, 589, 16, 1171, 9079, 358, 1343, 8309, 12, 11335, 262, 20451, 3639, 613, 4666, 12, 3665, 67, 8355, 16, 7734, 394, 1510, 12061, 12, 6380, 28, 18, 1106, 16, 508, 8309, 4154, 262, 16, 1171, 394, 1510, 12061, 12, 3914, 18, 1106, 16, 10942, 18, 7996, 262, 1769, 3639, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 3639, 368, 14178, 741, 392, 10592, 18095, 364, 982, 1867, 2151, 3639, 514, 29307, 273, 589, 18, 10492, 5621, 3639, 18095, 12, 2704, 2666, 12, 803, 780, 2934, 588, 3054, 7675, 10492, 10663, 3639, 21176, 10942, 273, 394, 21176, 12, 394, 1387, 12, 803, 780, 2934, 17994, 9334, 4398, 16, 11335, 1769, 3639, 309, 12, 401, 640, 1117, 986, 812, 12, 803, 16, 10942, 13, 262, 1850, 327, 629, 31, 3639, 368, 527, 752, 585, 1409, 358, 613, 3639, 6380, 28, 508, 8309, 4154, 8526, 273, 394, 6380, 28, 8526, 288, 1171, 9079, 589, 16, 1171, 9079, 358, 2 ]
int blockSzLimitCnt = 0;
int relaySzCnt = 0;
public String getSummaryHtml(Connection conn, Timestamp startDate, Timestamp endDate) { int blockSpamCnt = 0; int blockVirusCnt = 0; int replaceVirusCnt = 0; int blockCustomCnt = 0; //int exchangeCustomCnt = 0; int passCnt = 0; int blockSzLimitCnt = 0; try { String sql = "select count(*) from tr_email_spam_evt where time_stamp >= ? and time_stamp < ? and (action != 'P')"; PreparedStatement ps = conn.prepareStatement(sql); ps.setTimestamp(1, startDate); ps.setTimestamp(2, endDate); ResultSet rs = ps.executeQuery(); rs.first(); blockSpamCnt = rs.getInt(1); rs.close(); ps.close(); sql = "select count(*) from tr_email_virus_evt where time_stamp >= ? and time_stamp < ? and (action != 'P' and action != 'C')"; ps = conn.prepareStatement(sql); ps.setTimestamp(1, startDate); ps.setTimestamp(2, endDate); rs = ps.executeQuery(); rs.first(); blockVirusCnt = rs.getInt(1); rs.close(); ps.close(); sql = "select count(*) from tr_email_virus_evt where time_stamp >= ? and time_stamp < ? and action = 'C'"; ps = conn.prepareStatement(sql); ps.setTimestamp(1, startDate); ps.setTimestamp(2, endDate); rs = ps.executeQuery(); rs.first(); replaceVirusCnt = rs.getInt(1); rs.close(); ps.close(); sql = "select count(*) from tr_email_custom_evt where time_stamp >= ? and time_stamp < ? and action = 'B'"; ps = conn.prepareStatement(sql); ps.setTimestamp(1, startDate); ps.setTimestamp(2, endDate); rs = ps.executeQuery(); rs.first(); blockCustomCnt = rs.getInt(1); rs.close(); ps.close(); //sql = "select count(*) from tr_email_custom_evt where time_stamp >= ? and time_stamp < ? and action = 'E'"; //ps = conn.prepareStatement(sql); //ps.setTimestamp(1, startDate); //ps.setTimestamp(2, endDate); //rs = ps.executeQuery(); //rs.first(); //exchangeCustomCnt = rs.getInt(1); //rs.close(); //ps.close(); sql = "select count(*) from tr_email_szlimit_evt where time_stamp >= ? and time_stamp < ?"; ps = conn.prepareStatement(sql); ps.setTimestamp(1, startDate); ps.setTimestamp(2, endDate); rs = ps.executeQuery(); rs.first(); blockSzLimitCnt = rs.getInt(1); rs.close(); ps.close(); sql = "select count(*) from tr_email_custom_evt where time_stamp >= ? and time_stamp < ? and action = 'P'"; ps = conn.prepareStatement(sql); ps.setTimestamp(1, startDate); ps.setTimestamp(2, endDate); rs = ps.executeQuery(); rs.first(); passCnt = rs.getInt(1); rs.close(); ps.close(); } catch (SQLException exn) { logger.warn("could not summarize", exn); } addEntry("Number of blocked Spam messages", blockSpamCnt); addEntry("Number of blocked Virus messages", blockVirusCnt); addEntry("Number of modified Virus messages", replaceVirusCnt); addEntry("Number of blocked Custom rule messages", blockCustomCnt); //addEntry("Number of modified Custom rule messages", exchangeCustomCnt); addEntry("Number of passed messages", passCnt); addEntry("Number of blocked Size Limit messages", blockSzLimitCnt); int totalCnt = blockSpamCnt + blockVirusCnt + replaceVirusCnt + blockCustomCnt + passCnt + blockSzLimitCnt; addEntry("Total number of scanned messages", totalCnt); // XXXX String tranName = "eMail SpamGuard"; return summarizeEntries(tranName); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/86a2dd0f36f375f9bcbee1237fb2c565c37a9eba/EmailSummarizer.java/clean/tran/email/main/com/metavize/tran/email/EmailSummarizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1322, 27804, 4353, 12, 1952, 1487, 16, 8159, 12572, 16, 8159, 13202, 13, 565, 288, 3639, 509, 1203, 3389, 301, 11750, 273, 374, 31, 3639, 509, 1203, 58, 481, 407, 11750, 273, 374, 31, 3639, 509, 1453, 58, 481, 407, 11750, 273, 374, 31, 3639, 509, 1203, 3802, 11750, 273, 374, 31, 3639, 368, 474, 7829, 3802, 11750, 273, 374, 31, 3639, 509, 1342, 11750, 273, 374, 31, 3639, 509, 18874, 55, 94, 11750, 273, 374, 31, 3639, 775, 288, 5411, 514, 1847, 273, 315, 4025, 1056, 24099, 628, 433, 67, 3652, 67, 1752, 301, 67, 73, 11734, 1625, 813, 67, 14317, 1545, 692, 471, 813, 67, 14317, 411, 692, 471, 261, 1128, 480, 296, 52, 23291, 31, 5411, 16913, 4250, 273, 1487, 18, 9366, 3406, 12, 4669, 1769, 5411, 4250, 18, 542, 4921, 12, 21, 16, 12572, 1769, 5411, 4250, 18, 542, 4921, 12, 22, 16, 13202, 1769, 5411, 10842, 3597, 273, 4250, 18, 8837, 1138, 5621, 5411, 3597, 18, 3645, 5621, 5411, 1203, 3389, 301, 11750, 273, 3597, 18, 588, 1702, 12, 21, 1769, 5411, 3597, 18, 4412, 5621, 5411, 4250, 18, 4412, 5621, 5411, 1847, 273, 315, 4025, 1056, 24099, 628, 433, 67, 3652, 67, 25692, 407, 67, 73, 11734, 1625, 813, 67, 14317, 1545, 692, 471, 813, 67, 14317, 411, 692, 471, 261, 1128, 480, 296, 52, 11, 471, 1301, 480, 296, 39, 23291, 31, 5411, 4250, 273, 1487, 18, 9366, 3406, 12, 4669, 1769, 5411, 4250, 18, 542, 4921, 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, 1322, 27804, 4353, 12, 1952, 1487, 16, 8159, 12572, 16, 8159, 13202, 13, 565, 288, 3639, 509, 1203, 3389, 301, 11750, 273, 374, 31, 3639, 509, 1203, 58, 481, 407, 11750, 273, 374, 31, 3639, 509, 1453, 58, 481, 407, 11750, 273, 374, 31, 3639, 509, 1203, 3802, 11750, 273, 374, 31, 3639, 368, 474, 7829, 3802, 11750, 273, 374, 31, 3639, 509, 1342, 11750, 273, 374, 31, 3639, 509, 18874, 55, 94, 11750, 273, 374, 31, 3639, 775, 288, 5411, 514, 1847, 273, 315, 4025, 1056, 24099, 628, 433, 67, 3652, 67, 1752, 301, 67, 73, 11734, 1625, 813, 67, 14317, 1545, 692, 471, 813, 67, 14317, 411, 692, 471, 261, 1128, 480, 296, 52, 2 ]
fParticleIdx[fStackPos] = particleIdx; fElementDecl[fStackPos] = elmDecl; fSchemaDoc[fStackPos] = schemaDoc; fGrammar[fStackPos] = grammar; fAllContext[fStackPos] = allContextFlags;
if(fDeferTraversingLocalElements) { fSchemaHandler.fillInLocalElemInfo(elmDecl, schemaDoc, allContextFlags, particleIdx); } else { traverseLocal(particleIdx, elmDecl, schemaDoc, grammar, allContextFlags); }
int traverseLocal(Element elmDecl, XSDocumentInfo schemaDoc, SchemaGrammar grammar, int allContextFlags) { // if the stack is full, increase the size if (fParticleIdx.length == fStackPos) { // increase size int[] newStackI = new int[fStackPos+INC_STACK_SIZE]; System.arraycopy(fParticleIdx, 0, newStackI, 0, fStackPos); Element[] newStackE = new Element[fStackPos+INC_STACK_SIZE]; System.arraycopy(fElementDecl, 0, newStackE, 0, fStackPos); XSDocumentInfo[] newStackX = new XSDocumentInfo[fStackPos+INC_STACK_SIZE]; System.arraycopy(fSchemaDoc, 0, newStackX, 0, fStackPos); SchemaGrammar[] newStackS = new SchemaGrammar[fStackPos+INC_STACK_SIZE]; System.arraycopy(fGrammar, 0, newStackS, 0, fStackPos); newStackI = new int[fStackPos+INC_STACK_SIZE]; System.arraycopy(fAllContext, 0, newStackI, 0, fStackPos); } fTempParticleDecl.clear(); fTempParticleDecl.type = XSParticleDecl.PARTICLE_EMPTY; int particleIdx = grammar.addParticleDecl(fTempParticleDecl); fParticleIdx[fStackPos] = particleIdx; fElementDecl[fStackPos] = elmDecl; fSchemaDoc[fStackPos] = schemaDoc; fGrammar[fStackPos] = grammar; fAllContext[fStackPos] = allContextFlags; return particleIdx; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/a3bd7670ab2c82bb4c46b1fecaf580934f0785b9/XSDElementTraverser.java/buggy/src/org/apache/xerces/impl/v2/XSDElementTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 10080, 2042, 12, 1046, 12531, 3456, 16, 8227, 1139, 55, 2519, 966, 1963, 1759, 16, 8227, 4611, 18576, 6473, 16, 8227, 509, 777, 1042, 5094, 13, 288, 3639, 368, 309, 326, 2110, 353, 1983, 16, 10929, 326, 963, 3639, 309, 261, 74, 1988, 3711, 4223, 18, 2469, 422, 284, 2624, 1616, 13, 288, 5411, 368, 10929, 963, 5411, 509, 8526, 394, 2624, 45, 273, 394, 509, 63, 74, 2624, 1616, 15, 23213, 67, 21971, 67, 4574, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 1988, 3711, 4223, 16, 374, 16, 394, 2624, 45, 16, 374, 16, 284, 2624, 1616, 1769, 5411, 3010, 8526, 394, 2624, 41, 273, 394, 3010, 63, 74, 2624, 1616, 15, 23213, 67, 21971, 67, 4574, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 1046, 3456, 16, 374, 16, 394, 2624, 41, 16, 374, 16, 284, 2624, 1616, 1769, 5411, 1139, 55, 2519, 966, 8526, 394, 2624, 60, 273, 394, 1139, 55, 2519, 966, 63, 74, 2624, 1616, 15, 23213, 67, 21971, 67, 4574, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 3078, 1759, 16, 374, 16, 394, 2624, 60, 16, 374, 16, 284, 2624, 1616, 1769, 5411, 4611, 18576, 8526, 394, 2624, 55, 273, 394, 4611, 18576, 63, 74, 2624, 1616, 15, 23213, 67, 21971, 67, 4574, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 18576, 16, 374, 16, 394, 2624, 55, 16, 374, 16, 284, 2624, 1616, 1769, 5411, 394, 2624, 45, 273, 394, 509, 63, 74, 2624, 1616, 15, 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, 509, 10080, 2042, 12, 1046, 12531, 3456, 16, 8227, 1139, 55, 2519, 966, 1963, 1759, 16, 8227, 4611, 18576, 6473, 16, 8227, 509, 777, 1042, 5094, 13, 288, 3639, 368, 309, 326, 2110, 353, 1983, 16, 10929, 326, 963, 3639, 309, 261, 74, 1988, 3711, 4223, 18, 2469, 422, 284, 2624, 1616, 13, 288, 5411, 368, 10929, 963, 5411, 509, 8526, 394, 2624, 45, 273, 394, 509, 63, 74, 2624, 1616, 15, 23213, 67, 21971, 67, 4574, 15533, 5411, 2332, 18, 1126, 3530, 12, 74, 1988, 3711, 4223, 16, 374, 16, 394, 2624, 45, 16, 374, 16, 284, 2624, 1616, 1769, 5411, 3010, 8526, 394, 2624, 41, 273, 394, 3010, 63, 74, 2624, 1616, 15, 23213, 67, 21971, 2 ]
if (groupsName == null) { groupsName = new String[formation.getGroups().size()+1]; groups = new Group[formation.getGroups().size()+1]; groupsName[0] = ""; int j = 1; for (Iterator i = formation.getGroups().iterator(); i.hasNext(); ++j) { groups[j] = (Group) i.next(); groupsName[j] = groups[j].getHeading(); }
/*if (groupsName == null) { try { formation = DaoManager.getFormationDao().getFormation(formation, new String[] {FormationDao.JOIN_GROUPS}); groupsName = new String[formation.getGroups().size()+1]; groups = new Group[formation.getGroups().size()+1]; groupsName[0] = ""; int j = 1; for (Iterator i = formation.getGroups().iterator(); i.hasNext(); ++j) { groups[j] = (Group) i.next(); groupsName[j] = groups[j].getHeading(); } throw new Exception(); } catch (Exception e) { JLabel label = new JLabel("Erreur lors de la rcupration des groupes"); label.setForeground(Color.RED); addComponent(AMFWLayout,layoutConstraints,label,7,1,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(20,10,15,10)); panel.add(label); }
private void initTypeCoursePanel(JPanel panel, int type) { GridBagLayout layout = new GridBagLayout(); GridBagConstraints layoutConstraints = new GridBagConstraints(); panel.setLayout(layout); JLabel typeCourseLabel = new JLabel(); JLabel nbGroupsLabel; nbGroupsLabel = new JLabel("Nombre de groupes :"); JLabel nameGroupLabel = new JLabel("Groupe1 :"); JLabel teacherGroupsLabel; teacherGroupsLabel = new JLabel("Enseignant :"); if (groupsName == null) { groupsName = new String[formation.getGroups().size()+1]; groups = new Group[formation.getGroups().size()+1]; groupsName[0] = ""; int j = 1; for (Iterator i = formation.getGroups().iterator(); i.hasNext(); ++j) { groups[j] = (Group) i.next(); groupsName[j] = groups[j].getHeading(); } } JComboBox nameGroupJcb = new JComboBox(groupsName); JComboBox teacherGroupsJcB = new JComboBox(teachersName); /* JPanel nameGroupsPanel = new JPanel(); JPanel chooseNameGroupsPanel = new JPanel(); JPanel teacherGroupsPanel = new JPanel(); JPanel chooseTeacherGroupsPanel = new JPanel(); */ switch(type) { case 1: typeCourseLabel.setText("Cours magistraux :"); nbGroupsMag = new JComboBox(); initNumberJcb(nbGroupsMag, 1, 10); //nbGroupsMag.addItemListener(new NbHourJcbListener(AMFWFrame, AMFWLayout, layoutConstraints, panel, type)); addComponent(layout,layoutConstraints,nbGroupsMag,8,1,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(7,10,7,10)); panel.add(nbGroupsMag); break; case 2: typeCourseLabel.setText("Travaux dirigs :"); nbGroupsTd = new JComboBox(); initNumberJcb(nbGroupsTd, 1, 10); //nbGroupsTd.addItemListener(new NbHourJcbListener(AMFWFrame, AMFWLayout, layoutConstraints, panel, type)); addComponent(layout,layoutConstraints,nbGroupsTd,8,1,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(7,10,7,10)); panel.add(nbGroupsTd); break; case 3: typeCourseLabel.setText("Travaux pratiques :"); nbGroupsTp = new JComboBox(); initNumberJcb(nbGroupsTp, 1, 10); //nbGroupsTp.addItemListener(new NbHourJcbListener(AMFWFrame, AMFWLayout, layoutConstraints, panel, type)); addComponent(layout,layoutConstraints,nbGroupsTp,8,1,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(7,10,7,10)); panel.add(nbGroupsTp); break; } addComponent(layout,layoutConstraints,typeCourseLabel,1,1,3,1,0.0,0.0,GridBagConstraints.EAST,GridBagConstraints.NONE,new Insets(15,10,7,10)); panel.add(typeCourseLabel); addComponent(layout,layoutConstraints,nbGroupsLabel,4,1,4,1,0.0,0.0,GridBagConstraints.WEST,GridBagConstraints.NONE,new Insets(15,10,7,10)); panel.add(nbGroupsLabel); /*nbGroupsJcb.addItemListener(new NbHourJcbListener(AMFWFrame, AMFWLayout, layoutConstraints, panel, type)); addComponent(layout,layoutConstraints,nbGroupsJcb,4,2,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(7,10,7,10)); panel.add(nbGroupsJcb);*/ /*nameGroupsPanel.setLayout(new BoxLayout(nameGroupsPanel, BoxLayout.Y_AXIS)); nameGroupsPanel.add(nameGroupLabel); nameGroupsPanel.add(Box.createVerticalStrut(13)); addComponent(layout,layoutConstraints,nameGroupsPanel,1,3,1,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.NONE,new Insets(7,10,15,10)); panel.add(nameGroupsPanel); chooseNameGroupsPanel.setLayout(new BoxLayout(chooseNameGroupsPanel, BoxLayout.Y_AXIS)); chooseNameGroupsPanel.add(nameGroupJcb); chooseNameGroupsPanel.add(Box.createVerticalStrut(5)); addComponent(layout,layoutConstraints,chooseNameGroupsPanel,2,3,2,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(7,10,15,10)); panel.add(chooseNameGroupsPanel); teacherGroupsPanel.setLayout(new BoxLayout(teacherGroupsPanel, BoxLayout.Y_AXIS)); teacherGroupsPanel.add(teacherGroupsLabel); teacherGroupsPanel.add(Box.createVerticalStrut(13)); addComponent(layout,layoutConstraints,teacherGroupsPanel,6,3,2,1,0.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(7,10,15,10)); panel.add(teacherGroupsPanel); chooseTeacherGroupsPanel.setLayout(new BoxLayout(chooseTeacherGroupsPanel, BoxLayout.Y_AXIS)); chooseTeacherGroupsPanel.add(teacherGroupsJcB); chooseTeacherGroupsPanel.add(Box.createVerticalStrut(5)); addComponent(layout,layoutConstraints,chooseTeacherGroupsPanel,8,3,2,1,1.0,0.0,GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,new Insets(7,10,15,10)); panel.add(chooseTeacherGroupsPanel);*/ }
10961 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10961/10cf7da97c1a4116a3917a89ee2388c13240904f/AddModifySubjectWindow.java/buggy/beontimeSwing/src/fr/umlv/smoreau/beontime/client/graphics/windows/AddModifySubjectWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 559, 39, 3117, 5537, 12, 46, 5537, 6594, 16, 509, 618, 13, 288, 377, 202, 6313, 5013, 3744, 3511, 273, 394, 7145, 5013, 3744, 5621, 3639, 13075, 3511, 4878, 273, 394, 13075, 5621, 377, 202, 13916, 18, 542, 3744, 12, 6741, 1769, 377, 202, 377, 202, 46, 2224, 618, 39, 3117, 2224, 273, 394, 21403, 5621, 377, 202, 377, 202, 46, 2224, 4264, 3621, 2224, 31, 377, 202, 6423, 3621, 2224, 273, 394, 21403, 2932, 26685, 6073, 443, 1041, 281, 294, 8863, 377, 202, 377, 202, 46, 2224, 508, 1114, 2224, 273, 394, 21403, 2932, 18169, 21, 294, 8863, 377, 202, 377, 202, 46, 2224, 6489, 27779, 3621, 2224, 31, 377, 202, 736, 27779, 3621, 2224, 273, 394, 21403, 2932, 664, 307, 724, 970, 294, 8863, 377, 202, 377, 202, 430, 261, 4650, 461, 422, 446, 13, 288, 377, 202, 565, 3252, 461, 273, 394, 514, 63, 1471, 18, 588, 3621, 7675, 1467, 1435, 15, 21, 15533, 377, 202, 565, 3252, 273, 394, 3756, 63, 1471, 18, 588, 3621, 7675, 1467, 1435, 15, 21, 15533, 377, 202, 540, 202, 565, 3252, 461, 63, 20, 65, 273, 1408, 31, 377, 202, 565, 509, 525, 273, 404, 31, 377, 202, 565, 364, 261, 3198, 277, 273, 646, 367, 18, 588, 3621, 7675, 9838, 5621, 277, 18, 5332, 2134, 5621, 965, 78, 13, 288, 377, 202, 3639, 3252, 63, 78, 65, 273, 261, 1114, 13, 277, 18, 4285, 5621, 377, 202, 3639, 3252, 461, 63, 78, 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, 559, 39, 3117, 5537, 12, 46, 5537, 6594, 16, 509, 618, 13, 288, 377, 202, 6313, 5013, 3744, 3511, 273, 394, 7145, 5013, 3744, 5621, 3639, 13075, 3511, 4878, 273, 394, 13075, 5621, 377, 202, 13916, 18, 542, 3744, 12, 6741, 1769, 377, 202, 377, 202, 46, 2224, 618, 39, 3117, 2224, 273, 394, 21403, 5621, 377, 202, 377, 202, 46, 2224, 4264, 3621, 2224, 31, 377, 202, 6423, 3621, 2224, 273, 394, 21403, 2932, 26685, 6073, 443, 1041, 281, 294, 8863, 377, 202, 377, 202, 46, 2224, 508, 1114, 2224, 273, 394, 21403, 2932, 18169, 21, 294, 8863, 377, 202, 377, 202, 46, 2224, 6489, 27779, 3621, 2224, 31, 377, 202, 736, 27779, 3621, 2 ]
"Axis #0:" + nl + "{}" + nl + "Axis #1:" + nl + "{[Measures].[Unit Sales], [Marital Status].[All Marital Status].[M]}" + nl + "{[Measures].[Prev Unit Sales], [Marital Status].[All Marital Status].[M]}" + nl + "Axis #2:" + nl + "{[Time].[1997].[Q3].[8]}" + nl + "Row #0: 10,957" + nl + "Row #0: 10,280" + nl);
wrap(new String[] { "Axis #0:", "{}", "Axis #1:", "{[Measures].[Unit Sales], [Marital Status].[All Marital Status].[M]}", "{[Measures].[Prev Unit Sales], [Marital Status].[All Marital Status].[M]}", "Axis #2:", "{[Time].[1997].[Q3].[8]}", "Row #0: 10,957", "Row #0: 10,280" + nl}));
public void testParallelPeriodLevel() throws Exception { runQueryCheckResult("with " + " member [Measures].[Prev Unit Sales] as " + " '([Measures].[Unit Sales], parallelperiod([Time].[Quarter]))' " + "select " + " crossjoin({[Measures].[Unit Sales], [Measures].[Prev Unit Sales]}, {[Marital Status].[All Marital Status].[M]}) on columns, " + " {[Time].[1997].[Q3].[8]} on rows " + "from " + " [Sales]", "Axis #0:" + nl + "{}" + nl + "Axis #1:" + nl + "{[Measures].[Unit Sales], [Marital Status].[All Marital Status].[M]}" + nl + "{[Measures].[Prev Unit Sales], [Marital Status].[All Marital Status].[M]}" + nl + "Axis #2:" + nl + "{[Time].[1997].[Q3].[8]}" + nl + "Row #0: 10,957" + nl + "Row #0: 10,280" + nl); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/3041f930b5fc4bf6aa3339845b828801c1d8b366/FunctionTest.java/clean/testsrc/main/mondrian/olap/fun/FunctionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 13056, 5027, 2355, 1435, 1216, 1185, 288, 3639, 1086, 1138, 1564, 1253, 2932, 1918, 315, 7734, 397, 315, 565, 3140, 306, 23177, 1823, 8009, 63, 9958, 8380, 25996, 65, 487, 315, 7734, 397, 315, 3639, 296, 3816, 23177, 1823, 8009, 63, 2802, 25996, 6487, 779, 454, 1602, 2386, 3816, 950, 8009, 63, 928, 14153, 5717, 2506, 315, 7734, 397, 315, 4025, 315, 7734, 397, 315, 565, 6828, 5701, 12590, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 23177, 1823, 8009, 63, 9958, 8380, 25996, 65, 5779, 288, 63, 49, 297, 7053, 2685, 8009, 63, 1595, 490, 297, 7053, 2685, 8009, 63, 49, 65, 6792, 603, 2168, 16, 315, 7734, 397, 315, 565, 288, 63, 950, 8009, 63, 19818, 27, 8009, 63, 53, 23, 8009, 63, 28, 18322, 603, 2595, 315, 7734, 397, 315, 2080, 225, 315, 7734, 397, 315, 565, 306, 23729, 65, 3113, 7734, 315, 6558, 468, 20, 2773, 397, 7741, 397, 7734, 13034, 397, 7741, 397, 7734, 315, 6558, 468, 21, 2773, 397, 7741, 397, 7734, 4144, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 49, 297, 7053, 2685, 8009, 63, 1595, 490, 297, 7053, 2685, 8009, 63, 49, 20817, 397, 7741, 397, 7734, 4144, 63, 23177, 1823, 8009, 63, 9958, 8380, 25996, 6487, 306, 49, 297, 7053, 2685, 8009, 63, 1595, 490, 297, 7053, 2685, 8009, 63, 49, 20817, 397, 7741, 397, 7734, 315, 6558, 468, 22, 2773, 397, 7741, 397, 7734, 4144, 63, 950, 8009, 63, 19818, 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, 13056, 5027, 2355, 1435, 1216, 1185, 288, 3639, 1086, 1138, 1564, 1253, 2932, 1918, 315, 7734, 397, 315, 565, 3140, 306, 23177, 1823, 8009, 63, 9958, 8380, 25996, 65, 487, 315, 7734, 397, 315, 3639, 296, 3816, 23177, 1823, 8009, 63, 2802, 25996, 6487, 779, 454, 1602, 2386, 3816, 950, 8009, 63, 928, 14153, 5717, 2506, 315, 7734, 397, 315, 4025, 315, 7734, 397, 315, 565, 6828, 5701, 12590, 63, 23177, 1823, 8009, 63, 2802, 25996, 6487, 306, 23177, 1823, 8009, 63, 9958, 8380, 25996, 65, 5779, 288, 63, 49, 297, 7053, 2685, 8009, 63, 1595, 490, 297, 7053, 2685, 8009, 63, 49, 65, 6792, 603, 2168, 16, 315, 7734, 397, 315, 565, 288, 63, 2 ]
boolean sybasePrepare(String sql, String procName, ParamInfo[] params) throws SQLException { if (sql == null || sql.length() == 0) { throw new IllegalArgumentException( "sql parameter must be at least 1 character long."); } if (procName == null || procName.length() != 11) { throw new IllegalArgumentException( "procName parameter must be 11 characters long."); } // Check no text/image parameters for (int i = 0; i < params.length; i++) { if (params[i].sqlType.equals("text") || params[i].sqlType.equals("image")) { return false; // Sadly no way } } try { out.setPacketType(SYBQUERY_PKT); out.write((byte)TDS5_DYNAMIC_TOKEN); byte buf[] = Support.encodeString(connection.getCharSet(), sql); out.write((short) (buf.length + 41)); out.write((byte) 1); out.write((byte) 0); out.write((byte) 10); out.writeAscii(procName.substring(1)); out.write((short) (buf.length + 26)); out.writeAscii("create proc "); out.writeAscii(procName.substring(1)); out.writeAscii(" as "); out.write(buf); out.flush(); endOfResponse = false; clearResponseQueue(); messages.checkErrors(); } catch (IOException ioe) { isClosed = true; connection.setClosed(); throw Support.linkException( new SQLException( Support.getMessage( "error.generic.ioerror", ioe.getMessage()), "08S01"), ioe); } catch (SQLException e) { if (e.getSQLState() != null && e.getSQLState().equals("08S01")) { // Serious error rethrow throw e; } // This exception probably caused by failure to prepare // Return false; return false; } return true; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/4824f8fb57e450b4f2cc3cb1e9b7b2849806b125/TdsCore.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 1393, 1969, 7543, 12, 780, 1847, 16, 514, 5418, 461, 16, 3014, 966, 8526, 859, 13, 3639, 1216, 6483, 288, 3639, 309, 261, 4669, 422, 446, 747, 1847, 18, 2469, 1435, 422, 374, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 4669, 1569, 1297, 506, 622, 4520, 404, 3351, 1525, 1199, 1769, 3639, 289, 7734, 309, 261, 9381, 461, 422, 446, 747, 5418, 461, 18, 2469, 1435, 480, 4648, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 9381, 461, 1569, 1297, 506, 4648, 3949, 1525, 1199, 1769, 3639, 289, 7734, 368, 2073, 1158, 977, 19, 2730, 1472, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 859, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 2010, 63, 77, 8009, 4669, 559, 18, 14963, 2932, 955, 7923, 7734, 747, 859, 63, 77, 8009, 4669, 559, 18, 14963, 2932, 2730, 6, 3719, 288, 7734, 327, 629, 31, 368, 348, 361, 715, 1158, 4031, 5411, 289, 3639, 289, 7734, 775, 288, 5411, 596, 18, 542, 6667, 559, 12, 7474, 38, 10753, 67, 8784, 56, 1769, 5411, 596, 18, 2626, 12443, 7229, 13, 56, 3948, 25, 67, 40, 25145, 67, 8412, 1769, 13491, 1160, 1681, 8526, 273, 13619, 18, 3015, 780, 12, 4071, 18, 588, 2156, 694, 9334, 1847, 1769, 13491, 596, 18, 2626, 12443, 6620, 13, 261, 4385, 18, 2469, 397, 20170, 10019, 5411, 596, 18, 2626, 12443, 7229, 13, 404, 1769, 5411, 596, 18, 2626, 12443, 7229, 13, 374, 1769, 5411, 596, 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, 1250, 1393, 1969, 7543, 12, 780, 1847, 16, 514, 5418, 461, 16, 3014, 966, 8526, 859, 13, 3639, 1216, 6483, 288, 3639, 309, 261, 4669, 422, 446, 747, 1847, 18, 2469, 1435, 422, 374, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 4669, 1569, 1297, 506, 622, 4520, 404, 3351, 1525, 1199, 1769, 3639, 289, 7734, 309, 261, 9381, 461, 422, 446, 747, 5418, 461, 18, 2469, 1435, 480, 4648, 13, 288, 5411, 604, 394, 2754, 12, 10792, 315, 9381, 461, 1569, 1297, 506, 4648, 3949, 1525, 1199, 1769, 3639, 289, 7734, 368, 2073, 1158, 977, 19, 2730, 1472, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 859, 18, 2469, 31, 277, 27245, 288, 5411, 2 ]
public void setPressedIcon(Icon pressedIcon) { pressed_button = pressedIcon; revalidate(); repaint(); }
public void setPressedIcon(Icon pressedIcon) { Icon old = pressed_icon; pressed_icon = pressedIcon; if (pressed_icon != old) { firePropertyChange(PRESSED_ICON_CHANGED_PROPERTY, old, pressed_icon); revalidate(); repaint(); } }
public void setPressedIcon(Icon pressedIcon) { pressed_button = pressedIcon; revalidate(); repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/clean/core/src/classpath/javax/javax/swing/AbstractButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 17004, 4638, 5554, 12, 5554, 19504, 5554, 13, 288, 202, 202, 10906, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 17004, 4638, 5554, 12, 5554, 19504, 5554, 13, 288, 202, 202, 10906, 67, 5391, 273, 19504, 5554, 31, 202, 202, 266, 5662, 5621, 202, 202, 14462, 1598, 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 ]
private DisplayMode getValidDisplayMode(int width, int height, int bpp, int freq) { //get all the modes, and find one that matches our width, height, bpp. DisplayMode[] modes; try { modes = Display.getAvailableDisplayModes(); } catch (LWJGLException e) { e.printStackTrace(); return null; } //Make sure that we find the mode that uses our current monitor freq. for (int i = 0; i < modes.length; i++) { if (modes[i].getWidth() == width && modes[i].getHeight() == height && modes[i].getBitsPerPixel() == bpp && (freq == 0 || modes[i].getFrequency()== freq)) { return modes[i]; } } //none found return null; }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6aaba14bb39fd6af9aea6f599180d9ac7dbd923d/LWJGLDisplaySystem.java/clean/src/com/jme/system/lwjgl/LWJGLDisplaySystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9311, 2309, 22574, 4236, 2309, 12, 474, 1835, 16, 509, 2072, 16, 509, 9107, 84, 16, 5411, 509, 7684, 13, 288, 3639, 368, 588, 777, 326, 12382, 16, 471, 1104, 1245, 716, 1885, 3134, 1835, 16, 2072, 16, 9107, 84, 18, 3639, 9311, 2309, 8526, 12382, 31, 3639, 775, 288, 5411, 12382, 273, 9311, 18, 588, 5268, 4236, 18868, 5621, 3639, 289, 1044, 261, 48, 59, 46, 11261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 327, 446, 31, 3639, 289, 3639, 368, 6464, 3071, 716, 732, 1104, 326, 1965, 716, 4692, 3134, 783, 6438, 7684, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12382, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 19282, 63, 77, 8009, 588, 2384, 1435, 422, 1835, 597, 12382, 63, 77, 8009, 588, 2686, 1435, 422, 2072, 10792, 597, 12382, 63, 77, 8009, 588, 6495, 2173, 9037, 1435, 422, 9107, 84, 597, 261, 10212, 422, 374, 747, 12382, 63, 77, 8009, 588, 13865, 1435, 631, 7684, 3719, 288, 5411, 327, 12382, 63, 77, 15533, 289, 3639, 289, 3639, 368, 6102, 1392, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9311, 2309, 22574, 4236, 2309, 12, 474, 1835, 16, 509, 2072, 16, 509, 9107, 84, 16, 5411, 509, 7684, 13, 288, 3639, 368, 588, 777, 326, 12382, 16, 471, 1104, 1245, 716, 1885, 3134, 1835, 16, 2072, 16, 9107, 84, 18, 3639, 9311, 2309, 8526, 12382, 31, 3639, 775, 288, 5411, 12382, 273, 9311, 18, 588, 5268, 4236, 18868, 5621, 3639, 289, 1044, 261, 48, 59, 46, 11261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 327, 446, 31, 3639, 289, 3639, 368, 6464, 3071, 716, 732, 1104, 326, 1965, 716, 4692, 3134, 783, 6438, 7684, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12382, 18, 2469, 31, 277, 27245, 288, 2 ]
if (srcItem.hasAttribute("name")) {
if (srcItem.hasAttribute("name")) {
protected void translateMicroArraySlideDesign(Item srcItem, Item tgtItem) throws ObjectStoreException { // move descriptions reference list promoteCollection(srcItem, "descriptions", "annotations", tgtItem, "descriptions"); // change substrateType reference to attribute Item surfaceType = ItemHelper.convert(srcItemReader .getItemById(srcItem.getReference("surfaceType").getRefId())); if (surfaceType != null && surfaceType.hasAttribute("value")) { tgtItem.addAttribute(new Attribute("surfaceType", surfaceType.getAttribute("value").getValue())); } if (srcItem.hasAttribute("version")) { tgtItem.addAttribute(new Attribute("version", srcItem.getAttribute("version").getValue())); } if (srcItem.hasAttribute("name")) { tgtItem.addAttribute(new Attribute("name", srcItem.getAttribute("name").getValue())); } }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/92aeb406bb739a7c747d04e7114f03bfdde0afcd/MageDataTranslator.java/clean/flymine/model/mage/src/java/org/flymine/dataconversion/MageDataTranslator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4204, 13617, 1076, 21068, 15478, 12, 1180, 1705, 1180, 16, 4342, 11680, 1180, 13, 3639, 1216, 1033, 21151, 288, 3639, 368, 3635, 15550, 2114, 666, 3639, 28374, 2532, 12, 4816, 1180, 16, 315, 30288, 3113, 315, 14670, 3113, 11680, 1180, 16, 315, 30288, 8863, 3639, 368, 2549, 2373, 340, 559, 2114, 358, 1566, 3639, 4342, 9034, 559, 273, 4342, 2276, 18, 6283, 12, 4816, 1180, 2514, 27573, 263, 588, 1180, 5132, 12, 4816, 1180, 18, 588, 2404, 2932, 18266, 559, 20387, 588, 1957, 548, 1435, 10019, 3639, 309, 261, 18266, 559, 480, 446, 597, 9034, 559, 18, 5332, 1499, 2932, 1132, 6, 3719, 288, 5411, 11680, 1180, 18, 1289, 1499, 12, 2704, 3601, 2932, 18266, 559, 3113, 4766, 9079, 9034, 559, 18, 588, 1499, 2932, 1132, 20387, 24805, 1435, 10019, 3639, 289, 540, 309, 261, 4816, 1180, 18, 5332, 1499, 2932, 1589, 6, 3719, 288, 5411, 11680, 1180, 18, 1289, 1499, 12, 2704, 3601, 2932, 1589, 3113, 4766, 9079, 1705, 1180, 18, 588, 1499, 2932, 1589, 20387, 24805, 1435, 10019, 540, 289, 1850, 309, 261, 4816, 1180, 18, 5332, 1499, 2932, 529, 6, 3719, 288, 5411, 11680, 1180, 18, 1289, 1499, 12, 2704, 3601, 2932, 529, 3113, 4766, 9079, 1705, 1180, 18, 588, 1499, 2932, 529, 20387, 24805, 1435, 10019, 540, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4204, 13617, 1076, 21068, 15478, 12, 1180, 1705, 1180, 16, 4342, 11680, 1180, 13, 3639, 1216, 1033, 21151, 288, 3639, 368, 3635, 15550, 2114, 666, 3639, 28374, 2532, 12, 4816, 1180, 16, 315, 30288, 3113, 315, 14670, 3113, 11680, 1180, 16, 315, 30288, 8863, 3639, 368, 2549, 2373, 340, 559, 2114, 358, 1566, 3639, 4342, 9034, 559, 273, 4342, 2276, 18, 6283, 12, 4816, 1180, 2514, 27573, 263, 588, 1180, 5132, 12, 4816, 1180, 18, 588, 2404, 2932, 18266, 559, 20387, 588, 1957, 548, 1435, 10019, 3639, 309, 261, 18266, 559, 480, 446, 597, 9034, 559, 18, 5332, 1499, 2932, 1132, 6, 3719, 288, 5411, 11680, 1180, 18, 1289, 1499, 12, 2704, 3601, 2932, 18266, 559, 2 ]
if( null != _FailureHandlers )
if(null != _FailureHandlers)
public static AssertFailureHandler getFailureHandler(Thread t) { if(ASS) { if( null != _FailureHandlers ) return (AssertFailureHandler) _FailureHandlers.get(t); } return null; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/2de73cf99dce60cce549e7757f841284b68d1220/ER.java/clean/js/jsdj/classes/com/netscape/jsdebugging/ifcui/palomar/util/ER.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5452, 5247, 1503, 31673, 594, 1503, 12, 3830, 268, 13, 565, 288, 3639, 309, 12, 8423, 13, 3639, 288, 5411, 309, 12, 2011, 480, 389, 5247, 6919, 13, 7734, 327, 261, 8213, 5247, 1503, 13, 389, 5247, 6919, 18, 588, 12, 88, 1769, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 5452, 5247, 1503, 31673, 594, 1503, 12, 3830, 268, 13, 565, 288, 3639, 309, 12, 8423, 13, 3639, 288, 5411, 309, 12, 2011, 480, 389, 5247, 6919, 13, 7734, 327, 261, 8213, 5247, 1503, 13, 389, 5247, 6919, 18, 588, 12, 88, 1769, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ((_data == null) || (node != _start)) { _start = node;
if ((_data == null) || (node != _startNode)) { _startNode = node; _last = 0;
public NodeIterator setStartNode(int node) { if ((_data == null) || (node != _start)) { _start = node; _source.setStartNode(node); _data = new int[INIT_DATA_SIZE]; _last = 0; // gather all nodes from the source iterator, eliminate dups while ((node = _source.next()) != END) { if (_last == _data.length) { int[] newArray = new int[_data.length * 2]; System.arraycopy(_data, 0, newArray, 0, _last); _data = newArray; } if (!isDup(node)) { _data[_last++] = node; } } } _current = 0; // set to beginning return this; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/af1db24530d01b45377710411da35e8afa95b94f/DupFilterIterator.java/clean/src/org/apache/xalan/xsltc/dom/DupFilterIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 3198, 18171, 907, 12, 474, 756, 13, 288, 202, 430, 14015, 67, 892, 422, 446, 13, 747, 261, 2159, 480, 389, 1937, 3719, 288, 202, 565, 389, 1937, 273, 756, 31, 202, 565, 389, 3168, 18, 542, 1685, 907, 12, 2159, 1769, 202, 565, 389, 892, 273, 394, 509, 63, 12919, 67, 4883, 67, 4574, 15533, 202, 565, 389, 2722, 273, 374, 31, 202, 565, 368, 11090, 777, 2199, 628, 326, 1084, 2775, 16, 29529, 9417, 87, 202, 565, 1323, 14015, 2159, 273, 389, 3168, 18, 4285, 10756, 480, 7273, 13, 288, 202, 202, 430, 261, 67, 2722, 422, 389, 892, 18, 2469, 13, 288, 1082, 565, 509, 8526, 11653, 273, 394, 509, 63, 67, 892, 18, 2469, 380, 576, 15533, 1082, 565, 2332, 18, 1126, 3530, 24899, 892, 16, 374, 16, 11653, 16, 374, 16, 389, 2722, 1769, 1082, 565, 389, 892, 273, 11653, 31, 202, 202, 97, 202, 202, 430, 16051, 291, 30419, 12, 2159, 3719, 288, 1082, 565, 389, 892, 63, 67, 2722, 9904, 65, 273, 756, 31, 202, 202, 97, 202, 565, 289, 202, 97, 202, 67, 2972, 273, 374, 31, 225, 368, 444, 358, 8435, 225, 202, 2463, 333, 31,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159, 480, 389, 1937, 3719, 288, 202, 565, 389, 1937, 273, 756, 31, 202, 565, 389, 3168, 18, 542, 1685, 907, 12, 2159, 1769, 202, 565, 389, 892, 273, 394, 509, 63, 12919, 67, 4883, 67, 4574, 15533, 202, 565, 389, 2722, 273, 374, 31, 202, 565, 368, 11090, 777, 2199, 628, 326, 1084, 2775, 16, 29529, 9417, 87, 202, 565, 1323, 14015, 2159, 273, 389, 3168, 18, 4285, 10756, 480, 7273, 13, 288, 202, 202, 430, 261, 67, 2722, 422, 389, 892, 18, 2469, 13, 288, 1082, 565, 509, 8526, 11653, 273, 394, 509, 63, 67, 892, 2 ]
addMethod(name, new CallbackMethod(method), noex | Constants.NOEX_CFUNC);
addMethod(name, new CallbackMethod(method, noex));
public void defineMethod(String name, Callback method) { int noex = (name.equals("initialize")) ? Constants.NOEX_PRIVATE : Constants.NOEX_PUBLIC; addMethod(name, new CallbackMethod(method), noex | Constants.NOEX_CFUNC); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4426, 1305, 12, 780, 508, 16, 8444, 707, 13, 288, 3639, 509, 1158, 338, 273, 261, 529, 18, 14963, 2932, 11160, 6, 3719, 692, 5245, 18, 3417, 2294, 67, 20055, 294, 5245, 18, 3417, 2294, 67, 14939, 31, 3639, 18223, 12, 529, 16, 394, 8444, 1305, 12, 2039, 16, 1158, 338, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4426, 1305, 12, 780, 508, 16, 8444, 707, 13, 288, 3639, 509, 1158, 338, 273, 261, 529, 18, 14963, 2932, 11160, 6, 3719, 692, 5245, 18, 3417, 2294, 67, 20055, 294, 5245, 18, 3417, 2294, 67, 14939, 31, 3639, 18223, 12, 529, 16, 394, 8444, 1305, 12, 2039, 16, 1158, 338, 10019, 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 ]
public void testBindServerOptions() throws IOException { SslTransportServer sslTransportServer = null; for (int i = 0; i < 4; ++i) { final boolean wantClientAuth = ((i & 0x1) == 1); final boolean needClientAuth = ((i & 0x2) == 1); String options = "wantClientAuth=" + (wantClientAuth ? "true" : "false") + "&needClientAuth=" + (needClientAuth ? "true" : "false"); try { sslTransportServer = (SslTransportServer) factory.doBind("brokerId", new URI("ssl://localhost:61616?" + options)); } catch (Exception e) { fail("Unable to bind to address: " + e.getMessage()); } assertEquals("Created ServerSocket did not have correct wantClientAuth status.", sslTransportServer.getWantClientAuth(), wantClientAuth); assertEquals("Created ServerSocket did not have correct needClientAuth status.", sslTransportServer.getNeedClientAuth(), needClientAuth); try { sslTransportServer.stop(); } catch (Exception e) { fail("Unable to stop TransportServer: " + e.getMessage()); } } }
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/6e34afc293d6a87963cf3613ada19c2d57b62184/SslTransportFactoryTest.java/buggy/activemq-core/src/test/java/org/apache/activemq/transport/tcp/SslTransportFactoryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3357, 2081, 1320, 1435, 1216, 1860, 288, 13491, 23929, 6568, 2081, 5832, 6568, 2081, 273, 446, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1059, 31, 965, 77, 13, 288, 5411, 727, 1250, 2545, 1227, 1730, 273, 14015, 77, 473, 374, 92, 21, 13, 422, 404, 1769, 5411, 727, 1250, 1608, 1227, 1730, 273, 14015, 77, 473, 374, 92, 22, 13, 422, 404, 1769, 13491, 514, 702, 273, 315, 17369, 1227, 1730, 1546, 397, 261, 17369, 1227, 1730, 692, 315, 3767, 6, 294, 315, 5743, 7923, 397, 7734, 7830, 14891, 1227, 1730, 1546, 397, 261, 14891, 1227, 1730, 692, 315, 3767, 6, 294, 315, 5743, 8863, 10792, 775, 288, 7734, 5832, 6568, 2081, 273, 261, 15840, 6568, 2081, 13, 10792, 3272, 18, 2896, 3357, 2932, 21722, 548, 3113, 394, 3699, 2932, 8157, 2207, 13014, 30, 26, 2313, 2313, 7225, 397, 702, 10019, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 2321, 2932, 3370, 358, 1993, 358, 1758, 30, 315, 397, 425, 18, 24906, 10663, 5411, 289, 13491, 1815, 8867, 2932, 6119, 3224, 4534, 5061, 486, 1240, 3434, 2545, 1227, 1730, 1267, 1199, 16, 7734, 5832, 6568, 2081, 18, 588, 59, 970, 1227, 1730, 9334, 2545, 1227, 1730, 1769, 13491, 1815, 8867, 2932, 6119, 3224, 4534, 5061, 486, 1240, 3434, 1608, 1227, 1730, 1267, 1199, 16, 7734, 5832, 6568, 2081, 18, 588, 14112, 1227, 1730, 9334, 1608, 1227, 1730, 1769, 13491, 775, 288, 7734, 5832, 6568, 2081, 18, 5681, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3357, 2081, 1320, 1435, 1216, 1860, 288, 13491, 23929, 6568, 2081, 5832, 6568, 2081, 273, 446, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1059, 31, 965, 77, 13, 288, 5411, 727, 1250, 2545, 1227, 1730, 273, 14015, 77, 473, 374, 92, 21, 13, 422, 404, 1769, 5411, 727, 1250, 1608, 1227, 1730, 273, 14015, 77, 473, 374, 92, 22, 13, 422, 404, 1769, 13491, 514, 702, 273, 315, 17369, 1227, 1730, 1546, 397, 261, 17369, 1227, 1730, 692, 315, 3767, 6, 294, 315, 5743, 7923, 397, 7734, 7830, 14891, 1227, 1730, 1546, 397, 261, 14891, 1227, 1730, 692, 315, 3767, 6, 294, 315, 5743, 8863, 10792, 775, 288, 7734, 5832, 6568, 2 ]
AST __t757 = _t;
AST __t762 = _t;
public final void findstate(AST _t) throws RecognitionException { AST findstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST r = null; AST __t755 = _t; AST tmp1278_AST_in = (AST)_t; match(_t,FIND); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CURRENT: case EACH: case FIRST: case LAST: case NEXT: case PREV: { findwhich(_t); _t = _retTree; break; } case RECORD_NAME: { break; } default: { throw new NoViableAltException(_t); } } } AST __t757 = _t; r = _t==ASTNULL ? null :(AST)_t; match(_t,RECORD_NAME); _t = _t.getFirstChild(); if ( inputState.guessing==0 ) { action.recordNameNode(r, CQ.INIT); } recordphrase(_t); _t = _retTree; _t = __t757; _t = _t.getNextSibling(); { _loop759: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOWAIT: { AST tmp1279_AST_in = (AST)_t; match(_t,NOWAIT); _t = _t.getNextSibling(); break; } case NOPREFETCH: { AST tmp1280_AST_in = (AST)_t; match(_t,NOPREFETCH); _t = _t.getNextSibling(); break; } case NOERROR_KW: { AST tmp1281_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } default: { break _loop759; } } } while (true); } state_end(_t); _t = _retTree; _t = __t755; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1104, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1104, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 436, 273, 446, 31, 9506, 202, 9053, 1001, 88, 21761, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 8285, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 42, 2356, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 18484, 30, 202, 202, 3593, 512, 18133, 30, 202, 202, 3593, 21786, 30, 202, 202, 3593, 15612, 30, 202, 202, 3593, 19252, 30, 202, 202, 3593, 7071, 58, 30, 202, 202, 95, 1082, 202, 4720, 12784, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 24346, 67, 1985, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 9053, 1001, 88, 5877, 27, 273, 389, 88, 31, 202, 202, 86, 273, 389, 88, 631, 9053, 8560, 692, 446, 294, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1104, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1104, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 436, 273, 446, 31, 9506, 202, 9053, 1001, 88, 21761, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 8285, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 42, 2356, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 2 ]
next.line0+i,
next.line1+i,
private void compute(Diff.change next) { if (next == null) return;//System.out.println("\nAnalysing hunk (" + next.line0 + "," + next.line1 + "," + next.deleted + "," + next.inserted + ")"); if (next.inserted == 0 && next.deleted == 0) return; if (next.inserted == 0) { // no inserted => #deleted lines beggining at line0+1 deleted in a for (int i = 0; i < next.deleted; i++) { lineDiffs.add(new LineDiff(code0[next.line0 + i], next.line0+i, null, LineDiff.ChangeType.DELETED));//System.out.println(" " + (next.line0+i+1) + "< " + code0[next.line0 + i]); } } if (next.inserted != 0 && next.deleted == 0) { // no deleted => #inserted lines beggining at line1+1 deleted in b for (int i = 0; i < next.inserted; i++) { lineDiffs.add(new LineDiff(null, next.line1+i, code1[next.line1 + i], LineDiff.ChangeType.INSERTED));//System.out.println(" " + (next.line1+i+1) + "> " + code1[next.line1 + i]); } } if (next.inserted != 0 && next.deleted != 0) { assert(next.line0 == next.line1); // TODO: Check this! Is it really o.k.? It happens from time to time //if (next.line0 != next.line1) System.out.println("\nProblematic hunk (" + next.line0 + "," + next.line1 + "," + next.deleted + "," + next.inserted + ")"); int affected = (next.deleted > next.inserted ? next.deleted : next.inserted); for (int i = 0; i < affected; i++) { if (i < next.inserted && i < next.deleted) { lineDiffs.add(new LineDiff(code0[next.line0 + i], next.line0+i, code1[next.line1 + i], LineDiff.ChangeType.CHANGED));//System.out.println(" " + (next.line0+i+1) + "<> " + code0[next.line0 + i]);//System.out.println(" " + (next.line1+i+1) + ">< " + code1[next.line1 + i]); } else if (i >= next.inserted && i < next.deleted) { lineDiffs.add(new LineDiff(code0[next.line0 + i], next.line0+i, null, LineDiff.ChangeType.DELETED));//System.out.println(" " + (next.line0+i+1) + "< " + code0[next.line0 + i]); } else if (i < next.inserted && i >= next.deleted) { lineDiffs.add(new LineDiff(null, next.line1+i, code1[next.line1 + i], LineDiff.ChangeType.INSERTED));//System.out.println(" " + (next.line1+i+1) + "> " + code1[next.line1 + i]); } else assert (false); } } }
239 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/239/628682d2ec645f88e76e2a515a4e0dbcb5937672/CodechangeDifferIntermediateModule.java/clean/modules/ECG_CodechangeDifferIntermediateModule/src/org/electrocodeogram/module/intermediate/implementation/CodechangeDifferIntermediateModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 3671, 12, 5938, 18, 3427, 1024, 13, 288, 1082, 202, 430, 261, 4285, 422, 446, 13, 9506, 202, 2463, 31, 759, 3163, 18, 659, 18, 8222, 31458, 82, 979, 3646, 310, 366, 1683, 7566, 397, 1024, 18, 1369, 20, 397, 5753, 397, 1024, 18, 1369, 21, 397, 5753, 397, 1024, 18, 8600, 397, 5753, 397, 1024, 18, 6387, 329, 397, 7310, 1769, 1082, 202, 430, 261, 4285, 18, 6387, 329, 422, 374, 597, 1024, 18, 8600, 422, 374, 13, 9506, 202, 2463, 31, 1082, 202, 430, 261, 4285, 18, 6387, 329, 422, 374, 13, 288, 9506, 202, 759, 1158, 9564, 516, 468, 8600, 2362, 16847, 1912, 310, 622, 980, 20, 15, 21, 4282, 316, 279, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1024, 18, 8600, 31, 277, 27245, 288, 6862, 202, 1369, 10428, 2556, 18, 1289, 12, 2704, 5377, 5938, 12, 710, 20, 63, 4285, 18, 1369, 20, 397, 277, 6487, 15106, 202, 4285, 18, 1369, 20, 15, 77, 16, 6862, 1082, 202, 2011, 16, 6862, 1082, 202, 1670, 5938, 18, 3043, 559, 18, 27392, 10019, 759, 3163, 18, 659, 18, 8222, 2932, 225, 315, 397, 261, 4285, 18, 1369, 20, 15, 77, 15, 21, 13, 397, 3532, 315, 397, 981, 20, 63, 4285, 18, 1369, 20, 397, 277, 19226, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 4285, 18, 6387, 329, 480, 374, 597, 1024, 18, 8600, 422, 374, 13, 288, 9506, 202, 759, 1158, 4282, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 918, 3671, 12, 5938, 18, 3427, 1024, 13, 288, 1082, 202, 430, 261, 4285, 422, 446, 13, 9506, 202, 2463, 31, 759, 3163, 18, 659, 18, 8222, 31458, 82, 979, 3646, 310, 366, 1683, 7566, 397, 1024, 18, 1369, 20, 397, 5753, 397, 1024, 18, 1369, 21, 397, 5753, 397, 1024, 18, 8600, 397, 5753, 397, 1024, 18, 6387, 329, 397, 7310, 1769, 1082, 202, 430, 261, 4285, 18, 6387, 329, 422, 374, 597, 1024, 18, 8600, 422, 374, 13, 9506, 202, 2463, 31, 1082, 202, 430, 261, 4285, 18, 6387, 329, 422, 374, 13, 288, 9506, 202, 759, 1158, 9564, 516, 468, 8600, 2362, 16847, 1912, 310, 622, 980, 20, 15, 21, 4282, 316, 279, 2 ]
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(); tuple[5] = typname.getBytes();
String nullFlag = r.getString(6); String typname = r.getString(10);
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 <stefan@linux.kapow.dk> // 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); }
46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/07ce9fe61dd6cb7399d76f4a9cbcbe191b988ff2/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/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 ]
executeSQL("CREATE TABLE " + tableName + " ( " + partialSQL + " )");
addTableWithSQL(tableName, partialSQL, true);
public void addTableFromSQL(String tableName) { String partialSQL = null; try { partialSQL = m_installer.getTableCreateFromSQL(tableName); } catch (Exception e) { fail("Could not get SQL for table '" + tableName + "'", e); } executeSQL("CREATE TABLE " + tableName + " ( " + partialSQL + " )"); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/9c0a59382d378a750edf84524762ab71e335b4b3/InstallerDBTest.java/buggy/opennms-install/src/test/java/org/opennms/install/InstallerDBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1388, 1265, 3997, 12, 780, 4775, 13, 288, 3639, 514, 4702, 3997, 273, 446, 31, 3639, 775, 288, 5411, 4702, 3997, 273, 312, 67, 20163, 18, 588, 1388, 1684, 1265, 3997, 12, 18033, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 2321, 2932, 4445, 486, 336, 3063, 364, 1014, 2119, 397, 4775, 397, 2491, 3113, 425, 1769, 3639, 289, 7734, 527, 1388, 1190, 3997, 12, 18033, 16, 4702, 3997, 16, 638, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1388, 1265, 3997, 12, 780, 4775, 13, 288, 3639, 514, 4702, 3997, 273, 446, 31, 3639, 775, 288, 5411, 4702, 3997, 273, 312, 67, 20163, 18, 588, 1388, 1684, 1265, 3997, 12, 18033, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 2321, 2932, 4445, 486, 336, 3063, 364, 1014, 2119, 397, 4775, 397, 2491, 3113, 425, 1769, 3639, 289, 7734, 527, 1388, 1190, 3997, 12, 18033, 16, 4702, 3997, 16, 638, 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 ]
case GREATER_THAN: { match( GREATER_THAN ); additiveExpr(); operator = Operator.GREATER_THAN; break; } case LESS_THAN_EQUALS: { match( LESS_THAN_EQUALS ); additiveExpr(); operator = Operator.LESS_THAN_EQUALS; break; } case GREATER_THAN_EQUALS: { match( GREATER_THAN_EQUALS ); additiveExpr(); operator = Operator.GREATER_THAN_EQUALS; break; }
la = LA(1);
private void relationalExpr() throws SAXPathException { getXPathHandler().startRelationalExpr(); getXPathHandler().startRelationalExpr(); additiveExpr(); int operator = Operator.NO_OP; switch ( LA(1) ) { case LESS_THAN: { match( LESS_THAN ); additiveExpr(); operator = Operator.LESS_THAN; break; } case GREATER_THAN: { match( GREATER_THAN ); additiveExpr(); operator = Operator.GREATER_THAN; break; } case LESS_THAN_EQUALS: { match( LESS_THAN_EQUALS ); additiveExpr(); operator = Operator.LESS_THAN_EQUALS; break; } case GREATER_THAN_EQUALS: { match( GREATER_THAN_EQUALS ); additiveExpr(); operator = Operator.GREATER_THAN_EQUALS; break; } } getXPathHandler().endRelationalExpr( operator ); operator = Operator.NO_OP; switch ( LA(1) ) { case LESS_THAN: { match( LESS_THAN ); relationalExpr(); operator = Operator.LESS_THAN; break; } case GREATER_THAN: { match( GREATER_THAN ); relationalExpr(); operator = Operator.GREATER_THAN; break; } case LESS_THAN_EQUALS: { match( LESS_THAN_EQUALS ); relationalExpr(); operator = Operator.LESS_THAN_EQUALS; break; } case GREATER_THAN_EQUALS: { match( GREATER_THAN_EQUALS ); relationalExpr(); operator = Operator.GREATER_THAN_EQUALS; break; } } getXPathHandler().endRelationalExpr( operator ); }
47970 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47970/9fae5b4d11feeaf10d38b58bfad0788820621cae/XPathReader.java/buggy/src/java/main/org/jaxen/saxpath/base/XPathReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 25302, 4742, 1435, 1216, 10168, 743, 503, 565, 288, 3639, 6538, 743, 1503, 7675, 1937, 15060, 4742, 5621, 3639, 6538, 743, 1503, 7675, 1937, 15060, 4742, 5621, 3639, 527, 3720, 4742, 5621, 3639, 509, 3726, 273, 11097, 18, 3417, 67, 3665, 31, 3639, 1620, 261, 2928, 12, 21, 13, 262, 3639, 288, 5411, 648, 21216, 67, 22408, 30, 5411, 288, 7734, 845, 12, 21216, 67, 22408, 11272, 7734, 527, 3720, 4742, 5621, 7734, 3726, 273, 11097, 18, 26005, 67, 22408, 31, 7734, 898, 31, 5411, 289, 5411, 648, 22428, 67, 22408, 30, 5411, 288, 7734, 845, 12, 22428, 67, 22408, 11272, 7734, 527, 3720, 4742, 5621, 7734, 3726, 273, 11097, 18, 43, 18857, 67, 22408, 31, 7734, 898, 31, 5411, 289, 5411, 648, 21216, 67, 22408, 67, 12853, 55, 30, 5411, 288, 7734, 845, 12, 21216, 67, 22408, 67, 12853, 55, 11272, 7734, 527, 3720, 4742, 5621, 7734, 3726, 273, 11097, 18, 26005, 67, 22408, 67, 12853, 55, 31, 7734, 898, 31, 5411, 289, 5411, 648, 22428, 67, 22408, 67, 12853, 55, 30, 5411, 288, 7734, 845, 12, 22428, 67, 22408, 67, 12853, 55, 11272, 7734, 527, 3720, 4742, 5621, 7734, 3726, 273, 11097, 18, 43, 18857, 67, 22408, 67, 12853, 55, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 6538, 743, 1503, 7675, 409, 15060, 4742, 12, 3726, 11272, 3639, 3726, 273, 11097, 18, 3417, 67, 3665, 31, 3639, 1620, 261, 2928, 12, 21, 13, 262, 3639, 288, 5411, 648, 21216, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 25302, 4742, 1435, 1216, 10168, 743, 503, 565, 288, 3639, 6538, 743, 1503, 7675, 1937, 15060, 4742, 5621, 3639, 6538, 743, 1503, 7675, 1937, 15060, 4742, 5621, 3639, 527, 3720, 4742, 5621, 3639, 509, 3726, 273, 11097, 18, 3417, 67, 3665, 31, 3639, 1620, 261, 2928, 12, 21, 13, 262, 3639, 288, 5411, 648, 21216, 67, 22408, 30, 5411, 288, 7734, 845, 12, 21216, 67, 22408, 11272, 7734, 527, 3720, 4742, 5621, 7734, 3726, 273, 11097, 18, 26005, 67, 22408, 31, 7734, 898, 31, 5411, 289, 5411, 648, 22428, 67, 22408, 30, 5411, 288, 7734, 845, 12, 22428, 67, 22408, 11272, 7734, 527, 3720, 4742, 5621, 7734, 3726, 273, 11097, 18, 43, 18857, 67, 22408, 31, 2 ]
|| ! TableUtils.isNumberValue(yValue))
|| ! TableUtil.isNumberValue(yValue))
private void initScale(Table table, String columnX, String columnY) { double minX = Double.MAX_VALUE; double maxX = -Double.MAX_VALUE; double minY = Double.MAX_VALUE; double maxY = -Double.MAX_VALUE; m_onlyBoolValues = true; m_onlyIntValuesX = true; m_onlyIntValuesY = true; for (int row = 0; row < table.getNumberRows(); ++row) { String xValue = table.get(columnX, row); String yValue = table.get(columnY, row); if (xValue == null || yValue == null || ! TableUtils.isNumberValue(yValue)) continue; if (! TableUtils.isBoolValue(yValue)) m_onlyBoolValues = false; if (! TableUtils.isIntValue(xValue)) m_onlyIntValuesX = false; if (! TableUtils.isIntValue(yValue)) m_onlyIntValuesY = false; try { double x = Double.parseDouble(xValue); double y = Double.parseDouble(yValue); minX = Math.min(minX, x); maxX = Math.max(maxX, x); minY = Math.min(minY, y); maxY = Math.max(maxY, y); } catch (NumberFormatException e) { } } initScaleX(minX, maxX); initScaleY(minY, maxY); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/1f50ffb219183ddaf94720a4aba453e11f412425/Plot.java/buggy/src/net/sf/gogui/gtpstatistics/Plot.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 5587, 12, 1388, 1014, 16, 514, 1057, 60, 16, 514, 1057, 61, 13, 565, 288, 3639, 1645, 21586, 273, 3698, 18, 6694, 67, 4051, 31, 3639, 1645, 21482, 273, 300, 5265, 18, 6694, 67, 4051, 31, 3639, 1645, 21355, 273, 3698, 18, 6694, 67, 4051, 31, 3639, 1645, 21509, 273, 300, 5265, 18, 6694, 67, 4051, 31, 3639, 312, 67, 3700, 7464, 1972, 273, 638, 31, 3639, 312, 67, 3700, 1702, 1972, 60, 273, 638, 31, 3639, 312, 67, 3700, 1702, 1972, 61, 273, 638, 31, 3639, 364, 261, 474, 1027, 273, 374, 31, 1027, 411, 1014, 18, 588, 1854, 4300, 5621, 965, 492, 13, 3639, 288, 5411, 514, 619, 620, 273, 1014, 18, 588, 12, 2827, 60, 16, 1027, 1769, 5411, 514, 677, 620, 273, 1014, 18, 588, 12, 2827, 61, 16, 1027, 1769, 5411, 309, 261, 92, 620, 422, 446, 747, 677, 620, 422, 446, 7734, 747, 401, 3555, 1304, 18, 291, 1854, 620, 12, 93, 620, 3719, 7734, 1324, 31, 5411, 309, 16051, 3555, 1989, 18, 291, 7464, 620, 12, 93, 620, 3719, 7734, 312, 67, 3700, 7464, 1972, 273, 629, 31, 5411, 309, 16051, 3555, 1989, 18, 291, 1702, 620, 12, 92, 620, 3719, 7734, 312, 67, 3700, 1702, 1972, 60, 273, 629, 31, 5411, 309, 16051, 3555, 1989, 18, 291, 1702, 620, 12, 93, 620, 3719, 7734, 312, 67, 3700, 1702, 1972, 61, 273, 629, 31, 5411, 775, 5411, 288, 7734, 1645, 619, 273, 3698, 18, 2670, 5265, 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, 5587, 12, 1388, 1014, 16, 514, 1057, 60, 16, 514, 1057, 61, 13, 565, 288, 3639, 1645, 21586, 273, 3698, 18, 6694, 67, 4051, 31, 3639, 1645, 21482, 273, 300, 5265, 18, 6694, 67, 4051, 31, 3639, 1645, 21355, 273, 3698, 18, 6694, 67, 4051, 31, 3639, 1645, 21509, 273, 300, 5265, 18, 6694, 67, 4051, 31, 3639, 312, 67, 3700, 7464, 1972, 273, 638, 31, 3639, 312, 67, 3700, 1702, 1972, 60, 273, 638, 31, 3639, 312, 67, 3700, 1702, 1972, 61, 273, 638, 31, 3639, 364, 261, 474, 1027, 273, 374, 31, 1027, 411, 1014, 18, 588, 1854, 4300, 5621, 965, 492, 13, 3639, 288, 5411, 514, 619, 620, 273, 1014, 18, 588, 2 ]
btnTrendline = createToggleButton( cmp, popup.getTitle( ), popup );
btnTrendline = createToggleButton( cmp, Messages.getString( "SeriesYSheetImpl.Label.Trendline&" ), popup );
private void createButtonGroup( Composite parent ) { Composite cmp = new Composite( parent, SWT.NONE ); { cmp.setLayout( new GridLayout( 6, false ) ); GridData gridData = new GridData( GridData.FILL_HORIZONTAL ); gridData.horizontalSpan = 2; gridData.grabExcessVerticalSpace = true; gridData.verticalAlignment = SWT.END; cmp.setLayoutData( gridData ); } // Label or Region ITaskPopupSheet popup; if ( !( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof StockSeries ) ) { if ( isMeterSeries( ) ) { popup = new DialLabelSheet( Messages.getString( "SeriesYSheetImpl.Label.Labels" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ) ); btnDialLabel = createToggleButton( cmp, popup.getTitle( ), popup ); btnDialLabel.addSelectionListener( this ); popup = new SeriesRegionSheet( Messages.getString( "SeriesYSheetImpl.Label.Region" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ) ); btnDialRegion = createToggleButton( cmp, popup.getTitle( ), popup ); btnDialRegion.addSelectionListener( this ); } else { popup = new SeriesLabelSheet( Messages.getString( "SeriesYSheetImpl.Label.Labels" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ) ); btnLabel = createToggleButton( cmp, popup.getTitle( ), popup ); btnLabel.addSelectionListener( this ); } } else { // Disable Label properties for Stock series btnLabel = new Button( cmp, SWT.NONE ); btnLabel.setVisible( false ); } // Titles for Pie series if ( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof PieSeries ) { popup = new PieTitleSheet( Messages.getString( "SeriesYSheetImpl.Label.Titles" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ) ); btnPieTitle = createToggleButton( cmp, popup.getTitle( ), popup ); btnPieTitle.addSelectionListener( this ); } // Markers for Line/Area/Scatter series if ( getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) instanceof LineSeries ) { popup = new LineSeriesMarkerSheet( Messages.getString( "SeriesYSheetImpl.Label.Markers" ), //$NON-NLS-1$ getContext( ), (LineSeries) getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) ); btnLineMarker = createToggleButton( cmp, popup.getTitle( ), popup ); btnLineMarker.addSelectionListener( this ); } // Interactivity popup = new InteractivitySheet( Messages.getString( "SeriesYSheetImpl.Label.Interactivity" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ).getDesignTimeSeries( ) .getTriggers( ), true, false ); btnInteractivity = createToggleButton( cmp, popup.getTitle( ), popup ); btnInteractivity.addSelectionListener( this ); btnInteractivity.setEnabled( getChart( ).getInteractivity( ).isEnable( ) ); // Trendline if ( isTrendlineAvailable( ) ) { popup = new SeriesTrendlineSheet( Messages.getString( "SeriesYSheetImpl.Label.Trendline" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ) ); btnTrendline = createToggleButton( cmp, popup.getTitle( ), popup ); btnTrendline.addSelectionListener( this ); btnTrendline.setEnabled( btnShowLine.getSelection( ) ); } // SeriesPalette popup = new SeriesPaletteSheet( Messages.getString( "SeriesXSheetImpl.Label.SeriesPalette" ), //$NON-NLS-1$ getContext( ), getSeriesDefinitionForProcessing( ) ); btnPalette = createToggleButton( cmp, popup.getTitle( ), popup ); btnPalette.addSelectionListener( this ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/8809bc426a3662f0ca5c28e3a367a36ddbf7e336/SeriesYSheetImpl.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/series/SeriesYSheetImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 3616, 1114, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9411, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 9625, 18, 542, 3744, 12, 394, 7145, 3744, 12, 1666, 16, 629, 262, 11272, 1082, 202, 6313, 751, 3068, 751, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 11272, 1082, 202, 5222, 751, 18, 18396, 6952, 273, 576, 31, 1082, 202, 5222, 751, 18, 2752, 70, 424, 614, 15704, 3819, 273, 638, 31, 1082, 202, 5222, 751, 18, 17824, 11535, 273, 348, 8588, 18, 4415, 31, 1082, 202, 9625, 18, 542, 3744, 751, 12, 3068, 751, 11272, 202, 202, 97, 202, 202, 759, 5287, 578, 9164, 202, 202, 1285, 835, 13770, 8229, 10431, 31, 202, 202, 430, 261, 401, 12, 336, 6485, 1852, 1290, 7798, 12, 262, 18, 588, 15478, 28486, 12, 262, 1276, 20296, 363, 6485, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 15707, 847, 6485, 12, 262, 262, 1082, 202, 95, 9506, 202, 16086, 273, 394, 9402, 2224, 8229, 12, 4838, 18, 588, 780, 12, 315, 6485, 61, 8229, 2828, 18, 2224, 18, 5888, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 29120, 12, 262, 16, 25083, 202, 588, 6485, 1852, 1290, 7798, 12, 262, 11272, 9506, 202, 11898, 11885, 2224, 273, 752, 17986, 3616, 12, 9411, 16, 25083, 202, 16086, 18, 588, 4247, 12, 262, 16, 25083, 202, 16086, 11272, 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, 225, 202, 1152, 918, 752, 3616, 1114, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 9411, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 9625, 18, 542, 3744, 12, 394, 7145, 3744, 12, 1666, 16, 629, 262, 11272, 1082, 202, 6313, 751, 3068, 751, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 11272, 1082, 202, 5222, 751, 18, 18396, 6952, 273, 576, 31, 1082, 202, 5222, 751, 18, 2752, 70, 424, 614, 15704, 3819, 273, 638, 31, 1082, 202, 5222, 751, 18, 17824, 11535, 273, 348, 8588, 18, 4415, 31, 1082, 202, 9625, 18, 542, 3744, 751, 12, 3068, 751, 11272, 202, 202, 97, 202, 202, 2 ]