rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
public org.quickfix.field.BidForwardPoints2 getBidForwardPoints2() throws FieldNotFound { org.quickfix.field.BidForwardPoints2 value = new org.quickfix.field.BidForwardPoints2();
public quickfix.field.BidForwardPoints2 getBidForwardPoints2() throws FieldNotFound { quickfix.field.BidForwardPoints2 value = new quickfix.field.BidForwardPoints2();
public org.quickfix.field.BidForwardPoints2 getBidForwardPoints2() throws FieldNotFound { org.quickfix.field.BidForwardPoints2 value = new org.quickfix.field.BidForwardPoints2(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusReport.java/clean/src/java/src/quickfix/fix43/QuoteStatusReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17763, 8514, 5636, 22, 2882, 350, 8514, 5636, 22, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17763, 8514, 5636, 22, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17763, 8514, 5636, 22, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1071, 2358, 18, 19525, 904, 18, 1518, 18, 17763, 8514, 5636, 22, 2882, 350, 8514, 5636, 22, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 17763, 8514, 5636, 22, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 17763, 8514, 5636, 22, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public INode compile(String content, String file, int line) { // FIXME RubyParserConfiguration config = new RubyParserConfiguration(); config.setLocalVariables(getScope().getLocalNames()); getParser().init(config); IRubyParserResult result = (IRubyParserResult)getParser().parse(LexerFactory.getInstance().getSource(file, content)); if (result.getLocalVariables() != null) { getScope().setLocalNames(new ArrayList(result.getLocalVariables())); if (getScope().getLocalNames() != null && getScope().getLocalNames().size() > 0) { if (getScope().getLocalValues() == null) { getScope().setLocalValues(new ArrayList(Collections.nCopies(getScope().getLocalNames().size(), getNil()))); } else { getScope().getLocalValues().addAll(Collections.nCopies(getScope().getLocalNames().size() - getScope().getLocalValues().size(), getNil())); } } } return result.getAST(); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/c79adccbaa071501b1c42e97ed6c3284712f57e4/Ruby.java/buggy/org/jruby/Ruby.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21176, 4074, 12, 780, 913, 16, 514, 585, 16, 509, 980, 13, 288, 3639, 368, 9852, 3639, 19817, 2678, 1750, 642, 273, 394, 19817, 2678, 1750, 5621, 3639, 642, 18, 542, 2042, 6158, 12, 588, 3876, 7675, 588, 2042, 1557, 10663, 7734, 20804, 7675, 2738, 12, 1425, 1769, 3639, 15908, 10340, 2678, 1253, 563, 273, 261, 7937, 10340, 2678, 1253, 13, 588, 2678, 7675, 2670, 12, 13356, 1733, 18, 588, 1442, 7675, 588, 1830, 12, 768, 16, 913, 10019, 7734, 309, 261, 2088, 18, 588, 2042, 6158, 1435, 480, 446, 13, 288, 5411, 19203, 7675, 542, 2042, 1557, 12, 2704, 2407, 12, 2088, 18, 588, 2042, 6158, 1435, 10019, 5411, 309, 261, 588, 3876, 7675, 588, 2042, 1557, 1435, 480, 446, 597, 19203, 7675, 588, 2042, 1557, 7675, 1467, 1435, 405, 374, 13, 288, 7734, 309, 261, 588, 3876, 7675, 588, 2042, 1972, 1435, 422, 446, 13, 288, 10792, 19203, 7675, 542, 2042, 1972, 12, 2704, 2407, 12, 15150, 18, 82, 15670, 12, 588, 3876, 7675, 588, 2042, 1557, 7675, 1467, 9334, 11069, 330, 1435, 3719, 1769, 7734, 289, 469, 288, 10792, 19203, 7675, 588, 2042, 1972, 7675, 1289, 1595, 12, 15150, 18, 82, 15670, 12, 588, 3876, 7675, 588, 2042, 1557, 7675, 1467, 1435, 300, 19203, 7675, 588, 2042, 1972, 7675, 1467, 9334, 11069, 330, 1435, 10019, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 563, 18, 588, 9053, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21176, 4074, 12, 780, 913, 16, 514, 585, 16, 509, 980, 13, 288, 3639, 368, 9852, 3639, 19817, 2678, 1750, 642, 273, 394, 19817, 2678, 1750, 5621, 3639, 642, 18, 542, 2042, 6158, 12, 588, 3876, 7675, 588, 2042, 1557, 10663, 7734, 20804, 7675, 2738, 12, 1425, 1769, 3639, 15908, 10340, 2678, 1253, 563, 273, 261, 7937, 10340, 2678, 1253, 13, 588, 2678, 7675, 2670, 12, 13356, 1733, 18, 588, 1442, 7675, 588, 1830, 12, 768, 16, 913, 10019, 7734, 309, 261, 2088, 18, 588, 2042, 6158, 1435, 480, 446, 13, 288, 5411, 19203, 7675, 542, 2042, 1557, 12, 2704, 2407, 12, 2088, 18, 588, 2042, 6158, 1435, 10019, 5411, 309, 261, 588, 3876, 7675, 588, 2042, 2 ]
assertEquals("c:/foo", helper.getLog().getLogDir());
assertEquals(tempDirectory.getAbsolutePath() + "/foo", helper.getLog().getLogDir());
public void testGetLog() throws CruiseControlException { ProjectXMLHelper helper = new ProjectXMLHelper(configFile, "project1"); assertEquals("logs" + File.separatorChar + "project1", helper.getLog().getLogDir()); helper = new ProjectXMLHelper(configFile, "project2"); assertEquals("c:/foo", helper.getLog().getLogDir()); helper = new ProjectXMLHelper(configFile, "project3"); assertEquals("logs" + File.separatorChar + "project3", helper.getLog().getLogDir()); assertNull(helper.getLog().getLogXmlEncoding()); helper = new ProjectXMLHelper(configFile, "project2"); assertEquals("utf-8", helper.getLog().getLogXmlEncoding()); }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/e1751cb2e8931f6aec7f0bab46ec17695dc59615/ProjectXMLHelperTest.java/clean/main/test/net/sourceforge/cruisecontrol/ProjectXMLHelperTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 1343, 1435, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 5420, 4201, 2276, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 21, 8863, 3639, 1815, 8867, 2932, 10011, 6, 397, 1387, 18, 11287, 2156, 397, 315, 4406, 21, 3113, 4222, 18, 588, 1343, 7675, 588, 1343, 1621, 10663, 3639, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 22, 8863, 3639, 1815, 8867, 12, 5814, 2853, 18, 588, 10368, 743, 1435, 397, 2206, 11351, 3113, 4222, 18, 588, 1343, 7675, 588, 1343, 1621, 10663, 3639, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 23, 8863, 3639, 1815, 8867, 2932, 10011, 6, 397, 1387, 18, 11287, 2156, 397, 315, 4406, 23, 3113, 4222, 18, 588, 1343, 7675, 588, 1343, 1621, 10663, 3639, 1815, 2041, 12, 4759, 18, 588, 1343, 7675, 588, 1343, 4432, 4705, 10663, 3639, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 22, 8863, 3639, 1815, 8867, 2932, 3158, 17, 28, 3113, 4222, 18, 588, 1343, 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 1071, 918, 1842, 967, 1343, 1435, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 5420, 4201, 2276, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 21, 8863, 3639, 1815, 8867, 2932, 10011, 6, 397, 1387, 18, 11287, 2156, 397, 315, 4406, 21, 3113, 4222, 18, 588, 1343, 7675, 588, 1343, 1621, 10663, 3639, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 22, 8863, 3639, 1815, 8867, 12, 5814, 2853, 18, 588, 10368, 743, 1435, 397, 2206, 11351, 3113, 4222, 18, 588, 1343, 7675, 588, 1343, 1621, 10663, 3639, 4222, 273, 394, 5420, 4201, 2276, 12, 1425, 812, 16, 315, 4406, 23, 8863, 3639, 1815, 8867, 2932, 10011, 6, 397, 1387, 2 ]
public void registerService(ServiceInfo info) throws IOException
public synchronized void registerService(ServiceInfo info) throws IOException
public void registerService(ServiceInfo info) throws IOException { try { synchronized (this) { // check for a unqiue name checkService(info); // add the service services.put(info.name.toLowerCase(), info); } // announce the service long now = System.currentTimeMillis(); long nextTime = now; for (int i = 0 ; i < 3 ;) { if (now < nextTime) { Thread.sleep(nextTime - now); now = System.currentTimeMillis(); continue; } DNSOutgoing out = new DNSOutgoing(FLAGS_QR_RESPONSE | FLAGS_AA); out.addAnswer(new DNSRecord.Pointer(info.type, TYPE_PTR, CLASS_IN, DNS_TTL, info.name), 0); out.addAnswer(new DNSRecord.Service(info.name, TYPE_SRV, CLASS_IN, DNS_TTL, info.priority, info.weight, info.port, info.name), 0); out.addAnswer(new DNSRecord.Text(info.name, TYPE_TXT, CLASS_IN, DNS_TTL, info.text), 0); out.addAnswer(new DNSRecord.Address(info.name, TYPE_A, CLASS_IN, DNS_TTL, info.getIPAddress()), 0); send(out); i++; nextTime += 225; } } catch (InterruptedException e) { throw new IOException("interrupted I/O"); } }
364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/364/ef7056f53003696f3f1b4d82ad3cbdfa8b208903/Rendezvous.java/clean/rdfweb.org/software/foaffinger/src/com/strangeberry/rendezvous/Rendezvous.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1744, 1179, 12, 1179, 966, 1123, 13, 1216, 1860, 565, 288, 202, 698, 288, 202, 565, 3852, 261, 2211, 13, 288, 202, 202, 759, 866, 364, 279, 640, 85, 77, 344, 508, 202, 202, 1893, 1179, 12, 1376, 1769, 9506, 202, 759, 527, 326, 1156, 202, 202, 8387, 18, 458, 12, 1376, 18, 529, 18, 869, 5630, 9334, 1123, 1769, 202, 565, 289, 202, 565, 368, 14281, 326, 1156, 202, 565, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 202, 565, 1525, 1024, 950, 273, 2037, 31, 202, 565, 364, 261, 474, 277, 273, 374, 274, 277, 411, 890, 274, 13, 288, 202, 202, 430, 261, 3338, 411, 1024, 950, 13, 288, 1082, 565, 4884, 18, 19607, 12, 4285, 950, 300, 2037, 1769, 1082, 565, 2037, 273, 2332, 18, 2972, 28512, 5621, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 11602, 24866, 596, 273, 394, 8858, 24866, 12, 17836, 67, 29853, 67, 14508, 571, 16993, 67, 5284, 1769, 202, 202, 659, 18, 1289, 13203, 12, 2704, 8858, 2115, 18, 4926, 12, 1376, 18, 723, 16, 3463, 67, 1856, 54, 16, 7383, 67, 706, 16, 8858, 67, 11409, 16, 1123, 18, 529, 3631, 374, 1769, 202, 202, 659, 18, 1289, 13203, 12, 2704, 8858, 2115, 18, 1179, 12, 1376, 18, 529, 16, 3463, 67, 10090, 58, 16, 7383, 67, 706, 16, 8858, 67, 11409, 16, 1123, 18, 8457, 16, 1123, 18, 4865, 16, 1123, 18, 655, 16, 1123, 18, 529, 3631, 374, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1744, 1179, 12, 1179, 966, 1123, 13, 1216, 1860, 565, 288, 202, 698, 288, 202, 565, 3852, 261, 2211, 13, 288, 202, 202, 759, 866, 364, 279, 640, 85, 77, 344, 508, 202, 202, 1893, 1179, 12, 1376, 1769, 9506, 202, 759, 527, 326, 1156, 202, 202, 8387, 18, 458, 12, 1376, 18, 529, 18, 869, 5630, 9334, 1123, 1769, 202, 565, 289, 202, 565, 368, 14281, 326, 1156, 202, 565, 1525, 2037, 273, 2332, 18, 2972, 28512, 5621, 202, 565, 1525, 1024, 950, 273, 2037, 31, 202, 565, 364, 261, 474, 277, 273, 374, 274, 277, 411, 890, 274, 13, 288, 202, 202, 430, 261, 3338, 411, 1024, 950, 13, 288, 1082, 565, 4884, 2 ]
for (int i=0; i<listeners.length; i++) {
for ( int i = listeners.length-2; i>=0; i -= 2 ) {
protected void destroy() { Iterator it = frames.iterator(); while (it.hasNext()) { SContainer container = ((SFrame)it.next()).getContentPane(); if (container != null) container.removeAll(); } reloadManager.clear(); reloadManager = null; extManager.clear(); extManager = null; dispatcher.clear(); dispatcher = null; frames.clear(); props.clear(); Object[] listeners = listenerList.getListenerList(); for (int i=0; i<listeners.length; i++) { listenerList.remove(listeners[i].getClass(), (EventListener)listeners[i+1]); } // end of for (int i=0; i<; i++) }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/d24f0720d851eb573b103229d8dde2738a1cf464/Session.java/buggy/wings/src/org/wings/session/Session.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5546, 1435, 288, 3639, 4498, 518, 273, 7793, 18, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 348, 2170, 1478, 273, 14015, 55, 3219, 13, 305, 18, 4285, 1435, 2934, 588, 1350, 8485, 5621, 5411, 309, 261, 3782, 480, 446, 13, 7734, 1478, 18, 4479, 1595, 5621, 3639, 289, 7734, 7749, 1318, 18, 8507, 5621, 3639, 7749, 1318, 273, 446, 31, 3639, 1110, 1318, 18, 8507, 5621, 3639, 1110, 1318, 273, 446, 31, 3639, 7393, 18, 8507, 5621, 3639, 7393, 273, 446, 31, 3639, 7793, 18, 8507, 5621, 3639, 3458, 18, 8507, 5621, 3639, 1033, 8526, 4679, 273, 2991, 682, 18, 588, 2223, 682, 5621, 540, 364, 261, 509, 277, 273, 4679, 18, 2469, 17, 22, 31, 277, 34, 33, 20, 31, 277, 3947, 576, 262, 288, 5411, 2991, 682, 18, 4479, 12, 16072, 63, 77, 8009, 588, 797, 9334, 261, 7375, 13, 16072, 63, 77, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5546, 1435, 288, 3639, 4498, 518, 273, 7793, 18, 9838, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 5411, 348, 2170, 1478, 273, 14015, 55, 3219, 13, 305, 18, 4285, 1435, 2934, 588, 1350, 8485, 5621, 5411, 309, 261, 3782, 480, 446, 13, 7734, 1478, 18, 4479, 1595, 5621, 3639, 289, 7734, 7749, 1318, 18, 8507, 5621, 3639, 7749, 1318, 273, 446, 31, 3639, 1110, 1318, 18, 8507, 5621, 3639, 1110, 1318, 273, 446, 31, 3639, 7393, 18, 8507, 5621, 3639, 7393, 273, 446, 31, 3639, 7793, 18, 8507, 5621, 3639, 3458, 18, 8507, 5621, 3639, 1033, 8526, 4679, 273, 2991, 682, 18, 588, 2223, 682, 5621, 540, 364, 261, 509, 277, 273, 4679, 2 ]
int getLineNumber() {
public int getLineNumber() {
int getLineNumber() { return lineNumber; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/2d4fc75b74d717c754829dde488ff0a7456682cc/Dim.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 26089, 1435, 288, 5411, 327, 13629, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 26089, 1435, 288, 5411, 327, 13629, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void paint(Context c, Box box) { //u.p("BoxLayout.paint " + box);//+box.getElement().getNodeName()+") " + block); BlockBox block = (BlockBox)box; // copy the bounds to we don't mess it up Rectangle oldBounds = new Rectangle(c.getExtents()); if (block.relative) { paintRelative(c,block); } else if (block.fixed) { paintFixed(c,block); } else { paintNormal(c,block); } //u.p("here it's : " + c.getListCounter()); if(isListItem(c,box)) { paintListItem(c,box); } // move the origin down to account for the contents plus the margin, borders, and padding oldBounds.y = oldBounds.y + block.height; c.setExtents(oldBounds); if(c.debugDrawBoxes()) { GraphicsUtil.drawBox(c.getGraphics(),block,Color.red); } }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/buggy/src/java/org/joshy/html/BoxLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 12574, 12, 1042, 276, 16, 8549, 3919, 13, 288, 759, 89, 18, 84, 2932, 3514, 3744, 18, 84, 1598, 315, 397, 3919, 1769, 759, 15, 2147, 18, 21336, 7675, 588, 18948, 1435, 15, 7923, 315, 397, 1203, 1769, 1768, 3514, 1203, 273, 261, 1768, 3514, 13, 2147, 31, 759, 1610, 326, 4972, 358, 732, 2727, 1404, 12755, 518, 731, 19463, 1592, 5694, 273, 394, 13264, 12, 71, 18, 588, 2482, 4877, 10663, 430, 261, 2629, 18, 11626, 13, 288, 84, 1598, 8574, 12, 71, 16, 2629, 1769, 97, 469, 309, 261, 2629, 18, 12429, 13, 288, 84, 1598, 7505, 12, 71, 16, 2629, 1769, 97, 469, 288, 84, 1598, 5506, 12, 71, 16, 2629, 1769, 97, 759, 89, 18, 84, 2932, 14852, 518, 1807, 294, 315, 397, 276, 18, 588, 682, 4789, 10663, 430, 12, 291, 13575, 12, 71, 16, 2147, 3719, 288, 84, 1598, 13575, 12, 71, 16, 2147, 1769, 97, 759, 3635, 326, 4026, 2588, 358, 2236, 364, 326, 2939, 8737, 326, 7333, 16, 24028, 16, 471, 4992, 1673, 5694, 18, 93, 273, 1592, 5694, 18, 93, 397, 1203, 18, 4210, 31, 71, 18, 542, 2482, 4877, 12, 1673, 5694, 1769, 430, 12, 71, 18, 4148, 6493, 29521, 10756, 288, 17558, 1304, 18, 9446, 3514, 12, 71, 18, 588, 17558, 9334, 2629, 16, 2957, 18, 1118, 1769, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 12574, 12, 1042, 276, 16, 8549, 3919, 13, 288, 759, 89, 18, 84, 2932, 3514, 3744, 18, 84, 1598, 315, 397, 3919, 1769, 759, 15, 2147, 18, 21336, 7675, 588, 18948, 1435, 15, 7923, 315, 397, 1203, 1769, 1768, 3514, 1203, 273, 261, 1768, 3514, 13, 2147, 31, 759, 1610, 326, 4972, 358, 732, 2727, 1404, 12755, 518, 731, 19463, 1592, 5694, 273, 394, 13264, 12, 71, 18, 588, 2482, 4877, 10663, 430, 261, 2629, 18, 11626, 13, 288, 84, 1598, 8574, 12, 71, 16, 2629, 1769, 97, 469, 309, 261, 2629, 18, 12429, 13, 288, 84, 1598, 7505, 12, 71, 16, 2629, 1769, 97, 469, 288, 84, 1598, 5506, 12, 71, 16, 2629, 1769, 97, 759, 2 ]
setAltKey(null);
private void evaluateExpressions() throws JspException { try { setAlt((String) evalAttr("alt", getAlt(), String.class)); } catch (NullAttributeException ex) { setAlt(null); } try { setAltKey((String) evalAttr("altKey", getAltKey(), String.class)); } catch (NullAttributeException ex) { setAltKey(null); } try { setDisabled(((Boolean) evalAttr("disabled", getDisabledExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setDisabled(false); } try { setIndexed(((Boolean) evalAttr("indexed", getIndexedExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setIndexed(false); } try { setMultiple((String) evalAttr("multiple", getMultiple(), String.class)); } catch (NullAttributeException ex) { setMultiple(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setOnblur((String) evalAttr("onblur", getOnblur(), String.class)); } catch (NullAttributeException ex) { setOnblur(null); } try { setOnchange((String) evalAttr("onchange", getOnchange(), String.class)); } catch (NullAttributeException ex) { setOnchange(null); } try { setOnclick((String) evalAttr("onclick", getOnclick(), String.class)); } catch (NullAttributeException ex) { setOnclick(null); } try { setOndblclick((String) evalAttr("ondblclick", getOndblclick(), String.class)); } catch (NullAttributeException ex) { setOndblclick(null); } try { setOnfocus((String) evalAttr("onfocus", getOnfocus(), String.class)); } catch (NullAttributeException ex) { setOnfocus(null); } try { setOnkeydown((String) evalAttr("onkeydown", getOnkeydown(), String.class)); } catch (NullAttributeException ex) { setOnkeydown(null); } try { setOnkeypress((String) evalAttr("onkeypress", getOnkeypress(), String.class)); } catch (NullAttributeException ex) { setOnkeypress(null); } try { setOnkeyup((String) evalAttr("onkeyup", getOnkeyup(), String.class)); } catch (NullAttributeException ex) { setOnkeyup(null); } try { setOnmousedown((String) evalAttr("onmousedown", getOnmousedown(), String.class)); } catch (NullAttributeException ex) { setOnmousedown(null); } try { setOnmousemove((String) evalAttr("onmousemove", getOnmousemove(), String.class)); } catch (NullAttributeException ex) { setOnmousemove(null); } try { setOnmouseout((String) evalAttr("onmouseout", getOnmouseout(), String.class)); } catch (NullAttributeException ex) { setOnmouseout(null); } try { setOnmouseover((String) evalAttr("onmouseover", getOnmouseover(), String.class)); } catch (NullAttributeException ex) { setOnmouseover(null); } try { setOnmouseup((String) evalAttr("onmouseup", getOnmouseup(), String.class)); } catch (NullAttributeException ex) { setOnmouseup(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setSize((String) evalAttr("size", getSize(), String.class)); } catch (NullAttributeException ex) { setSize(null); } try { setStyle((String) evalAttr("style", getStyle(), String.class)); } catch (NullAttributeException ex) { setStyle(null); } try { setStyleClass((String) evalAttr("styleClass", getStyleClass(), String.class)); } catch (NullAttributeException ex) { setStyleClass(null); } try { setStyleId((String) evalAttr("styleId", getStyleId(), String.class)); } catch (NullAttributeException ex) { setStyleId(null); } try { setTabindex((String) evalAttr("tabindex", getTabindex(), String.class)); } catch (NullAttributeException ex) { setTabindex(null); } try { setTitle((String) evalAttr("title", getTitle(), String.class)); } catch (NullAttributeException ex) { setTitle(null); } try { setTitleKey((String) evalAttr("titleKey", getTitleKey(), String.class)); } catch (NullAttributeException ex) { setTitleKey(null); } try { setValue((String) evalAttr("value", getValue(), String.class)); } catch (NullAttributeException ex) { setValue(null); } }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/db064e19656421b94aaf753550935d95f44bd5f9/ELSelectTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELSelectTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 10402, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 8853, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 15034, 12443, 12, 5507, 13, 5302, 3843, 2932, 19626, 3113, 8088, 329, 4742, 9334, 4766, 6647, 3411, 18, 1106, 13, 2934, 15604, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 15034, 12, 5743, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 8438, 12443, 780, 13, 5302, 3843, 2932, 9622, 3113, 30226, 2444, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 8438, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 10655, 12443, 780, 13, 5302, 3843, 2932, 2390, 3113, 336, 10655, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 5411, 444, 10655, 12, 2011, 1769, 3639, 289, 3639, 775, 288, 5411, 444, 10655, 653, 12443, 780, 13, 5302, 3843, 2932, 2390, 653, 3113, 336, 10655, 653, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 10402, 289, 3639, 775, 288, 5411, 444, 8853, 12443, 12, 5507, 13, 5302, 3843, 2932, 9278, 3113, 336, 8853, 4742, 9334, 4766, 5411, 3411, 18, 1106, 13, 2934, 13491, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 2 ]
public void testValidateResourceName() throws Exception { // PLEASE NOTE: This logic is NOT yet used by OpenCms, this is planned for the future // according to windows, the following characters are illegal: // \ / : * ? " < > | // accoring to JSR 170, the following characters are illegal: // / : [ ] * ' " | // technically, for OpenCms only the following char can not be part of a file: / // for HTML URL building, the following chars are "reserved characters" (see RFC 1738) // ; / ? : @ = & // stupidity tests assertFalse(CmsStringUtil.validateResourceName(null)); assertFalse(CmsStringUtil.validateResourceName("")); // all valid chard according to the "old" OpenCms logic assertTrue(CmsStringUtil.validateResourceName("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~$")); // add some of the new valid chars assertTrue(CmsStringUtil.validateResourceName("Copy of abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~$")); assertTrue(CmsStringUtil.validateResourceName("Some German umlauts - ")); assertTrue(CmsStringUtil.validateResourceName("Some more western European special chars - ")); assertTrue(CmsStringUtil.validateResourceName("my File")); // Window logic invalid chars assertFalse(CmsStringUtil.validateResourceName(" my File")); assertFalse(CmsStringUtil.validateResourceName("my File ")); assertFalse(CmsStringUtil.validateResourceName("\tmy File")); assertFalse(CmsStringUtil.validateResourceName("\rmy File")); assertFalse(CmsStringUtil.validateResourceName("\nmy File")); assertFalse(CmsStringUtil.validateResourceName("my/file")); assertFalse(CmsStringUtil.validateResourceName("my\\file")); assertFalse(CmsStringUtil.validateResourceName("my:file")); assertFalse(CmsStringUtil.validateResourceName("my*file")); assertFalse(CmsStringUtil.validateResourceName("my?file")); assertFalse(CmsStringUtil.validateResourceName("my\"file")); assertFalse(CmsStringUtil.validateResourceName("my<file")); assertFalse(CmsStringUtil.validateResourceName("my>file")); assertFalse(CmsStringUtil.validateResourceName("my|file")); // JSR 170 chars assertTrue(CmsStringUtil.validateResourceName("my[file")); assertTrue(CmsStringUtil.validateResourceName("my]file")); assertTrue(CmsStringUtil.validateResourceName("my'file")); // HTML reserved chars assertTrue(CmsStringUtil.validateResourceName("my&file")); assertTrue(CmsStringUtil.validateResourceName("my=file")); assertTrue(CmsStringUtil.validateResourceName("my@file")); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/6f754ad872cb162fb0d29d167cdd6d159d8112a0/TestValidFilename.java/clean/test/org/opencms/util/TestValidFilename.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4270, 19327, 1435, 1216, 1185, 288, 9079, 368, 453, 22357, 5219, 30, 1220, 4058, 353, 4269, 4671, 1399, 635, 10319, 16, 333, 353, 886, 10041, 364, 326, 3563, 7734, 368, 4888, 358, 9965, 16, 326, 3751, 3949, 854, 16720, 30, 3639, 368, 521, 342, 294, 380, 692, 315, 411, 405, 571, 7734, 368, 4078, 6053, 358, 6756, 54, 404, 7301, 16, 326, 3751, 3949, 854, 16720, 30, 3639, 368, 342, 294, 306, 308, 380, 296, 315, 571, 7734, 368, 17734, 6478, 16, 364, 10319, 1338, 326, 3751, 1149, 848, 486, 506, 1087, 434, 279, 585, 30, 342, 7734, 368, 364, 3982, 1976, 10504, 16, 326, 3751, 5230, 854, 315, 18898, 3949, 6, 261, 5946, 8372, 8043, 7414, 13, 3639, 368, 274, 342, 692, 294, 632, 273, 473, 7734, 368, 384, 416, 24237, 7434, 3639, 1815, 8381, 12, 4747, 13565, 18, 5662, 19327, 12, 2011, 10019, 7734, 1815, 8381, 12, 4747, 13565, 18, 5662, 19327, 2932, 7923, 1769, 7734, 368, 777, 923, 462, 1060, 4888, 358, 326, 315, 1673, 6, 10319, 4058, 3639, 1815, 5510, 12, 4747, 13565, 18, 5662, 19327, 2932, 28953, 17680, 8302, 16391, 13607, 556, 85, 16114, 30900, 17177, 26904, 12904, 16715, 45, 19474, 17063, 3417, 28386, 10637, 20147, 59, 23479, 26684, 17, 6315, 98, 8, 7923, 1769, 7734, 368, 527, 2690, 434, 326, 394, 923, 5230, 3639, 1815, 5510, 12, 4747, 13565, 18, 5662, 19327, 2932, 2951, 434, 20011, 536, 17680, 8302, 16391, 13607, 556, 85, 16114, 30900, 17177, 26904, 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, 4270, 19327, 1435, 1216, 1185, 288, 9079, 368, 453, 22357, 5219, 30, 1220, 4058, 353, 4269, 4671, 1399, 635, 10319, 16, 333, 353, 886, 10041, 364, 326, 3563, 7734, 368, 4888, 358, 9965, 16, 326, 3751, 3949, 854, 16720, 30, 3639, 368, 521, 342, 294, 380, 692, 315, 411, 405, 571, 7734, 368, 4078, 6053, 358, 6756, 54, 404, 7301, 16, 326, 3751, 3949, 854, 16720, 30, 3639, 368, 342, 294, 306, 308, 380, 296, 315, 571, 7734, 368, 17734, 6478, 16, 364, 10319, 1338, 326, 3751, 1149, 848, 486, 506, 1087, 434, 279, 585, 30, 342, 7734, 368, 364, 3982, 1976, 10504, 16, 326, 3751, 5230, 854, 315, 18898, 3949, 6, 261, 5946, 8372, 2 ]
}
final private boolean jj_3R_441() { Token xsp; xsp = jj_scanpos; if (jj_3R_449()) { jj_scanpos = xsp; if (jj_3R_450()) return true; } return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 6334, 21, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6334, 29, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 24, 3361, 10756, 327, 638, 31, 4202, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 3238, 1250, 10684, 67, 23, 54, 67, 6334, 21, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 6334, 29, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 24, 3361, 10756, 327, 638, 31, 4202, 327, 629, 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 ]
if (anonTypes[i].isSkippedAnonymousType()) printNestedInnerTypes(anonTypes[i], system); else printInnerType(anonTypes[i], system);
SchemaType[] anonTypes = sType.getAnonymousTypes(); for (int i = 0; i < anonTypes.length; i++) { if (anonTypes[i].isSkippedAnonymousType()) printNestedInnerTypes(anonTypes[i], system); else printInnerType(anonTypes[i], system); } if (!redefinition || sType.getDerivationType() != SchemaType.DT_EXTENSION) break; sType = sType.getBaseType();
void printNestedInnerTypes(SchemaType sType, SchemaTypeSystem system) throws IOException { SchemaType[] anonTypes = sType.getAnonymousTypes(); for (int i = 0; i < anonTypes.length; i++) { if (anonTypes[i].isSkippedAnonymousType()) printNestedInnerTypes(anonTypes[i], system); else printInnerType(anonTypes[i], system); } }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/4e1e347f51dd223f2dea1ad34cde94cfc1a1f885/SchemaTypeCodePrinter.java/buggy/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1172, 8649, 2857, 2016, 12, 3078, 559, 22907, 16, 4611, 559, 3163, 2619, 13, 1216, 1860, 565, 288, 3639, 4611, 559, 8526, 30637, 2016, 273, 22907, 18, 588, 18792, 2016, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 30637, 2016, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 309, 261, 304, 265, 2016, 63, 77, 8009, 291, 16425, 18792, 559, 10756, 7734, 1172, 8649, 2857, 2016, 12, 304, 265, 2016, 63, 77, 6487, 2619, 1769, 5411, 469, 7734, 1172, 2857, 559, 12, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1172, 8649, 2857, 2016, 12, 3078, 559, 22907, 16, 4611, 559, 3163, 2619, 13, 1216, 1860, 565, 288, 3639, 4611, 559, 8526, 30637, 2016, 273, 22907, 18, 588, 18792, 2016, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 30637, 2016, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 309, 261, 304, 265, 2016, 63, 77, 8009, 291, 16425, 18792, 559, 10756, 7734, 1172, 8649, 2857, 2016, 12, 304, 265, 2016, 63, 77, 6487, 2619, 1769, 5411, 469, 7734, 1172, 2857, 559, 12, 304, 265, 2016, 63, 77, 6487, 2619, 1769, 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 ]
try { byte[] header; int r;
try { byte[] header; int r;
public ObjectId writeObject( final int typeCode, final String type, long len, final InputStream is) throws IOException { final File t; final DeflaterOutputStream deflateStream; final FileOutputStream fileStream; ObjectId id = null; t = File.createTempFile("noz", null, r.getObjectsDirectory()); fileStream = new FileOutputStream(t); if (!legacyHeaders) { long sz = len; int c = ((typeCode & 7) << 4) | (int) (sz & 0xf); sz >>= 4; while (sz > 0) { fileStream.write(c | 0x80); c = (int) (sz & 0x7f); sz >>= 7; } fileStream.write(c); } md.reset(); def.reset(); deflateStream = new DeflaterOutputStream(fileStream, def); try { byte[] header; int r; header = Constants.encodeASCII(type); md.update(header); if (legacyHeaders) deflateStream.write(header); md.update((byte) ' '); if (legacyHeaders) deflateStream.write((byte) ' '); header = Constants.encodeASCII(len); md.update(header); if (legacyHeaders) deflateStream.write(header); md.update((byte) 0); if (legacyHeaders) deflateStream.write((byte) 0); while (len > 0 && (r = is.read(buf, 0, (int) Math.min(len, buf.length))) > 0) { md.update(buf, 0, r); deflateStream.write(buf, 0, r); len -= r; } if (len != 0) throw new IOException("Input did not match supplied length. " + len + " bytes are missing."); deflateStream.close(); t.setReadOnly(); id = new ObjectId(md.digest()); } finally { if (id == null) { try { deflateStream.close(); } finally { t.delete(); } } } if (r.hasObject(id)) { // Object is already in the repository so remove the temporary file. // t.delete(); } else { final File o = r.toFile(id); if (!t.renameTo(o)) { // Maybe the directory doesn't exist yet as the object // directories are always lazily created. Note that we // try the rename first as the directory likely does exist. // o.getParentFile().mkdir(); if (!t.renameTo(o)) { if (!r.hasObject(id)) { // The object failed to be renamed into its proper // location and it doesn't exist in the repository // either. We really don't know what went wrong, so // fail. // t.delete(); throw new ObjectWritingException("Unable to" + " create new object: " + o); } } } } return id; }
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/a4e486719ce78b8050373e6534dfaf4a1572b269/ObjectWriter.java/buggy/org.spearce.jgit/src/org/spearce/jgit/lib/ObjectWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21192, 16306, 12, 3639, 727, 509, 618, 1085, 16, 3639, 727, 514, 618, 16, 3639, 1525, 562, 16, 3639, 727, 5037, 353, 13, 1216, 1860, 565, 288, 3639, 727, 1387, 268, 31, 3639, 727, 1505, 2242, 2045, 4632, 1652, 20293, 1228, 31, 3639, 727, 12942, 585, 1228, 31, 3639, 21192, 612, 273, 446, 31, 3639, 268, 273, 1387, 18, 2640, 20181, 2932, 2135, 94, 3113, 446, 16, 436, 18, 588, 4710, 2853, 10663, 3639, 585, 1228, 273, 394, 12942, 12, 88, 1769, 3639, 309, 16051, 17386, 3121, 13, 3639, 288, 5411, 1525, 11262, 273, 562, 31, 5411, 509, 276, 273, 14015, 723, 1085, 473, 2371, 13, 2296, 1059, 13, 571, 261, 474, 13, 261, 24575, 473, 374, 5841, 1769, 5411, 11262, 23359, 1059, 31, 5411, 1323, 261, 24575, 405, 374, 13, 5411, 288, 7734, 585, 1228, 18, 2626, 12, 71, 571, 374, 92, 3672, 1769, 7734, 276, 273, 261, 474, 13, 261, 24575, 473, 374, 92, 27, 74, 1769, 7734, 11262, 23359, 2371, 31, 5411, 289, 5411, 585, 1228, 18, 2626, 12, 71, 1769, 3639, 289, 3639, 3481, 18, 6208, 5621, 3639, 1652, 18, 6208, 5621, 3639, 1652, 20293, 1228, 273, 394, 1505, 2242, 2045, 4632, 12, 768, 1228, 16, 1652, 1769, 3639, 775, 3639, 288, 5411, 1160, 8526, 1446, 31, 5411, 509, 436, 31, 5411, 1446, 273, 5245, 18, 3015, 13756, 12, 723, 1769, 5411, 3481, 18, 2725, 12, 3374, 1769, 5411, 309, 261, 17386, 3121, 13, 7734, 1652, 20293, 1228, 18, 2626, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21192, 16306, 12, 3639, 727, 509, 618, 1085, 16, 3639, 727, 514, 618, 16, 3639, 1525, 562, 16, 3639, 727, 5037, 353, 13, 1216, 1860, 565, 288, 3639, 727, 1387, 268, 31, 3639, 727, 1505, 2242, 2045, 4632, 1652, 20293, 1228, 31, 3639, 727, 12942, 585, 1228, 31, 3639, 21192, 612, 273, 446, 31, 3639, 268, 273, 1387, 18, 2640, 20181, 2932, 2135, 94, 3113, 446, 16, 436, 18, 588, 4710, 2853, 10663, 3639, 585, 1228, 273, 394, 12942, 12, 88, 1769, 3639, 309, 16051, 17386, 3121, 13, 3639, 288, 5411, 1525, 11262, 273, 562, 31, 5411, 509, 276, 273, 14015, 723, 1085, 473, 2371, 13, 2296, 1059, 13, 571, 261, 474, 13, 261, 24575, 473, 374, 2 ]
return null;
return null;
private Response opensocket(Request request) throws UnknownHostException, IOException, SocketException { // We initialise all sockets to null; proxysocket = null; serversocket = null; sslsocket = null; in = null; out = null; // We record where we are connected to, in case we might reuse this socket later URL u = request.getURL(); host = u.getHost(); port = u.getPort()==-1?u.getDefaultPort():u.getPort(); ssl = request.getURL().getProtocol().equalsIgnoreCase("https"); if (!ssl) { // Check for a "noProxy" entry here if (httpProxy != null && !httpProxy.equals("")) { System.err.println("Connect to " + httpProxy + ":" + httpProxyPort); proxysocket = new Socket(httpProxy, httpProxyPort); proxysocket.setTcpNoDelay(true); proxysocket.setSoTimeout(60 * 1000); in = proxysocket.getInputStream(); out = proxysocket.getOutputStream(); } else { System.err.println("Connect to " + u.getHost() + ":" + port ); serversocket = new Socket(u.getHost(), port); serversocket.setTcpNoDelay(true); serversocket.setSoTimeout(60 * 1000); in = serversocket.getInputStream(); out = serversocket.getOutputStream(); } } else { // check for a noProxy entry here if (httpsProxy != null && !httpsProxy.equals("")) { // Send CONNECT, get OK, then we have a socket to the server System.err.println("Connect to " + httpsProxy + ":" + httpsProxyPort); proxysocket = new Socket(httpsProxy, httpsProxyPort); System.err.println("Proxy CONNECT to " + u.getHost() + ":" + port); OutputStream proxyout = proxysocket.getOutputStream(); InputStream proxyin = proxysocket.getInputStream(); proxyout.write(("CONNECT " + host + ":" + port + " HTTP/1.0\r\n").getBytes()); String proxyAuth = request.getHeader("Proxy-Authorization"); if (proxyAuth != null && !proxyAuth.equals("")) { proxyout.write(("Proxy-Authorization: " + proxyAuth + "\r\n").getBytes()); request.deleteHeader("Proxy-Authorization"); } proxyout.write("\r\n".getBytes()); proxyout.flush(); System.err.println("Sent CONNECT, reading Proxy response"); Response response = new Response(); response.read(proxyin); System.err.println("Got response " + response.getStatusLine()); if (!response.getStatus().equals("200")) { return response; } System.err.println("HTTPS CONNECT successful"); serversocket = proxysocket; } else { serversocket = new Socket(host , port); serversocket.setTcpNoDelay(true); serversocket.setSoTimeout(60 * 1000); } if (factory == null) { initSSL(); } // Use the factory to create a secure socket connected to the // HTTPS port of the specified web server. try { sslsocket=(SSLSocket)factory.createSocket(serversocket,serversocket.getInetAddress().getHostName(),serversocket.getPort(),true); sslsocket.setUseClientMode(true); } catch (IOException ioe) { System.err.println("Error layering SSL over the existing socket"); throw new SocketException("Error layering SSL over the socket " + ioe); } in = sslsocket.getInputStream(); out = sslsocket.getOutputStream(); System.err.println("Finished negotiating SSL"); } return null; }
31053 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31053/bb612ef3685ff477d0010dd9c93d62c3c70224c8/URLFetcher.java/buggy/src/org/owasp/webscarab/httpclient/URLFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2306, 10400, 1861, 12, 691, 590, 13, 1216, 30592, 16, 1860, 16, 8758, 503, 225, 288, 3639, 368, 1660, 21301, 777, 16762, 358, 446, 31, 3639, 2889, 7814, 273, 446, 31, 3639, 7084, 1861, 273, 446, 31, 3639, 5832, 7814, 273, 446, 31, 3639, 316, 273, 446, 31, 3639, 596, 273, 446, 31, 7734, 368, 1660, 1409, 1625, 732, 854, 5840, 358, 16, 316, 648, 732, 4825, 11827, 333, 2987, 5137, 3639, 1976, 582, 273, 590, 18, 588, 1785, 5621, 3639, 1479, 273, 582, 18, 588, 2594, 5621, 3639, 1756, 273, 582, 18, 588, 2617, 1435, 631, 17, 21, 35, 89, 18, 588, 1868, 2617, 13332, 89, 18, 588, 2617, 5621, 3639, 5832, 273, 590, 18, 588, 1785, 7675, 588, 5752, 7675, 14963, 5556, 2932, 4528, 8863, 7734, 309, 16051, 8157, 13, 288, 5411, 368, 2073, 364, 279, 315, 2135, 3886, 6, 1241, 2674, 5411, 309, 261, 2505, 3886, 480, 446, 597, 401, 2505, 3886, 18, 14963, 2932, 6, 3719, 288, 7734, 2332, 18, 370, 18, 8222, 2932, 5215, 358, 315, 397, 1062, 3886, 397, 6153, 397, 1062, 3886, 2617, 1769, 7734, 2889, 7814, 273, 394, 8758, 12, 2505, 3886, 16, 1062, 3886, 2617, 1769, 7734, 2889, 7814, 18, 542, 27591, 2279, 6763, 12, 3767, 1769, 7734, 2889, 7814, 18, 542, 10225, 2694, 12, 4848, 380, 4336, 1769, 7734, 316, 273, 2889, 7814, 18, 588, 4348, 5621, 7734, 596, 273, 2889, 7814, 18, 588, 4632, 5621, 5411, 289, 469, 288, 7734, 2332, 18, 370, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2306, 10400, 1861, 12, 691, 590, 13, 1216, 30592, 16, 1860, 16, 8758, 503, 225, 288, 3639, 368, 1660, 21301, 777, 16762, 358, 446, 31, 3639, 2889, 7814, 273, 446, 31, 3639, 7084, 1861, 273, 446, 31, 3639, 5832, 7814, 273, 446, 31, 3639, 316, 273, 446, 31, 3639, 596, 273, 446, 31, 7734, 368, 1660, 1409, 1625, 732, 854, 5840, 358, 16, 316, 648, 732, 4825, 11827, 333, 2987, 5137, 3639, 1976, 582, 273, 590, 18, 588, 1785, 5621, 3639, 1479, 273, 582, 18, 588, 2594, 5621, 3639, 1756, 273, 582, 18, 588, 2617, 1435, 631, 17, 21, 35, 89, 18, 588, 1868, 2617, 13332, 89, 18, 588, 2617, 5621, 3639, 5832, 273, 590, 18, 588, 2 ]
int nr_elements = end-begin-unknown-interpreter+1; if ((begin > 0 || end < length-1 || unknown > 0 || interpreter > 0)
int nr_elements = end - begin - unknown - internal + 1; if ((begin > 0 || end < length-1 || unknown > 0 || internal > 0)
private static StackTraceElement[] sanitizeStack(StackTraceElement[] elements, Throwable t) { StackTraceElement[] stack; String className = t.getClass().getName(); String consName; int lastDot = className.lastIndexOf('.'); if (lastDot == -1) consName = className + '('; else consName = className.substring(lastDot + 1) + '('; int unknown = 0; int interpreter = 0; int last_throw = -1; int length = elements.length; int end = length-1; for (int i = 0; i < length; i++) { String CName = elements[i].getClassName(); String MName = elements[i].getMethodName(); if ((CName == null && MName != null && MName.startsWith("_Jv_Throw")) || (CName != null && (CName.equals(className) || CName.equals("java.lang.Throwable") || CName.equals("java.lang.VMThrowable")) && MName != null && (MName.startsWith(consName) || MName.startsWith("Throwable(") || MName.startsWith("fillInStackTrace(")))) { last_throw = i; // Reset counting of unknown and interpreter frames. unknown = 0; interpreter = 0; } else if (remove_unknown && CName == null && (MName == null || MName.startsWith("0x"))) unknown++; else if (remove_interpreter && ((CName == null && MName != null && MName.startsWith("ffi_")) || (CName != null && CName.equals("_Jv_InterpMethod")))) interpreter++; else if ("main(java.lang.String[])".equals(MName)) { end = i; break; } } int begin = last_throw+1; // Now filter out everything at the start and the end that is not part // of the "normal" user program including any elements that are interpreter // calls or have no usefull information whatsoever. // Unless that means we filter out all info. int nr_elements = end-begin-unknown-interpreter+1; if ((begin > 0 || end < length-1 || unknown > 0 || interpreter > 0) && nr_elements > 0) { stack = new StackTraceElement[nr_elements]; int pos =0; for (int i=begin; i<=end; i++) { String MName = elements[i].getMethodName(); String CName = elements[i].getClassName(); if (remove_unknown && CName == null && (MName == null || MName.startsWith("0x"))) ; // Skip unknown frame else if (remove_interpreter && ((CName == null && MName != null && MName.startsWith("ffi_")) || (CName != null && CName.equals("_Jv_InterpMethod")))) ; // Skip interpreter runtime frame else { stack[pos] = elements[i]; pos++; } } } else stack = elements; return stack; }
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/dccb958c636e1a082b8b910c422a851df75b83ba/NameFinder.java/clean/libjava/gnu/gcj/runtime/NameFinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 25663, 8526, 8881, 2624, 12, 6332, 1046, 8526, 2186, 16, 6862, 1082, 282, 4206, 268, 13, 225, 288, 565, 25663, 8526, 2110, 31, 565, 514, 2658, 273, 268, 18, 588, 797, 7675, 17994, 5621, 565, 514, 1959, 461, 31, 565, 509, 1142, 10412, 273, 2658, 18, 2722, 31985, 2668, 1093, 1769, 565, 309, 261, 2722, 10412, 422, 300, 21, 13, 1377, 1959, 461, 273, 2658, 397, 7321, 31, 565, 469, 1377, 1959, 461, 273, 2658, 18, 28023, 12, 2722, 10412, 397, 404, 13, 397, 7321, 31, 565, 509, 5917, 273, 374, 31, 565, 509, 16048, 273, 374, 31, 565, 509, 1142, 67, 12849, 273, 300, 21, 31, 565, 509, 769, 273, 2186, 18, 2469, 31, 565, 509, 679, 273, 769, 17, 21, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 1377, 288, 202, 780, 385, 461, 273, 2186, 63, 77, 8009, 588, 3834, 5621, 202, 780, 490, 461, 273, 2186, 63, 77, 8009, 588, 11666, 5621, 202, 430, 14015, 39, 461, 422, 446, 597, 490, 461, 480, 446, 597, 490, 461, 18, 17514, 1190, 2932, 67, 46, 90, 67, 8282, 6, 3719, 202, 225, 747, 202, 282, 261, 39, 461, 480, 446, 202, 565, 597, 261, 39, 461, 18, 14963, 12, 12434, 13, 202, 202, 20081, 385, 461, 18, 14963, 2932, 6290, 18, 4936, 18, 15155, 7923, 202, 202, 20081, 385, 461, 18, 14963, 2932, 6290, 18, 4936, 18, 7397, 15155, 6, 3719, 202, 565, 597, 490, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 25663, 8526, 8881, 2624, 12, 6332, 1046, 8526, 2186, 16, 6862, 1082, 282, 4206, 268, 13, 225, 288, 565, 25663, 8526, 2110, 31, 565, 514, 2658, 273, 268, 18, 588, 797, 7675, 17994, 5621, 565, 514, 1959, 461, 31, 565, 509, 1142, 10412, 273, 2658, 18, 2722, 31985, 2668, 1093, 1769, 565, 309, 261, 2722, 10412, 422, 300, 21, 13, 1377, 1959, 461, 273, 2658, 397, 7321, 31, 565, 469, 1377, 1959, 461, 273, 2658, 18, 28023, 12, 2722, 10412, 397, 404, 13, 397, 7321, 31, 565, 509, 5917, 273, 374, 31, 565, 509, 16048, 273, 374, 31, 565, 509, 1142, 67, 12849, 273, 300, 21, 31, 565, 509, 769, 273, 2186, 18, 2469, 31, 565, 2 ]
schemaGroup.addSchema(schema); schemaGroup.synchronise(); } else { schemaGroup.addSchema(schema);
public static SchemaGroup addSchemaToSchemaGroup(Mart mart, Schema schema, String groupName) throws AssociationException, AlreadyExistsException, BuilderException, SQLException { SchemaGroup schemaGroup = (SchemaGroup) mart.getSchemaByName(groupName); if (schemaGroup == null || !(schemaGroup instanceof SchemaGroup)) { schemaGroup = new GenericSchemaGroup(groupName); mart.addSchema(schemaGroup); schemaGroup.addSchema(schema); schemaGroup.synchronise(); } else { schemaGroup.addSchema(schema); } mart.removeSchema(schema); return schemaGroup; }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/34088657fc49112871b3302ff7f12c0c666f5988/MartBuilderUtils.java/clean/src/java/org/biomart/builder/controller/MartBuilderUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 4611, 1114, 527, 3078, 774, 3078, 1114, 12, 49, 485, 312, 485, 16, 4611, 1963, 16, 1082, 202, 780, 11619, 13, 1216, 18400, 503, 16, 1082, 202, 26853, 16, 5008, 503, 16, 6483, 288, 202, 202, 3078, 1114, 1963, 1114, 273, 261, 3078, 1114, 13, 312, 485, 18, 588, 3078, 5911, 12, 1655, 461, 1769, 202, 202, 430, 261, 4821, 1114, 422, 446, 747, 401, 12, 4821, 1114, 1276, 4611, 1114, 3719, 288, 1082, 202, 4821, 1114, 273, 394, 7928, 3078, 1114, 12, 1655, 461, 1769, 1082, 202, 81, 485, 18, 1289, 3078, 12, 4821, 1114, 1769, 1082, 202, 4821, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 4611, 1114, 527, 3078, 774, 3078, 1114, 12, 49, 485, 312, 485, 16, 4611, 1963, 16, 1082, 202, 780, 11619, 13, 1216, 18400, 503, 16, 1082, 202, 26853, 16, 5008, 503, 16, 6483, 288, 202, 202, 3078, 1114, 1963, 1114, 273, 261, 3078, 1114, 13, 312, 485, 18, 588, 3078, 5911, 12, 1655, 461, 1769, 202, 202, 430, 261, 4821, 1114, 422, 446, 747, 401, 12, 4821, 1114, 1276, 4611, 1114, 3719, 288, 1082, 202, 4821, 1114, 273, 394, 7928, 3078, 1114, 12, 1655, 461, 1769, 1082, 202, 81, 485, 18, 1289, 3078, 12, 4821, 1114, 1769, 1082, 202, 4821, 1114, 18, 1289, 3078, 12, 4821, 1769, 1082, 202, 4821, 1114, 18, 87, 2600, 784, 2 ]
new Argument(MailService.A_VERSION, ver, Argument.Type.IID));
new Argument(MailService.A_VERSION, ver, Argument.Type.NUM));
protected void validateRequest(ZimbraSoapContext lc, Wiki wiki, int itemId, long ver, String wikiWord) throws ServiceException { if (itemId == 0 || ver == 0) { if (itemId != 0 || ver != 0) { throw new IllegalArgumentException("either itemId or version is zero"); } WikiPage ww = wiki.lookupWiki(wikiWord); if (ww != null) { throw MailServiceException.ALREADY_EXISTS("wiki word "+wikiWord+" in folder "+wiki.getWikiFolderId(), new Argument(MailService.A_ID, ww.getId(), Argument.Type.IID), new Argument(MailService.A_VERSION, ww.getLastRevision(), Argument.Type.NUM)); } } else { WikiPage ww = wiki.lookupWiki(wikiWord); if (ww == null) { throw MailServiceException.MODIFY_CONFLICT( new Argument(MailService.A_ID, itemId, Argument.Type.IID), new Argument(MailService.A_VERSION, ver, Argument.Type.IID)); } ItemId iid = new ItemId(ww.getId(), lc); if (iid.getId() != itemId) { throw MailServiceException.INVALID_ID(itemId); } if (ww.getLastRevision() != ver) { throw MailServiceException.MODIFY_CONFLICT( new Argument(MailService.A_ID, ww.getId(), Argument.Type.IID), new Argument(MailService.A_VERSION, ww.getLastRevision(), Argument.Type.NUM)); } } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/6624118470052878b9ca5d89ba0f3429cb635ffc/WikiDocumentHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/service/wiki/WikiDocumentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1954, 691, 12, 62, 381, 15397, 20601, 1042, 9109, 16, 28268, 9050, 16, 509, 18424, 16, 1525, 1924, 16, 514, 9050, 3944, 13, 1216, 16489, 288, 202, 202, 430, 261, 1726, 548, 422, 374, 747, 1924, 422, 374, 13, 288, 1082, 202, 430, 261, 1726, 548, 480, 374, 747, 1924, 480, 374, 13, 288, 9506, 202, 12849, 394, 2754, 2932, 73, 2927, 18424, 578, 1177, 353, 3634, 8863, 1082, 202, 97, 1082, 202, 25438, 1964, 28208, 273, 9050, 18, 8664, 25438, 12, 13044, 3944, 1769, 1082, 202, 430, 261, 3107, 480, 446, 13, 288, 9506, 202, 12849, 11542, 15133, 18, 1013, 20305, 67, 21205, 2932, 13044, 2076, 13773, 13044, 3944, 9078, 316, 3009, 13773, 13044, 18, 588, 25438, 3899, 548, 9334, 25083, 202, 2704, 5067, 12, 6759, 1179, 18, 37, 67, 734, 16, 28208, 18, 26321, 9334, 5067, 18, 559, 18, 45, 734, 3631, 25083, 202, 2704, 5067, 12, 6759, 1179, 18, 37, 67, 5757, 16, 28208, 18, 588, 3024, 7939, 9334, 5067, 18, 559, 18, 6069, 10019, 1082, 202, 97, 202, 202, 97, 469, 288, 1082, 202, 25438, 1964, 28208, 273, 9050, 18, 8664, 25438, 12, 13044, 3944, 1769, 1082, 202, 430, 261, 3107, 422, 446, 13, 288, 9506, 202, 12849, 11542, 15133, 18, 6720, 12096, 67, 14497, 29280, 12, 25083, 202, 2704, 5067, 12, 6759, 1179, 18, 37, 67, 734, 16, 18424, 16, 5067, 18, 559, 18, 45, 734, 3631, 25083, 202, 2704, 5067, 12, 6759, 1179, 18, 37, 67, 5757, 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, 1954, 691, 12, 62, 381, 15397, 20601, 1042, 9109, 16, 28268, 9050, 16, 509, 18424, 16, 1525, 1924, 16, 514, 9050, 3944, 13, 1216, 16489, 288, 202, 202, 430, 261, 1726, 548, 422, 374, 747, 1924, 422, 374, 13, 288, 1082, 202, 430, 261, 1726, 548, 480, 374, 747, 1924, 480, 374, 13, 288, 9506, 202, 12849, 394, 2754, 2932, 73, 2927, 18424, 578, 1177, 353, 3634, 8863, 1082, 202, 97, 1082, 202, 25438, 1964, 28208, 273, 9050, 18, 8664, 25438, 12, 13044, 3944, 1769, 1082, 202, 430, 261, 3107, 480, 446, 13, 288, 9506, 202, 12849, 11542, 15133, 18, 1013, 20305, 67, 21205, 2932, 13044, 2076, 13773, 13044, 3944, 9078, 316, 3009, 13773, 13044, 2 ]
private void assignAMS() {
private void assignAMS(Vector<WeaponResult> results) {
private void assignAMS() { // sort all missile-based attacks by the target Hashtable htAttacks = new Hashtable(); for (Enumeration i = game.getActions(); i.hasMoreElements(); ) { Object o = i.nextElement(); if (o instanceof WeaponAttackAction) { WeaponAttackAction waa = (WeaponAttackAction)o; Mounted weapon = game.getEntity(waa.getEntityId()).getEquipment(waa.getWeaponId()); // Only entities can have AMS. if ( Targetable.TYPE_ENTITY != waa.getTargetType() ) { continue; } // Can only use AMS versus missles. if (((WeaponType)weapon.getType()).getDamage() == WeaponType.DAMAGE_MISSILE) { Entity target = game.getEntity(waa.getTargetId()); Vector v = (Vector)htAttacks.get(target); if (v == null) { v = new Vector(); htAttacks.put(target, v); } v.addElement(waa); } } } // let each target assign its AMS for (Enumeration i = htAttacks.keys(); i.hasMoreElements(); ) { Entity e = (Entity)i.nextElement(); Vector vAttacks = (Vector)htAttacks.get(e); e.assignAMS(vAttacks); } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/90be1755de036225b8dbd52d346d8a83ec345cbc/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2683, 2192, 55, 12, 5018, 32, 3218, 28629, 1253, 34, 1686, 13, 288, 3639, 368, 1524, 777, 12543, 398, 17, 12261, 28444, 635, 326, 1018, 3639, 18559, 14049, 3075, 22098, 273, 394, 18559, 5621, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 6100, 5621, 277, 18, 5332, 7417, 3471, 5621, 262, 288, 5411, 1033, 320, 273, 277, 18, 4285, 1046, 5621, 5411, 309, 261, 83, 1276, 1660, 28629, 3075, 484, 1803, 13, 288, 7734, 1660, 28629, 3075, 484, 1803, 341, 7598, 273, 261, 3218, 28629, 3075, 484, 1803, 13, 83, 31, 7734, 13076, 329, 732, 28629, 273, 7920, 18, 588, 1943, 12, 91, 7598, 18, 588, 18029, 1435, 2934, 588, 13142, 11568, 12, 91, 7598, 18, 588, 3218, 28629, 548, 10663, 7734, 368, 5098, 5140, 848, 1240, 432, 3537, 18, 7734, 309, 261, 5916, 429, 18, 2399, 67, 11101, 480, 341, 7598, 18, 588, 2326, 559, 1435, 262, 288, 10792, 1324, 31, 7734, 289, 7734, 368, 4480, 1338, 999, 432, 3537, 14690, 407, 12543, 1040, 18, 7734, 309, 261, 12443, 3218, 28629, 559, 13, 1814, 28629, 18, 588, 559, 1435, 2934, 588, 40, 301, 410, 1435, 422, 1660, 28629, 559, 18, 40, 2192, 2833, 67, 7492, 1260, 13578, 13, 288, 10792, 3887, 1018, 273, 7920, 18, 588, 1943, 12, 91, 7598, 18, 588, 2326, 548, 10663, 10792, 5589, 331, 273, 261, 5018, 13, 647, 3075, 22098, 18, 588, 12, 3299, 1769, 10792, 309, 261, 90, 422, 446, 13, 288, 13491, 331, 273, 394, 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, 2683, 2192, 55, 12, 5018, 32, 3218, 28629, 1253, 34, 1686, 13, 288, 3639, 368, 1524, 777, 12543, 398, 17, 12261, 28444, 635, 326, 1018, 3639, 18559, 14049, 3075, 22098, 273, 394, 18559, 5621, 3639, 364, 261, 21847, 277, 273, 7920, 18, 588, 6100, 5621, 277, 18, 5332, 7417, 3471, 5621, 262, 288, 5411, 1033, 320, 273, 277, 18, 4285, 1046, 5621, 5411, 309, 261, 83, 1276, 1660, 28629, 3075, 484, 1803, 13, 288, 7734, 1660, 28629, 3075, 484, 1803, 341, 7598, 273, 261, 3218, 28629, 3075, 484, 1803, 13, 83, 31, 7734, 13076, 329, 732, 28629, 273, 7920, 18, 588, 1943, 12, 91, 7598, 18, 588, 18029, 1435, 2934, 588, 13142, 11568, 12, 91, 7598, 2 ]
public byte[] parsePage (int meta_id, User user, int flags,String template) throws IOException { return textDocParser.parsePage(meta_id,user,flags,1,template) ;
public byte[] parsePage (int meta_id, User user, int flags,ParserParameters paramsToParse) throws IOException { return textDocParser.parsePage(meta_id,user,flags,1,paramsToParse) ;
public byte[] parsePage (int meta_id, User user, int flags,String template) throws IOException { return textDocParser.parsePage(meta_id,user,flags,1,template) ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/50a08b8399e5f1ea22dbccd6716ceeba6a57f8b0/IMCService.java/buggy/server/src/imcode/server/IMCService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1160, 8526, 1109, 1964, 261, 474, 2191, 67, 350, 16, 2177, 729, 16, 509, 2943, 16, 780, 1542, 13, 1216, 1860, 288, 202, 2463, 977, 1759, 2678, 18, 2670, 1964, 12, 3901, 67, 350, 16, 1355, 16, 7133, 16, 21, 16, 3202, 13, 274, 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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860, 288, 202, 2463, 977, 1759, 2678, 18, 2670, 1964, 12, 3901, 67, 350, 16, 1355, 16, 7133, 16, 21, 16, 3202, 13, 274, 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 ]
ISelection selection = new StructuredSelection(event.item.getData()); fireDoubleClick(new DoubleClickEvent(this, selection));
selection = new StructuredSelection(event.item.getData());
protected void handleDoubleSelect(SelectionEvent event) { // handle case where an earlier selection listener disposed the control. Control control = getControl(); if (control != null && !control.isDisposed()) { if (event.item != null && event.item.getData() != null) { ISelection selection = new StructuredSelection(event.item.getData()); fireDoubleClick(new DoubleClickEvent(this, selection)); } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/428d76f4aaed8e7b9962a041020383ceefe4354c/StructuredViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 5265, 3391, 12, 6233, 1133, 871, 13, 288, 202, 202, 759, 1640, 648, 1625, 392, 13805, 4421, 2991, 1015, 7423, 326, 3325, 18, 202, 202, 3367, 3325, 273, 27174, 5621, 202, 202, 430, 261, 7098, 480, 446, 597, 401, 7098, 18, 291, 1669, 7423, 10756, 288, 1082, 202, 430, 261, 2575, 18, 1726, 480, 446, 597, 871, 18, 1726, 18, 588, 751, 1435, 480, 446, 13, 288, 9506, 202, 45, 6233, 4421, 273, 394, 7362, 2862, 6233, 12, 2575, 18, 1726, 18, 588, 751, 10663, 9506, 202, 12179, 5265, 6563, 12, 2704, 3698, 6563, 1133, 12, 2211, 16, 4421, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1640, 5265, 3391, 12, 6233, 1133, 871, 13, 288, 202, 202, 759, 1640, 648, 1625, 392, 13805, 4421, 2991, 1015, 7423, 326, 3325, 18, 202, 202, 3367, 3325, 273, 27174, 5621, 202, 202, 430, 261, 7098, 480, 446, 597, 401, 7098, 18, 291, 1669, 7423, 10756, 288, 1082, 202, 430, 261, 2575, 18, 1726, 480, 446, 597, 871, 18, 1726, 18, 588, 751, 1435, 480, 446, 13, 288, 9506, 202, 45, 6233, 4421, 273, 394, 7362, 2862, 6233, 12, 2575, 18, 1726, 18, 588, 751, 10663, 9506, 202, 12179, 5265, 6563, 12, 2704, 3698, 6563, 1133, 12, 2211, 16, 4421, 10019, 1082, 202, 97, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100 ]
getVgap() {
public int getVgap() {
getVgap(){ return(vgap);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1e7aa2954f7fa9e45a7b68da25c13d3846158a39/BorderLayout.java/buggy/core/src/classpath/java/java/awt/BorderLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 11031, 14048, 1435, 95, 225, 327, 12, 90, 14048, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11031, 14048, 1435, 95, 225, 327, 12, 90, 14048, 1769, 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, -100, -100, -100 ]
else
else {
private final void processRootBufsAndCount() { VM_Address object; rootCounter = 0; while (!(object = newRootSet.pop()).isZero()) { if (RefCountSpace.INC_DEC_ROOT) decBuffer.push(object); else RCBaseHeader.unsetRoot(object); rootCounter++; } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/df9017235431f33d7b18ab5c4bcad9f1863581cd/RefCountLocal.java/buggy/MMTk/src/org/mmtk/policy/RefCountLocal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 918, 1207, 2375, 5503, 87, 1876, 1380, 1435, 288, 565, 8251, 67, 1887, 733, 31, 565, 1365, 4789, 273, 374, 31, 565, 1323, 16051, 12, 1612, 273, 394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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 918, 1207, 2375, 5503, 87, 1876, 1380, 1435, 288, 565, 8251, 67, 1887, 733, 31, 565, 1365, 4789, 273, 374, 31, 565, 1323, 16051, 12, 1612, 273, 394, 2375, 694, 18, 5120, 1435, 2934, 291, 7170, 10756, 288, 1377, 309, 261, 1957, 1380, 3819, 18, 23213, 67, 1639, 39, 67, 9185, 13, 202, 4924, 1892, 18, 6206, 12, 1612, 1769, 1377, 469, 288, 225, 202, 11529, 2171, 1864, 18, 18579, 2375, 12, 1612, 1769, 1377, 1365, 4789, 9904, 31, 565, 289, 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 ]
} else {
} else {
private synchronized void executeProcedureInternal( String procedureName, ParameterListItem[] formalParameterList, ParameterListItem[] actualParameterList, TdsStatement stmt, SQLWarningChain wChain, int timeout, boolean noMetaData) throws java.sql.SQLException, net.sourceforge.jtds.jdbc.TdsException, java.io.IOException { // SAfe We need to check if all cancel requests were processed and wait // for any outstanding cancel. It could happen that we sent the // CANCEL after the server sent us all the data, so the answer is // going to come in a packet of its own. while( cancelController.outstandingCancels() > 0 ) { waitForDataOrTimeout(wChain, timeout); // @todo Make sure the statement/resultset are not left in an inconsistent state. processSubPacket(); } // A stored procedure has a packet type of 0x03 in the header packet. // for non-image date the packets consists of // offset length desc. // 0 1 The length of the name of the stored proc // 1 N1 The name of the stored proc // N1 + 1 2 unknown (filled with zeros?) // N1 + 3 2 unknown prefix for param 1 (zero filled?) // N1 + 5 1 datatype for param 1 // N1 + 6 1 max length of param 1 // N1 + 7 N2 parameter 1 data // ... // // For image data (datatype 0x22) the packet consists of // 0 1 The length of the name of the stored proc // 1 N1 The name of the stored proc // N1 + 1 2 unknown (filled with zeros?) // N1 + 3 2 unknown prefix for param 1 (zero filled?) // N1 + 5 1 datatype for param 1 // N1 + 6 4 length of param 1 // N1 + 10 4 length of param 1 (duplicated?) // N1 + 7 N2 parameter 1 data // ... checkMaxRows(stmt); int i; try { // SAfe We must not do this here, if an exception is thrown before // the packet is actually sent, we will deadlock in skipToEnd // with nothing to read. // moreResults = true; // Start sending the procedure execute packet. comm.startPacket(TdsComm.PROC); if (tdsVer == Tds.TDS70) { comm.appendTdsShort((short) (procedureName.length())); comm.appendChars(procedureName); } else { byte[] nameBytes = encoder.getBytes(procedureName); comm.appendByte((byte) nameBytes.length); comm.appendBytes(nameBytes, nameBytes.length, (byte) 0); } // SAfe I think if this is set to 2 it means "don't return column // information" (useful for scrollable statements, to reduce // the amount of data passed around). comm.appendShort((short) (noMetaData ? 512 : 0)); // Now handle the parameters for( i=0; i<formalParameterList.length; i++ ) { // SAfe We could try using actualParameterList here, instead // of formalParameterList. If it works (although it // shouldn't) it will solve a lot of problems. byte nativeType = cvtJdbcTypeToNativeType(formalParameterList[i].type); comm.appendByte((byte) 0); if (actualParameterList[i].isOutput) { comm.appendByte((byte)1); if (nativeType == SYBBIT && actualParameterList[i].value == null) { actualParameterList[i].value = Boolean.FALSE; } } else { comm.appendByte((byte) 0); } if (actualParameterList[i].value == null && (nativeType == SYBINT1 || nativeType == SYBINT2 || nativeType == SYBINT4)) { nativeType = SYBINTN; } switch (nativeType) { case SYBCHAR: { String val; try { val = (String)actualParameterList[i].value; } catch (ClassCastException e) { if( actualParameterList[i].value instanceof Boolean ) val = ((Boolean)actualParameterList[i].value).booleanValue() ? "1" : "0"; else val = actualParameterList[i].value.toString(); } if( tdsVer<TDS70 && val!=null && val.length()==0 ) val = " "; int len = val != null ? val.length() : 0; int max = formalParameterList[i].maxLength; // MJH - Do not use the formalType from the actual parameters as // this will be null where a cached stored procedure is reused by a // different PreparedStatement from the one that created it in the fist // place. Use the formalParameter data instead. // //if (actualParameterList[i].formalType != null && // actualParameterList[i].formalType.startsWith("n")) { // if( formalParameterList[i].formalType != null && formalParameterList[i].formalType.startsWith("n") ) { /* * This is a Unicode column, save to assume TDS 7.0 */ if (max > 4000) { comm.appendByte(SYBNTEXT); comm.appendTdsInt(max * 2); if (val == null) { comm.appendTdsInt(0xFFFFFFFF); } else { comm.appendTdsInt(len * 2); comm.appendChars(val); } } else { comm.appendByte((byte) (SYBNVARCHAR | 0x80)); comm.appendTdsShort((short) (max * 2)); if (val == null) { comm.appendTdsShort((short) 0xFFFF); } else { // MJH - Trap silent truncation problem if( val.length() > 4000 ) throw new java.io.IOException("Field too long"); comm.appendTdsShort((short) (len * 2)); comm.appendChars(val); } } } else { /* * Either VARCHAR or TEXT, TEXT can not happen * with TDS 7.0 as we would always use NTEXT there */ if (tdsVer != TDS70 && max > 255) { // TEXT comm.appendByte(SYBTEXT); if( actualParameterList[i].value instanceof byte[] ) sendSybImage((byte[]) actualParameterList[i].value); else sendSybImage(encoder.getBytes(val)); } else { // VARCHAR sendSybChar(val, formalParameterList[i].maxLength); } } break; } case SYBINTN: comm.appendByte(SYBINTN); comm.appendByte((byte)4); // maximum length of the field, if (actualParameterList[i].value == null) { comm.appendByte((byte)0); // actual length } else { comm.appendByte((byte)4); // actual length comm.appendTdsInt(((Number)(actualParameterList[i].value)).intValue()); } break; case SYBINT4: comm.appendByte(SYBINT4); comm.appendTdsInt(((Number)(actualParameterList[i].value)).intValue()); break; case SYBINT2: comm.appendByte(SYBINT2); comm.appendTdsShort(((Number)(actualParameterList[i].value)).shortValue()); break; case SYBINT1: comm.appendByte(SYBINT1); comm.appendByte(((Number)(actualParameterList[i].value)).byteValue()); break; case SYBFLT8: case SYBFLTN: { if (actualParameterList[i].value == null) { comm.appendByte(SYBFLTN); comm.appendByte((byte)8); comm.appendByte((byte)0); } else { Number n = (Number)(actualParameterList[i].value); Double d = new Double(n.doubleValue()); comm.appendByte(SYBFLT8); comm.appendFlt8(d); } break; } case SYBDATETIMN: { writeDatetimeValue(actualParameterList[i].value, SYBDATETIMN); break; } case SYBIMAGE: { comm.appendByte(nativeType); sendSybImage((byte[]) actualParameterList[i].value); break; } case SYBTEXT: { comm.appendByte(SYBTEXT); sendSybImage(encoder.getBytes((String) actualParameterList[i]. value)); break; } case SYBBIT: case SYBBITN: { if (actualParameterList[i].value == null) { comm.appendByte(SYBBITN); comm.appendByte((byte)1); comm.appendByte((byte)0); } else { comm.appendByte(SYBBIT); if( actualParameterList[i].value.equals(Boolean.TRUE) ) comm.appendByte((byte)1); else comm.appendByte((byte)0); } break; } case SYBNUMERIC: case SYBDECIMAL: { writeDecimalValue(nativeType, actualParameterList[i].value, 0, -1); break; } case SYBBINARY: case SYBVARBINARY: { byte[] value = (byte[])actualParameterList[i].value; int maxLength = formalParameterList[i].maxLength; if (value == null) { comm.appendByte(SYBVARBINARY); comm.appendByte((byte)(maxLength)); comm.appendByte((byte)0); } else { if (value.length > 255) { if (tdsVer != TDS70) { throw new java.io.IOException("Field too long"); } comm.appendByte(SYBBIGVARBINARY); if (maxLength < 0 || maxLength > 8000) { comm.appendTdsShort((short)8000); } else comm.appendTdsShort((short)maxLength); comm.appendTdsShort((short)(value.length)); } else { comm.appendByte(SYBVARBINARY); comm.appendByte((byte)(maxLength)); comm.appendByte((byte)(value.length)); } comm.appendBytes(value); } break; } case SYBVOID: case SYBVARCHAR: case SYBDATETIME4: case SYBREAL: case SYBMONEY: case SYBDATETIME: case SYBMONEYN: case SYBMONEY4: default: { throw new SQLException("Not implemented for nativeType 0x" + Integer.toHexString(nativeType)); } } } // mark that we are performing a query cancelController.setQueryInProgressFlag(); moreResults = true; comm.sendPacket(); waitForDataOrTimeout(wChain, timeout); } catch (java.io.IOException e) { throw new SQLException("Network error- " + e.getMessage()); } finally { comm.packetType = 0; } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/082f6b97f424e9550bf490d66efbe1c288b8df9b/Tds.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 1836, 17213, 3061, 12, 5411, 514, 12131, 461, 16, 5411, 5498, 13575, 8526, 25739, 1662, 682, 16, 5411, 5498, 13575, 8526, 3214, 1662, 682, 16, 5411, 399, 2377, 3406, 3480, 16, 5411, 3063, 6210, 3893, 341, 3893, 16, 5411, 509, 2021, 16, 5411, 1250, 1158, 6998, 13, 2398, 1216, 2252, 18, 4669, 18, 23116, 16, 2901, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 368, 17127, 3030, 1660, 1608, 358, 866, 309, 777, 3755, 3285, 4591, 5204, 471, 2529, 3639, 368, 1377, 364, 1281, 20974, 3755, 18, 2597, 3377, 5865, 716, 732, 3271, 326, 3639, 368, 1377, 29641, 1839, 326, 1438, 3271, 584, 777, 326, 501, 16, 1427, 326, 5803, 353, 3639, 368, 1377, 8554, 358, 12404, 316, 279, 4414, 434, 2097, 4953, 18, 3639, 1323, 12, 3755, 2933, 18, 659, 15167, 6691, 87, 1435, 405, 374, 262, 3639, 288, 5411, 10712, 751, 1162, 2694, 12, 91, 3893, 16, 2021, 1769, 5411, 368, 632, 9012, 4344, 3071, 326, 3021, 19, 2088, 542, 854, 486, 2002, 316, 392, 27403, 919, 18, 5411, 1207, 1676, 6667, 5621, 3639, 289, 3639, 368, 432, 4041, 12131, 711, 279, 4414, 618, 434, 374, 92, 4630, 316, 326, 1446, 4414, 18, 3639, 368, 364, 1661, 17, 2730, 1509, 326, 12640, 20915, 434, 3639, 368, 1384, 540, 769, 3639, 3044, 18, 3639, 368, 374, 7734, 404, 6647, 1021, 769, 434, 326, 508, 434, 326, 4041, 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, 3852, 918, 1836, 17213, 3061, 12, 5411, 514, 12131, 461, 16, 5411, 5498, 13575, 8526, 25739, 1662, 682, 16, 5411, 5498, 13575, 8526, 3214, 1662, 682, 16, 5411, 399, 2377, 3406, 3480, 16, 5411, 3063, 6210, 3893, 341, 3893, 16, 5411, 509, 2021, 16, 5411, 1250, 1158, 6998, 13, 2398, 1216, 2252, 18, 4669, 18, 23116, 16, 2901, 18, 3168, 1884, 908, 18, 78, 88, 2377, 18, 24687, 18, 56, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 368, 17127, 3030, 1660, 1608, 358, 866, 309, 777, 3755, 3285, 4591, 5204, 471, 2529, 3639, 368, 1377, 364, 1281, 20974, 3755, 18, 2597, 3377, 5865, 716, 732, 3271, 326, 3639, 368, 1377, 29641, 1839, 326, 2 ]
if (categories[i].getParentId() == null) list.add(categories[i]);
if (categories[i].getParentId() == null) { Set bindings = themeRegistry.getPresentationsBindingsFor(categories[i]); if (bindings == null || bindings.contains(workbench.getPresentationId())) list.add(categories[i]); }
public Object[] getElements(Object inputElement) { ArrayList list = new ArrayList(); Object [] uncatChildren = getCategoryChildren(null); list.addAll(Arrays.asList(uncatChildren)); ThemeElementCategory [] categories = ((IThemeRegistry)inputElement).getCategories(); for (int i = 0; i < categories.length; i++) { if (categories[i].getParentId() == null) list.add(categories[i]); } return list.toArray(new Object [list.size()]); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3412409e3704808dfa733425bd517a44fc3f3daa/ColorsAndFontsPreferencePage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1033, 8526, 8886, 12, 921, 810, 1046, 13, 288, 5411, 2407, 666, 273, 394, 2407, 5621, 5411, 1033, 5378, 6301, 270, 4212, 273, 19110, 4212, 12, 2011, 1769, 5411, 666, 18, 1289, 1595, 12, 12726, 18, 345, 682, 12, 551, 270, 4212, 10019, 5411, 19745, 1046, 4457, 5378, 6477, 273, 14015, 1285, 76, 4698, 4243, 13, 2630, 1046, 2934, 588, 10487, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6477, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 8995, 63, 77, 8009, 588, 18847, 1435, 422, 446, 13, 10792, 666, 18, 1289, 12, 8995, 63, 77, 19226, 5411, 289, 5411, 327, 666, 18, 31447, 12, 2704, 1033, 306, 1098, 18, 1467, 1435, 19226, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1033, 8526, 8886, 12, 921, 810, 1046, 13, 288, 5411, 2407, 666, 273, 394, 2407, 5621, 5411, 1033, 5378, 6301, 270, 4212, 273, 19110, 4212, 12, 2011, 1769, 5411, 666, 18, 1289, 1595, 12, 12726, 18, 345, 682, 12, 551, 270, 4212, 10019, 5411, 19745, 1046, 4457, 5378, 6477, 273, 14015, 1285, 76, 4698, 4243, 13, 2630, 1046, 2934, 588, 10487, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 6477, 18, 2469, 31, 277, 27245, 288, 7734, 309, 261, 8995, 63, 77, 8009, 588, 18847, 1435, 422, 446, 13, 10792, 666, 18, 1289, 12, 8995, 63, 77, 19226, 5411, 289, 5411, 327, 666, 18, 31447, 12, 2704, 1033, 306, 1098, 18, 1467, 1435, 19226, 2 ]
for (AbstractRepositoryConnector client: MylarTaskListPlugin.getRepositoryManager().getRepositoryConnectors()) {
for (AbstractRepositoryConnector client : MylarTaskListPlugin.getRepositoryManager().getRepositoryConnectors()) {
private static List<String> getConnectorKinds() { List<String> connectorKinds = new ArrayList<String>(); for (AbstractRepositoryConnector client: MylarTaskListPlugin.getRepositoryManager().getRepositoryConnectors()) { if (client.canCreateNewTask()) { connectorKinds.add(client.getRepositoryType()); } } return connectorKinds; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ffd8614f03549c5f82792554c23825c2c6c7b7c4/NewRepositoryTaskWizard.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/wizards/NewRepositoryTaskWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 987, 32, 780, 34, 336, 7487, 5677, 87, 1435, 288, 202, 202, 682, 32, 780, 34, 8703, 5677, 87, 273, 394, 2407, 32, 780, 34, 5621, 202, 202, 1884, 261, 7469, 3305, 7487, 1004, 30, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 7487, 87, 10756, 288, 1082, 202, 430, 261, 2625, 18, 4169, 1684, 1908, 2174, 10756, 288, 9506, 202, 23159, 5677, 87, 18, 1289, 12, 2625, 18, 588, 3305, 559, 10663, 1082, 202, 97, 3196, 202, 97, 3196, 202, 2463, 8703, 5677, 87, 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, 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682, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 7487, 87, 10756, 288, 1082, 202, 430, 261, 2625, 18, 4169, 1684, 1908, 2174, 10756, 288, 9506, 202, 23159, 5677, 87, 18, 1289, 12, 2625, 18, 588, 3305, 559, 10663, 1082, 202, 97, 3196, 202, 97, 3196, 202, 2463, 8703, 5677, 87, 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 ]
if(headerFooter.getAfter() instanceof Phrase) { Paragraph par = new Paragraph(headerFooter.getAfter()); par.setAlignment(headerFooter.alignment()); this.addElement(par, target); } else { this.addElement(headerFooter.getAfter(), target); }
par.add(headerFooter.getAfter());
private void writeHeaderFooter(HeaderFooter headerFooter, byte[] hfType, ByteArrayOutputStream target) throws IOException { inHeaderFooter = true; try { target.write(openGroup); target.write(escape); target.write(hfType); target.write(delimiter); if (headerFooter != null) { if (headerFooter instanceof RtfHeaderFooter && ((RtfHeaderFooter) headerFooter).content() != null) { this.addElement(((RtfHeaderFooter) headerFooter).content(), target); } else { if (headerFooter.getBefore() != null) { if(headerFooter.getBefore() instanceof Phrase) { Paragraph par = new Paragraph(headerFooter.getBefore()); par.setAlignment(headerFooter.alignment()); this.addElement(par, target); } else { this.addElement(headerFooter.getBefore(), target); } } if (headerFooter.isNumbered()) { this.addElement(new RtfPageNumber("", headerFooter.getBefore().font()), target); } if (headerFooter.getAfter() != null) { if(headerFooter.getAfter() instanceof Phrase) { Paragraph par = new Paragraph(headerFooter.getAfter()); par.setAlignment(headerFooter.alignment()); this.addElement(par, target); } else { this.addElement(headerFooter.getAfter(), target); } } } } target.write(closeGroup); } catch (DocumentException e) { throw new IOException("DocumentException - " + e.getMessage()); } inHeaderFooter = false; }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/fb8c4749a9a5748c953987dcf26d44e62af3c8bd/RtfWriter.java/clean/itext/src/com/lowagie/text/rtf/RtfWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1864, 13787, 12, 1864, 13787, 1446, 13787, 16, 1160, 8526, 366, 74, 559, 16, 11559, 1018, 13, 1216, 1860, 288, 3639, 316, 1864, 13787, 273, 638, 31, 3639, 775, 288, 5411, 1018, 18, 2626, 12, 3190, 1114, 1769, 5411, 1018, 18, 2626, 12, 6939, 1769, 5411, 1018, 18, 2626, 12, 76, 74, 559, 1769, 5411, 1018, 18, 2626, 12, 15751, 1769, 5411, 309, 261, 3374, 13787, 480, 446, 13, 288, 7734, 309, 261, 3374, 13787, 1276, 24958, 1864, 13787, 597, 14015, 54, 6632, 1864, 13787, 13, 1446, 13787, 2934, 1745, 1435, 480, 446, 13, 288, 10792, 333, 18, 1289, 1046, 12443, 12, 54, 6632, 1864, 13787, 13, 1446, 13787, 2934, 1745, 9334, 1018, 1769, 7734, 289, 469, 288, 10792, 309, 261, 3374, 13787, 18, 588, 4649, 1435, 480, 446, 13, 288, 13491, 309, 12, 3374, 13787, 18, 588, 4649, 1435, 1276, 4360, 5648, 13, 288, 18701, 24963, 779, 273, 394, 24963, 12, 3374, 13787, 18, 588, 4649, 10663, 18701, 779, 18, 542, 11535, 12, 3374, 13787, 18, 14409, 10663, 18701, 333, 18, 1289, 1046, 12, 1065, 16, 1018, 1769, 13491, 289, 469, 288, 18701, 333, 18, 1289, 1046, 12, 3374, 13787, 18, 588, 4649, 9334, 1018, 1769, 13491, 289, 10792, 289, 10792, 309, 261, 3374, 13787, 18, 291, 1854, 329, 10756, 288, 13491, 333, 18, 1289, 1046, 12, 2704, 24958, 1964, 1854, 2932, 3113, 1446, 13787, 18, 588, 4649, 7675, 5776, 1435, 3631, 1018, 1769, 10792, 289, 10792, 309, 261, 3374, 13787, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 1864, 13787, 12, 1864, 13787, 1446, 13787, 16, 1160, 8526, 366, 74, 559, 16, 11559, 1018, 13, 1216, 1860, 288, 3639, 316, 1864, 13787, 273, 638, 31, 3639, 775, 288, 5411, 1018, 18, 2626, 12, 3190, 1114, 1769, 5411, 1018, 18, 2626, 12, 6939, 1769, 5411, 1018, 18, 2626, 12, 76, 74, 559, 1769, 5411, 1018, 18, 2626, 12, 15751, 1769, 5411, 309, 261, 3374, 13787, 480, 446, 13, 288, 7734, 309, 261, 3374, 13787, 1276, 24958, 1864, 13787, 597, 14015, 54, 6632, 1864, 13787, 13, 1446, 13787, 2934, 1745, 1435, 480, 446, 13, 288, 10792, 333, 18, 1289, 1046, 12443, 12, 54, 6632, 1864, 13787, 13, 1446, 13787, 2934, 1745, 9334, 1018, 1769, 7734, 2 ]
private static byte getTokenAtOffset(Buffer.TokenList tokenList, int offset)
public static Token getTokenAtOffset(Buffer.TokenList tokenList, int offset)
private static byte getTokenAtOffset(Buffer.TokenList tokenList, int offset) { Token lineTokens = tokenList.getFirstToken(); int tokenListOffset = 0; for(;;) { if(lineTokens.id == Token.END) throw new InternalError("offset > line length"); if(tokenListOffset + lineTokens.length > offset) return lineTokens.id; else { tokenListOffset += lineTokens.length; lineTokens = lineTokens.next; } } } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/b6be720abd046c21960b747ea91cb922692a74f6/TextUtilities.java/clean/org/gjt/sp/jedit/TextUtilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1160, 9162, 861, 2335, 12, 1892, 18, 1345, 682, 1147, 682, 16, 509, 1384, 13, 202, 95, 202, 202, 1345, 980, 5157, 273, 1147, 682, 18, 588, 3759, 1345, 5621, 202, 202, 474, 1147, 682, 2335, 273, 374, 31, 202, 202, 1884, 12, 25708, 13, 202, 202, 95, 1082, 202, 430, 12, 1369, 5157, 18, 350, 422, 3155, 18, 4415, 13, 9506, 202, 12849, 394, 3186, 668, 2932, 3348, 405, 980, 769, 8863, 1082, 202, 430, 12, 2316, 682, 2335, 397, 980, 5157, 18, 2469, 405, 1384, 13, 9506, 202, 2463, 980, 5157, 18, 350, 31, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2316, 682, 2335, 1011, 980, 5157, 18, 2469, 31, 9506, 202, 1369, 5157, 273, 980, 5157, 18, 4285, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 368, 9090, 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,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
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1160, 9162, 861, 2335, 12, 1892, 18, 1345, 682, 1147, 682, 16, 509, 1384, 13, 202, 95, 202, 202, 1345, 980, 5157, 273, 1147, 682, 18, 588, 3759, 1345, 5621, 202, 202, 474, 1147, 682, 2335, 273, 374, 31, 202, 202, 1884, 12, 25708, 13, 202, 202, 95, 1082, 202, 430, 12, 1369, 5157, 18, 350, 422, 3155, 18, 4415, 13, 9506, 202, 12849, 394, 3186, 668, 2932, 3348, 405, 980, 769, 8863, 1082, 202, 430, 12, 2316, 682, 2335, 397, 980, 5157, 18, 2469, 405, 1384, 13, 9506, 202, 2463, 980, 5157, 18, 350, 31, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2316, 682, 2335, 1011, 980, 5157, 18, 2469, 31, 9506, 202, 2 ]
public void delete( BigInteger id ) throws NamingException { Attributes entry = lookup( id ); BigInteger parentId = getParentId( id ); NamingEnumeration attrs = entry.getIDs(); if ( entry.get( "objectClass" ).contains( ALIAS_OBJECT ) ) { dropAliasIndices( id ); } ndnIdx.drop( id ); updnIdx.drop( id ); heirarchyIdx.drop( id ); // Remove parent's reference to entry only if entry is not the suffix if ( ! parentId.equals( BigInteger.ZERO ) ) { heirarchyIdx.drop( parentId, id ); } while ( attrs.hasMore() ) { String attr = ( ( String ) attrs.next() ); if ( hasUserIndexOn( attr ) ) { Index index = ( Index ) getUserIndex( attr ); NamingEnumeration values = entry.get( attr ).getAll(); while ( values.hasMore() ) { index.drop( values.next(), id ); } existanceIdx.drop( attr.toLowerCase(), id ); } } master.delete( id ); }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/82c88c96fcbb452a8f3f3fcbdb900ad9fbb896ae/JdbmDatabase.java/buggy/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 12, 10246, 612, 262, 1216, 225, 26890, 565, 288, 3639, 9055, 1241, 273, 3689, 12, 612, 11272, 3639, 10246, 11582, 273, 5089, 548, 12, 612, 11272, 3639, 18884, 21847, 3422, 273, 1241, 18, 588, 5103, 5621, 7734, 309, 261, 1241, 18, 588, 12, 315, 1612, 797, 6, 262, 18, 12298, 12, 16822, 3033, 67, 9422, 262, 262, 3639, 288, 5411, 3640, 2936, 8776, 12, 612, 11272, 3639, 289, 3639, 290, 5176, 4223, 18, 7285, 12, 612, 11272, 3639, 2166, 82, 4223, 18, 7285, 12, 612, 11272, 3639, 3904, 481, 991, 93, 4223, 18, 7285, 12, 612, 11272, 7734, 368, 3581, 982, 1807, 2114, 358, 1241, 1338, 309, 1241, 353, 486, 326, 3758, 1850, 309, 261, 401, 11582, 18, 14963, 12, 10246, 18, 24968, 262, 262, 3639, 288, 5411, 3904, 481, 991, 93, 4223, 18, 7285, 12, 11582, 16, 612, 11272, 3639, 289, 7734, 1323, 261, 3422, 18, 5332, 7417, 1435, 262, 540, 288, 5411, 514, 1604, 273, 261, 261, 514, 262, 3422, 18, 4285, 1435, 11272, 5411, 309, 261, 711, 1299, 1016, 1398, 12, 1604, 262, 262, 5411, 288, 7734, 3340, 770, 273, 261, 3340, 262, 4735, 1016, 12, 1604, 11272, 7734, 18884, 21847, 924, 273, 1241, 18, 588, 12, 1604, 262, 18, 588, 1595, 5621, 27573, 1323, 261, 924, 18, 5332, 7417, 1435, 262, 7734, 288, 10792, 770, 18, 7285, 12, 924, 18, 4285, 9334, 612, 11272, 7734, 289, 7734, 1005, 1359, 4223, 18, 7285, 12, 1604, 18, 869, 5630, 9334, 612, 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, 1430, 12, 10246, 612, 262, 1216, 225, 26890, 565, 288, 3639, 9055, 1241, 273, 3689, 12, 612, 11272, 3639, 10246, 11582, 273, 5089, 548, 12, 612, 11272, 3639, 18884, 21847, 3422, 273, 1241, 18, 588, 5103, 5621, 7734, 309, 261, 1241, 18, 588, 12, 315, 1612, 797, 6, 262, 18, 12298, 12, 16822, 3033, 67, 9422, 262, 262, 3639, 288, 5411, 3640, 2936, 8776, 12, 612, 11272, 3639, 289, 3639, 290, 5176, 4223, 18, 7285, 12, 612, 11272, 3639, 2166, 82, 4223, 18, 7285, 12, 612, 11272, 3639, 3904, 481, 991, 93, 4223, 18, 7285, 12, 612, 11272, 7734, 368, 3581, 982, 1807, 2114, 358, 1241, 1338, 309, 1241, 353, 486, 326, 3758, 1850, 309, 261, 2 ]
public void compile (Compilation comp, Target target)
public ClassType compile (Compilation comp)
public void compile (Compilation comp, Target target) { if (target instanceof IgnoreTarget) { if (getInlineOnly()) return; if (Compilation.usingTailCalls) return; // else Causes failures. Better to remove unneeded LambdaExp earlier. FIXME } Type rtype; CodeAttr code = comp.getCode(); if (Compilation.fewerClasses && ! getImportsLexVars()) { // Label func_start = new Label(code); Label func_end = new Label(code); LambdaExp saveLambda = comp.curLambda; comp.curLambda = this; type = saveLambda.type; /* if (comp.usingCPStyle()) { heapFrameLambda = this; heapFrame = comp.thisDecl; for (Declaration var = firstDecl(); var != null; var = var.nextDecl()) var.assignField(comp); } */ gnu.bytecode.SwitchState fswitch = comp.fswitch; int pc = comp.fswitch.getMaxValue() + 1; code.emitGoto(func_end); Type[] stackTypes = code.saveStackTypeState(true); fswitch.addCase(pc, code); /* code.emitPushThis(); code.emitGetField(comp.argsCallContextField); code.emitStore(comp.argsArray); */ allocParameters(comp); enterFunction(comp); body.compileWithPosition(comp, Target.returnObject); compileEnd(comp); comp.curLambda = saveLambda; func_end.define(code); code.restoreStackTypeState(stackTypes); ClassType ctype = comp.curClass; rtype = ctype; code.emitNew(ctype); /* code.emitDup(ctype); code.emitInvokeSpecial(ctype.constructor); */ code.emitDup(ctype); code.emitPushInt(pc); code.emitPutField(comp.saved_pcCallFrameField); if (isHandlingTailCalls()) { // Set name field. if (name != null) { code.emitDup(ctype); code.emitPushString(name); code.emitInvokeVirtual(comp.setNameMethod); } // Set numArgs field. code.emitDup(ctype); code.emitPushInt(min_args | (max_args << 12)); code.emitPutField(comp.numArgsCallFrameField); // Set static link field to this CallFrame. code.emitDup(ctype); code.emitPushThis(); code.emitPutField(comp.callerCallFrameField); } } else { LambdaExp outer = outerLambda(); if (! isClassGenerated()) { rtype = comp.typeModuleMethod; if ((flags & NO_FIELD) != 0) { compileAsMethod(comp); ProcInitializer.emitLoadModuleMethod(this, comp); } else { Field field = compileSetField(comp); if (field.getStaticFlag()) code.emitGetStatic(field); else if (Compilation.usingTailCalls) { code.emitPushThis(); code.emitGetField(field); } else { LambdaExp parent = comp.curLambda; Variable frame = parent.heapFrame != null ? parent.heapFrame : parent.closureEnv; code.emitLoad(frame); code.emitGetField(field); } } } else if (Compilation.usingTailCalls && outer != null && outer.heapFrameLambda == this) { // When parent was entered, we allocated an instance of this // Procedure, and assigned it to parent's heapFrame. // So just get the heapFrame. code.emitLoad(outer.heapFrame); rtype = outer.heapFrame.getType(); } else { rtype = compileAlloc (comp); } } target.compileFromStack(comp, rtype); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/029ff49133dff616f511934c8d41c65d2bf3690d/LambdaExp.java/buggy/gnu/expr/LambdaExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1659, 559, 4074, 261, 19184, 1161, 13, 225, 288, 565, 309, 261, 3299, 1276, 8049, 2326, 13, 1377, 288, 202, 430, 261, 588, 10870, 3386, 10756, 202, 225, 327, 31, 202, 430, 261, 19184, 18, 9940, 12363, 10125, 13, 202, 225, 327, 31, 202, 759, 469, 385, 9608, 11720, 18, 225, 605, 11214, 358, 1206, 16209, 8033, 12801, 2966, 13805, 18, 9852, 1377, 289, 565, 1412, 9328, 31, 565, 3356, 3843, 981, 273, 1161, 18, 588, 1085, 5621, 565, 309, 261, 19184, 18, 74, 359, 264, 4818, 597, 401, 336, 13347, 14756, 5555, 10756, 1377, 288, 202, 759, 202, 2224, 1326, 67, 1937, 273, 394, 5287, 12, 710, 1769, 202, 2224, 1326, 67, 409, 273, 394, 5287, 12, 710, 1769, 202, 12025, 2966, 1923, 12025, 273, 1161, 18, 1397, 12025, 31, 202, 2919, 18, 1397, 12025, 273, 333, 31, 202, 723, 273, 1923, 12025, 18, 723, 31, 3639, 1748, 202, 430, 261, 2919, 18, 9940, 4258, 2885, 10756, 202, 225, 288, 202, 565, 10500, 3219, 12025, 273, 333, 31, 202, 565, 10500, 3219, 273, 1161, 18, 2211, 3456, 31, 202, 565, 364, 261, 6094, 569, 273, 1122, 3456, 5621, 1082, 569, 480, 446, 31, 569, 273, 569, 18, 4285, 3456, 10756, 202, 1377, 569, 18, 6145, 974, 12, 2919, 1769, 202, 225, 289, 3639, 1195, 202, 1600, 89, 18, 1637, 16651, 18, 10200, 1119, 2662, 30390, 273, 1161, 18, 2556, 30390, 31, 202, 474, 6125, 273, 1161, 18, 2556, 30390, 18, 588, 2747, 620, 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, 282, 1071, 1659, 559, 4074, 261, 19184, 1161, 13, 225, 288, 565, 309, 261, 3299, 1276, 8049, 2326, 13, 1377, 288, 202, 430, 261, 588, 10870, 3386, 10756, 202, 225, 327, 31, 202, 430, 261, 19184, 18, 9940, 12363, 10125, 13, 202, 225, 327, 31, 202, 759, 469, 385, 9608, 11720, 18, 225, 605, 11214, 358, 1206, 16209, 8033, 12801, 2966, 13805, 18, 9852, 1377, 289, 565, 1412, 9328, 31, 565, 3356, 3843, 981, 273, 1161, 18, 588, 1085, 5621, 565, 309, 261, 19184, 18, 74, 359, 264, 4818, 597, 401, 336, 13347, 14756, 5555, 10756, 1377, 288, 202, 759, 202, 2224, 1326, 67, 1937, 273, 394, 5287, 12, 710, 1769, 202, 2224, 1326, 67, 409, 273, 394, 5287, 2 ]
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() {
public ModuleExecution getModuleExecution() {
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() { return this.moduleExecution; }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/9570ef74198a070d72e77c417c9d25244a942de2/DisplayOption.java/clean/components/common/src/org/openmicroscopy/omero/model/DisplayOption.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5924, 3210, 11251, 3210, 1435, 288, 3639, 327, 333, 18, 2978, 3210, 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,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5924, 3210, 11251, 3210, 1435, 288, 3639, 327, 333, 18, 2978, 3210, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean saveFileAs(FileSaveSelector com) throws IOException { try { final OpenDefinitionsDocument openDoc = this; final File file = com.getFile(); final OpenDefinitionsDocument otherDoc = _getOpenDocument(file); // Check if file is already open in another document if ( otherDoc != null && openDoc != otherDoc ) { // Can't save over an open document com.warnFileOpen(); } // If the file exists, make sure it's ok to overwrite it else if (!file.exists() || com.verifyOverwrite()) { // Correct the case of the filename (in Windows) if (! file.getCanonicalFile().getName().equals(file.getName())) { file.renameTo(file); } // Check for # in the path of the file because if there // is one, then the file cannot be used in the Interactions Pane if (file.getAbsolutePath().indexOf("#") != -1) { _notifier.filePathContainsPound(); } // have FileOps save the file FileOps.saveFile(new FileOps.DefaultFileSaver(file){ public void saveTo(OutputStream os) throws IOException { try { _editorKit.write(os, getDocument(), 0, getDocument().getLength()); } catch (BadLocationException docFailed){ // We don't expect this to happen throw new UnexpectedException(docFailed); } } }); resetModification(); setFile(file); try { // This calls getDocument().getPackageName() because // this may be untitled and this.getPackageName() returns // "" if it's untitled. Right here we are interested in // parsing the DefinitionsDocument's text _packageName = getDocument().getPackageName(); } catch(InvalidPackageException e) { _packageName = null; } getDocument().setCachedClassFile(null); checkIfClassFileInSync(); _notifier.fileSaved(openDoc); INavigatorItem idoc = _documentsRepos.getKey(this);// _documentNavigator.removeDocument(idoc);// _documentNavigator.addDocument(idoc); // Make sure this file is on the classpath try { File classpath = getSourceRoot(); _interactionsModel.addToClassPath(classpath.getAbsolutePath()); } catch (InvalidPackageException e) { // Invalid package-- don't add to classpath } /* update the navigator */ _documentNavigator.refreshDocument(getIDocGivenODD(this), fixPathForNavigator(file.getCanonicalPath())); } return true; } catch (OperationCanceledException oce) { // Thrown by com.getFile() if the user cancels. // We don't save if this happens. return false; } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/f9b63c51c7bc39c2ca858a18aa7508745f80cf7d/DefaultGlobalModel.java/clean/drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1923, 812, 1463, 12, 812, 4755, 4320, 532, 13, 1216, 1860, 288, 1377, 775, 288, 3639, 727, 3502, 7130, 2519, 1696, 1759, 273, 333, 31, 3639, 727, 1387, 585, 273, 532, 18, 29925, 5621, 3639, 727, 3502, 7130, 2519, 1308, 1759, 273, 389, 588, 3678, 2519, 12, 768, 1769, 3639, 368, 2073, 309, 585, 353, 1818, 1696, 316, 4042, 1668, 3639, 309, 261, 1308, 1759, 480, 446, 597, 1696, 1759, 480, 1308, 1759, 262, 288, 1850, 368, 4480, 1404, 1923, 1879, 392, 1696, 1668, 1850, 532, 18, 8935, 812, 3678, 5621, 3639, 289, 3639, 368, 971, 326, 585, 1704, 16, 1221, 3071, 518, 1807, 1529, 358, 6156, 518, 3639, 469, 309, 16051, 768, 18, 1808, 1435, 747, 532, 18, 8705, 20832, 10756, 288, 1850, 368, 30626, 326, 648, 434, 326, 1544, 261, 267, 8202, 13, 1850, 309, 16051, 585, 18, 588, 15512, 812, 7675, 17994, 7675, 14963, 12, 768, 18, 17994, 1435, 3719, 288, 5411, 585, 18, 18539, 774, 12, 768, 1769, 1850, 289, 1850, 368, 2073, 364, 468, 316, 326, 589, 434, 326, 585, 2724, 309, 1915, 1850, 368, 353, 1245, 16, 1508, 326, 585, 2780, 506, 1399, 316, 326, 5294, 4905, 453, 8806, 1850, 309, 261, 768, 18, 588, 10368, 743, 7675, 31806, 2932, 7, 7923, 480, 300, 21, 13, 288, 5411, 389, 902, 1251, 18, 22787, 10846, 52, 772, 5621, 1850, 289, 1850, 368, 1240, 1387, 8132, 1923, 326, 585, 1850, 1387, 8132, 18, 5688, 812, 12, 2704, 1387, 8132, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1923, 812, 1463, 12, 812, 4755, 4320, 532, 13, 1216, 1860, 288, 1377, 775, 288, 3639, 727, 3502, 7130, 2519, 1696, 1759, 273, 333, 31, 3639, 727, 1387, 585, 273, 532, 18, 29925, 5621, 3639, 727, 3502, 7130, 2519, 1308, 1759, 273, 389, 588, 3678, 2519, 12, 768, 1769, 3639, 368, 2073, 309, 585, 353, 1818, 1696, 316, 4042, 1668, 3639, 309, 261, 1308, 1759, 480, 446, 597, 1696, 1759, 480, 1308, 1759, 262, 288, 1850, 368, 4480, 1404, 1923, 1879, 392, 1696, 1668, 1850, 532, 18, 8935, 812, 3678, 5621, 3639, 289, 3639, 368, 971, 326, 585, 1704, 16, 1221, 3071, 518, 1807, 1529, 358, 6156, 518, 3639, 469, 309, 16051, 768, 18, 1808, 1435, 2 ]
String catalogName = metaDataProvider.getCatalog();
String catalogName = metaDataProvider.getCatalog( );
private void addFetchDbObjectListener() { availableDbObjectsTree.addListener(SWT.Expand, new Listener(){ /* * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event) */ public void handleEvent( final Event event ) { TreeItem item = (TreeItem)event.item; BusyIndicator.showWhile( item.getDisplay( ), new Runnable( ) { /* * @see java.lang.Runnable#run() */ public void run( ) { showTable( event ); } } ); } /** * @param event */ private void showTable(Event event) { TreeItem item = (TreeItem)event.item; if (item == null) return; if( item == rootNode ) return; if ( isSchemaNode( item ) ) { populateTableList( item.getText( ), item ); return; }//TODO String tableName = Utility.getTreeItemsName( item ); String catalogName = metaDataProvider.getCatalog(); String schemaName = null; String schemaSeparator = "."; if (metaDataProvider.isSchemaSupported()) { // remove the schema name from the fully qualified name int index = -1; if ((index = tableName.lastIndexOf(schemaSeparator)) != -1) { schemaName = tableName.substring(0, index); tableName = tableName.substring( index + 1); } } if ( item.getData( ) instanceof DbObject ) { DbObject obj = (DbObject) item.getData( ); if ( obj.getType( ) == DbObject.TABLE_TYPE || obj.getType( ) == DbObject.VIEW_TYPE ) { ArrayList columnList = metaDataProvider.getColumns( catalogName, schemaName, tableName, null ); TreeItem[] items = item.getItems( ); if ( items != null ) { for ( int i = 0; i < items.length; i++ ) { items[i].dispose( ); } } Utility.createTreeItems( item, columnList, SWT.NONE, columnImage ); } else if ( obj.getType( ) == DbObject.PROCEDURE_TYPE ) { ArrayList procedureList = metaDataProvider.getAllProcedure( catalogName, schemaName, getTailoredSearchText( searchTxt.getText() ) ); TreeItem[] items = item.getItems( ); if ( items != null ) { for ( int i = 0; i < items.length; i++ ) { items[i].dispose( ); } } Utility.createTreeItems( item, procedureList, SWT.NONE, columnImage ); //expand procedure TreeItem } } else if ( item.getData( ) instanceof Procedure ) { Procedure obj = (Procedure) item.getData( ); { ArrayList columnList = metaDataProvider.getProcedureColumns( obj.getCatalog( ), schemaName, tableName, getTailoredSearchText(null) ); TreeItem[] items = item.getItems( ); if ( items != null ) { for ( int i = 0; i < items.length; i++ ) { items[i].dispose( ); } } Utility.createTreeItems( item, columnList, SWT.NONE, columnImage ); } } } }); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8887f296b0d9adc032ae9020f3349938893f43a3/SQLDataSetEditorPage.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 5005, 4331, 921, 2223, 1435, 202, 95, 9506, 202, 5699, 4331, 4710, 2471, 18, 1289, 2223, 12, 55, 8588, 18, 12271, 16, 394, 10652, 1435, 95, 25083, 202, 20308, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 18148, 18, 2223, 7, 4110, 1133, 12, 3341, 18, 20416, 18, 5328, 88, 18, 18148, 18, 1133, 13, 9506, 1195, 1082, 202, 482, 918, 1640, 1133, 12, 727, 2587, 871, 262, 1082, 202, 95, 9506, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 2575, 18, 1726, 31, 9506, 202, 29289, 13140, 18, 4500, 15151, 12, 761, 18, 588, 4236, 12, 262, 16, 394, 10254, 12, 262, 288, 6862, 202, 20308, 25083, 380, 632, 5946, 2252, 18, 4936, 18, 20013, 7, 2681, 1435, 25083, 1195, 6862, 202, 482, 918, 1086, 12, 262, 6862, 202, 95, 25083, 202, 4500, 1388, 12, 871, 11272, 6862, 202, 97, 9506, 202, 97, 11272, 1082, 202, 97, 25083, 202, 26873, 9506, 380, 632, 891, 871, 9506, 1195, 1082, 202, 1152, 918, 2405, 1388, 12, 1133, 871, 13, 1082, 202, 95, 9506, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 2575, 18, 1726, 31, 9506, 202, 430, 261, 1726, 422, 446, 13, 327, 31, 6862, 9506, 202, 430, 12, 761, 422, 10181, 262, 6862, 202, 2463, 31, 6862, 9506, 202, 430, 261, 353, 3078, 907, 12, 761, 262, 262, 9506, 202, 95, 6862, 202, 19936, 1388, 682, 12, 761, 18, 588, 1528, 12, 262, 16, 761, 11272, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 5005, 4331, 921, 2223, 1435, 202, 95, 9506, 202, 5699, 4331, 4710, 2471, 18, 1289, 2223, 12, 55, 8588, 18, 12271, 16, 394, 10652, 1435, 95, 25083, 202, 20308, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 18148, 18, 2223, 7, 4110, 1133, 12, 3341, 18, 20416, 18, 5328, 88, 18, 18148, 18, 1133, 13, 9506, 1195, 1082, 202, 482, 918, 1640, 1133, 12, 727, 2587, 871, 262, 1082, 202, 95, 9506, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 2575, 18, 1726, 31, 9506, 202, 29289, 13140, 18, 4500, 15151, 12, 761, 18, 588, 4236, 12, 262, 16, 394, 10254, 12, 262, 288, 6862, 202, 20308, 25083, 380, 632, 2 ]
JmsConnector.this.stopConnector();
jmsConnector.stopConnector(); jmsConnector.initialised.set(false);
protected Connection createConnection() throws NamingException, JMSException, InitialisationException { Connection connection; if (connectionFactory == null) { connectionFactory = createConnectionFactory(); } if (connectionFactory != null && connectionFactory instanceof XAConnectionFactory) { if (MuleManager.getInstance().getTransactionManager() != null) { connectionFactory = new ConnectionFactoryWrapper(connectionFactory, MuleManager.getInstance().getTransactionManager()); } } if (username != null) { connection = jmsSupport.createConnection(connectionFactory, username, password); } else { connection = jmsSupport.createConnection(connectionFactory); } if (clientId != null) { connection.setClientID(getClientId()); } // Register a JMS exception listener to detect failed connections. // Existing connection strategy will be used to recover. final ConnectionStrategy connectionStrategy = getConnectionStrategy(); if (connectionStrategy != null && connection != null) { connection.setExceptionListener(new ExceptionListener() { public void onException(JMSException jmsException) { logger.debug("About to recycle myself due to remote JMS connection shutdown."); try { JmsConnector.this.stopConnector(); } catch (UMOException e) { logger.warn(e.getMessage(), e); } try { connectionStrategy.connect(JmsConnector.this); } catch (FatalConnectException e) { logger.fatal("Failed to reconnect to JMS server. I'm giving up."); } } }); } return connection; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/c1e4c0203c6a8871b02c819f341dcdd81e99e819/JmsConnector.java/clean/providers/jms/src/java/org/mule/providers/jms/JmsConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4050, 27870, 1435, 1216, 26890, 16, 20343, 16, 10188, 10742, 503, 565, 288, 3639, 4050, 1459, 31, 3639, 309, 261, 4071, 1733, 422, 446, 13, 288, 5411, 1459, 1733, 273, 752, 18749, 5621, 3639, 289, 3639, 309, 261, 4071, 1733, 480, 446, 597, 1459, 1733, 1276, 12410, 18749, 13, 288, 5411, 309, 261, 49, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 1435, 480, 446, 13, 288, 7734, 1459, 1733, 273, 394, 4050, 1733, 3611, 12, 4071, 1733, 16, 28524, 490, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 10663, 5411, 289, 3639, 289, 3639, 309, 261, 5053, 480, 446, 13, 288, 5411, 1459, 273, 23007, 6289, 18, 2640, 1952, 12, 4071, 1733, 16, 2718, 16, 2201, 1769, 3639, 289, 469, 288, 5411, 1459, 273, 23007, 6289, 18, 2640, 1952, 12, 4071, 1733, 1769, 3639, 289, 3639, 309, 261, 2625, 548, 480, 446, 13, 288, 5411, 1459, 18, 542, 1227, 734, 12, 588, 23526, 10663, 3639, 289, 3639, 368, 5433, 279, 13270, 1520, 2991, 358, 5966, 2535, 5921, 18, 3639, 368, 28257, 1459, 6252, 903, 506, 1399, 358, 5910, 18, 3639, 727, 4050, 4525, 1459, 4525, 273, 6742, 4525, 5621, 3639, 309, 261, 4071, 4525, 480, 446, 597, 1459, 480, 446, 13, 288, 5411, 1459, 18, 542, 503, 2223, 12, 2704, 1185, 2223, 1435, 288, 7734, 1071, 918, 603, 503, 12, 46, 3537, 503, 23007, 503, 13, 288, 10792, 1194, 18, 4148, 2932, 24813, 358, 23493, 3399, 2890, 6541, 358, 2632, 13270, 1459, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 4050, 27870, 1435, 1216, 26890, 16, 20343, 16, 10188, 10742, 503, 565, 288, 3639, 4050, 1459, 31, 3639, 309, 261, 4071, 1733, 422, 446, 13, 288, 5411, 1459, 1733, 273, 752, 18749, 5621, 3639, 289, 3639, 309, 261, 4071, 1733, 480, 446, 597, 1459, 1733, 1276, 12410, 18749, 13, 288, 5411, 309, 261, 49, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 1435, 480, 446, 13, 288, 7734, 1459, 1733, 273, 394, 4050, 1733, 3611, 12, 4071, 1733, 16, 28524, 490, 725, 1318, 18, 588, 1442, 7675, 588, 3342, 1318, 10663, 5411, 289, 3639, 289, 3639, 309, 261, 5053, 480, 446, 13, 288, 5411, 1459, 273, 23007, 6289, 18, 2640, 1952, 12, 4071, 1733, 16, 2718, 2 ]
} else if (!(currentElement instanceof IAdaptable)) { return StructuredSelection.EMPTY; } else {
} else if (currentElement instanceof IAdaptable){
private IStructuredSelection convertToResources( IStructuredSelection originalSelection) { // @issue resource-specific code should be pushed into IDE Class resourceClass = LegacyResourceSupport.getResourceClass(); if (resourceClass == null) { return originalSelection; } List result = new ArrayList(); Iterator elements = originalSelection.iterator(); while (elements.hasNext()) { Object currentElement = elements.next(); if (resourceClass.isInstance(currentElement)) { // already a resource result.add(currentElement); } else if (!(currentElement instanceof IAdaptable)) { // cannot be converted to resource return StructuredSelection.EMPTY; // so fail } else { Object adapter = ((IAdaptable) currentElement) .getAdapter(resourceClass); if (!(resourceClass.isInstance(adapter))) // chose not to be converted to resource return StructuredSelection.EMPTY; // so fail result.add(adapter); // add the converted resource } } // all converted fine, answer new selection return new StructuredSelection(result.toArray()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/0721a29971781524dff8da69e597f13a4b00a7c3/WorkbenchWizardElement.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchWizardElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 30733, 6233, 8137, 3805, 12, 5411, 467, 30733, 6233, 2282, 6233, 13, 288, 3639, 368, 202, 36, 13882, 1058, 17, 12524, 981, 1410, 506, 18543, 1368, 1599, 41, 3639, 1659, 19284, 273, 22781, 1420, 6289, 18, 588, 1420, 797, 5621, 3639, 309, 261, 3146, 797, 422, 446, 13, 288, 5411, 327, 2282, 6233, 31, 3639, 289, 3639, 987, 563, 273, 394, 2407, 5621, 3639, 4498, 2186, 273, 2282, 6233, 18, 9838, 5621, 3639, 1323, 261, 6274, 18, 5332, 2134, 10756, 288, 5411, 1033, 22993, 273, 2186, 18, 4285, 5621, 5411, 309, 261, 3146, 797, 18, 291, 1442, 12, 2972, 1046, 3719, 288, 368, 1818, 279, 1058, 7734, 563, 18, 1289, 12, 2972, 1046, 1769, 5411, 289, 469, 309, 16051, 12, 2972, 1046, 1276, 467, 13716, 429, 3719, 288, 368, 2780, 506, 5970, 358, 1058, 7734, 327, 7362, 2862, 6233, 18, 13625, 31, 368, 1427, 2321, 5411, 289, 469, 288, 7734, 1033, 4516, 273, 14015, 45, 13716, 429, 13, 22993, 13, 13491, 263, 588, 4216, 12, 3146, 797, 1769, 7734, 309, 16051, 12, 3146, 797, 18, 291, 1442, 12, 10204, 20349, 368, 462, 2584, 486, 358, 506, 5970, 358, 1058, 10792, 327, 7362, 2862, 6233, 18, 13625, 31, 368, 1427, 2321, 7734, 563, 18, 1289, 12, 10204, 1769, 368, 527, 326, 5970, 1058, 5411, 289, 3639, 289, 3639, 368, 777, 5970, 11079, 16, 5803, 394, 4421, 3639, 327, 394, 7362, 2862, 6233, 12, 2088, 18, 31447, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 467, 30733, 6233, 8137, 3805, 12, 5411, 467, 30733, 6233, 2282, 6233, 13, 288, 3639, 368, 202, 36, 13882, 1058, 17, 12524, 981, 1410, 506, 18543, 1368, 1599, 41, 3639, 1659, 19284, 273, 22781, 1420, 6289, 18, 588, 1420, 797, 5621, 3639, 309, 261, 3146, 797, 422, 446, 13, 288, 5411, 327, 2282, 6233, 31, 3639, 289, 3639, 987, 563, 273, 394, 2407, 5621, 3639, 4498, 2186, 273, 2282, 6233, 18, 9838, 5621, 3639, 1323, 261, 6274, 18, 5332, 2134, 10756, 288, 5411, 1033, 22993, 273, 2186, 18, 4285, 5621, 5411, 309, 261, 3146, 797, 18, 291, 1442, 12, 2972, 1046, 3719, 288, 368, 1818, 279, 1058, 7734, 563, 18, 1289, 12, 2972, 1046, 1769, 5411, 289, 2 ]
{ set(parameterIndex, "'" + x.toString() + "'");
{ StringBuffer strBuf = new StringBuffer("'"); strBuf.append(DF2.format(x)).append('.').append(x.getNanos()/10000000).append("+00'"); set(parameterIndex, strBuf.toString());
public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException { set(parameterIndex, "'" + x.toString() + "'"); }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/475c1452b1f8f52a791fcea40be4b7f971afefeb/PreparedStatement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 25251, 12, 474, 25412, 16, 8159, 619, 13, 1216, 6483, 202, 95, 202, 202, 542, 12, 6775, 1016, 16, 5862, 397, 619, 18, 10492, 1435, 397, 5862, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 25251, 12, 474, 25412, 16, 8159, 619, 13, 1216, 6483, 202, 95, 202, 202, 542, 12, 6775, 1016, 16, 5862, 397, 619, 18, 10492, 1435, 397, 5862, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void mouseExited(MouseEvent e) { if (isDragging) { //System.out.println("DND Mouse Exited: " + e.paramString()); // Update the UI if (targetNode.isSelected() && !targetNode.isFirstChild() && (componentType == TEXT)) { outlineLayoutManager layout = targetNode.getTree().doc.panel.layout; OutlinerCellRendererImpl renderer = layout.getUIComponent(targetNode.prevSibling()); if (renderer != null) { renderer.button.updateIcon(); } } else { currentRenderer.button.updateIcon(); } // Update targetNode targetNode = null; } }
49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/e24a42ed0dfb51866c96fe6c7b5a33b3c93e59b1/InternalDragAndDropListener.java/clean/outliner/src/com/organic/maynard/outliner/InternalDragAndDropListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 6767, 329, 12, 9186, 1133, 425, 13, 288, 202, 202, 430, 261, 291, 11728, 1998, 13, 288, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 40, 2908, 17013, 9500, 329, 30, 315, 397, 425, 18, 891, 780, 10663, 25083, 202, 759, 2315, 326, 6484, 1082, 202, 430, 261, 3299, 907, 18, 291, 7416, 1435, 597, 401, 3299, 907, 18, 291, 3759, 1763, 1435, 597, 261, 4652, 559, 422, 9204, 3719, 288, 9506, 202, 25134, 3744, 1318, 3511, 273, 25804, 18, 588, 2471, 7675, 2434, 18, 13916, 18, 6741, 31, 9506, 202, 1182, 7511, 264, 4020, 6747, 2828, 5690, 273, 3511, 18, 588, 5370, 1841, 12, 3299, 907, 18, 10001, 10291, 10663, 9506, 202, 430, 261, 14374, 480, 446, 13, 288, 6862, 202, 14374, 18, 5391, 18, 2725, 5554, 5621, 9506, 202, 97, 1082, 202, 97, 469, 288, 9506, 202, 2972, 6747, 18, 5391, 18, 2725, 5554, 5621, 1082, 202, 97, 25083, 202, 759, 2315, 25804, 1082, 202, 3299, 907, 273, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7644, 6767, 329, 12, 9186, 1133, 425, 13, 288, 202, 202, 430, 261, 291, 11728, 1998, 13, 288, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 40, 2908, 17013, 9500, 329, 30, 315, 397, 425, 18, 891, 780, 10663, 25083, 202, 759, 2315, 326, 6484, 1082, 202, 430, 261, 3299, 907, 18, 291, 7416, 1435, 597, 401, 3299, 907, 18, 291, 3759, 1763, 1435, 597, 261, 4652, 559, 422, 9204, 3719, 288, 9506, 202, 25134, 3744, 1318, 3511, 273, 25804, 18, 588, 2471, 7675, 2434, 18, 13916, 18, 6741, 31, 9506, 202, 1182, 7511, 264, 4020, 6747, 2828, 5690, 273, 3511, 18, 588, 5370, 1841, 12, 3299, 907, 18, 10001, 10291, 10663, 9506, 202, 2 ]
public Accessible getAccessibleAt(Point p) {
public Accessible getAccessibleAt(Point p) {
public Accessible getAccessibleAt(Point p) { return null; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Component.java/clean/core/src/classpath/java/java/awt/Component.java
[ 1, 8585, 326, 22398, 316, 326, 981,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 5016, 1523, 336, 10451, 861, 12, 2148, 293, 13, 288, 1082, 202, 2463, 446, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
page.saveAllEditors(false);
page.saveAllEditors(false, true); updateState();
public void run() { if (getWorkbenchWindow() == null) { // action has been disposed return; } IWorkbenchPage page = getActivePage(); if (page != null) { page.saveAllEditors(false); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/ec15ea47849e6522e95294f21b3759b0f0c1c5c1/SaveAllAction.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/SaveAllAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 309, 261, 588, 2421, 22144, 3829, 1435, 422, 446, 13, 288, 5411, 368, 1301, 711, 2118, 1015, 7423, 5411, 327, 31, 3639, 289, 3639, 467, 2421, 22144, 1964, 1363, 273, 11960, 1964, 5621, 3639, 309, 261, 2433, 480, 446, 13, 288, 2868, 1363, 18, 5688, 1595, 4666, 1383, 12, 5743, 16, 638, 1769, 1089, 1119, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 309, 261, 588, 2421, 22144, 3829, 1435, 422, 446, 13, 288, 5411, 368, 1301, 711, 2118, 1015, 7423, 5411, 327, 31, 3639, 289, 3639, 467, 2421, 22144, 1964, 1363, 273, 11960, 1964, 5621, 3639, 309, 261, 2433, 480, 446, 13, 288, 2868, 1363, 18, 5688, 1595, 4666, 1383, 12, 5743, 16, 638, 1769, 1089, 1119, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public final PyObject _is(PyObject o) {
public PyObject _is(PyObject o) {
public final PyObject _is(PyObject o) { return this == o ? Py.One : Py.Zero; }
6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/00be5cae3adac1a66f2dbada82636559618608f7/PyObject.java/buggy/org/python/core/PyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 4707, 921, 389, 291, 12, 9413, 921, 320, 13, 288, 202, 202, 2463, 333, 422, 320, 692, 4707, 18, 3335, 294, 4707, 18, 7170, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 4707, 921, 389, 291, 12, 9413, 921, 320, 13, 288, 202, 202, 2463, 333, 422, 320, 692, 4707, 18, 3335, 294, 4707, 18, 7170, 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 ]
rules.addRule(ParserRule.createRegexpSequenceRule( tag.lastHashChar,tag.lastStartPosMatch, tag.lastStart.toString(),tag.lastDelegateSet, tag.lastTokenID,findParent("RULES").lastIgnoreCase));
if (null != tag.lastHashChars) { rules.addRule(ParserRule.createRegexpSequenceRule( tag.lastStartPosMatch,tag.lastHashChars.toCharArray(), tag.lastStart.toString(),tag.lastDelegateSet, tag.lastTokenID,findParent("RULES").lastIgnoreCase)); } else { rules.addRule(ParserRule.createRegexpSequenceRule( tag.lastHashChar,tag.lastStartPosMatch, tag.lastStart.toString(),tag.lastDelegateSet, tag.lastTokenID,findParent("RULES").lastIgnoreCase)); }
public void endElement(String uri, String localName, String name) { TagDecl tag = popElement(); if (name.equals(tag.tagName)) { //{{{ PROPERTY if (tag.tagName.equals("PROPERTY")) { props.put(propName,propValue); } //}}} //{{{ PROPS else if (tag.tagName.equals("PROPS")) { if(peekElement().tagName.equals("RULES")) rules.setProperties(props); else modeProps = props; props = new Hashtable<String, String>(); } //}}} //{{{ RULES else if (tag.tagName.equals("RULES")) { rules.setKeywords(keywords); keywords = null; rules = null; } //}}} //{{{ IMPORT else if (tag.tagName.equals("IMPORT")) { // prevent lockups if (!rules.getSetName().equals(tag.lastDelegateSet.getSetName())) { rules.addRuleSet(tag.lastDelegateSet); } } //}}} //{{{ TERMINATE else if (tag.tagName.equals("TERMINATE")) { rules.setTerminateChar(tag.termChar); } //}}} //{{{ SEQ else if (tag.tagName.equals("SEQ")) { if(tag.lastStart == null) { error("empty-tag","SEQ"); return; } rules.addRule(ParserRule.createSequenceRule( tag.lastStartPosMatch,tag.lastStart.toString(), tag.lastDelegateSet,tag.lastTokenID)); } //}}} //{{{ SEQ_REGEXP else if (tag.tagName.equals("SEQ_REGEXP")) { if(tag.lastStart == null) { error("empty-tag","SEQ_REGEXP"); return; } try { rules.addRule(ParserRule.createRegexpSequenceRule( tag.lastHashChar,tag.lastStartPosMatch, tag.lastStart.toString(),tag.lastDelegateSet, tag.lastTokenID,findParent("RULES").lastIgnoreCase)); } catch(PatternSyntaxException re) { error("regexp",re); } } //}}} //{{{ SPAN else if (tag.tagName.equals("SPAN")) { if(tag.lastStart == null) { error("empty-tag","BEGIN"); return; } if(tag.lastEnd == null) { error("empty-tag","END"); return; } rules.addRule(ParserRule .createSpanRule( tag.lastStartPosMatch,tag.lastStart.toString(), tag.lastEndPosMatch,tag.lastEnd.toString(), tag.lastDelegateSet, tag.lastTokenID,tag.lastExcludeMatch, tag.lastNoLineBreak, tag.lastNoWordBreak, tag.lastNoEscape)); } //}}} //{{{ SPAN_REGEXP else if (tag.tagName.equals("SPAN_REGEXP")) { if(tag.lastStart == null) { error("empty-tag","BEGIN"); return; } if(tag.lastEnd == null) { error("empty-tag","END"); return; } try { rules.addRule(ParserRule .createRegexpSpanRule( tag.lastHashChar, tag.lastStartPosMatch,tag.lastStart.toString(), tag.lastEndPosMatch,tag.lastEnd.toString(), tag.lastDelegateSet, tag.lastTokenID, tag.lastExcludeMatch, tag.lastNoLineBreak, tag.lastNoWordBreak, findParent("RULES").lastIgnoreCase, tag.lastNoEscape)); } catch(PatternSyntaxException re) { error("regexp",re); } } //}}} //{{{ EOL_SPAN else if (tag.tagName.equals("EOL_SPAN")) { if(tag.lastStart == null) { error("empty-tag","EOL_SPAN"); return; } rules.addRule(ParserRule.createEOLSpanRule( tag.lastStartPosMatch,tag.lastStart.toString(), tag.lastDelegateSet,tag.lastTokenID, tag.lastExcludeMatch)); } //}}} //{{{ EOL_SPAN_REGEXP else if (tag.tagName.equals("EOL_SPAN_REGEXP")) { if(tag.lastStart == null) { error("empty-tag","EOL_SPAN_REGEXP"); return; } try { rules.addRule(ParserRule.createRegexpEOLSpanRule( tag.lastHashChar,tag.lastStartPosMatch, tag.lastStart.toString(),tag.lastDelegateSet, tag.lastTokenID,tag.lastExcludeMatch, findParent("RULES").lastIgnoreCase)); } catch(PatternSyntaxException re) { error("regexp",re); } } //}}} //{{{ MARK_FOLLOWING else if (tag.tagName.equals("MARK_FOLLOWING")) { if(tag.lastStart == null) { error("empty-tag","MARK_FOLLOWING"); return; } rules.addRule(ParserRule .createMarkFollowingRule( tag.lastStartPosMatch,tag.lastStart.toString(), tag.lastTokenID,tag.lastExcludeMatch)); } //}}} //{{{ MARK_PREVIOUS else if (tag.tagName.equals("MARK_PREVIOUS")) { if(tag.lastStart == null) { error("empty-tag","MARK_PREVIOUS"); return; } rules.addRule(ParserRule .createMarkPreviousRule( tag.lastStartPosMatch,tag.lastStart.toString(), tag.lastTokenID,tag.lastExcludeMatch)); } //}}} //{{{ Keywords else if ( !tag.tagName.equals("END") && !tag.tagName.equals("BEGIN") && !tag.tagName.equals("KEYWORDS") && !tag.tagName.equals("MODE") ) { byte token = Token.stringToToken(tag.tagName); if(token != -1) addKeyword(tag.lastKeyword.toString(),token); } //}}} } else { // can't happen throw new InternalError(); } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/7e051a56823eedc6991881161f5c160e016ef2b3/XModeHandler.java/buggy/org/gjt/sp/jedit/syntax/XModeHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 14840, 12, 780, 2003, 16, 514, 11927, 16, 514, 508, 13, 202, 95, 202, 202, 1805, 3456, 1047, 273, 1843, 1046, 5621, 202, 202, 430, 261, 529, 18, 14963, 12, 2692, 18, 2692, 461, 3719, 202, 202, 95, 1082, 202, 759, 12187, 95, 9759, 1082, 202, 430, 261, 2692, 18, 2692, 461, 18, 14963, 2932, 9900, 6, 3719, 1082, 202, 95, 9506, 202, 9693, 18, 458, 12, 5986, 461, 16, 5986, 620, 1769, 1082, 202, 97, 368, 9090, 97, 1082, 202, 759, 12187, 95, 4629, 5857, 1082, 202, 12107, 309, 261, 2692, 18, 2692, 461, 18, 14963, 2932, 3373, 5857, 6, 3719, 1082, 202, 95, 9506, 202, 430, 12, 347, 3839, 1046, 7675, 2692, 461, 18, 14963, 2932, 14920, 55, 6, 3719, 6862, 202, 7482, 18, 542, 2297, 12, 9693, 1769, 9506, 202, 12107, 6862, 202, 3188, 5047, 273, 3458, 31, 9506, 202, 9693, 273, 394, 18559, 32, 780, 16, 514, 34, 5621, 1082, 202, 97, 368, 9090, 97, 1082, 202, 759, 12187, 95, 12651, 55, 1082, 202, 12107, 309, 261, 2692, 18, 2692, 461, 18, 14963, 2932, 14920, 55, 6, 3719, 1082, 202, 95, 9506, 202, 7482, 18, 542, 14149, 12, 11771, 1769, 9506, 202, 11771, 273, 446, 31, 9506, 202, 7482, 273, 446, 31, 1082, 202, 97, 368, 9090, 97, 1082, 202, 759, 12187, 95, 21840, 1082, 202, 12107, 309, 261, 2692, 18, 2692, 461, 18, 14963, 2932, 20445, 6, 3719, 1082, 202, 95, 9506, 202, 759, 5309, 2176, 18294, 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, 482, 918, 14840, 12, 780, 2003, 16, 514, 11927, 16, 514, 508, 13, 202, 95, 202, 202, 1805, 3456, 1047, 273, 1843, 1046, 5621, 202, 202, 430, 261, 529, 18, 14963, 12, 2692, 18, 2692, 461, 3719, 202, 202, 95, 1082, 202, 759, 12187, 95, 9759, 1082, 202, 430, 261, 2692, 18, 2692, 461, 18, 14963, 2932, 9900, 6, 3719, 1082, 202, 95, 9506, 202, 9693, 18, 458, 12, 5986, 461, 16, 5986, 620, 1769, 1082, 202, 97, 368, 9090, 97, 1082, 202, 759, 12187, 95, 4629, 5857, 1082, 202, 12107, 309, 261, 2692, 18, 2692, 461, 18, 14963, 2932, 3373, 5857, 6, 3719, 1082, 202, 95, 9506, 202, 430, 12, 347, 3839, 1046, 7675, 2692, 461, 2 ]
public void indicateSharedFolder(String folderName){ if (folderName.equals("")){ if (isPaused){ setPartName("(paused) " + PART_NAME); } else{ setPartName(PART_NAME); } } else{ if (isPaused){ setPartName("(paused) " + folderName + " " + PART_NAME); } else{ setPartName(folderName + " " + PART_NAME); } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d4f4b7adbac6f3f4b67fbc7714a5fbeb8cd7ff7e/TaskListView.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10768, 7887, 3899, 12, 780, 31814, 15329, 202, 202, 430, 261, 5609, 461, 18, 14963, 2932, 6, 3719, 95, 1082, 202, 430, 261, 291, 28590, 15329, 9506, 202, 542, 1988, 461, 2932, 12, 8774, 3668, 13, 315, 397, 20814, 67, 1985, 1769, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 542, 1988, 461, 12, 15055, 67, 1985, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 95, 1082, 202, 430, 261, 291, 28590, 15329, 9506, 202, 542, 1988, 461, 2932, 12, 8774, 3668, 13, 315, 397, 31814, 397, 315, 315, 397, 20814, 67, 1985, 1769, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 542, 1988, 461, 12, 5609, 461, 397, 315, 315, 397, 20814, 67, 1985, 1769, 1082, 202, 97, 202, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10768, 7887, 3899, 12, 780, 31814, 15329, 202, 202, 430, 261, 5609, 461, 18, 14963, 2932, 6, 3719, 95, 1082, 202, 430, 261, 291, 28590, 15329, 9506, 202, 542, 1988, 461, 2932, 12, 8774, 3668, 13, 315, 397, 20814, 67, 1985, 1769, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 542, 1988, 461, 12, 15055, 67, 1985, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 95, 1082, 202, 430, 261, 291, 28590, 15329, 9506, 202, 542, 1988, 461, 2932, 12, 8774, 3668, 13, 315, 397, 31814, 397, 315, 315, 397, 20814, 67, 1985, 1769, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 542, 1988, 461, 12, 5609, 461, 397, 315, 315, 2 ]
setProperty(DavElements.E_DISPLAYNAME, acct.getAttr(Provisioning.A_displayName));
setProperty(DavElements.E_DISPLAYNAME, displayName);
public CalendarCollection(Folder f) throws DavException, ServiceException { super(f); Account acct = f.getAccount(); mDavCompliance.add(Compliance.one); mDavCompliance.add(Compliance.two); mDavCompliance.add(Compliance.three); mDavCompliance.add(Compliance.access_control); mDavCompliance.add(Compliance.calendar_access); ResourceProperty rtype = getProperty(DavElements.E_RESOURCETYPE); rtype.addChild(DavElements.E_CALENDAR); rtype.addChild(DavElements.E_PRINCIPAL); ResourceProperty desc = new ResourceProperty(DavElements.E_CALENDAR_DESCRIPTION); Locale lc = acct.getLocale(); desc.setMessageLocale(lc); desc.setStringValue(L10nUtil.getMessage(MsgKey.caldavCalendarDescription, lc)); addProperty(desc); addProperty(CalDavProperty.getSupportedCalendarComponentSet()); addProperty(CalDavProperty.getSupportedCalendarData()); addProperty(CalDavProperty.getSupportedCollationSet()); setProperty(DavElements.E_DISPLAYNAME, acct.getAttr(Provisioning.A_displayName)); setProperty(DavElements.E_PRINCIPAL_URL, UrlNamespace.getResourceUrl(this), true); setProperty(DavElements.E_ALTERNATE_URI_SET, null, true); setProperty(DavElements.E_GROUP_MEMBER_SET, null, true); setProperty(DavElements.E_GROUP_MEMBERSHIP, null, true); //setProperty(DavElements.E_GETETAG, "", true); // remaining recommented attributes: calendar-timezone, max-resource-size, // min-date-time, max-date-time, max-instances, max-attendees-per-instance, // }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/7e3e2c41809645de3644802d9af9f6e0d03b55ab/CalendarCollection.java/clean/ZimbraServer/src/java/com/zimbra/cs/dav/resource/CalendarCollection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5542, 2532, 12, 3899, 284, 13, 1216, 463, 842, 503, 16, 16489, 288, 202, 202, 9565, 12, 74, 1769, 202, 202, 3032, 20774, 273, 284, 18, 588, 3032, 5621, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 476, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 15415, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 451, 992, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 3860, 67, 7098, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 11650, 67, 3860, 1769, 202, 202, 1420, 1396, 9328, 273, 3911, 12, 40, 842, 3471, 18, 41, 67, 11395, 2399, 1769, 202, 202, 86, 723, 18, 1289, 1763, 12, 40, 842, 3471, 18, 41, 67, 12983, 29154, 1769, 202, 202, 86, 723, 18, 1289, 1763, 12, 40, 842, 3471, 18, 41, 67, 8025, 23213, 2579, 1013, 1769, 9506, 202, 1420, 1396, 3044, 273, 394, 2591, 1396, 12, 40, 842, 3471, 18, 41, 67, 12983, 29154, 67, 15911, 1769, 202, 202, 3916, 9109, 273, 20774, 18, 588, 3916, 5621, 202, 202, 5569, 18, 542, 1079, 3916, 12, 17704, 1769, 202, 202, 5569, 18, 542, 19733, 12, 48, 2163, 82, 1304, 18, 24906, 12, 3332, 653, 18, 771, 20752, 7335, 3291, 16, 9109, 10019, 202, 202, 1289, 1396, 12, 5569, 1769, 202, 202, 1289, 1396, 12, 3005, 40, 842, 1396, 18, 588, 7223, 7335, 1841, 694, 10663, 202, 202, 1289, 1396, 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, 5542, 2532, 12, 3899, 284, 13, 1216, 463, 842, 503, 16, 16489, 288, 202, 202, 9565, 12, 74, 1769, 202, 202, 3032, 20774, 273, 284, 18, 588, 3032, 5621, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 476, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 15415, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 451, 992, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 3860, 67, 7098, 1769, 202, 202, 81, 40, 842, 16687, 18, 1289, 12, 16687, 18, 11650, 67, 3860, 1769, 202, 202, 1420, 1396, 9328, 273, 3911, 12, 40, 842, 3471, 18, 41, 67, 11395, 2399, 1769, 2 ]
super.fireVetoableChange(name, new Boolean(oldValue), new Boolean(newValue));
super.fireVetoableChange(name, Boolean.valueOf(oldValue), Boolean.valueOf(newValue));
private void fireVetoableChange(String name, boolean oldValue, boolean newValue) throws PropertyVetoException { super.fireVetoableChange(name, new Boolean(oldValue), new Boolean(newValue)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/JInternalFrame.java/buggy/core/src/classpath/javax/javax/swing/JInternalFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4452, 58, 11453, 429, 3043, 12, 780, 508, 16, 1250, 11144, 16, 21394, 1250, 6129, 13, 21821, 1216, 4276, 58, 11453, 503, 225, 288, 565, 2240, 18, 12179, 58, 11453, 429, 3043, 12, 529, 16, 3411, 18, 1132, 951, 12, 1673, 620, 3631, 3411, 18, 1132, 951, 12, 2704, 620, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 4452, 58, 11453, 429, 3043, 12, 780, 508, 16, 1250, 11144, 16, 21394, 1250, 6129, 13, 21821, 1216, 4276, 58, 11453, 503, 225, 288, 565, 2240, 18, 12179, 58, 11453, 429, 3043, 12, 529, 16, 3411, 18, 1132, 951, 12, 1673, 620, 3631, 3411, 18, 1132, 951, 12, 2704, 620, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return getName()+"\t"+getPeer()+"\t"+getIdentityString()+"\t"+getLocation().getValue()+"\t"+getPeerNodeStatusString()+"\t"+idle;
return getName()+ '\t' +getPeer()+ '\t' +getIdentityString()+ '\t' +getLocation().getValue()+ '\t' +getPeerNodeStatusString()+ '\t' +idle;
public String getTMCIPeerInfo() { long now = System.currentTimeMillis(); int idle = -1; synchronized(this) { idle = (int) ((now - timeLastReceivedPacket) / 1000); } if((getPeerNodeStatus() == Node.PEER_NODE_STATUS_NEVER_CONNECTED) && (getPeerAddedTime() > 1)) idle = (int) ((now - getPeerAddedTime()) / 1000); return getName()+"\t"+getPeer()+"\t"+getIdentityString()+"\t"+getLocation().getValue()+"\t"+getPeerNodeStatusString()+"\t"+idle; }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/62fd59041864b4ed1f43adc676de6bfb5ea977f3/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3181, 20022, 2579, 4943, 966, 1435, 288, 202, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 509, 12088, 273, 300, 21, 31, 3639, 3852, 12, 2211, 13, 288, 540, 202, 20390, 273, 261, 474, 13, 14015, 3338, 300, 813, 3024, 8872, 6667, 13, 342, 4336, 1769, 3639, 289, 3639, 309, 12443, 588, 6813, 907, 1482, 1435, 422, 2029, 18, 1423, 654, 67, 8744, 67, 8608, 67, 5407, 2204, 67, 29011, 13, 597, 261, 588, 6813, 8602, 950, 1435, 405, 404, 3719, 5411, 12088, 273, 261, 474, 13, 14015, 3338, 300, 29875, 8602, 950, 10756, 342, 4336, 1769, 3639, 327, 1723, 1435, 15, 2337, 88, 11, 397, 588, 6813, 1435, 15, 2337, 88, 11, 397, 588, 4334, 780, 1435, 15, 2337, 88, 11, 397, 588, 2735, 7675, 24805, 1435,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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 3181, 20022, 2579, 4943, 966, 1435, 288, 202, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 3639, 509, 12088, 273, 300, 21, 31, 3639, 3852, 12, 2211, 13, 288, 540, 202, 20390, 273, 261, 474, 13, 14015, 3338, 300, 813, 3024, 8872, 6667, 13, 342, 4336, 1769, 3639, 289, 3639, 309, 12443, 588, 6813, 907, 1482, 1435, 422, 2029, 18, 1423, 654, 67, 8744, 67, 8608, 67, 5407, 2204, 67, 29011, 13, 597, 261, 588, 6813, 8602, 950, 1435, 405, 404, 3719, 5411, 12088, 273, 261, 474, 13, 14015, 3338, 300, 29875, 8602, 950, 10756, 342, 4336, 1769, 3639, 327, 1723, 1435, 15, 2337, 88, 11, 397, 588, 6813, 1435, 15, 2337, 88, 11, 397, 2 ]
floatClass.defineMethod("<=>", getMethodCmp()); floatClass.defineMethod(">", getMethodGt()); floatClass.defineMethod(">=", getMethodGe()); floatClass.defineMethod("<", getMethodLt()); floatClass.defineMethod("<=", getMethodLe());
floatClass.defineMethod("<=>", getMethod("op_cmp", RubyNumeric.class)); floatClass.defineMethod(">", getMethod("op_gt", RubyNumeric.class)); floatClass.defineMethod(">=", getMethod("op_ge", RubyNumeric.class)); floatClass.defineMethod("<", getMethod("op_lt", RubyNumeric.class)); floatClass.defineMethod("<=", getMethod("op_le", RubyNumeric.class));
public static RubyClass createFloat(Ruby ruby) { RubyClass floatClass = ruby.defineClass("Float", (RubyClass)ruby.getRubyClass("Numeric")); // floatClass.defineMethod("to_i", getMethodToI()); floatClass.defineMethod("to_s", getMethodToS()); floatClass.defineMethod("+", getMethodPlus()); floatClass.defineMethod("-", getMethodMinus()); floatClass.defineMethod("*", getMethodMul()); floatClass.defineMethod("/", getMethodDiv()); floatClass.defineMethod("%", getMethodMod()); floatClass.defineMethod("**", getMethodPow()); // floatClass.defineMethod("==", getMethodEqual()); floatClass.defineMethod("<=>", getMethodCmp()); floatClass.defineMethod(">", getMethodGt()); floatClass.defineMethod(">=", getMethodGe()); floatClass.defineMethod("<", getMethodLt()); floatClass.defineMethod("<=", getMethodLe()); return floatClass; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a9420f23379e292698ea011ab08fb480b4decbcc/RbFloat.java/buggy/org/jruby/core/RbFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 4723, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 1431, 797, 273, 22155, 18, 11255, 797, 2932, 4723, 3113, 261, 54, 10340, 797, 13, 27768, 18, 588, 54, 10340, 797, 2932, 9902, 7923, 1769, 7734, 368, 1431, 797, 18, 11255, 1305, 2932, 869, 67, 77, 3113, 6272, 774, 45, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 6272, 774, 55, 10663, 7734, 1431, 797, 18, 11255, 1305, 2932, 15, 3113, 6272, 13207, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 17, 3113, 6272, 18434, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 14, 3113, 6272, 27860, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 19, 3113, 6272, 7244, 10663, 3639, 1431, 797, 18, 11255, 1305, 27188, 3113, 6272, 1739, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 636, 3113, 6272, 28289, 10663, 7734, 368, 1431, 797, 18, 11255, 1305, 2932, 631, 3113, 6272, 5812, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 32, 33, 2984, 16, 6272, 31832, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 2984, 16, 6272, 43, 88, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 34, 1546, 16, 6272, 18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 13, 288, 3639, 19817, 797, 1431, 797, 273, 22155, 18, 11255, 797, 2932, 4723, 3113, 261, 54, 10340, 797, 13, 27768, 18, 588, 54, 10340, 797, 2932, 9902, 7923, 1769, 7734, 368, 1431, 797, 18, 11255, 1305, 2932, 869, 67, 77, 3113, 6272, 774, 45, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 6272, 774, 55, 10663, 7734, 1431, 797, 18, 11255, 1305, 2932, 15, 3113, 6272, 13207, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 17, 3113, 6272, 18434, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 14, 3113, 6272, 27860, 10663, 3639, 1431, 797, 18, 11255, 1305, 2932, 19, 3113, 6272, 7244, 2 ]
int size=args.size();
int size=parameters.length;
private void recurseInto(SIRStream str, List args, Hashtable constants) { JMethodDeclaration initMethod = str.getInit(); // if there is no init function, we're done //System.err.println(" Recursing into:"+str); if (initMethod==null) { return; } //List argCopy=(List)args.clone(); JFormalParameter[] parameters = initMethod.getParameters(); //System.err.println("Recursing into "+str+" "+args+" "+parameters.length); // build new constants int size=args.size(); for (int i=0; i<size; i++) { //System.err.println("Arg "+i+"="+args.get(i)); // if we are passing an arg to the init function... if (args.get(i) instanceof JLiteral) { //System.err.println("!! top finding " + parameters[i].getIdent() + " " + parameters[i].hashCode() + " = " + args.get(i) + " in call to " + str.getIdent()); // if it's already a literal, record it constants.put(parameters[i], (JLiteral)args.get(i)); } else if (args.get(i) instanceof SIRPortal || (args.get(i) instanceof JLocalVariableExpression && ((JLocalVariableExpression)args.get(i)).getType().getCClass().getIdent().endsWith("Portal"))) { // similarly. constants.put(parameters[i], args.get(i)); } else if ((args.get(i) instanceof JLocalVariableExpression)&&constants.get(((JLocalVariableExpression)args.get(i)).getVariable())!=null) { // otherwise if it's associated w/ a literal, then // record that and set the actual argument to be a literal Object constant = constants.get(((JLocalVariableExpression)args.get(i)).getVariable()); //System.err.println("!! bottom finding " + parameters[i].getIdent() + " " + parameters[i].hashCode() + " = " + constant + " in call to " + str.getIdent()); constants.put(parameters[i],constant); if(constant instanceof JExpression) args.set(i, constant); //args.remove(i); //i--; //size--; } } ArrayCopy.acceptInit(str.getInit(),constants); // recurse into sub-stream propagateAndUnroll(str, constants); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/e47123b7f72e0aebc15d764ad27c02d5e3b976ff/ConstantProp.java/buggy/streams/src/at/dms/kjc/sir/lowering/ConstantProp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11502, 5952, 12, 2320, 54, 1228, 609, 16, 987, 833, 16, 18559, 6810, 13, 288, 202, 46, 1305, 6094, 1208, 1305, 273, 609, 18, 588, 2570, 5621, 202, 759, 309, 1915, 353, 1158, 1208, 445, 16, 732, 4565, 2731, 202, 759, 3163, 18, 370, 18, 8222, 2932, 282, 868, 1397, 2470, 1368, 2773, 15, 701, 1769, 202, 430, 261, 2738, 1305, 631, 2011, 13, 288, 202, 565, 327, 31, 202, 97, 202, 759, 682, 1501, 2951, 28657, 682, 13, 1968, 18, 14056, 5621, 202, 46, 13985, 8526, 1472, 273, 1208, 1305, 18, 588, 2402, 5621, 202, 759, 3163, 18, 370, 18, 8222, 2932, 426, 1397, 2470, 1368, 13773, 701, 9078, 13773, 1968, 9078, 13773, 3977, 18, 2469, 1769, 202, 759, 1361, 394, 6810, 202, 474, 963, 33, 1968, 18, 1467, 5621, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 1467, 31, 277, 27245, 288, 202, 565, 368, 3163, 18, 370, 18, 8222, 2932, 4117, 13773, 77, 9078, 1546, 15, 1968, 18, 588, 12, 77, 10019, 202, 565, 368, 309, 732, 854, 9588, 392, 1501, 358, 326, 1208, 445, 2777, 202, 565, 309, 261, 1968, 18, 588, 12, 77, 13, 1276, 804, 6177, 13, 288, 202, 202, 759, 3163, 18, 370, 18, 8222, 2932, 8548, 1760, 13727, 315, 397, 1472, 63, 77, 8009, 588, 6106, 1435, 397, 315, 315, 397, 1472, 63, 77, 8009, 2816, 1085, 1435, 397, 315, 273, 315, 397, 833, 18, 588, 12, 77, 13, 397, 315, 316, 745, 358, 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, 11502, 5952, 12, 2320, 54, 1228, 609, 16, 987, 833, 16, 18559, 6810, 13, 288, 202, 46, 1305, 6094, 1208, 1305, 273, 609, 18, 588, 2570, 5621, 202, 759, 309, 1915, 353, 1158, 1208, 445, 16, 732, 4565, 2731, 202, 759, 3163, 18, 370, 18, 8222, 2932, 282, 868, 1397, 2470, 1368, 2773, 15, 701, 1769, 202, 430, 261, 2738, 1305, 631, 2011, 13, 288, 202, 565, 327, 31, 202, 97, 202, 759, 682, 1501, 2951, 28657, 682, 13, 1968, 18, 14056, 5621, 202, 46, 13985, 8526, 1472, 273, 1208, 1305, 18, 588, 2402, 5621, 202, 759, 3163, 18, 370, 18, 8222, 2932, 426, 1397, 2470, 1368, 13773, 701, 9078, 13773, 1968, 9078, 13773, 3977, 18, 2 ]
table.addKeyListener( new KeyAdapter( ) {
if ( modifier instanceof ITableAreaModifier ) { table.addKeyListener( new KeyAdapter( ) {
private void createTableViewer( int tableStyle ) { Table table = new Table( this, tableStyle | SWT.FULL_SELECTION | SWT.BORDER ); table.setLayoutData( new GridData( GridData.FILL_BOTH ) ); tableViewer = new TableViewer( table ); table.addKeyListener( new KeyAdapter( ) { /** * @see org.eclipse.swt.events.KeyAdapter#keyReleased(org.eclipse.swt.events.KeyEvent) */ public void keyReleased( KeyEvent e ) { if ( e.keyCode == SWT.DEL && e.stateMask == 0 && !getSelection( ).isEmpty( ) && modifier.removeItem( getSelection( ).toArray( ) ) ) { tableViewer.refresh( ); updateButtons( ); } } } ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/9def0d3f4770404bae8ad9c41d93b5cca9b94576/TableArea.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/swt/custom/TableArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 19565, 18415, 12, 509, 1014, 2885, 262, 202, 95, 202, 202, 1388, 1014, 273, 394, 3555, 12, 333, 16, 1014, 2885, 9506, 202, 96, 348, 8588, 18, 18111, 67, 1090, 15445, 9506, 202, 96, 348, 8588, 18, 38, 7954, 11272, 202, 202, 2121, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 2121, 18415, 273, 394, 3555, 18415, 12, 1014, 11272, 202, 202, 2121, 18, 1289, 653, 2223, 12, 394, 1929, 4216, 12, 262, 288, 1082, 202, 26873, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 5989, 18, 653, 4216, 7, 856, 26363, 12, 3341, 18, 20416, 18, 5328, 88, 18, 5989, 18, 653, 1133, 13, 9506, 1195, 1082, 202, 482, 918, 498, 26363, 12, 23737, 425, 262, 1082, 202, 95, 9506, 202, 430, 261, 425, 18, 856, 1085, 422, 348, 8588, 18, 24733, 25083, 202, 10, 10, 425, 18, 2019, 5796, 422, 374, 25083, 202, 10, 10, 401, 588, 6233, 12, 262, 18, 291, 1921, 12, 262, 25083, 202, 10, 10, 9606, 18, 4479, 1180, 12, 23204, 12, 262, 18, 31447, 12, 262, 262, 262, 9506, 202, 95, 6862, 202, 2121, 18415, 18, 9144, 12, 11272, 6862, 202, 2725, 14388, 12, 11272, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 918, 19565, 18415, 12, 509, 1014, 2885, 262, 202, 95, 202, 202, 1388, 1014, 273, 394, 3555, 12, 333, 16, 1014, 2885, 9506, 202, 96, 348, 8588, 18, 18111, 67, 1090, 15445, 9506, 202, 96, 348, 8588, 18, 38, 7954, 11272, 202, 202, 2121, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 2121, 18415, 273, 394, 3555, 18415, 12, 1014, 11272, 202, 202, 2121, 18, 1289, 653, 2223, 12, 394, 1929, 4216, 12, 262, 288, 1082, 202, 26873, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 5328, 88, 18, 5989, 18, 653, 4216, 7, 856, 26363, 12, 3341, 18, 20416, 18, 5328, 88, 18, 2 ]
for (Iterator it=debuggersToRemove.iterator(); it.hasNext();) { EnhancedDebugger debugger = (EnhancedDebugger)it.next();
for (Iterator it = debuggersToRemove.iterator(); it.hasNext();) { EnhancedDebugger debugger = (EnhancedDebugger) it.next();
private void createDebug() { frame = new JFrame("Smack Debug Window"); // Add listener for window closing event frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent evt) { rootWindowClosing(evt); } }); // We'll arrange the UI into tabs. The last tab contains Smack's information. // All the connection debugger tabs will be shown before the Smack info tab. tabbedPane = new JTabbedPane(); // Create the Smack info panel JPanel informationPanel = new JPanel(); informationPanel.setLayout(new BoxLayout(informationPanel, BoxLayout.Y_AXIS)); // Add the Smack version label JPanel versionPanel = new JPanel(); versionPanel.setLayout(new BoxLayout(versionPanel, BoxLayout.X_AXIS)); versionPanel.setMaximumSize(new Dimension(2000, 31)); versionPanel.add(new JLabel(" Smack version: ")); JFormattedTextField field = new JFormattedTextField(SmackConfiguration.getVersion()); field.setEditable(false); field.setBorder(null); versionPanel.add(field); informationPanel.add(versionPanel); // Add the list of installed IQ Providers JPanel iqProvidersPanel = new JPanel(); iqProvidersPanel.setLayout(new GridLayout(1, 1)); iqProvidersPanel.setBorder(BorderFactory.createTitledBorder("Installed IQ Providers")); Vector providers = new Vector(); for (Iterator it = ProviderManager.getIQProviders(); it.hasNext();) { Object provider = it.next(); if (provider.getClass() == Class.class) { providers.add(((Class) provider).getName()); } else { providers.add(provider.getClass().getName()); } } // Sort the collection of providers Collections.sort(providers); JList list = new JList(providers); iqProvidersPanel.add(new JScrollPane(list)); informationPanel.add(iqProvidersPanel); // Add the list of installed Extension Providers JPanel extensionProvidersPanel = new JPanel(); extensionProvidersPanel.setLayout(new GridLayout(1, 1)); extensionProvidersPanel.setBorder(BorderFactory.createTitledBorder("Installed Extension Providers")); providers = new Vector(); for (Iterator it = ProviderManager.getExtensionProviders(); it.hasNext();) { Object provider = it.next(); if (provider.getClass() == Class.class) { providers.add(((Class) provider).getName()); } else { providers.add(provider.getClass().getName()); } } // Sort the collection of providers Collections.sort(providers); list = new JList(providers); extensionProvidersPanel.add(new JScrollPane(list)); informationPanel.add(extensionProvidersPanel); tabbedPane.add("Smack Info", informationPanel); // Add pop-up menu. JPopupMenu menu = new JPopupMenu(); // Add a menu item that allows to close the current selected tab JMenuItem menuItem = new JMenuItem("Close"); menuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // Remove the selected tab pane if it's not the Smack info pane if (tabbedPane.getSelectedIndex() < tabbedPane.getComponentCount() - 1) { int index = tabbedPane.getSelectedIndex(); // Notify to the debugger to stop debugging EnhancedDebugger debugger = (EnhancedDebugger)debuggers.get(index); debugger.cancel(); // Remove the debugger from the root window tabbedPane.remove(debugger.tabbedPane); debuggers.remove(debugger); // Update the root window title frame.setTitle( "Smack Debug Window -- Total connections: " + (tabbedPane.getComponentCount() - 1)); } } }); menu.add(menuItem); // Add a menu item that allows to close all the tabs that have their connections closed menuItem = new JMenuItem("Close All Not Active"); menuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { ArrayList debuggersToRemove = new ArrayList(); // Remove all the debuggers of which their connections are no longer valid for (int index=0; index < tabbedPane.getComponentCount()-1; index++) { EnhancedDebugger debugger = (EnhancedDebugger)debuggers.get(index); if (!debugger.isConnectionActive()) { // Notify to the debugger to stop debugging debugger.cancel(); debuggersToRemove.add(debugger); } } for (Iterator it=debuggersToRemove.iterator(); it.hasNext();) { EnhancedDebugger debugger = (EnhancedDebugger)it.next(); // Remove the debugger from the root window tabbedPane.remove(debugger.tabbedPane); debuggers.remove(debugger); } // Update the root window title frame.setTitle( "Smack Debug Window -- Total connections: " + (tabbedPane.getComponentCount() - 1)); } }); menu.add(menuItem); // Add listener to the text area so the popup menu can come up. tabbedPane.addMouseListener(new PopupListener(menu)); frame.getContentPane().add(tabbedPane); frame.setSize(650, 400); frame.setVisible(true); }
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/78becc3d7305388cff280b2bc0e2842644b0cd9b/EnhancedDebuggerWindow.java/buggy/source/org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 752, 2829, 1435, 288, 3639, 2623, 273, 394, 804, 3219, 2932, 9552, 484, 4015, 6076, 8863, 3639, 368, 1436, 2991, 364, 2742, 7647, 871, 540, 2623, 18, 1289, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 5411, 1071, 918, 2742, 15745, 12, 3829, 1133, 6324, 13, 288, 7734, 1365, 3829, 15745, 12, 73, 11734, 1769, 5411, 289, 3639, 15549, 3639, 368, 1660, 5614, 2454, 726, 326, 6484, 1368, 10920, 18, 1021, 1142, 3246, 1914, 9425, 484, 1807, 1779, 18, 3639, 368, 4826, 326, 1459, 19977, 10920, 903, 506, 12188, 1865, 326, 9425, 484, 1123, 3246, 18, 540, 3246, 2992, 8485, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 368, 1788, 326, 9425, 484, 1123, 6594, 540, 24048, 1779, 5537, 273, 394, 24048, 5621, 3639, 1779, 5537, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 13117, 5537, 16, 8549, 3744, 18, 61, 67, 25614, 10019, 3639, 368, 1436, 326, 9425, 484, 1177, 1433, 3639, 24048, 1177, 5537, 273, 394, 24048, 5621, 3639, 1177, 5537, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 1589, 5537, 16, 8549, 3744, 18, 60, 67, 25614, 10019, 3639, 1177, 5537, 18, 542, 13528, 1225, 12, 2704, 13037, 12, 17172, 16, 8231, 10019, 3639, 1177, 5537, 18, 1289, 12, 2704, 21403, 2932, 9425, 484, 1177, 30, 9369, 1769, 3639, 804, 18298, 16157, 652, 273, 394, 804, 18298, 16157, 12, 9552, 484, 1750, 18, 588, 1444, 10663, 3639, 652, 18, 542, 15470, 12, 5743, 1769, 3639, 652, 18, 542, 8107, 12, 2011, 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, 752, 2829, 1435, 288, 3639, 2623, 273, 394, 804, 3219, 2932, 9552, 484, 4015, 6076, 8863, 3639, 368, 1436, 2991, 364, 2742, 7647, 871, 540, 2623, 18, 1289, 3829, 2223, 12, 2704, 6076, 4216, 1435, 288, 5411, 1071, 918, 2742, 15745, 12, 3829, 1133, 6324, 13, 288, 7734, 1365, 3829, 15745, 12, 73, 11734, 1769, 5411, 289, 3639, 15549, 3639, 368, 1660, 5614, 2454, 726, 326, 6484, 1368, 10920, 18, 1021, 1142, 3246, 1914, 9425, 484, 1807, 1779, 18, 3639, 368, 4826, 326, 1459, 19977, 10920, 903, 506, 12188, 1865, 326, 9425, 484, 1123, 3246, 18, 540, 3246, 2992, 8485, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 368, 1788, 326, 9425, 484, 1123, 6594, 540, 2 ]
end = sourceStart + length;
end = sourceStart + length - 1;
public Type convertType(TypeReference typeReference) { Type type = null; int sourceStart = -1; int length = 0; int dimensions = typeReference.dimensions(); if (typeReference instanceof SingleTypeReference) { // this is either an ArrayTypeReference or a SingleTypeReference char[] name = ((SingleTypeReference) typeReference).getTypeName()[0]; sourceStart = typeReference.sourceStart; length = typeReference.sourceEnd - typeReference.sourceStart + 1; if (dimensions != 0) { // need to find out if this is an array type of primitive types or not if (isPrimitiveType(name)) { int end = retrieveEndOfElementTypeNamePosition(sourceStart, sourceStart + length); if (end == -1) { end = sourceStart + length; } PrimitiveType primitiveType = this.ast.newPrimitiveType(getPrimitiveTypeCode(name)); primitiveType.setSourceRange(sourceStart, end - sourceStart + 1); type = this.ast.newArrayType(primitiveType, dimensions); if (resolveBindings) { // store keys for inner types completeRecord((ArrayType) type, typeReference); } type.setSourceRange(sourceStart, length); } else { SimpleName simpleName = this.ast.newSimpleName(new String(name)); // we need to search for the starting position of the first brace in order to set the proper length // PR http://dev.eclipse.org/bugs/show_bug.cgi?id=10759 int end = retrieveEndOfElementTypeNamePosition(sourceStart, sourceStart + length); if (end == -1) { end = sourceStart + length - 1; } simpleName.setSourceRange(sourceStart, end - sourceStart + 1); SimpleType simpleType = this.ast.newSimpleType(simpleName); simpleType.setSourceRange(sourceStart, end - sourceStart + 1); type = this.ast.newArrayType(simpleType, dimensions); type.setSourceRange(sourceStart, length); if (this.resolveBindings) { completeRecord((ArrayType) type, typeReference); this.recordNodes(simpleName, typeReference); } } } else { if (isPrimitiveType(name)) { type = this.ast.newPrimitiveType(getPrimitiveTypeCode(name)); type.setSourceRange(sourceStart, length); } else { SimpleName simpleName = this.ast.newSimpleName(new String(name)); simpleName.setSourceRange(sourceStart, length); type = this.ast.newSimpleType(simpleName); type.setSourceRange(sourceStart, length); if (this.resolveBindings) { this.recordNodes(simpleName, typeReference); } } } } else { char[][] name = ((QualifiedTypeReference) typeReference).getTypeName(); int nameLength = name.length; long[] positions = ((QualifiedTypeReference) typeReference).sourcePositions; sourceStart = (int)(positions[0]>>>32); length = (int)(positions[nameLength - 1] & 0xFFFFFFFF) - sourceStart + 1; Name qualifiedName = this.setQualifiedNameNameAndSourceRanges(name, positions, typeReference); if (dimensions != 0) { // need to find out if this is an array type of primitive types or not SimpleType simpleType = this.ast.newSimpleType(qualifiedName); simpleType.setSourceRange(sourceStart, length); type = this.ast.newArrayType(simpleType, dimensions); if (this.resolveBindings) { completeRecord((ArrayType) type, typeReference); } int end = retrieveEndOfDimensionsPosition(sourceStart+length, this.compilationUnitSource.length); if (end != -1) { type.setSourceRange(sourceStart, end - sourceStart + 1); } else { type.setSourceRange(sourceStart, length); } } else { type = this.ast.newSimpleType(qualifiedName); type.setSourceRange(sourceStart, length); } } if (this.resolveBindings) { this.recordNodes(type, typeReference); } return type; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/6d6b2fa517155355da49959bb99975a3ff06881a/ASTConverter.java/buggy/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1412, 1765, 559, 12, 7534, 618, 2404, 13, 288, 202, 202, 559, 618, 273, 446, 31, 25083, 202, 474, 1084, 1685, 273, 300, 21, 31, 202, 202, 474, 769, 273, 374, 31, 202, 202, 474, 5769, 273, 618, 2404, 18, 14797, 5621, 202, 202, 430, 261, 723, 2404, 1276, 10326, 7534, 13, 288, 1082, 202, 759, 333, 353, 3344, 392, 1510, 7534, 578, 279, 10326, 7534, 1082, 202, 3001, 8526, 508, 273, 14015, 5281, 7534, 13, 618, 2404, 2934, 588, 7947, 1435, 63, 20, 15533, 1082, 202, 3168, 1685, 273, 618, 2404, 18, 3168, 1685, 31, 1082, 202, 2469, 273, 618, 2404, 18, 3168, 1638, 300, 618, 2404, 18, 3168, 1685, 397, 404, 31, 1082, 202, 430, 261, 14797, 480, 374, 13, 288, 9506, 202, 759, 1608, 358, 1104, 596, 309, 333, 353, 392, 526, 618, 434, 8225, 1953, 578, 486, 9506, 202, 430, 261, 291, 9840, 559, 12, 529, 3719, 288, 6862, 202, 474, 679, 273, 4614, 23358, 1046, 7947, 2555, 12, 3168, 1685, 16, 1084, 1685, 397, 769, 1769, 6862, 202, 430, 261, 409, 422, 300, 21, 13, 288, 25083, 202, 409, 273, 1084, 1685, 397, 769, 31, 6862, 202, 97, 6862, 25083, 202, 9840, 559, 8225, 559, 273, 333, 18, 689, 18, 2704, 9840, 559, 12, 588, 9840, 15460, 12, 529, 10019, 6862, 202, 683, 5025, 559, 18, 542, 1830, 2655, 12, 3168, 1685, 16, 679, 300, 1084, 1685, 397, 404, 1769, 6862, 202, 723, 273, 333, 18, 689, 18, 2704, 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, 1412, 1765, 559, 12, 7534, 618, 2404, 13, 288, 202, 202, 559, 618, 273, 446, 31, 25083, 202, 474, 1084, 1685, 273, 300, 21, 31, 202, 202, 474, 769, 273, 374, 31, 202, 202, 474, 5769, 273, 618, 2404, 18, 14797, 5621, 202, 202, 430, 261, 723, 2404, 1276, 10326, 7534, 13, 288, 1082, 202, 759, 333, 353, 3344, 392, 1510, 7534, 578, 279, 10326, 7534, 1082, 202, 3001, 8526, 508, 273, 14015, 5281, 7534, 13, 618, 2404, 2934, 588, 7947, 1435, 63, 20, 15533, 1082, 202, 3168, 1685, 273, 618, 2404, 18, 3168, 1685, 31, 1082, 202, 2469, 273, 618, 2404, 18, 3168, 1638, 300, 618, 2404, 18, 3168, 1685, 397, 404, 31, 1082, 202, 2 ]
if (PRINT_CFG) { System.out.println("CFG for " + SignatureConverter.convertMethodSignature(methodGen) + ", stream " + stream); DataflowCFGPrinter<ResourceValueFrame, ResourceValueAnalysis<Stream>> cfgPrinter = new DataflowCFGPrinter<ResourceValueFrame, ResourceValueAnalysis<Stream>>(cfg,dataflow,dataflow.getAnalysis()); cfgPrinter.print(System.out); }
public void inspectResult(JavaClass javaClass, MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Stream>> dataflow, Stream stream) { if (PRINT_CFG) { System.out.println("CFG for " + SignatureConverter.convertMethodSignature(methodGen) + ", stream " + stream); DataflowCFGPrinter<ResourceValueFrame, ResourceValueAnalysis<Stream>> cfgPrinter = new DataflowCFGPrinter<ResourceValueFrame, ResourceValueAnalysis<Stream>>(cfg,dataflow,dataflow.getAnalysis()); cfgPrinter.print(System.out); } ResourceValueFrame exitFrame = dataflow.getResultFact(cfg.getExit()); if (DEBUG) System.out.println("Outcome of stream " + stream + ": " + exitFrame); int exitStatus = exitFrame.getStatus(); if (!exitFrame.isEscaped() && (exitStatus == ResourceValueFrame.OPEN || exitStatus == ResourceValueFrame.OPEN_ON_EXCEPTION_PATH)) { // FIXME: Stream object should be queried for the // priority. String bugType = stream.getBugType(); int priority = NORMAL_PRIORITY; if (exitStatus == ResourceValueFrame.OPEN_ON_EXCEPTION_PATH) { bugType += "_EXCEPTION_PATH"; priority = LOW_PRIORITY; } potentialOpenStreamList.add(new PotentialOpenStream(bugType, priority, stream)); } else if (exitStatus == ResourceValueFrame.CLOSED) { // Remember that this stream was closed on all paths. // Later, we will mark all of the streams in its equivalence class // as having been closed. stream.setClosed(); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/9167c494032b6aa2ba7c6e0733c97fc71c3bddde/FindOpenStream.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindOpenStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5334, 1253, 12, 5852, 797, 2252, 797, 16, 2985, 7642, 707, 7642, 16, 7577, 2776, 16, 202, 202, 751, 2426, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1228, 9778, 501, 2426, 16, 3961, 1407, 13, 288, 202, 202, 430, 261, 19350, 67, 19727, 13, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 19727, 364, 315, 397, 9249, 5072, 18, 6283, 1305, 5374, 12, 2039, 7642, 13, 397, 9506, 202, 3113, 1407, 315, 397, 1407, 1769, 1082, 202, 751, 2426, 19727, 12149, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1228, 9778, 2776, 12149, 273, 4697, 202, 2704, 1910, 2426, 19727, 12149, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1228, 9778, 12, 7066, 16, 892, 2426, 16, 892, 2426, 18, 588, 9418, 10663, 9506, 202, 7066, 12149, 18, 1188, 12, 3163, 18, 659, 1769, 202, 202, 97, 202, 202, 1420, 620, 3219, 2427, 3219, 273, 501, 2426, 18, 588, 1253, 9766, 12, 7066, 18, 588, 6767, 10663, 202, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 2932, 19758, 434, 1407, 315, 397, 1407, 397, 6398, 315, 397, 2427, 3219, 1769, 202, 202, 474, 2427, 1482, 273, 2427, 3219, 18, 588, 1482, 5621, 202, 202, 430, 16051, 8593, 3219, 18, 291, 17208, 1435, 597, 1082, 202, 12, 8593, 1482, 422, 2591, 620, 3219, 18, 11437, 747, 9506, 2427, 1482, 422, 2591, 620, 3219, 18, 11437, 67, 673, 67, 12658, 67, 4211, 3719, 288, 1082, 202, 759, 9852, 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, 5334, 1253, 12, 5852, 797, 2252, 797, 16, 2985, 7642, 707, 7642, 16, 7577, 2776, 16, 202, 202, 751, 2426, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1228, 9778, 501, 2426, 16, 3961, 1407, 13, 288, 202, 202, 430, 261, 19350, 67, 19727, 13, 288, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 19727, 364, 315, 397, 9249, 5072, 18, 6283, 1305, 5374, 12, 2039, 7642, 13, 397, 9506, 202, 3113, 1407, 315, 397, 1407, 1769, 1082, 202, 751, 2426, 19727, 12149, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1228, 9778, 2776, 12149, 273, 4697, 202, 2704, 1910, 2426, 19727, 12149, 32, 1420, 620, 3219, 16, 2591, 620, 9418, 32, 1228, 2 ]
newAc = change(newAc, ax1, ay1, ax2, ay2, b1, b2, b3, b4, b11, b12, b21, b22);
newAc = (AtomContainer)ac.clone(); change(newAc, x1, y1, x2, y2, b11, b12, b21, b22);
public Vector sample(AtomContainer ac) { if(debug) System.out.println("RandomGenerator->mutate() Start"); Vector structures = new Vector(); ConnectivityChecker conCheck = new ConnectivityChecker(); int nrOfAtoms = ac.getAtomCount(); double a11 = 0, a12 = 0, a22 = 0, a21 = 0; double b11 = 0, lowerborder = 0, upperborder = 0; double b12 = 0; double b21 = 0; double b22 = 0; double[] cmax = new double[4]; double[] cmin = new double[4]; AtomContainer newAc = (AtomContainer)ac.clone(); Atom ax1 = null, ax2 = null, ay1 = null, ay2 = null; Bond b1 = null, b2 = null, b3 = null, b4 = null; int[] choices = new int[3]; int choiceCounter = 0; /* We need at least two non-zero bonds in order to be successful */ int nonZeroBondsCounter = 0; boolean changed = false; for (int x1 = 0; x1 < nrOfAtoms; x1++) { for (int x2 = x1 + 1; x2 < nrOfAtoms; x2++) { for (int y1 = x2 + 1; y1 < nrOfAtoms; y1++) { for (int y2 = y1 + 1; y2 < nrOfAtoms; y2++) { if (changed) newAc = (AtomContainer)ac.clone(); nonZeroBondsCounter = 0; ax1 = newAc.getAtomAt(x1); ay1 = newAc.getAtomAt(y1); ax2 = newAc.getAtomAt(x2); ay2 = newAc.getAtomAt(y2); /* Get four bonds for these four atoms */ b1 = newAc.getBond(ax1, ay1); if (b1 != null) { a11 = b1.getOrder(); nonZeroBondsCounter ++; } else { a11 = 0; } b2 = newAc.getBond(ax1, ay2); if (b2 != null) { a12 = b2.getOrder(); nonZeroBondsCounter ++; } else { a12 = 0; } b3 = newAc.getBond(ax2, ay1); if (b3 != null) { a21 = b3.getOrder(); nonZeroBondsCounter ++; } else { a21 = 0; } b4 = newAc.getBond(ax2, ay2); if (b4 != null) { a22 = b4.getOrder(); nonZeroBondsCounter ++; } else { a22 = 0; } if (nonZeroBondsCounter > 1) { /* Compute the range for b11 (see Faulons formulae for details) */ cmax[0] = 0; cmax[1] = a11 - a22; cmax[2] = a11 + a12 - 3; cmax[3] = a11 + a21 - 3; cmin[0] = 3; cmin[1] = a11 + a12; cmin[2] = a11 + a21; cmin[3] = a11 - a22 + 3; lowerborder = max(cmax); upperborder = min(cmin); for (b11 = lowerborder; b11 <= upperborder; b11++) { if (b11 != a11) { b12 = a11 + a12 - b11; b21 = a11 + a21 - b11; b22 = a22 - a11 + b11; System.out.println("Trying atom combination : " + x1 + ":" + x2 + ":"+ y1 + ":"+ y2); changed = true; newAc = change(newAc, ax1, ay1, ax2, ay2, b1, b2, b3, b4, b11, b12, b21, b22); if (conCheck.isConnected(newAc)) { structures.add(newAc); } else { System.out.println("not connected"); } } } } } } } } return structures; }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/631caf14c9acaece79b2dc7125879f32f52d34af/VicinitySampler.java/clean/org/openscience/cdk/structgen/VicinitySampler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5589, 3296, 12, 3641, 2170, 1721, 13, 202, 95, 202, 202, 430, 12, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 8529, 3908, 2122, 10735, 340, 1435, 3603, 8863, 202, 202, 5018, 12597, 273, 394, 5589, 5621, 202, 202, 5215, 2818, 8847, 356, 1564, 273, 394, 8289, 2818, 8847, 5621, 202, 202, 474, 9884, 951, 14280, 273, 1721, 18, 588, 3641, 1380, 5621, 202, 202, 9056, 279, 2499, 273, 374, 16, 279, 2138, 273, 374, 16, 279, 3787, 273, 374, 16, 279, 5340, 273, 374, 31, 202, 202, 9056, 324, 2499, 273, 374, 16, 2612, 8815, 273, 374, 16, 3854, 8815, 273, 374, 31, 202, 202, 9056, 324, 2138, 273, 374, 31, 3196, 202, 9056, 324, 5340, 273, 374, 31, 3196, 202, 9056, 324, 3787, 273, 374, 31, 202, 202, 9056, 8526, 276, 1896, 273, 394, 1645, 63, 24, 15533, 3196, 202, 9056, 8526, 276, 1154, 273, 394, 1645, 63, 24, 15533, 202, 202, 3641, 2170, 394, 9988, 273, 261, 3641, 2170, 13, 1077, 18, 14056, 5621, 202, 202, 3641, 1740, 21, 273, 446, 16, 1740, 22, 273, 446, 16, 26179, 21, 273, 446, 16, 26179, 22, 225, 273, 446, 31, 202, 202, 9807, 324, 21, 273, 446, 16, 324, 22, 273, 446, 16, 324, 23, 273, 446, 16, 324, 24, 273, 446, 31, 202, 202, 474, 8526, 7246, 273, 394, 509, 63, 23, 15533, 202, 202, 474, 6023, 4789, 225, 273, 374, 31, 202, 202, 20308, 1660, 1608, 622, 4520, 2795, 1661, 17, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5589, 3296, 12, 3641, 2170, 1721, 13, 202, 95, 202, 202, 430, 12, 4148, 13, 2332, 18, 659, 18, 8222, 2932, 8529, 3908, 2122, 10735, 340, 1435, 3603, 8863, 202, 202, 5018, 12597, 273, 394, 5589, 5621, 202, 202, 5215, 2818, 8847, 356, 1564, 273, 394, 8289, 2818, 8847, 5621, 202, 202, 474, 9884, 951, 14280, 273, 1721, 18, 588, 3641, 1380, 5621, 202, 202, 9056, 279, 2499, 273, 374, 16, 279, 2138, 273, 374, 16, 279, 3787, 273, 374, 16, 279, 5340, 273, 374, 31, 202, 202, 9056, 324, 2499, 273, 374, 16, 2612, 8815, 273, 374, 16, 3854, 8815, 273, 374, 31, 202, 202, 9056, 324, 2138, 273, 374, 31, 3196, 202, 9056, 324, 2 ]
if(this.m_hMgr == 0)
if (this.manager == 0) {
private Service() throws Win32Exception { this.m_hMgr = OpenSCManager("", SC_MANAGER_ALL_ACCESS); if(this.m_hMgr == 0) Service.throwLastErrorException(); }
45234 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45234/084300bce2472c57310fe2c37a742ed3759aafd5/Service.java/clean/bindings/java/src/net/hyperic/sigar/win32/Service.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1956, 1435, 1216, 21628, 1578, 503, 565, 288, 3639, 333, 18, 81, 67, 76, 9455, 273, 3502, 2312, 1318, 2932, 3113, 8795, 67, 19402, 67, 4685, 67, 13204, 1769, 7734, 309, 261, 2211, 18, 4181, 422, 374, 13, 288, 5411, 1956, 18, 12849, 3024, 10009, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1956, 1435, 1216, 21628, 1578, 503, 565, 288, 3639, 333, 18, 81, 67, 76, 9455, 273, 3502, 2312, 1318, 2932, 3113, 8795, 67, 19402, 67, 4685, 67, 13204, 1769, 7734, 309, 261, 2211, 18, 4181, 422, 374, 13, 288, 5411, 1956, 18, 12849, 3024, 10009, 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 ]
String initial_lineage = Matrix.getProperty("parameter.initialselection"); if (initial_lineage.length() > 0) { String[] init_info = initial_lineage.split("~"); String[] init_assetIds = init_info[0].split("\\|"); String[] init_sort_orders = init_info[1].split("\\|"); Iterator trees = MatrixTreeBus.getTrees(); while (trees.hasNext()) { MatrixTree tree = (MatrixTree) trees.next(); tree.loadChildAssets(init_assetIds, init_sort_orders, true, false);
try { String initial_lineage = Matrix.getProperty("parameter.initialselection"); if (initial_lineage.length() > 0) { String[] init_info = initial_lineage.split("~"); String[] init_assetIds = init_info[0].split("\\|"); String[] init_sort_orders = init_info[1].split("\\|"); Iterator trees = MatrixTreeBus.getTrees(); while (trees.hasNext()) { MatrixTree tree = (MatrixTree) trees.next(); tree.loadChildAssets(init_assetIds, init_sort_orders, true, false); }
public void finished() { Object get = get(); // success if (get instanceof MatrixTreeNode) { // Check if root folder asset is the actual root node for this user // if not use the specified asset as the root node String newRoot = Matrix.getProperty("parameter.rootlineage"); MatrixTreeModelBus.setRoot((MatrixTreeNode) get()); if (newRoot.length() > 0) { // root folder asset is not the root node String[] info = newRoot.split("~"); String[] assetIds = info[0].split("\\|"); String[] sort_orders = info[1].split("\\|"); // update tree root nodes Iterator trees = MatrixTreeBus.getTrees(); while (trees.hasNext()) { MatrixTree tree = (MatrixTree) trees.next(); // collapse the current root so we dont see its kids while switching root nodes tree.collapsePath(tree.getPathToRoot((MatrixTreeNode)tree.getModel().getRoot())); // find the specified asset/link and switch root node tree.loadChildAssets(assetIds, sort_orders, false, true); } } // if we have an initial lineage selected (i.e. from /_admin) then expand the tree String initial_lineage = Matrix.getProperty("parameter.initialselection"); if (initial_lineage.length() > 0) { String[] init_info = initial_lineage.split("~"); String[] init_assetIds = init_info[0].split("\\|"); String[] init_sort_orders = init_info[1].split("\\|"); Iterator trees = MatrixTreeBus.getTrees(); while (trees.hasNext()) { MatrixTree tree = (MatrixTree) trees.next(); tree.loadChildAssets(init_assetIds, init_sort_orders, true, false); } } MatrixStatusBar.setStatusAndClear(Matrix.translate("asset_map_status_bar_success"), 1000); // error } else if (get instanceof IOException) { IOException ioe = (IOException) get; GUIUtilities.error( AssetMap.this, ioe.getMessage(), Matrix.translate("asset_map_dialog_title_init_failed")); MatrixStatusBar.setStatusAndClear(Matrix.translate("asset_map_status_bar_init_failed"), 1000); Log.log("Could not initialise the asset map", AssetMap.class, ioe); } }
7783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7783/73ab94c7eaa320e217bf06375aa1e5bd98a7b95f/AssetMap.java/buggy/core/lib/asset_map/java/src/net/squiz/matrix/assetmap/AssetMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 6708, 1435, 288, 9506, 202, 921, 336, 273, 336, 5621, 9506, 202, 759, 2216, 9506, 202, 430, 261, 588, 1276, 7298, 12513, 13, 288, 6862, 202, 759, 2073, 309, 1365, 3009, 3310, 353, 326, 3214, 1365, 756, 364, 333, 729, 6862, 202, 759, 309, 486, 999, 326, 1269, 3310, 487, 326, 1365, 756, 6862, 202, 780, 394, 2375, 273, 7298, 18, 588, 1396, 2932, 6775, 18, 3085, 1369, 410, 8863, 6862, 202, 4635, 2471, 1488, 7086, 18, 542, 2375, 12443, 4635, 12513, 13, 336, 10663, 6862, 202, 430, 261, 2704, 2375, 18, 2469, 1435, 405, 374, 13, 288, 25083, 202, 759, 1365, 3009, 3310, 353, 486, 326, 1365, 756, 25083, 202, 780, 8526, 1123, 273, 394, 2375, 18, 4939, 2932, 98, 8863, 25083, 202, 780, 8526, 3310, 2673, 273, 1123, 63, 20, 8009, 4939, 2932, 1695, 96, 8863, 25083, 202, 780, 8526, 1524, 67, 9972, 273, 1123, 63, 21, 8009, 4939, 2932, 1695, 96, 8863, 25083, 202, 759, 1089, 2151, 1365, 2199, 25083, 202, 3198, 11491, 273, 7298, 2471, 7086, 18, 588, 26590, 5621, 25083, 202, 17523, 261, 17204, 18, 5332, 2134, 10756, 288, 6862, 1082, 202, 4635, 2471, 2151, 273, 261, 4635, 2471, 13, 11491, 18, 4285, 5621, 6862, 1082, 202, 759, 13627, 326, 783, 1365, 1427, 732, 14046, 2621, 2097, 417, 2232, 1323, 30882, 1365, 2199, 6862, 1082, 202, 3413, 18, 21405, 743, 12, 3413, 18, 588, 743, 774, 2375, 12443, 4635, 12513, 13, 3413, 18, 588, 1488, 7675, 588, 2375, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 6708, 1435, 288, 9506, 202, 921, 336, 273, 336, 5621, 9506, 202, 759, 2216, 9506, 202, 430, 261, 588, 1276, 7298, 12513, 13, 288, 6862, 202, 759, 2073, 309, 1365, 3009, 3310, 353, 326, 3214, 1365, 756, 364, 333, 729, 6862, 202, 759, 309, 486, 999, 326, 1269, 3310, 487, 326, 1365, 756, 6862, 202, 780, 394, 2375, 273, 7298, 18, 588, 1396, 2932, 6775, 18, 3085, 1369, 410, 8863, 6862, 202, 4635, 2471, 1488, 7086, 18, 542, 2375, 12443, 4635, 12513, 13, 336, 10663, 6862, 202, 430, 261, 2704, 2375, 18, 2469, 1435, 405, 374, 13, 288, 25083, 202, 759, 1365, 3009, 3310, 353, 486, 326, 1365, 756, 25083, 202, 780, 8526, 1123, 273, 2 ]
else
else
public Document parse( String text, String textType ) { // Handle null case if ( text == null || text.length( ) == 0 ) return null; //If the type is null or auto, resets the text type based on the content prefix if ( null == textType || TEXT_TYPE_AUTO.equalsIgnoreCase( textType ) ) { int index = 0; int len = text.length( ); // remove white spaces while ( index < len && Character.isWhitespace( text.charAt( index ) ) ) { index++; } // Checks if the first six characters are "<html>" if ( ( len - index ) >= 6 && text.substring( index, index + 6 ).equalsIgnoreCase(HTML_PREFIX ) ) textType = TEXT_TYPE_HTML; else if ( ( len - index ) >= 4 && text.substring( index, index + 4 ).equalsIgnoreCase(RTF_PREFIX ) ) textType = TEXT_TYPE_RTF; else textType = TEXT_TYPE_PLAIN; // Assume plain text in any other cases } if ( TEXT_TYPE_HTML.equalsIgnoreCase( textType ) ) { try { //Convert input string to an input stream because JTidy accepts a stream only return new HTMLTextParser( ).parseHTML( new ByteArrayInputStream(text.getBytes( "UTF-8" ) ) ); } catch ( UnsupportedEncodingException e ) { logger.error( e ); return null; } } else if ( TEXT_TYPE_RTF.equalsIgnoreCase( textType ) ) { assert false; // Not supported yet return null; } else { if ( !TEXT_TYPE_PLAIN.equalsIgnoreCase( textType ) ) logger.warn( "Invalid text type. The content is treated as plain text." ); return new PlainTextParser( ).parsePlainText( text ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/3797dac7d94fa35f3ec480c611939404776c182d/TextParser.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/TextParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4319, 1109, 12, 514, 977, 16, 514, 977, 559, 262, 202, 95, 202, 202, 759, 5004, 446, 648, 202, 202, 430, 261, 977, 422, 446, 747, 977, 18, 2469, 12, 262, 422, 374, 262, 1082, 202, 2463, 446, 31, 9506, 202, 759, 2047, 326, 618, 353, 446, 578, 3656, 16, 20063, 326, 977, 618, 2511, 603, 326, 913, 1633, 202, 202, 430, 261, 446, 422, 977, 559, 747, 9204, 67, 2399, 67, 18909, 18, 14963, 5556, 12, 977, 559, 262, 262, 202, 202, 95, 1082, 202, 474, 770, 273, 374, 31, 1082, 202, 474, 562, 273, 977, 18, 2469, 12, 11272, 25083, 202, 759, 1206, 9578, 7292, 1082, 202, 17523, 261, 770, 411, 562, 597, 6577, 18, 291, 9431, 12, 977, 18, 3001, 861, 12, 770, 262, 262, 262, 1082, 202, 95, 9506, 202, 1615, 9904, 31, 1082, 202, 97, 25083, 202, 759, 13074, 309, 326, 1122, 5050, 3949, 854, 3532, 2620, 2984, 1082, 202, 430, 261, 261, 562, 300, 770, 262, 1545, 1666, 597, 977, 18, 28023, 12, 770, 16, 770, 397, 1666, 262, 18, 14963, 5556, 12, 4870, 67, 6307, 262, 262, 9506, 202, 955, 559, 273, 9204, 67, 2399, 67, 4870, 31, 1082, 202, 12107, 309, 261, 261, 562, 300, 770, 262, 1545, 1059, 597, 977, 18, 28023, 12, 770, 16, 770, 397, 1059, 262, 18, 14963, 5556, 12, 12185, 42, 67, 6307, 262, 262, 9506, 202, 955, 559, 273, 9204, 67, 2399, 67, 12185, 42, 31, 1082, 202, 12107, 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, 482, 4319, 1109, 12, 514, 977, 16, 514, 977, 559, 262, 202, 95, 202, 202, 759, 5004, 446, 648, 202, 202, 430, 261, 977, 422, 446, 747, 977, 18, 2469, 12, 262, 422, 374, 262, 1082, 202, 2463, 446, 31, 9506, 202, 759, 2047, 326, 618, 353, 446, 578, 3656, 16, 20063, 326, 977, 618, 2511, 603, 326, 913, 1633, 202, 202, 430, 261, 446, 422, 977, 559, 747, 9204, 67, 2399, 67, 18909, 18, 14963, 5556, 12, 977, 559, 262, 262, 202, 202, 95, 1082, 202, 474, 770, 273, 374, 31, 1082, 202, 474, 562, 273, 977, 18, 2469, 12, 11272, 25083, 202, 759, 1206, 9578, 7292, 1082, 202, 17523, 261, 770, 411, 562, 597, 6577, 2 ]
public org.quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { org.quickfix.field.MaturityDate value = new org.quickfix.field.MaturityDate();
public quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { quickfix.field.MaturityDate value = new quickfix.field.MaturityDate();
public org.quickfix.field.MaturityDate getMaturityDate() throws FieldNotFound { org.quickfix.field.MaturityDate value = new org.quickfix.field.MaturityDate(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralInquiry.java/buggy/src/java/src/quickfix/fix44/CollateralInquiry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 2108, 270, 2336, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 2108, 270, 2336, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 15947, 2336, 1626, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Utilities.invokeAndWait(new Runnable() { public void run() { _frame.hourglassOn(); } });
public void run() { pane.setCaretPosition(newPos); doc.getUndoManager().redo(); }
Utilities.invokeAndWait(new Runnable() { public void run() { _frame.hourglassOn(); } });
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/fa54651cc7ac0d03884ebcafd7e8520df74651a1/MainFrameTest.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrameTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 26703, 18, 14407, 1876, 5480, 12, 2704, 10254, 1435, 288, 1071, 918, 1086, 1435, 288, 389, 3789, 18, 12091, 75, 459, 1398, 5621, 289, 15549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 26703, 18, 14407, 1876, 5480, 12, 2704, 10254, 1435, 288, 1071, 918, 1086, 1435, 288, 389, 3789, 18, 12091, 75, 459, 1398, 5621, 289, 15549, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
logger.debug(
if (debug) logger.debug(
public void startElement(CMLStack xpath, String uri, String local, String raw, Attributes atts) { String name = local; logger.debug("StartElement"); currentChars = ""; BUILTIN = ""; DICTREF = ""; for (int i=0; i<atts.getLength(); i++) { String qname = atts.getQName(i); if (qname.equals("builtin")) { BUILTIN = atts.getValue(i); logger.debug(name + "->BUILTIN found: " + atts.getValue(i)); } else if (qname.equals("dictRef")) { DICTREF = atts.getValue(i); logger.debug(name + "->DICTREF found: " + atts.getValue(i)); } else if (qname.equals("title")) { elementTitle = atts.getValue(i); logger.debug(name + "->TITLE found: " + atts.getValue(i)); } else { logger.debug("Qname: " + qname); } } if ("atom".equals(name)) { atomCounter++; for (int i = 0; i < atts.getLength(); i++) { String att = atts.getQName(i); String value = atts.getValue(i); if (att.equals("id")) { // this is supported in CML 1.x elid.addElement(value); } // this is supported in CML 2.0 else if (att.equals("elementType")) { elsym.addElement(value); } // this is supported in CML 2.0 else if (att.equals("title")) { eltitles.addElement(value); } // this is supported in CML 2.0 else if (att.equals("x2")) { x2.addElement(value); } // this is supported in CML 2.0 else if (att.equals("xy2")) { StringTokenizer tokenizer = new StringTokenizer(value); x2.addElement(tokenizer.nextToken()); y2.addElement(tokenizer.nextToken()); } // this is supported in CML 2.0 else if (att.equals("xyzFract")) { StringTokenizer tokenizer = new StringTokenizer(value); xfract.addElement(tokenizer.nextToken()); yfract.addElement(tokenizer.nextToken()); zfract.addElement(tokenizer.nextToken()); } // this is supported in CML 2.0 else if (att.equals("xyz3")) { StringTokenizer tokenizer = new StringTokenizer(value); x3.addElement(tokenizer.nextToken()); y3.addElement(tokenizer.nextToken()); z3.addElement(tokenizer.nextToken()); } // this is supported in CML 2.0 else if (att.equals("y2")) { y2.addElement(value); } // this is supported in CML 2.0 else if (att.equals("x3")) { x3.addElement(value); } // this is supported in CML 2.0 else if (att.equals("y3")) { y3.addElement(value); } // this is supported in CML 2.0 else if (att.equals("z3")) { z3.addElement(value); } // this is supported in CML 2.0 else if (att.equals("xFract")) { xfract.addElement(value); } // this is supported in CML 2.0 else if (att.equals("yFract")) { yfract.addElement(value); } // this is supported in CML 2.0 else if (att.equals("zFract")) { zfract.addElement(value); } // this is supported in CML 2.0 else if (att.equals("formalCharge")) { formalCharges.addElement(value); } // this is supported in CML 2.0 else if (att.equals("hydrogenCount")) { hCounts.addElement(value); } else if (att.equals("isotope")) { isotope.addElement(value); } else if (att.equals("dictRef")) { atomDictRefs.addElement(value); } else { logger.warn("Unparsed attribute: " + att); } } } else if ("atomArray".equals(name)) { boolean atomsCounted = false; for (int i = 0; i < atts.getLength(); i++) { String att = atts.getQName(i); int count = 0; if (att.equals("atomID")) { count = addArrayElementsTo(elid, atts.getValue(i)); } else if (att.equals("elementType")) { count = addArrayElementsTo(elsym, atts.getValue(i)); } else if (att.equals("x2")) { count = addArrayElementsTo(x2, atts.getValue(i)); } else if (att.equals("y2")) { count = addArrayElementsTo(y2, atts.getValue(i)); } else if (att.equals("x3")) { count = addArrayElementsTo(x3, atts.getValue(i)); } else if (att.equals("y3")) { count = addArrayElementsTo(y3, atts.getValue(i)); } else if (att.equals("z3")) { count = addArrayElementsTo(z3, atts.getValue(i)); } else { logger.warn("Unparsed attribute: " + att); } if (!atomsCounted) { atomCounter += count; atomsCounted = true; } } } else if ("bond".equals(name)) { bondCounter++; for (int i = 0; i < atts.getLength(); i++) { String att = atts.getQName(i); logger.debug( "B2 " + att + "=" + atts.getValue(i)); if (att.equals("id")) { bondid.addElement(atts.getValue(i)); logger.debug("B3 " + bondid); } else if (att.equals("atomRefs") || // this is CML 1.x support att.equals("atomRefs2")) { // this is CML 2.0 support // expect exactly two references try { StringTokenizer st = new StringTokenizer(atts.getValue( i)); bondARef1.addElement((String)st.nextElement()); bondARef2.addElement((String)st.nextElement()); } catch (Exception e) { logger.error("Error in CML file: " + e.toString()); } } else if (att.equals("order")) { // this is CML 2.0 support order.addElement(atts.getValue(i).trim()); } else if (att.equals("dictRef")) { bondDictRefs.addElement(atts.getValue(i).trim()); } } stereoGiven = false; curRef = 0; } else if ("bondArray".equals(name)) { boolean bondsCounted = false; for (int i = 0; i < atts.getLength(); i++) { String att = atts.getQName(i); int count = 0; if (att.equals("bondID")) { count = addArrayElementsTo(bondid, atts.getValue(i)); } else if (att.equals("atomRefs1")) { count = addArrayElementsTo(bondARef1, atts.getValue(i)); } else if (att.equals("atomRefs2")) { count = addArrayElementsTo(bondARef2, atts.getValue(i)); } else if (att.equals("atomRef1")) { count = addArrayElementsTo(bondARef1, atts.getValue(i)); } else if (att.equals("atomRef2")) { count = addArrayElementsTo(bondARef2, atts.getValue(i)); } else if (att.equals("order")) { count = addArrayElementsTo(order, atts.getValue(i)); } else { logger.warn("Unparsed attribute: " + att); } if (!bondsCounted) { bondCounter += count; bondsCounted = true; } } curRef = 0; } else if ("molecule".equals(name)) { newMolecule(); BUILTIN = ""; cdo.startObject("Molecule"); } else if ("crystal".equals(name)) { newCrystalData(); cdo.startObject("Crystal"); for (int i = 0; i < atts.getLength(); i++) { String att = atts.getQName(i); if (att.equals("z")) { cdo.setObjectProperty("Crystal", "z", atts.getValue(i)); } } } else if ("symmetry".equals(name)) { for (int i = 0; i < atts.getLength(); i++) { String att = atts.getQName(i); if (att.equals("spaceGroup")) { cdo.setObjectProperty("Crystal", "spacegroup", atts.getValue(i)); } } } else if ("scalar".equals(name)) { if (xpath.toString().endsWith("crystal/scalar/")) crystalScalar++; } else if ("list".equals(name)) { cdo.startObject("SetOfMolecules"); } }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/85b1def8500569c307eef07a73f9886549ea9364/CMLCoreModule.java/buggy/src/org/openscience/cdk/io/cml/CMLCoreModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 39, 1495, 2624, 6748, 16, 514, 2003, 16, 514, 1191, 16, 514, 1831, 16, 1171, 9079, 9055, 15687, 13, 288, 3639, 514, 508, 273, 1191, 31, 3639, 1194, 18, 4148, 2932, 1685, 1046, 8863, 3639, 783, 7803, 273, 1408, 31, 7734, 10937, 2627, 56, 706, 273, 1408, 31, 3639, 3690, 1268, 10771, 273, 1408, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 270, 3428, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 514, 12621, 273, 15687, 18, 588, 13688, 12, 77, 1769, 5411, 309, 261, 85, 529, 18, 14963, 2932, 24553, 6, 3719, 288, 7734, 10937, 2627, 56, 706, 273, 15687, 18, 24805, 12, 77, 1769, 7734, 1194, 18, 4148, 12, 529, 397, 315, 2122, 3000, 2627, 56, 706, 1392, 30, 315, 397, 15687, 18, 24805, 12, 77, 10019, 5411, 289, 469, 309, 261, 85, 529, 18, 14963, 2932, 1576, 1957, 6, 3719, 288, 7734, 3690, 1268, 10771, 273, 15687, 18, 24805, 12, 77, 1769, 7734, 1194, 18, 4148, 12, 529, 397, 315, 2122, 31456, 10771, 1392, 30, 315, 397, 15687, 18, 24805, 12, 77, 10019, 5411, 289, 469, 309, 261, 85, 529, 18, 14963, 2932, 2649, 6, 3719, 288, 7734, 930, 4247, 273, 15687, 18, 24805, 12, 77, 1769, 7734, 1194, 18, 4148, 12, 529, 397, 315, 2122, 14123, 1392, 30, 315, 397, 15687, 18, 24805, 12, 77, 10019, 5411, 289, 469, 288, 7734, 1194, 18, 4148, 2932, 53, 529, 30, 315, 397, 12621, 1769, 5411, 289, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 39, 1495, 2624, 6748, 16, 514, 2003, 16, 514, 1191, 16, 514, 1831, 16, 1171, 9079, 9055, 15687, 13, 288, 3639, 514, 508, 273, 1191, 31, 3639, 1194, 18, 4148, 2932, 1685, 1046, 8863, 3639, 783, 7803, 273, 1408, 31, 7734, 10937, 2627, 56, 706, 273, 1408, 31, 3639, 3690, 1268, 10771, 273, 1408, 31, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 270, 3428, 18, 588, 1782, 5621, 277, 27245, 288, 5411, 514, 12621, 273, 15687, 18, 588, 13688, 12, 77, 1769, 5411, 309, 261, 85, 529, 18, 14963, 2932, 24553, 6, 3719, 288, 7734, 10937, 2627, 56, 706, 273, 15687, 18, 24805, 12, 77, 1769, 7734, 1194, 18, 4148, 12, 2 ]
String[] localNames = { "abs", "exp", "max", "min", "round", "pow" };
String[] localNames = { "acos", "asin", "abs", "exp", "max", "min", "round", "pow", "log" };
public static Scriptable init(Scriptable scope) throws PropertyException { NativeMath m = new NativeMath(); m.setPrototype(getObjectPrototype(scope)); m.setParentScope(scope); String[] names = { "acos", "asin", "atan", "atan2", "ceil", "cos", "floor", "log", "random", "sin", "sqrt", "tan" }; m.defineFunctionProperties(names, java.lang.Math.class, ScriptableObject.DONTENUM); // These functions exist in java.lang.Math, but // are overloaded. Define our own wrappers. String[] localNames = { "abs", "exp", "max", "min", "round", "pow" }; m.defineFunctionProperties(localNames, NativeMath.class, ScriptableObject.DONTENUM); final int attr = ScriptableObject.DONTENUM | ScriptableObject.PERMANENT | ScriptableObject.READONLY; m.defineProperty("E", new Double(Math.E), attr); m.defineProperty("PI", new Double(Math.PI), attr); m.defineProperty("LN10", new Double(2.302585092994046), attr); m.defineProperty("LN2", new Double(0.6931471805599453), attr); m.defineProperty("LOG2E", new Double(1.4426950408889634), attr); m.defineProperty("LOG10E", new Double(0.4342944819032518), attr); m.defineProperty("SQRT1_2", new Double(0.7071067811865476), attr); m.defineProperty("SQRT2", new Double(1.4142135623730951), attr); // We know that scope is a Scriptable object since we // constrained the type on initStandardObjects. ScriptableObject global = (ScriptableObject) scope; global.defineProperty("Math", m, ScriptableObject.DONTENUM); return m; }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/7a7398396ff93d808cac4958985c2fdd82d34fe1/NativeMath.java/clean/js/rhino/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22780, 1208, 12, 3651, 429, 2146, 13, 3639, 1216, 4276, 503, 565, 288, 3639, 16717, 10477, 312, 273, 394, 16717, 10477, 5621, 3639, 312, 18, 542, 15846, 12, 588, 921, 15846, 12, 4887, 10019, 3639, 312, 18, 542, 3054, 3876, 12, 4887, 1769, 3639, 514, 8526, 1257, 273, 288, 315, 1077, 538, 3113, 315, 345, 267, 3113, 315, 270, 304, 3113, 315, 270, 304, 22, 3113, 315, 311, 330, 3113, 21821, 315, 14445, 3113, 315, 74, 5807, 3113, 315, 1330, 3113, 315, 9188, 3113, 21821, 315, 21861, 3113, 315, 24492, 3113, 315, 88, 304, 6, 289, 31, 3639, 312, 18, 11255, 2083, 2297, 12, 1973, 16, 2252, 18, 4936, 18, 10477, 18, 1106, 16, 4766, 282, 22780, 921, 18, 40, 10079, 16509, 1769, 3639, 368, 8646, 4186, 1005, 316, 2252, 18, 4936, 18, 10477, 16, 1496, 3639, 368, 854, 1879, 4230, 18, 13184, 3134, 4953, 21589, 18, 3639, 514, 8526, 1191, 1557, 273, 288, 315, 1077, 538, 3113, 315, 345, 267, 3113, 315, 5113, 3113, 315, 2749, 3113, 315, 1896, 3113, 315, 1154, 3113, 315, 2260, 3113, 315, 23509, 3113, 315, 1330, 6, 289, 31, 3639, 312, 18, 11255, 2083, 2297, 12, 3729, 1557, 16, 16717, 10477, 18, 1106, 16, 4766, 282, 22780, 921, 18, 40, 10079, 16509, 1769, 3639, 727, 509, 1604, 273, 22780, 921, 18, 40, 10079, 16509, 225, 571, 7682, 22780, 921, 18, 3194, 9560, 2222, 571, 7682, 22780, 921, 18, 6949, 10857, 31, 3639, 312, 18, 11255, 1396, 2932, 41, 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, 22780, 1208, 12, 3651, 429, 2146, 13, 3639, 1216, 4276, 503, 565, 288, 3639, 16717, 10477, 312, 273, 394, 16717, 10477, 5621, 3639, 312, 18, 542, 15846, 12, 588, 921, 15846, 12, 4887, 10019, 3639, 312, 18, 542, 3054, 3876, 12, 4887, 1769, 3639, 514, 8526, 1257, 273, 288, 315, 1077, 538, 3113, 315, 345, 267, 3113, 315, 270, 304, 3113, 315, 270, 304, 22, 3113, 315, 311, 330, 3113, 21821, 315, 14445, 3113, 315, 74, 5807, 3113, 315, 1330, 3113, 315, 9188, 3113, 21821, 315, 21861, 3113, 315, 24492, 3113, 315, 88, 304, 6, 289, 31, 3639, 312, 18, 11255, 2083, 2297, 12, 1973, 16, 2252, 18, 4936, 18, 10477, 18, 1106, 16, 4766, 282, 2 ]
if (!trgFile.exists() || this.overwrite || (srcFile.lastModified() > trgFile.lastModified())) { log("Encryption of " + trgFile.toString(), Project.MSG_VERBOSE); arg.setValue(dsfiles[i]); exec.execute();
if (!trgFile.exists() || this.overwrite || (srcFile.lastModified() > trgFile.lastModified())) { log("Encryption of " + trgFile.toString(), Project.MSG_VERBOSE); arg.setValue(dsfiles[i]); exec.execute(); }
public void execute() throws BuildException { if (this.destDir == null) { throw new BuildException("destDir not defined"); } log("PCTXCode - Progress Encryption Tool", Project.MSG_INFO); this.createDirectories(); this.createExecTask(); for (Iterator e = filesets.iterator(); e.hasNext();) { // Parse filesets FileSet fs = (FileSet) e.next(); exec.setDir(fs.getDir(this.getProject())); // And get files from fileset String[] dsfiles = fs.getDirectoryScanner(this.getProject()).getIncludedFiles(); for (int i = 0; i < dsfiles.length; i++) { File trgFile = new File(this.destDir, dsfiles[i]); File srcFile = new File(fs.getDir(this.getProject()), dsfiles[i]); if (!trgFile.exists() || this.overwrite || (srcFile.lastModified() > trgFile.lastModified())) { log("Encryption of " + trgFile.toString(), Project.MSG_VERBOSE); arg.setValue(dsfiles[i]); exec.execute(); } } } this.tmpLog.deleteOnExit(); }
47244 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47244/99d3cae0a1bc50023980852b85b3d15fd9b55857/PCTXCode.java/buggy/src/java/com/phenix/pct/PCTXCode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 2211, 18, 10488, 1621, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 10488, 1621, 486, 2553, 8863, 3639, 289, 3639, 613, 2932, 52, 1268, 60, 1085, 300, 10980, 14585, 13288, 3113, 5420, 18, 11210, 67, 5923, 1769, 3639, 333, 18, 2640, 13071, 5621, 3639, 333, 18, 2640, 1905, 2174, 5621, 3639, 364, 261, 3198, 425, 273, 1390, 2413, 18, 9838, 5621, 425, 18, 5332, 2134, 5621, 13, 288, 5411, 368, 2884, 1390, 2413, 5411, 1387, 694, 2662, 273, 261, 812, 694, 13, 425, 18, 4285, 5621, 5411, 1196, 18, 542, 1621, 12, 2556, 18, 588, 1621, 12, 2211, 18, 588, 4109, 1435, 10019, 5411, 368, 7835, 336, 1390, 628, 1390, 278, 5411, 514, 8526, 3780, 2354, 273, 2662, 18, 588, 2853, 11338, 12, 2211, 18, 588, 4109, 1435, 2934, 588, 19323, 2697, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3780, 2354, 18, 2469, 31, 277, 27245, 288, 7734, 1387, 27229, 812, 273, 394, 1387, 12, 2211, 18, 10488, 1621, 16, 3780, 2354, 63, 77, 19226, 7734, 1387, 24672, 273, 394, 1387, 12, 2556, 18, 588, 1621, 12, 2211, 18, 588, 4109, 1435, 3631, 3780, 2354, 63, 77, 19226, 7734, 309, 16051, 313, 75, 812, 18, 1808, 1435, 747, 333, 18, 19274, 747, 8227, 261, 4816, 812, 18, 2722, 4575, 1435, 405, 27229, 812, 18, 2722, 4575, 1435, 3719, 288, 10792, 613, 2932, 7894, 434, 315, 397, 27229, 812, 18, 10492, 9334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 309, 261, 2211, 18, 10488, 1621, 422, 446, 13, 288, 5411, 604, 394, 18463, 2932, 10488, 1621, 486, 2553, 8863, 3639, 289, 3639, 613, 2932, 52, 1268, 60, 1085, 300, 10980, 14585, 13288, 3113, 5420, 18, 11210, 67, 5923, 1769, 3639, 333, 18, 2640, 13071, 5621, 3639, 333, 18, 2640, 1905, 2174, 5621, 3639, 364, 261, 3198, 425, 273, 1390, 2413, 18, 9838, 5621, 425, 18, 5332, 2134, 5621, 13, 288, 5411, 368, 2884, 1390, 2413, 5411, 1387, 694, 2662, 273, 261, 812, 694, 13, 425, 18, 4285, 5621, 5411, 1196, 18, 542, 1621, 12, 2556, 18, 588, 1621, 12, 2211, 18, 588, 4109, 1435, 10019, 5411, 368, 7835, 336, 2 ]
currentResource = (IResource) resourceStack.removeFirst();
public void exitInclusion(IASTInclusion inclusion) { // TODO Auto-generated method stub }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/6fa5a87930361469316b7851a2b6e66eea81d0a3/MatchLocator.java/buggy/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2427, 382, 15335, 12, 45, 9053, 382, 15335, 26485, 13, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 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,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 382, 15335, 12, 45, 9053, 382, 15335, 26485, 13, 288, 202, 202, 759, 2660, 8064, 17, 11168, 707, 7168, 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 ]
final XFormsInstance defaultInstance = getDefaultInstance(); nodeset.add(defaultInstance.getInstanceDocumentInfo());
nodeset.add(getDefaultInstance().getInstanceRootElementInfo());
public List getBindNodeset(PipelineContext pipelineContext, ModelBind bind) { // Get a list of parents, ordered by grandfather first final List parents = new ArrayList(); { parents.add(bind); ModelBind parent = bind; while ((parent = parent.getParent()) != null) { parents.add(parent); } Collections.reverse(parents); } // Find the final node final List nodeset = new ArrayList(); final XFormsInstance defaultInstance = getDefaultInstance(); nodeset.add(defaultInstance.getInstanceDocumentInfo()); for (Iterator i = parents.iterator(); i.hasNext();) { final ModelBind current = (ModelBind) i.next(); final List currentModelBindResults = new ArrayList(); for (Iterator j = nodeset.iterator(); j.hasNext();) { final NodeInfo node = (NodeInfo) j.next(); // Execute XPath expresssion currentModelBindResults.addAll(containingDocument.getEvaluator().evaluate(pipelineContext, node, current.getNodeset(), current.getNamespaceMap(), null, xformsFunctionLibrary, current.getLocationData().getSystemID())); } nodeset.addAll(currentModelBindResults); // Last iteration of i: remove all except last if (!i.hasNext()) nodeset.retainAll(currentModelBindResults); } return nodeset; }
54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/60490f3d9c01bae4b10552a151ada1bb545e4e18/XFormsModel.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 17238, 3205, 278, 12, 8798, 1042, 5873, 1042, 16, 3164, 3357, 1993, 13, 288, 3639, 368, 968, 279, 666, 434, 6298, 16, 5901, 635, 16225, 74, 4806, 1122, 3639, 727, 987, 6298, 273, 394, 2407, 5621, 3639, 288, 5411, 6298, 18, 1289, 12, 4376, 1769, 5411, 3164, 3357, 982, 273, 1993, 31, 5411, 1323, 14015, 2938, 273, 982, 18, 588, 3054, 10756, 480, 446, 13, 288, 7734, 6298, 18, 1289, 12, 2938, 1769, 5411, 289, 5411, 5737, 18, 9845, 12, 12606, 1769, 3639, 289, 3639, 368, 4163, 326, 727, 756, 3639, 727, 987, 2199, 278, 273, 394, 2407, 5621, 3639, 727, 1139, 18529, 1442, 805, 1442, 273, 30564, 5621, 3639, 2199, 278, 18, 1289, 12, 1886, 1442, 18, 588, 1442, 2519, 966, 10663, 3639, 364, 261, 3198, 277, 273, 6298, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 727, 3164, 3357, 783, 273, 261, 1488, 3357, 13, 277, 18, 4285, 5621, 5411, 727, 987, 783, 1488, 3357, 3447, 273, 394, 2407, 5621, 5411, 364, 261, 3198, 525, 273, 2199, 278, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 13, 288, 7734, 727, 26971, 756, 273, 261, 25392, 13, 525, 18, 4285, 5621, 7734, 368, 7903, 10172, 16947, 87, 285, 7734, 783, 1488, 3357, 3447, 18, 1289, 1595, 12, 1213, 3280, 2519, 18, 588, 15876, 7675, 21024, 12, 14511, 1042, 16, 756, 16, 783, 18, 588, 3205, 278, 9334, 13491, 783, 18, 588, 3402, 863, 9334, 446, 16, 619, 9741, 2083, 9313, 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, 987, 17238, 3205, 278, 12, 8798, 1042, 5873, 1042, 16, 3164, 3357, 1993, 13, 288, 3639, 368, 968, 279, 666, 434, 6298, 16, 5901, 635, 16225, 74, 4806, 1122, 3639, 727, 987, 6298, 273, 394, 2407, 5621, 3639, 288, 5411, 6298, 18, 1289, 12, 4376, 1769, 5411, 3164, 3357, 982, 273, 1993, 31, 5411, 1323, 14015, 2938, 273, 982, 18, 588, 3054, 10756, 480, 446, 13, 288, 7734, 6298, 18, 1289, 12, 2938, 1769, 5411, 289, 5411, 5737, 18, 9845, 12, 12606, 1769, 3639, 289, 3639, 368, 4163, 326, 727, 756, 3639, 727, 987, 2199, 278, 273, 394, 2407, 5621, 3639, 727, 1139, 18529, 1442, 805, 1442, 273, 30564, 5621, 3639, 2199, 278, 18, 1289, 12, 1886, 2 ]
}
}
public void charData(char[] c, int off, int len) { String tag = peekElement(); String text = new String(c, off, len); if (tag == "WHITESPACE" || tag == "EOL_SPAN" || tag == "MARK_PREVIOUS" || tag == "MARK_FOLLOWING" || tag == "SEQ" || tag == "BEGIN" ) { lastStart = text; } else if (tag == "END") { lastEnd = text; } else { lastKeyword = text; } }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/4158333e4a8d50bf4b83a7aeb6105f142c671578/XModeHandler.java/buggy/org/gjt/sp/jedit/syntax/XModeHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1149, 751, 12, 3001, 8526, 276, 16, 509, 3397, 16, 509, 562, 13, 202, 95, 202, 202, 780, 1047, 273, 8032, 1046, 5621, 202, 202, 780, 977, 273, 394, 514, 12, 71, 16, 3397, 16, 562, 1769, 202, 202, 430, 261, 2692, 422, 315, 20767, 6, 747, 1082, 202, 2692, 422, 315, 5842, 67, 3118, 1258, 6, 747, 1082, 202, 2692, 422, 315, 12693, 67, 3670, 4136, 21667, 6, 747, 1082, 202, 2692, 422, 315, 12693, 67, 29890, 1360, 6, 747, 1082, 202, 2692, 422, 315, 28114, 6, 747, 1082, 202, 2692, 422, 315, 16061, 6, 202, 202, 13, 202, 202, 95, 1082, 202, 2722, 1685, 273, 977, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 2692, 422, 315, 4415, 7923, 202, 202, 95, 1082, 202, 2722, 1638, 273, 977, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2722, 8736, 273, 977, 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, 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95, 202, 202, 780, 1047, 273, 8032, 1046, 5621, 202, 202, 780, 977, 273, 394, 514, 12, 71, 16, 3397, 16, 562, 1769, 202, 202, 430, 261, 2692, 422, 315, 20767, 6, 747, 1082, 202, 2692, 422, 315, 5842, 67, 3118, 1258, 6, 747, 1082, 202, 2692, 422, 315, 12693, 67, 3670, 4136, 21667, 6, 747, 1082, 202, 2692, 422, 315, 12693, 67, 29890, 1360, 6, 747, 1082, 202, 2692, 422, 315, 28114, 6, 747, 1082, 202, 2692, 422, 315, 16061, 6, 202, 202, 13, 202, 202, 95, 1082, 202, 2722, 1685, 273, 977, 31, 202, 202, 97, 202, 202, 12107, 2 ]
System.out.println("received.");
public void run() { if (disconnect == true) { try {System.out.println("Disconnecting..."); timer.cancel(); Main.setConnected(false); if (receivedPacketEnd == sentPacketEnd == foundEOF == false) {System.out.print("Sending PACKET_END... "); out.writeInt(PACKET_END); out.flush();System.out.println("sent."); sentPacketEnd = true;System.out.print("Waiting for PACKET_END_ACK... "); while (in.readInt() != PACKET_END_ACK) { } // FIXME: not, fuckin', working ://System.out.println("got it."); } socket.close(); } catch (java.io.IOException e) { if (sentPacketEnd == false) { Main.getGUI().showError("Error while disconnecting: " + e.getMessage()); } // FIXME: do something more sane... } Main.getGUI().setStatus("Disconnected (" + ((sentPacketEnd == true) ? "on your demand" : "on the other side's demand") + ")"); } else {System.out.println("Running the reading/writing method..."); try { netboard.SerializableImage image; int packetType = PACKET_GREET; if (firstPacket == true) {System.out.print("Sending PACKET_GREET... "); out.writeInt(PACKET_GREET);System.out.println("sent."); firstPacket = false; } else {System.out.print("Reading packet type... "); packetType = in.readInt();System.out.println("read: " + packetType); } if (packetType != PACKET_END && socket.isOutputShutdown() == false && foundEOF == sentPacketEnd == receivedPacketEnd == false) {System.out.print("Sending PACKET_IMG... "); out.writeInt(PACKET_IMG);System.out.println("sent."); image = new netboard.SerializableImage(Main.getGUI().getImage());System.out.print("Sending image... "); out.writeObject(image); out.flush();System.out.println("sent."); image = null; } if (packetType == PACKET_GREET) { } else if (packetType == PACKET_IMG && socket.isInputShutdown() == false && foundEOF == sentPacketEnd == receivedPacketEnd == false) { try {System.out.print("Receiving image... "); image = (netboard.SerializableImage)in.readUnshared();System.out.println("received."); Main.getGUI().setImage(image.getImage()); image = null; } catch (java.io.OptionalDataException e) {System.out.print("Hey, it's not an image! "); if (e.eof == true) {System.out.println("It's an EOF - I will try to disconnect now..."); foundEOF = true; Main.disconnect(); return; // FIXME: do something more sane... } else if (e.length > 0 && in.readInt() == PACKET_END) {System.out.print("It's a PACKET_END. "); receivedPacketEnd = true;System.out.print("Sending PACKET_END_ACK... "); out.writeInt(PACKET_END_ACK);System.out.println("sent. I will try to disconnect now..."); Main.disconnect(); return; // FIXME: do something more sane... } } } else if (packetType == PACKET_END && foundEOF == sentPacketEnd == receivedPacketEnd == false) {System.out.println("Hmm, looks like my Significant Other wants me to disconnect. OK, I'll try to do so..."); receivedPacketEnd = true;System.out.print("Sending PACKET_END_ACK... "); out.writeInt(PACKET_END_ACK);System.out.println("sent."); Main.disconnect(); return; } else if (packetType == PACKET_END_ACK && sentPacketEnd == true) { } else { throw new java.io.IOException("Unexpected stream content"); } } catch (java.net.SocketException e) { if (sentPacketEnd == receivedPacketEnd == foundEOF == false) { Main.getGUI().showError("Network error: " + e.getMessage()); } Main.disconnect(); return; // FIXME: do something more sane... } catch (java.io.IOException e) { if (sentPacketEnd == receivedPacketEnd == foundEOF == false) { Main.getGUI().showError("Error communicating with peer: " + e.getMessage()); } Main.disconnect(); return; // FIXME: do something more sane... } catch (java.lang.ClassNotFoundException e) { // FIXME: do some error handling... } } }
11087 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11087/af2acb101b36870548a885bcbb71e16b175003bd/SocketConnection.java/clean/netboard/SocketConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 309, 261, 20177, 422, 638, 13, 288, 7734, 775, 288, 3163, 18, 659, 18, 8222, 2932, 18895, 310, 7070, 1769, 10792, 5441, 18, 10996, 5621, 10792, 12740, 18, 542, 8932, 12, 5743, 1769, 10792, 309, 261, 15213, 6667, 1638, 422, 3271, 6667, 1638, 422, 1392, 12706, 422, 629, 13, 288, 3163, 18, 659, 18, 1188, 2932, 16322, 453, 17750, 67, 4415, 2777, 315, 1769, 13491, 596, 18, 2626, 1702, 12, 12231, 1584, 67, 4415, 1769, 13491, 596, 18, 11330, 5621, 3163, 18, 659, 18, 8222, 2932, 7569, 1199, 1769, 13491, 3271, 6667, 1638, 273, 638, 31, 3163, 18, 659, 18, 1188, 2932, 15946, 364, 453, 17750, 67, 4415, 67, 3649, 2777, 315, 1769, 13491, 1323, 261, 267, 18, 896, 1702, 1435, 480, 453, 17750, 67, 4415, 67, 3649, 13, 288, 289, 368, 9852, 30, 486, 16, 284, 9031, 267, 2187, 5960, 294, 759, 3163, 18, 659, 18, 8222, 2932, 13212, 518, 1199, 1769, 10792, 289, 10792, 2987, 18, 4412, 5621, 7734, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 425, 13, 288, 10792, 309, 261, 7569, 6667, 1638, 422, 629, 13, 288, 13491, 12740, 18, 588, 43, 5370, 7675, 4500, 668, 2932, 668, 1323, 9479, 310, 30, 315, 397, 225, 425, 18, 24906, 10663, 10792, 289, 5397, 368, 9852, 30, 741, 5943, 1898, 30426, 2777, 7734, 289, 7734, 12740, 18, 588, 43, 5370, 7675, 542, 1482, 2932, 26303, 7566, 397, 7682, 14015, 7569, 6667, 1638, 422, 638, 13, 692, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 309, 261, 20177, 422, 638, 13, 288, 7734, 775, 288, 3163, 18, 659, 18, 8222, 2932, 18895, 310, 7070, 1769, 10792, 5441, 18, 10996, 5621, 10792, 12740, 18, 542, 8932, 12, 5743, 1769, 10792, 309, 261, 15213, 6667, 1638, 422, 3271, 6667, 1638, 422, 1392, 12706, 422, 629, 13, 288, 3163, 18, 659, 18, 1188, 2932, 16322, 453, 17750, 67, 4415, 2777, 315, 1769, 13491, 596, 18, 2626, 1702, 12, 12231, 1584, 67, 4415, 1769, 13491, 596, 18, 11330, 5621, 3163, 18, 659, 18, 8222, 2932, 7569, 1199, 1769, 13491, 3271, 6667, 1638, 273, 638, 31, 3163, 18, 659, 18, 1188, 2932, 15946, 364, 453, 17750, 67, 4415, 67, 3649, 2777, 315, 2 ]
if(!PlatformUI.isWorkbenchRunning())
if (!PlatformUI.isWorkbenchRunning())
IStatus requestInUI(UIJob job, String message){ //We are in the UI Thread so we want to avoid blocking if(Thread.currentThread() == Display.getDefault().getThread()){ throw new IllegalThreadStateException(ProgressMessages.getString("ProgressFeedbackManager.invalidThreadMessage")); //$NON-NLS-1$ } final IStatus[] statuses = new IStatus[1]; final AwaitingFeedbackInfo info = new AwaitingFeedbackInfo(message, job); pendingInfos.add(info); job.addJobChangeListener(new JobChangeAdapter() { /* * (non-Javadoc) @see org.eclipse.core.runtime.jobs.JobChangeAdapter#done(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void done(IJobChangeEvent event) { if(!PlatformUI.isWorkbenchRunning()) return; statuses[0] = event.getResult(); pendingInfos.remove(info); refreshDialog(); } }); openProgressJob.schedule(); try{ job.join(); } catch (InterruptedException exception){ return ProgressManagerUtil.exceptionStatus(exception); } return statuses[0]; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1d25b7d00f5076d9294b9e02e09387471a4276e8/ProgressFeedbackManager.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressFeedbackManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 45, 1482, 590, 382, 5370, 12, 5370, 2278, 1719, 16, 514, 883, 15329, 9506, 202, 759, 3218, 854, 316, 326, 6484, 4884, 1427, 732, 2545, 358, 4543, 9445, 202, 202, 430, 12, 3830, 18, 2972, 3830, 1435, 422, 9311, 18, 588, 1868, 7675, 588, 3830, 10756, 95, 1082, 202, 12849, 394, 2141, 3830, 5060, 12, 5491, 5058, 18, 588, 780, 2932, 5491, 15888, 1318, 18, 5387, 3830, 1079, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 6385, 467, 1482, 8526, 13516, 273, 394, 467, 1482, 63, 21, 15533, 202, 202, 6385, 432, 20241, 15888, 966, 1123, 273, 394, 432, 20241, 15888, 966, 12, 2150, 16, 1719, 1769, 202, 202, 9561, 7655, 18, 1289, 12, 1376, 1769, 202, 202, 4688, 18, 1289, 2278, 15744, 12, 2704, 3956, 3043, 4216, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 632, 5946, 2358, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 2278, 3043, 4216, 7, 8734, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 10088, 18, 45, 2278, 20930, 13, 9506, 1195, 1082, 202, 482, 918, 2731, 12, 45, 2278, 20930, 871, 13, 288, 6862, 9506, 202, 430, 12, 5, 8201, 5370, 18, 291, 2421, 22144, 7051, 10756, 6862, 202, 2463, 31, 6862, 9506, 202, 21655, 63, 20, 65, 273, 871, 18, 588, 1253, 5621, 9506, 202, 9561, 7655, 18, 4479, 12, 1376, 1769, 9506, 202, 9144, 6353, 5621, 1082, 202, 97, 202, 202, 22938, 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, 45, 1482, 590, 382, 5370, 12, 5370, 2278, 1719, 16, 514, 883, 15329, 9506, 202, 759, 3218, 854, 316, 326, 6484, 4884, 1427, 732, 2545, 358, 4543, 9445, 202, 202, 430, 12, 3830, 18, 2972, 3830, 1435, 422, 9311, 18, 588, 1868, 7675, 588, 3830, 10756, 95, 1082, 202, 12849, 394, 2141, 3830, 5060, 12, 5491, 5058, 18, 588, 780, 2932, 5491, 15888, 1318, 18, 5387, 3830, 1079, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 6385, 467, 1482, 8526, 13516, 273, 394, 467, 1482, 63, 21, 15533, 202, 202, 6385, 432, 20241, 15888, 966, 1123, 273, 394, 432, 20241, 15888, 966, 12, 2150, 16, 1719, 1769, 202, 202, 9561, 7655, 2 ]
DrawingSurface ds = (DrawingSurface)this.getPeer(); DrawingSurfaceInfo dsi = ds.getDrawingSurfaceInfo();
public void addNotify () { super.addNotify(); DrawingSurface ds = (DrawingSurface)this.getPeer(); DrawingSurfaceInfo dsi = ds.getDrawingSurfaceInfo(); windowRelativeBounds = new Rectangle(); // We must lock() the DrawingSurfaceInfo before // accessing its native window handle. dsi.lock(); nativeWindow = getWindow(dsi); try { Rectangle r = new Rectangle(getBoundsRelativeToWindow()); Assert.assert(null != webShell); WindowControl wc = (WindowControl) webShell.queryInterface(BrowserControl.WINDOW_CONTROL_NAME); wc.createWindow(nativeWindow, r); } catch (Exception e) { dsi.unlock(); System.out.println(e.toString()); return; } dsi.unlock(); initializeOK = true; webShellCount++; /* requestFocus(); */} // addNotify()
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/c0a1e344f22084a4e3e3a57ab08e0f036cb9d0ee/BrowserControlCanvas.java/clean/java/webclient/classes_spec/org/mozilla/webclient/BrowserControlCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 9168, 1832, 288, 202, 9565, 18, 1289, 9168, 5621, 202, 202, 26885, 11508, 3780, 273, 261, 26885, 11508, 13, 2211, 18, 588, 6813, 5621, 202, 26885, 11508, 966, 3780, 77, 273, 3780, 18, 588, 26885, 11508, 966, 5621, 202, 202, 5668, 8574, 5694, 273, 394, 13264, 5621, 202, 202, 759, 1660, 1297, 2176, 1435, 326, 10184, 310, 11508, 966, 1865, 202, 759, 19531, 2097, 6448, 2742, 1640, 18, 202, 2377, 77, 18, 739, 5621, 202, 13635, 3829, 273, 26156, 12, 2377, 77, 1769, 202, 698, 288, 202, 202, 19463, 436, 273, 394, 13264, 12, 588, 5694, 8574, 774, 3829, 10663, 3639, 5452, 18, 11231, 12, 2011, 480, 3311, 13220, 1769, 3639, 6076, 3367, 14310, 273, 261, 3829, 3367, 13, 5411, 3311, 13220, 18, 2271, 1358, 12, 9132, 3367, 18, 23407, 67, 18248, 67, 1985, 1769, 3639, 14310, 18, 2640, 3829, 12, 13635, 3829, 16, 436, 1769, 202, 97, 1044, 261, 503, 425, 13, 288, 202, 202, 2377, 77, 18, 26226, 5621, 202, 202, 3163, 18, 659, 18, 8222, 12, 73, 18, 10492, 10663, 202, 202, 2463, 31, 202, 97, 202, 202, 2377, 77, 18, 26226, 5621, 202, 202, 11160, 3141, 273, 638, 31, 202, 4875, 13220, 1380, 9904, 31, 202, 202, 20308, 202, 225, 590, 9233, 5621, 202, 225, 1195, 97, 368, 527, 9168, 1435, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 527, 9168, 1832, 288, 202, 9565, 18, 1289, 9168, 5621, 202, 202, 26885, 11508, 3780, 273, 261, 26885, 11508, 13, 2211, 18, 588, 6813, 5621, 202, 26885, 11508, 966, 3780, 77, 273, 3780, 18, 588, 26885, 11508, 966, 5621, 202, 202, 5668, 8574, 5694, 273, 394, 13264, 5621, 202, 202, 759, 1660, 1297, 2176, 1435, 326, 10184, 310, 11508, 966, 1865, 202, 759, 19531, 2097, 6448, 2742, 1640, 18, 202, 2377, 77, 18, 739, 5621, 202, 13635, 3829, 273, 26156, 12, 2377, 77, 1769, 202, 698, 288, 202, 202, 19463, 436, 273, 394, 13264, 12, 588, 5694, 8574, 774, 3829, 10663, 3639, 5452, 18, 11231, 12, 2011, 480, 3311, 13220, 1769, 3639, 6076, 3367, 14310, 273, 261, 2 ]
c.setName("variant"+id); return new Variant();
c.setName(id+iter); return c;
public Object getNewObject() { if (id.equals(AbstractAsset.COMPONENT)) { Component c = new Component(); c.setName("component"+id); return c; } else if (id.equals(AbstractAsset.VARIANT)) { Variant c = new Variant(); c.setName("variant"+id); return new Variant(); } else if (id.equals(AbstractAsset.RELEASE)) { Release c = new Release(); c.setName("release"+id); return new Release(); } else if (id.equals(MetaNode.AND)) { return new MetaNode(MetaNode.AND); } else if (id.equals(MetaNode.OR)) { return new MetaNode(MetaNode.OR); } else { return null; } }
9773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9773/5cf1ae0b4f158ebaa053ad423ad8d2e68af5b833/KoboldAssetFactory.java/clean/kobold/src/kobold.client.plam/src/kobold/client/plam/editor/model/KoboldAssetFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 12654, 921, 1435, 565, 288, 3639, 309, 261, 350, 18, 14963, 12, 7469, 6672, 18, 22922, 3719, 288, 5411, 5435, 276, 273, 394, 5435, 5621, 5411, 276, 18, 542, 461, 2932, 4652, 6, 15, 350, 1769, 5411, 327, 276, 31, 3639, 289, 469, 309, 261, 350, 18, 14963, 12, 7469, 6672, 18, 29744, 6856, 3719, 288, 5411, 17122, 276, 273, 394, 17122, 5621, 5411, 276, 18, 542, 461, 2932, 8688, 6, 15, 350, 1769, 5411, 327, 394, 17122, 5621, 3639, 289, 469, 309, 261, 350, 18, 14963, 12, 7469, 6672, 18, 30762, 3719, 288, 5411, 10819, 276, 273, 394, 10819, 5621, 5411, 276, 18, 542, 461, 2932, 9340, 6, 15, 350, 1769, 5411, 327, 394, 10819, 5621, 3639, 289, 469, 309, 261, 350, 18, 14963, 12, 2781, 907, 18, 4307, 3719, 288, 5411, 327, 394, 6565, 907, 12, 2781, 907, 18, 4307, 1769, 3639, 289, 469, 309, 261, 350, 18, 14963, 12, 2781, 907, 18, 916, 3719, 288, 5411, 327, 394, 6565, 907, 12, 2781, 907, 18, 916, 1769, 3639, 289, 469, 288, 5411, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 12654, 921, 1435, 565, 288, 3639, 309, 261, 350, 18, 14963, 12, 7469, 6672, 18, 22922, 3719, 288, 5411, 5435, 276, 273, 394, 5435, 5621, 5411, 276, 18, 542, 461, 2932, 4652, 6, 15, 350, 1769, 5411, 327, 276, 31, 3639, 289, 469, 309, 261, 350, 18, 14963, 12, 7469, 6672, 18, 29744, 6856, 3719, 288, 5411, 17122, 276, 273, 394, 17122, 5621, 5411, 276, 18, 542, 461, 2932, 8688, 6, 15, 350, 1769, 5411, 327, 394, 17122, 5621, 3639, 289, 469, 309, 261, 350, 18, 14963, 12, 7469, 6672, 18, 30762, 3719, 288, 5411, 10819, 276, 273, 394, 10819, 5621, 5411, 276, 18, 542, 461, 2932, 9340, 6, 15, 350, 1769, 5411, 327, 394, 10819, 2 ]
address = inetAddr.getAddress(); port = inetAddr.getPort();
address = anAddress; port = aPort;
public void connect(SocketAddress remoteAddr) throws SocketException { if (remoteAddr == null) { throw new IllegalArgumentException(Msg.getString("K0318")); } if (!(remoteAddr instanceof InetSocketAddress)) { throw new IllegalArgumentException(Msg.getString( "K0316", remoteAddr.getClass())); //$NON-NLS-1$ } InetSocketAddress inetAddr = (InetSocketAddress) remoteAddr; if (inetAddr.getAddress() == null) { throw new SocketException(Msg.getString( "K0317", inetAddr.getHostName())); //$NON-NLS-1$ } synchronized (lock) { // make sure the socket is open checkClosedAndBind(true); SecurityManager security = System.getSecurityManager(); if (security != null) { if (inetAddr.getAddress().isMulticastAddress()) { security.checkMulticast(inetAddr.getAddress()); } else { security.checkConnect(inetAddr.getAddress().getHostName(), inetAddr.getPort()); } } // now try to do the connection at the native level. To be // compatible for the case // when the address is inaddr_any we just // eat the exception an act as if we are connected at the java level try { impl.connect(inetAddr.getAddress(), inetAddr.getPort()); } catch (Exception e) { // not connected at the native level just do what we did before } // if we get here then we connected ok address = inetAddr.getAddress(); port = inetAddr.getPort(); isConnected = true; } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b077ba26abeaf93f3e60f0167bbb2c12a6854c5b/DatagramSocket.java/clean/modules/luni/src/main/java/java/net/DatagramSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3077, 12, 15520, 30184, 13, 1216, 8758, 503, 288, 202, 202, 430, 261, 7222, 3178, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 12, 3332, 18, 588, 780, 2932, 47, 4630, 2643, 7923, 1769, 202, 202, 97, 202, 202, 430, 16051, 12, 7222, 3178, 1276, 17943, 3719, 288, 1082, 202, 12849, 394, 2754, 12, 3332, 18, 588, 780, 12, 6862, 202, 6, 47, 4630, 2313, 3113, 30184, 18, 588, 797, 1435, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 382, 278, 15520, 17661, 3178, 273, 261, 382, 278, 15520, 13, 30184, 31, 202, 202, 430, 261, 23864, 3178, 18, 588, 1887, 1435, 422, 446, 13, 288, 1082, 202, 12849, 394, 8758, 503, 12, 3332, 18, 588, 780, 12, 6862, 202, 6, 47, 4630, 4033, 3113, 17661, 3178, 18, 588, 20946, 1435, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 22043, 261, 739, 13, 288, 1082, 202, 759, 1221, 3071, 326, 2987, 353, 1696, 1082, 202, 1893, 7395, 1876, 3357, 12, 3767, 1769, 1082, 202, 4368, 1318, 4373, 273, 2332, 18, 588, 4368, 1318, 5621, 1082, 202, 430, 261, 7462, 480, 446, 13, 288, 9506, 202, 430, 261, 23864, 3178, 18, 588, 1887, 7675, 291, 5049, 12544, 1887, 10756, 288, 6862, 202, 7462, 18, 1893, 5049, 12544, 12, 23864, 3178, 18, 588, 1887, 10663, 9506, 202, 97, 469, 288, 6862, 202, 7462, 18, 1893, 5215, 12, 23864, 3178, 18, 588, 1887, 7675, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3077, 12, 15520, 30184, 13, 1216, 8758, 503, 288, 202, 202, 430, 261, 7222, 3178, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 12, 3332, 18, 588, 780, 2932, 47, 4630, 2643, 7923, 1769, 202, 202, 97, 202, 202, 430, 16051, 12, 7222, 3178, 1276, 17943, 3719, 288, 1082, 202, 12849, 394, 2754, 12, 3332, 18, 588, 780, 12, 6862, 202, 6, 47, 4630, 2313, 3113, 30184, 18, 588, 797, 1435, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 382, 278, 15520, 17661, 3178, 273, 261, 382, 278, 15520, 13, 30184, 31, 202, 202, 430, 261, 23864, 3178, 18, 588, 1887, 1435, 422, 446, 13, 288, 1082, 202, 12849, 2 ]
public void actionShow() throws Exception { String url = getJsp().link(getParamResource()); // try to load the backup resource if (CmsStringUtil.isNotEmpty(getParamVersionid())) { byte[] result = getBackupResourceContent(getCms(), getParamResource(), getParamVersionid()); if (result != null) { // get the top level ressponse to change the content type m_controller.getTopResponse().setContentType(OpenCms.getResourceManager().getMimeType(getParamResource(), getCms().getRequestContext().getEncoding())); m_controller.getTopResponse().setContentLength(result.length); try { getJsp().getResponse().getOutputStream().write(result); getJsp().getResponse().getOutputStream().flush(); } catch (IOException e) { // can usually be ignored if (LOG.isInfoEnabled()) { LOG.info(e.getLocalizedMessage()); } return; } } } else { if (getCms().existsResource(getParamResource(), CmsResourceFilter.DEFAULT)) { getJsp().getResponse().sendRedirect(url); } else { // resource is outside time window, show error message throw new CmsVfsResourceNotFoundException(Messages.get().container(Messages.ERR_RESOURCE_OUTSIDE_TIMEWINDOW_1, getParamResource())); } } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/ddc56fc5c5eded06965e63995ea01e3e542bccd5/CmsDisplayResource.java/clean/src/org/opencms/workplace/commons/CmsDisplayResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 5706, 1435, 1216, 1185, 288, 3639, 514, 880, 273, 31162, 7675, 1232, 12, 588, 786, 1420, 10663, 3639, 368, 775, 358, 1262, 326, 5114, 1058, 3639, 309, 261, 4747, 13565, 18, 291, 18431, 12, 588, 786, 1444, 350, 1435, 3719, 288, 5411, 1160, 8526, 563, 273, 336, 6248, 1420, 1350, 12, 588, 4747, 9334, 9027, 1420, 9334, 9027, 1444, 350, 10663, 5411, 309, 261, 2088, 480, 446, 13, 288, 7734, 368, 336, 326, 1760, 1801, 400, 87, 575, 358, 2549, 326, 913, 618, 7734, 312, 67, 5723, 18, 588, 3401, 1064, 7675, 542, 8046, 12, 3678, 4747, 18, 588, 1420, 1318, 7675, 588, 16821, 12, 588, 786, 1420, 9334, 14413, 7675, 588, 21426, 7675, 588, 4705, 1435, 10019, 17311, 312, 67, 5723, 18, 588, 3401, 1064, 7675, 542, 1350, 1782, 12, 2088, 18, 2469, 1769, 17311, 775, 288, 10792, 31162, 7675, 588, 1064, 7675, 588, 4632, 7675, 2626, 12, 2088, 1769, 10792, 31162, 7675, 588, 1064, 7675, 588, 4632, 7675, 11330, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 10792, 368, 848, 11234, 506, 5455, 10792, 309, 261, 4842, 18, 291, 966, 1526, 10756, 288, 13491, 2018, 18, 1376, 12, 73, 18, 588, 2042, 1235, 1079, 10663, 10792, 289, 4766, 565, 327, 31, 7734, 289, 5411, 289, 3639, 289, 469, 288, 5411, 309, 261, 588, 4747, 7675, 1808, 1420, 12, 588, 786, 1420, 9334, 21082, 18, 5280, 3719, 288, 7734, 31162, 7675, 588, 1064, 7675, 4661, 5961, 12, 718, 1769, 5411, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1301, 5706, 1435, 1216, 1185, 288, 3639, 514, 880, 273, 31162, 7675, 1232, 12, 588, 786, 1420, 10663, 3639, 368, 775, 358, 1262, 326, 5114, 1058, 3639, 309, 261, 4747, 13565, 18, 291, 18431, 12, 588, 786, 1444, 350, 1435, 3719, 288, 5411, 1160, 8526, 563, 273, 336, 6248, 1420, 1350, 12, 588, 4747, 9334, 9027, 1420, 9334, 9027, 1444, 350, 10663, 5411, 309, 261, 2088, 480, 446, 13, 288, 7734, 368, 336, 326, 1760, 1801, 400, 87, 575, 358, 2549, 326, 913, 618, 7734, 312, 67, 5723, 18, 588, 3401, 1064, 7675, 542, 8046, 12, 3678, 4747, 18, 588, 1420, 1318, 7675, 588, 16821, 12, 588, 786, 1420, 9334, 14413, 7675, 588, 21426, 7675, 588, 2 ]
return MOVE_FOLDED;
return DefUseEffect.MOVE_FOLDED;
private static byte doubleCmpl(OPT_Instruction s) { if (CF_INT) { OPT_Operand op2 = Binary.getVal2(s); if (op2.isDoubleConstant()) { OPT_Operand op1 = Binary.getVal1(s); if (op1.isDoubleConstant()) { // BOTH CONSTANTS: FOLD double val1 = op1.asDoubleConstant().value; double val2 = op2.asDoubleConstant().value; int result = (val1 > val2) ? 1 : ((val1 == val2) ? 0 : -1); Move.mutate(s, DOUBLE_MOVE, Binary.getClearResult(s), IC(result)); return MOVE_FOLDED; } } } return UNCHANGED; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/582eb14323a5e74a2c99b6035e34aa59e229d896/OPT_Simplifier.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 1645, 39, 10514, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 3217, 13, 288, 1377, 16456, 67, 10265, 1061, 22, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 1377, 309, 261, 556, 22, 18, 291, 5265, 6902, 10756, 288, 3639, 16456, 67, 10265, 1061, 21, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 3639, 309, 261, 556, 21, 18, 291, 5265, 6902, 10756, 288, 1850, 368, 29370, 24023, 55, 30, 478, 11846, 1850, 1645, 1244, 21, 273, 1061, 21, 18, 345, 5265, 6902, 7675, 1132, 31, 1850, 1645, 1244, 22, 273, 1061, 22, 18, 345, 5265, 6902, 7675, 1132, 31, 1850, 509, 563, 273, 261, 1125, 21, 405, 1244, 22, 13, 692, 404, 294, 14015, 1125, 21, 422, 1244, 22, 13, 692, 374, 294, 300, 21, 1769, 1850, 9933, 18, 10735, 340, 12, 87, 16, 14918, 67, 16537, 16, 7896, 18, 588, 9094, 1253, 12, 87, 3631, 26899, 12, 2088, 10019, 1850, 327, 10922, 3727, 12477, 18, 16537, 67, 42, 1741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, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 1645, 39, 10514, 12, 15620, 67, 11983, 272, 13, 288, 282, 309, 261, 8955, 67, 3217, 13, 288, 1377, 16456, 67, 10265, 1061, 22, 273, 7896, 18, 588, 3053, 22, 12, 87, 1769, 1377, 309, 261, 556, 22, 18, 291, 5265, 6902, 10756, 288, 3639, 16456, 67, 10265, 1061, 21, 273, 7896, 18, 588, 3053, 21, 12, 87, 1769, 3639, 309, 261, 556, 21, 18, 291, 5265, 6902, 10756, 288, 1850, 368, 29370, 24023, 55, 30, 478, 11846, 1850, 1645, 1244, 21, 273, 1061, 21, 18, 345, 5265, 6902, 7675, 1132, 31, 1850, 1645, 1244, 22, 273, 1061, 22, 18, 345, 5265, 6902, 7675, 1132, 31, 1850, 509, 563, 273, 261, 1125, 21, 405, 1244, 2 ]
boolean ok = false;
boolean ok = false;
private static byte[] getMACAddress(String macString) { byte[] mac = new byte[6]; boolean ok = false; if (macString != null && macString.length() == 12) { try { for (int i = 0, j = 0; i < 6; i++, j += 2) { mac[i] = (byte) Integer.parseInt( macString.substring(j, j + 2), 16); } ok = true; } catch (Exception ex) { // Ignore it. ok will be false. } } if (!ok) { Arrays.fill(mac, (byte) 0); } return mac; }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/4598f37208e6d2d42f3401fc4ba0caeb1be969b2/TdsCore.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1160, 8526, 2108, 2226, 1887, 12, 780, 5318, 780, 13, 288, 3639, 1160, 8526, 5318, 273, 394, 1160, 63, 26, 15533, 3639, 1250, 1529, 273, 629, 31, 3639, 309, 261, 5821, 780, 480, 446, 597, 5318, 780, 18, 2469, 1435, 422, 2593, 13, 288, 5411, 775, 288, 7734, 364, 261, 474, 277, 273, 374, 16, 525, 273, 374, 31, 277, 411, 1666, 31, 277, 9904, 16, 525, 1011, 576, 13, 288, 10792, 5318, 63, 77, 65, 273, 261, 7229, 13, 2144, 18, 2670, 1702, 12, 18701, 5318, 780, 18, 28023, 12, 78, 16, 525, 397, 576, 3631, 2872, 1769, 7734, 289, 7734, 1529, 273, 638, 31, 5411, 289, 1044, 261, 503, 431, 13, 288, 7734, 368, 8049, 518, 18, 1529, 903, 506, 629, 18, 5411, 289, 3639, 289, 3639, 309, 16051, 601, 13, 288, 5411, 5647, 18, 5935, 12, 5821, 16, 261, 7229, 13, 374, 1769, 3639, 289, 3639, 327, 5318, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1160, 8526, 2108, 2226, 1887, 12, 780, 5318, 780, 13, 288, 3639, 1160, 8526, 5318, 273, 394, 1160, 63, 26, 15533, 3639, 1250, 1529, 273, 629, 31, 3639, 309, 261, 5821, 780, 480, 446, 597, 5318, 780, 18, 2469, 1435, 422, 2593, 13, 288, 5411, 775, 288, 7734, 364, 261, 474, 277, 273, 374, 16, 525, 273, 374, 31, 277, 411, 1666, 31, 277, 9904, 16, 525, 1011, 576, 13, 288, 10792, 5318, 63, 77, 65, 273, 261, 7229, 13, 2144, 18, 2670, 1702, 12, 18701, 5318, 780, 18, 28023, 12, 78, 16, 525, 397, 576, 3631, 2872, 1769, 7734, 289, 7734, 1529, 273, 638, 31, 5411, 289, 1044, 261, 503, 431, 13, 288, 7734, 368, 2 ]
if (capacity <= 0) throw new IllegalArgumentException(); array_ = new Object[capacity]; emptySlots_ = capacity; }
if (capacity <= 0) throw new IllegalArgumentException(); array_ = new Object[capacity]; emptySlots_ = capacity; }
public BoundedBuffer(int capacity) throws IllegalArgumentException { if (capacity <= 0) throw new IllegalArgumentException(); array_ = new Object[capacity]; emptySlots_ = capacity; }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/BoundedBuffer.java/clean/src/java/org/logicalcobwebs/concurrent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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 605, 12002, 1892, 12, 474, 7519, 13, 1216, 2754, 288, 565, 309, 261, 16017, 1648, 374, 13, 604, 394, 2754, 5621, 565, 526, 67, 273, 394, 1033, 63, 16017, 15533, 565, 1008, 16266, 67, 273, 7519, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void showArrayCreation(ArrayInstance array, jeliot.lang.Reference ref, Value[] lenVal, int expressionCounter, Highlight h) { highlight(h); //Array creation here //Use SMIActor as base. int n = 0; if (lenVal != null) { n = lenVal.length; } ACActor actor = factory.produceACActor("new " + array.getComponentType(), n); ExpressionActor ea = currentScratch.getExpression(1, -1); currentScratch.registerCrap(actor);// Point invoLoc = ea.getRootLocation(); Point invoLoc = ea.reserve(actor); actor.setLocation(invoLoc); // Create actors and reserve places for all argument values, // and create animations to bring them in their right places. ValueActor[] argact = new ValueActor[n]; Animation[] fly = new Animation[n]; for (int i = 0; i < n; ++i) { argact[i] = lenVal[i].getActor(); lenVal[i].setActor(argact[i]); fly[i] = argact[i].fly(actor.reserve(argact[i])); } // Calculate the size of the invocation actor, taking into account // the argument actors. actor.calculateSize(); // Show the animation. theatre.capture(); // Introduce the invocation. engine.showAnimation(actor.appear(invoLoc)); theatre.passivate(actor); // Bring in arguments. engine.showAnimation(fly); // Bind argument actors to the invocation actor. for (int i = 0; i < n; ++i) { actor.bind(argact[i]); } highlight(h); ArrayActor arrayAct = factory.produceArrayActor(array); array.setActor(arrayAct); Point loc = manager.reserve(arrayAct); theatre.capture(); engine.showAnimation(arrayAct.appear(loc)); theatre.release(); manager.bind(arrayAct); ReferenceActor refAct = factory.produceReferenceActor(ref); ref.setActor(refAct); refAct.setLocation(arrayAct.getRootLocation()); theatre.capture(); ExpressionActor expr = currentScratch.getExpression(1, expressionCounter); Point firstLoc = expr.reserve(refAct); engine.showAnimation(refAct.fly(firstLoc)); expr.bind(refAct); theatre.release(); //Make the array creation disappear. ea.cut(); }
49293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49293/6a10e8a12a9e36fd86dca4ab464b69d566e3150f/Director.java/clean/src/jeliot/theatre/Director.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 1076, 9906, 12, 1076, 1442, 526, 16, 525, 292, 77, 352, 18, 4936, 18, 2404, 1278, 16, 21394, 1445, 8526, 562, 3053, 16, 509, 2652, 4789, 16, 21394, 31386, 366, 13, 288, 3639, 8839, 12, 76, 1769, 3639, 368, 1076, 6710, 2674, 3639, 368, 3727, 348, 7492, 17876, 487, 1026, 18, 3639, 509, 290, 273, 374, 31, 3639, 309, 261, 1897, 3053, 480, 446, 13, 288, 2398, 290, 273, 562, 3053, 18, 2469, 31, 3639, 289, 7734, 12048, 17876, 8327, 273, 3272, 18, 11776, 311, 2226, 17876, 2932, 2704, 315, 397, 526, 18, 588, 28116, 9334, 290, 1769, 3639, 5371, 17876, 24164, 273, 783, 1541, 86, 505, 18, 588, 2300, 12, 21, 16, 300, 21, 1769, 3639, 783, 1541, 86, 505, 18, 4861, 39, 1266, 12, 3362, 1769, 759, 1377, 4686, 2198, 83, 1333, 273, 24164, 18, 588, 2375, 2735, 5621, 3639, 4686, 2198, 83, 1333, 273, 24164, 18, 455, 6527, 12, 3362, 1769, 3639, 8327, 18, 542, 2735, 12, 5768, 83, 1333, 1769, 3639, 368, 1788, 27141, 471, 20501, 12576, 364, 777, 1237, 924, 16, 3639, 368, 471, 752, 25536, 358, 5186, 310, 2182, 316, 3675, 2145, 12576, 18, 3639, 1445, 17876, 8526, 1501, 621, 273, 394, 1445, 17876, 63, 82, 15533, 3639, 22685, 8526, 21434, 273, 394, 22685, 63, 82, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 965, 77, 13, 288, 5411, 1501, 621, 63, 77, 65, 273, 562, 3053, 63, 77, 8009, 588, 17876, 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, 2405, 1076, 9906, 12, 1076, 1442, 526, 16, 525, 292, 77, 352, 18, 4936, 18, 2404, 1278, 16, 21394, 1445, 8526, 562, 3053, 16, 509, 2652, 4789, 16, 21394, 31386, 366, 13, 288, 3639, 8839, 12, 76, 1769, 3639, 368, 1076, 6710, 2674, 3639, 368, 3727, 348, 7492, 17876, 487, 1026, 18, 3639, 509, 290, 273, 374, 31, 3639, 309, 261, 1897, 3053, 480, 446, 13, 288, 2398, 290, 273, 562, 3053, 18, 2469, 31, 3639, 289, 7734, 12048, 17876, 8327, 273, 3272, 18, 11776, 311, 2226, 17876, 2932, 2704, 315, 397, 526, 18, 588, 28116, 9334, 290, 1769, 3639, 5371, 17876, 24164, 273, 783, 1541, 86, 505, 18, 588, 2300, 12, 21, 16, 300, 21, 2 ]
if (target instanceof BipedMech) { options = BipedMech.LOCATION_NAMES;
if (target instanceof Mech) { if (target instanceof BipedMech) { options = BipedMech.LOCATION_NAMES; enabled = createEnabledMask(options.length); } else { options = QuadMech.LOCATION_NAMES; enabled = createEnabledMask(options.length); } if (aimingMode == IAimingModes.AIM_MODE_IMMOBILE) { aimingAt = Mech.LOC_HEAD; } else if (aimingMode == IAimingModes.AIM_MODE_TARG_COMP) { aimingAt = Mech.LOC_CT; } } else if (target instanceof GunEmplacement) { options = GunEmplacement.HIT_LOCATION_NAMES; enabled = new boolean[] { true, ((GunEmplacement) target).hasTurret() }; aimingAt = GunEmplacement.LOC_BUILDING;
public void showDialog() { if (asd != null) { int oldAimingMode = aimingMode; closeDialog(); aimingMode = oldAimingMode; } if (inAimingMode()) { String[] options; if (target instanceof BipedMech) { options = BipedMech.LOCATION_NAMES; } else { options = QuadMech.LOCATION_NAMES; } boolean[] enabled = createEnabledMask(options.length); if (aimingMode == IAimingModes.AIM_MODE_IMMOBILE) { aimingAt = Mech.LOC_HEAD; } else if (aimingMode == IAimingModes.AIM_MODE_TARG_COMP) { aimingAt = Mech.LOC_CT; } if (lockedLocation) { aimingAt = lockedLoc; } asd = new AimedShotDialog(clientgui.frame, Messages.getString("FiringDisplay.AimedShotDialog.title"), //$NON-NLS-1$ Messages.getString("FiringDisplay.AimedShotDialog.message"), //$NON-NLS-1$ options, enabled, aimingAt, lockedLocation, this, this); asd.show(); updateTarget(); } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/3cd174f9bbb391899df2ff256c62d7fe57ec7cc9/FiringDisplay.java/clean/megamek/src/megamek/client/ui/AWT/FiringDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 6353, 1435, 288, 1377, 309, 261, 345, 72, 480, 446, 13, 288, 3639, 509, 1592, 37, 381, 19154, 273, 279, 381, 19154, 31, 3639, 1746, 6353, 5621, 3639, 279, 381, 19154, 273, 1592, 37, 381, 19154, 31, 1377, 289, 1377, 309, 261, 267, 37, 381, 19154, 10756, 288, 3639, 514, 8526, 702, 31, 3639, 309, 261, 3299, 1276, 605, 625, 329, 4667, 343, 13, 288, 1850, 702, 273, 605, 625, 329, 4667, 343, 18, 15277, 67, 16257, 31, 3639, 289, 469, 288, 1850, 702, 273, 27258, 4667, 343, 18, 15277, 67, 16257, 31, 3639, 289, 3639, 1250, 8526, 3696, 273, 752, 1526, 5796, 12, 2116, 18, 2469, 1769, 3639, 309, 261, 4581, 19154, 422, 467, 37, 381, 310, 18868, 18, 37, 3445, 67, 7038, 67, 3445, 49, 29826, 13, 288, 1850, 279, 381, 310, 861, 273, 7499, 343, 18, 29450, 67, 12458, 31, 3639, 289, 469, 309, 261, 4581, 19154, 422, 467, 37, 381, 310, 18868, 18, 37, 3445, 67, 7038, 67, 56, 10973, 67, 10057, 13, 288, 1850, 279, 381, 310, 861, 273, 7499, 343, 18, 29450, 67, 1268, 31, 3639, 289, 3639, 309, 261, 15091, 2735, 13, 288, 1850, 279, 381, 310, 861, 273, 8586, 1333, 31, 3639, 289, 3639, 487, 72, 273, 394, 432, 381, 329, 1555, 352, 6353, 12, 2625, 20292, 18, 3789, 16, 8227, 4838, 18, 588, 780, 2932, 42, 11256, 4236, 18, 37, 381, 329, 1555, 352, 6353, 18, 2649, 6, 3631, 4329, 3993, 17, 5106, 17, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2405, 6353, 1435, 288, 1377, 309, 261, 345, 72, 480, 446, 13, 288, 3639, 509, 1592, 37, 381, 19154, 273, 279, 381, 19154, 31, 3639, 1746, 6353, 5621, 3639, 279, 381, 19154, 273, 1592, 37, 381, 19154, 31, 1377, 289, 1377, 309, 261, 267, 37, 381, 19154, 10756, 288, 3639, 514, 8526, 702, 31, 3639, 309, 261, 3299, 1276, 605, 625, 329, 4667, 343, 13, 288, 1850, 702, 273, 605, 625, 329, 4667, 343, 18, 15277, 67, 16257, 31, 3639, 289, 469, 288, 1850, 702, 273, 27258, 4667, 343, 18, 15277, 67, 16257, 31, 3639, 289, 3639, 1250, 8526, 3696, 273, 752, 1526, 5796, 12, 2116, 18, 2469, 1769, 3639, 309, 261, 4581, 19154, 422, 467, 2 ]
assertTrue("Expected no result set", !rs.next()); }
assertTrue("Expected no result set", !rs.next()); }
public void testGetBoolean0025() throws Exception { Connection cx = getConnection(); dropTable("#t0025"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0025 " + " (i integer, " + " b bit, " + " s char(5), " + " f float) "); assertTrue(stmt.executeUpdate("insert into #t0025 values(0, 0, 'false', 0.0)") == 1); assertTrue(stmt.executeUpdate("insert into #t0025 values(0, 0, 'N', 0.0)") == 1); assertTrue(stmt.executeUpdate("insert into #t0025 values(1, 1, 'true', 7.0)") == 1); assertTrue(stmt.executeUpdate("insert into #t0025 values(2, 1, 'Y', -5.0)") == 1); ResultSet rs = stmt.executeQuery("select * from #t0025 order by i"); assertNotNull(rs); assertTrue("Expected a result set", rs.next()); assertTrue(!rs.getBoolean("i")); assertTrue(!rs.getBoolean("b")); assertTrue(!rs.getBoolean("s")); assertTrue(!rs.getBoolean("f")); assertTrue("Expected a result set", rs.next()); assertTrue(!rs.getBoolean("i")); assertTrue(!rs.getBoolean("b")); assertTrue(!rs.getBoolean("s")); assertTrue(!rs.getBoolean("f")); assertTrue("Expected a result set", rs.next()); assertTrue(rs.getBoolean("i")); assertTrue(rs.getBoolean("b")); assertTrue(rs.getBoolean("s")); assertTrue(rs.getBoolean("f")); assertTrue("Expected a result set", rs.next()); assertTrue(rs.getBoolean("i")); assertTrue(rs.getBoolean("b")); assertTrue(rs.getBoolean("s")); assertTrue(rs.getBoolean("f")); assertTrue("Expected no result set", !rs.next()); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/d456535dc5bca0bbf54c0b9c6730e782aa275787/TimestampTest.java/clean/src.old/test/freetds/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 967, 5507, 713, 2947, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 713, 2947, 8863, 202, 202, 3406, 3480, 273, 9494, 18, 2640, 3406, 5621, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 2947, 315, 397, 1082, 202, 6, 225, 261, 77, 1377, 3571, 16, 315, 397, 1082, 202, 6, 282, 324, 1377, 2831, 16, 377, 315, 397, 1082, 202, 6, 282, 272, 1377, 1149, 12, 25, 3631, 315, 397, 1082, 202, 6, 282, 284, 1377, 1431, 13, 282, 315, 1769, 202, 202, 11231, 5510, 12, 10589, 18, 8837, 1891, 2932, 6387, 1368, 468, 88, 713, 2947, 924, 12, 20, 16, 374, 16, 296, 5743, 2187, 374, 18, 20, 2225, 13, 422, 404, 1769, 202, 202, 11231, 5510, 12, 10589, 18, 8837, 1891, 2932, 6387, 1368, 468, 88, 713, 2947, 924, 12, 20, 16, 374, 16, 296, 50, 2187, 374, 18, 20, 2225, 13, 422, 404, 1769, 202, 202, 11231, 5510, 12, 10589, 18, 8837, 1891, 2932, 6387, 1368, 468, 88, 713, 2947, 924, 12, 21, 16, 404, 16, 296, 3767, 2187, 2371, 18, 20, 2225, 13, 422, 404, 1769, 202, 202, 11231, 5510, 12, 10589, 18, 8837, 1891, 2932, 6387, 1368, 468, 88, 713, 2947, 924, 12, 22, 16, 404, 16, 296, 61, 2187, 300, 25, 18, 20, 2225, 13, 422, 404, 1769, 202, 202, 13198, 3597, 273, 3480, 18, 8837, 1138, 2932, 4025, 380, 628, 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, 967, 5507, 713, 2947, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 713, 2947, 8863, 202, 202, 3406, 3480, 273, 9494, 18, 2640, 3406, 5621, 202, 202, 10589, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 713, 2947, 315, 397, 1082, 202, 6, 225, 261, 77, 1377, 3571, 16, 315, 397, 1082, 202, 6, 282, 324, 1377, 2831, 16, 377, 315, 397, 1082, 202, 6, 282, 272, 1377, 1149, 12, 25, 3631, 315, 397, 1082, 202, 6, 282, 284, 1377, 1431, 13, 282, 315, 1769, 202, 202, 11231, 5510, 12, 10589, 18, 8837, 1891, 2932, 6387, 1368, 468, 88, 713, 2947, 924, 12, 2 ]
private void init () { Properties prop; HashMap<String,byte[]> dataList = new HashMap<String,byte[]>(); ZipEntry zipEntry; File file; InputStream in; OutputStream out; String path, key, value, name, hstr; ClipRunner clip, sound; int loaded, failed, count, pos, i, loudness; byte[] soundData; Iterator it; Map.Entry entry; boolean load; if ( !initJavaSound() ) { logger.error( "*** SOUNDSYSTEM JAVA INIT ERROR" ); return; } try { // load sound properties prop = new Properties(); in = getResourceStream(STORE_PROPERTYFILE); prop.load( in ); in.close(); // get sound library file path = prop.getProperty( "soundbase", "sounds/stensounds0.jar" ); // make a temporary copy of sound resource file = File.createTempFile( "stendhal-", ".tmp" ); in = getResourceStream( path ); out = new FileOutputStream( file ); transferData( in, out, 4096 ); in.close(); out.close(); // open the sound file soundFile = new JarFile( file ); file.deleteOnExit(); // read all load-permitted sounds listed in properties // from soundfile into cache map failed = loaded = count = 0; for ( it = prop.entrySet().iterator(); it.hasNext(); ) { entry = (Map.Entry)it.next(); key = (String)entry.getKey(); if ( !key.startsWith( "sfx." ) ) continue; // name and declaraction of sound data name = key.substring( 4 ); value = (String)entry.getValue(); logger.debug("- sound definition: " + key + " = " + value ); // decide on loading // (do not load when ",x" trailing path; always load when "." in name) if ( (pos = value.indexOf( ',' )) > -1 ) { path = value.substring( 0, pos ); load = value.substring( pos+1 ).charAt(0) != 'x'; } else { path = value; load = true; } load |= name.indexOf('.') != -1; // look if sound data is already stored internally if ( (soundData = dataList.get( path )) == null ) { // else load sounddata from jar file zipEntry = soundFile.getEntry( path ); if ( zipEntry == null ) { hstr = "*** MISSING SOUND: " + name + "=" + path; logger.error( hstr ); failed++; continue; } soundData = getZipData( zipEntry ); }// else// System.out.println("- sound double: " + key ); // construct sound clip from sample data // (we always do that to verify sound sample format) try { // determine equalizing loudness setting loudness = 100; if ( (pos = value.lastIndexOf( ',' )) != -1 ) { try { loudness = Integer.parseInt( value.substring( pos+1 ) ); //System.out.println( "loudness " + name + " = " + loudness ); } catch ( Exception e ) {} } // investigate sample status if ( (i = name.indexOf('.')) != -1 ) name = name.substring( 0, i ); sound = new ClipRunner( name + "@" + path, soundData, loudness ); count++; } catch ( Exception e ) { // could not validate sound file content hstr = "*** CORRUPTED SOUND: " + name + "=" + path; logger.error( hstr, e ); failed++; continue; } // store new sound object into soundsystem library map if opted if ( load ) { logger.debug("- storing mem-library soundclip: " + name ); // stores the clip sound in memory if ( (clip = getSoundClip( name )) != null ) clip.addSample( sound ); else sfxmap.put( name, sound ); // memorizes the sound data (only for init purposes) dataList.put( path, soundData ); loaded++; } else { // or stores just the sample data name logger.debug("- storing external sound ref: " + name ); sfxmap.put( name, path ); } } // for // report to startup console hstr = "Stendhal Soundsystem OK: " + count + " samples approved / " + loaded + " loaded / " + sfxmap.size() + " library sounds"; logger.info( hstr ); System.out.println( hstr ); if ( failed != 0 ) { hstr = "missing or corrupted sounds: " + failed; logger.info( hstr ); System.out.println( hstr ); } // register listeners WorldObjects.addWorldListener( this ); operative = true; } catch ( IOException e ) { hstr = "*** SOUNDSYSTEM LOAD ERROR"; logger.error( hstr, e ); return; } } // init
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/76004ea4201aa7dd7a8a481a9961b40bd5ded189/SoundSystem.java/buggy/src/games/stendhal/client/SoundSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 2738, 1435, 95, 2297, 5986, 31, 8658, 32, 780, 16, 7229, 8526, 34, 892, 682, 33, 2704, 8658, 32, 780, 16, 7229, 8526, 34, 5621, 9141, 1622, 4450, 1622, 31, 812, 768, 31, 4348, 267, 31, 4632, 659, 31, 780, 803, 16, 856, 16, 1132, 16, 529, 16, 76, 701, 31, 15339, 9709, 14161, 16, 29671, 31, 474, 4230, 16, 7307, 16, 1883, 16, 917, 16, 77, 16, 2760, 4496, 31, 7229, 8526, 29671, 751, 31, 3198, 305, 31, 863, 18, 1622, 4099, 31, 6494, 945, 31, 430, 12, 5, 2738, 5852, 24331, 10756, 95, 4901, 18, 1636, 2932, 14465, 3584, 2124, 3948, 61, 10765, 46, 5856, 6964, 1285, 3589, 8863, 2463, 31, 97, 698, 95, 759, 17135, 772, 4738, 5986, 33, 2704, 2297, 5621, 267, 33, 588, 1420, 1228, 12, 13651, 67, 9900, 3776, 1769, 5986, 18, 945, 12, 267, 1769, 267, 18, 4412, 5621, 759, 14665, 772, 12083, 10561, 33, 5986, 18, 588, 1396, 2932, 29671, 1969, 15937, 87, 9284, 19, 334, 773, 9284, 20, 18, 11930, 8863, 759, 6540, 340, 1291, 280, 814, 3530, 792, 29671, 3146, 768, 33, 812, 18, 2640, 20181, 2932, 334, 409, 22314, 17, 3113, 9654, 5645, 8863, 267, 33, 588, 1420, 1228, 12, 803, 1769, 659, 33, 2704, 812, 4632, 12, 768, 1769, 13866, 751, 12, 267, 16, 659, 16, 24, 5908, 26, 1769, 267, 18, 4412, 5621, 659, 18, 4412, 5621, 759, 556, 319, 76, 281, 772, 2354, 772, 812, 33, 2704, 10813, 812, 12, 768, 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, 3238, 6459, 2738, 1435, 95, 2297, 5986, 31, 8658, 32, 780, 16, 7229, 8526, 34, 892, 682, 33, 2704, 8658, 32, 780, 16, 7229, 8526, 34, 5621, 9141, 1622, 4450, 1622, 31, 812, 768, 31, 4348, 267, 31, 4632, 659, 31, 780, 803, 16, 856, 16, 1132, 16, 529, 16, 76, 701, 31, 15339, 9709, 14161, 16, 29671, 31, 474, 4230, 16, 7307, 16, 1883, 16, 917, 16, 77, 16, 2760, 4496, 31, 7229, 8526, 29671, 751, 31, 3198, 305, 31, 863, 18, 1622, 4099, 31, 6494, 945, 31, 430, 12, 5, 2738, 5852, 24331, 10756, 95, 4901, 18, 1636, 2932, 14465, 3584, 2124, 3948, 61, 10765, 46, 5856, 6964, 1285, 3589, 8863, 2463, 31, 97, 698, 95, 759, 2 ]
return Status.OK_STATUS; } }; dialogJob.setSystem(true); dialogJob.schedule(PlatformUI.getWorkbench().getProgressService() .getLongOperationTime());
return Status.OK_STATUS; } }; dialogJob.setSystem(true); dialogJob.schedule(PlatformUI.getWorkbench().getProgressService() .getLongOperationTime()); } else singleton.open();
public static BlockedJobsDialog createBlockedDialog(Shell parentShell, IProgressMonitor blockedMonitor, IStatus reason) { //use an existing dialog if available if (singleton != null) return singleton; singleton = new BlockedJobsDialog(parentShell, blockedMonitor, reason); //create the job that will open the dialog after a delay. WorkbenchJob dialogJob = new WorkbenchJob(WorkbenchMessages .getString("EventLoopProgressMonitor.OpenDialogJobName")) { //$NON-NLS-1$ /* * (non-Javadoc) * * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) */ public IStatus runInUIThread(IProgressMonitor monitor) { if (singleton == null) return Status.CANCEL_STATUS; if (ProgressManagerUtil.rescheduleIfModalShellOpen(this)) return Status.CANCEL_STATUS; singleton.open(); return Status.OK_STATUS; } }; //Wait for long operation time to prevent a proliferation //of dialogs dialogJob.setSystem(true); dialogJob.schedule(PlatformUI.getWorkbench().getProgressService() .getLongOperationTime()); return singleton; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/6a99206e054ff86f865b73dd5a4799c2a23d3d2e/BlockedJobsDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/BlockedJobsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 3914, 329, 7276, 6353, 752, 23722, 6353, 12, 13220, 982, 13220, 16, 1082, 202, 45, 5491, 7187, 14547, 7187, 16, 467, 1482, 3971, 13, 288, 202, 202, 759, 1202, 392, 2062, 6176, 309, 2319, 202, 202, 430, 261, 24487, 480, 446, 13, 1082, 202, 2463, 6396, 31, 202, 202, 24487, 273, 394, 3914, 329, 7276, 6353, 12, 2938, 13220, 16, 14547, 7187, 16, 3971, 1769, 202, 202, 759, 2640, 326, 1719, 716, 903, 1696, 326, 6176, 1839, 279, 4624, 18, 202, 202, 2421, 22144, 2278, 6176, 2278, 273, 394, 4147, 22144, 2278, 12, 2421, 22144, 5058, 9506, 202, 18, 588, 780, 2932, 1133, 6452, 5491, 7187, 18, 3678, 6353, 29425, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 4881, 18, 8298, 18, 5370, 2278, 7, 2681, 382, 57, 1285, 76, 896, 12, 3341, 18, 20416, 18, 3644, 18, 9448, 18, 45, 5491, 7187, 13, 9506, 1195, 1082, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 24487, 422, 446, 13, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 430, 261, 5491, 1318, 1304, 18, 455, 2847, 2047, 20191, 13220, 3678, 12, 2211, 3719, 25083, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 202, 24487, 18, 3190, 5621, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 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, 3914, 329, 7276, 6353, 752, 23722, 6353, 12, 13220, 982, 13220, 16, 1082, 202, 45, 5491, 7187, 14547, 7187, 16, 467, 1482, 3971, 13, 288, 202, 202, 759, 1202, 392, 2062, 6176, 309, 2319, 202, 202, 430, 261, 24487, 480, 446, 13, 1082, 202, 2463, 6396, 31, 202, 202, 24487, 273, 394, 3914, 329, 7276, 6353, 12, 2938, 13220, 16, 14547, 7187, 16, 3971, 1769, 202, 202, 759, 2640, 326, 1719, 716, 903, 1696, 326, 6176, 1839, 279, 4624, 18, 202, 202, 2421, 22144, 2278, 6176, 2278, 273, 394, 4147, 22144, 2278, 12, 2421, 22144, 5058, 9506, 202, 18, 588, 780, 2932, 1133, 6452, 5491, 7187, 18, 3678, 6353, 29425, 6, 3719, 288, 4329, 3993, 2 ]
.getDisplayLabel( DesignElement.USER_LABEL );
.getDisplayLabel( DesignElementHandle.USER_LABEL );
public static String getDisplayLabel( Object obj ) { if ( obj instanceof DesignElementHandle ) { DesignElementHandle handle = (DesignElementHandle) obj; String elementName = handle.getDefn( ).getDisplayName( ); String displayName = handle .getDisplayLabel( DesignElement.USER_LABEL ); if ( !StringUtil.isBlank( displayName ) ) { return elementName + " - " + displayName; //$NON-NLS-1$ } return elementName; } return ""; //$NON-NLS-1$ }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/32b0896891356021fd99f68cf042012986cc369f/DEUtil.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 13854, 2224, 12, 1033, 1081, 262, 202, 95, 202, 202, 430, 261, 1081, 1276, 29703, 1046, 3259, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 1640, 273, 261, 15478, 1046, 3259, 13, 1081, 31, 1082, 202, 780, 14453, 273, 1640, 18, 588, 3262, 82, 12, 262, 18, 588, 20524, 12, 11272, 1082, 202, 780, 16218, 273, 1640, 6862, 202, 18, 588, 4236, 2224, 12, 29703, 1046, 18, 4714, 67, 13545, 11272, 1082, 202, 430, 261, 401, 13565, 18, 291, 7796, 12, 16218, 262, 262, 1082, 202, 95, 9506, 202, 2463, 14453, 397, 315, 300, 315, 397, 16218, 31, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 2463, 14453, 31, 202, 202, 97, 202, 202, 2463, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 13854, 2224, 12, 1033, 1081, 262, 202, 95, 202, 202, 430, 261, 1081, 1276, 29703, 1046, 3259, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 1640, 273, 261, 15478, 1046, 3259, 13, 1081, 31, 1082, 202, 780, 14453, 273, 1640, 18, 588, 3262, 82, 12, 262, 18, 588, 20524, 12, 11272, 1082, 202, 780, 16218, 273, 1640, 6862, 202, 18, 588, 4236, 2224, 12, 29703, 1046, 18, 4714, 67, 13545, 11272, 1082, 202, 430, 261, 401, 13565, 18, 291, 7796, 12, 16218, 262, 262, 1082, 202, 95, 9506, 202, 2463, 14453, 397, 315, 300, 315, 397, 16218, 31, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 2463, 14453, 31, 2 ]
for (Iterator iter = posts.iterator(); iter.hasNext();) { Post p = (Post) iter.next();
try { post = JForumExecutionContext.getConnection().prepareStatement( SystemGlobals.getSql("PostModel.deletePost"));
private void removePosts(List posts) throws Exception { PreparedStatement post = JForumExecutionContext.getConnection().prepareStatement( SystemGlobals.getSql("PostModel.deletePost")); PreparedStatement text = JForumExecutionContext.getConnection().prepareStatement( SystemGlobals.getSql("PostModel.deletePostText")); PreparedStatement search = JForumExecutionContext.getConnection().prepareStatement( SystemGlobals.getSql("PostModel.deleteWordMatch")); for (Iterator iter = posts.iterator(); iter.hasNext();) { Post p = (Post) iter.next(); post.setInt(1, p.getId()); text.setInt(1, p.getId()); search.setInt(1, p.getId()); text.executeUpdate(); search.executeUpdate(); post.executeUpdate(); } search.close(); post.close(); text.close(); }
52144 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52144/f4af364dacad27a1238104a19d90e4a102043281/GenericPostDAO.java/clean/src/net/jforum/dao/generic/GenericPostDAO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1206, 24983, 12, 682, 10775, 13, 1216, 1185, 202, 95, 202, 202, 29325, 1603, 273, 804, 1290, 379, 3210, 1042, 18, 588, 1952, 7675, 9366, 3406, 12, 9506, 202, 3163, 19834, 18, 588, 5101, 2932, 3349, 1488, 18, 3733, 3349, 7923, 1769, 202, 202, 29325, 977, 273, 804, 1290, 379, 3210, 1042, 18, 588, 1952, 7675, 9366, 3406, 12, 9506, 202, 3163, 19834, 18, 588, 5101, 2932, 3349, 1488, 18, 3733, 3349, 1528, 7923, 1769, 202, 202, 29325, 1623, 273, 804, 1290, 379, 3210, 1042, 18, 588, 1952, 7675, 9366, 3406, 12, 9506, 202, 3163, 19834, 18, 588, 5101, 2932, 3349, 1488, 18, 3733, 3944, 2060, 7923, 1769, 202, 202, 1884, 261, 3198, 1400, 273, 10775, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 3349, 293, 273, 261, 3349, 13, 1400, 18, 4285, 5621, 1082, 202, 2767, 18, 542, 1702, 12, 21, 16, 293, 18, 26321, 10663, 1082, 202, 955, 18, 542, 1702, 12, 21, 16, 293, 18, 26321, 10663, 1082, 202, 3072, 18, 542, 1702, 12, 21, 16, 293, 18, 26321, 10663, 1082, 202, 955, 18, 8837, 1891, 5621, 1082, 202, 3072, 18, 8837, 1891, 5621, 1082, 202, 2767, 18, 8837, 1891, 5621, 202, 202, 97, 202, 202, 3072, 18, 4412, 5621, 202, 202, 2767, 18, 4412, 5621, 202, 202, 955, 18, 4412, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1206, 24983, 12, 682, 10775, 13, 1216, 1185, 202, 95, 202, 202, 29325, 1603, 273, 804, 1290, 379, 3210, 1042, 18, 588, 1952, 7675, 9366, 3406, 12, 9506, 202, 3163, 19834, 18, 588, 5101, 2932, 3349, 1488, 18, 3733, 3349, 7923, 1769, 202, 202, 29325, 977, 273, 804, 1290, 379, 3210, 1042, 18, 588, 1952, 7675, 9366, 3406, 12, 9506, 202, 3163, 19834, 18, 588, 5101, 2932, 3349, 1488, 18, 3733, 3349, 1528, 7923, 1769, 202, 202, 29325, 1623, 273, 804, 1290, 379, 3210, 1042, 18, 588, 1952, 7675, 9366, 3406, 12, 9506, 202, 3163, 19834, 18, 588, 5101, 2932, 3349, 1488, 18, 3733, 3944, 2060, 7923, 1769, 202, 202, 1884, 261, 3198, 1400, 273, 2 ]
org.apache.axis2.Constants.TESTING_REPOSITORY,
REPOSITORY_JMS,
public static synchronized void start() throws Exception { if (count == 0) { HashMap connectorMap = new HashMap(); HashMap cfMap = new HashMap(); String destination = "dynamicQueues/BAR"; String username = null; String password = null; boolean doThreads = true; cfMap.put(JNDIVendorAdapter.CONTEXT_FACTORY, "org.activemq.jndi.ActiveMQInitialContextFactory"); cfMap.put(JNDIVendorAdapter.PROVIDER_URL, "tcp://localhost:61616"); // start JMS server File file = new File(org.apache.axis2.Constants.TESTING_REPOSITORY); System.out.println(file.getAbsoluteFile()); if (!file.exists()) { throw new Exception("Repository directory does not exist"); } ConfigurationContext er = ConfigurationContextFactory.createConfigurationContextFromFileSystem(file .getAbsolutePath(),null); try { Thread.sleep(2000); } catch (InterruptedException e1) { throw new AxisFault("Thread interuptted", e1); } er.getAxisConfiguration().engageModule(new QName("addressing")); receiver = new SimpleJMSListener( org.apache.axis2.Constants.TESTING_REPOSITORY, connectorMap, cfMap, destination, username, password, doThreads); receiver.start(); } count++; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/11ed999c0ecb19a75d55fc09df7047b4b6828928/UtilsJMSServer.java/buggy/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3852, 918, 787, 1435, 1216, 1185, 288, 3639, 309, 261, 1883, 422, 374, 13, 288, 5411, 4317, 8703, 863, 273, 394, 4317, 5621, 5411, 4317, 6080, 863, 273, 394, 4317, 5621, 5411, 514, 2929, 273, 315, 14507, 17428, 19, 21908, 14432, 5411, 514, 2718, 273, 446, 31, 5411, 514, 2201, 273, 446, 31, 5411, 1250, 741, 13233, 273, 638, 31, 5411, 6080, 863, 18, 458, 12, 46, 24513, 14786, 4216, 18, 13181, 67, 16193, 16, 10792, 315, 3341, 18, 11422, 351, 85, 18, 78, 16564, 18, 3896, 9682, 4435, 29871, 8863, 5411, 6080, 863, 18, 458, 12, 46, 24513, 14786, 4216, 18, 26413, 67, 1785, 16, 315, 14832, 2207, 13014, 30, 26, 2313, 2313, 8863, 5411, 368, 787, 13270, 1438, 5411, 1387, 585, 273, 394, 1387, 12, 3341, 18, 19211, 18, 4890, 22, 18, 2918, 18, 16961, 1360, 67, 862, 30986, 1769, 5411, 2332, 18, 659, 18, 8222, 12, 768, 18, 588, 10368, 812, 10663, 5411, 309, 16051, 768, 18, 1808, 10756, 288, 7734, 604, 394, 1185, 2932, 3305, 1867, 1552, 486, 1005, 8863, 5411, 289, 5411, 4659, 1042, 6445, 273, 4659, 29871, 18, 2640, 1750, 1042, 1265, 11785, 12, 768, 10792, 263, 588, 10368, 743, 9334, 2011, 1769, 5411, 775, 288, 7734, 4884, 18, 19607, 12, 17172, 1769, 5411, 289, 1044, 261, 24485, 503, 425, 21, 13, 288, 7734, 604, 394, 15509, 7083, 2932, 3830, 1554, 3648, 2344, 3113, 425, 21, 1769, 5411, 289, 5411, 6445, 18, 588, 6558, 1750, 7675, 24688, 410, 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, 3852, 918, 787, 1435, 1216, 1185, 288, 3639, 309, 261, 1883, 422, 374, 13, 288, 5411, 4317, 8703, 863, 273, 394, 4317, 5621, 5411, 4317, 6080, 863, 273, 394, 4317, 5621, 5411, 514, 2929, 273, 315, 14507, 17428, 19, 21908, 14432, 5411, 514, 2718, 273, 446, 31, 5411, 514, 2201, 273, 446, 31, 5411, 1250, 741, 13233, 273, 638, 31, 5411, 6080, 863, 18, 458, 12, 46, 24513, 14786, 4216, 18, 13181, 67, 16193, 16, 10792, 315, 3341, 18, 11422, 351, 85, 18, 78, 16564, 18, 3896, 9682, 4435, 29871, 8863, 5411, 6080, 863, 18, 458, 12, 46, 24513, 14786, 4216, 18, 26413, 67, 1785, 16, 315, 14832, 2207, 13014, 30, 26, 2313, 2313, 8863, 5411, 2 ]
error ("Not a name start character, U+" + Integer.toHexString (c));
{ error("Not a name start character, U+" + Integer.toHexString(c)); }
private String readNmtoken (boolean isName) throws SAXException, IOException { char c; if (USE_CHEATS) {loop: for (int i = readBufferPos; i < readBufferLength; i++) { c = readBuffer [i]; switch (c) { case '%': if (expandPE) break loop; // else fall through... // What may legitimately come AFTER a name/nmtoken? case '<': case '>': case '&': case ',': case '|': case '*': case '+': case '?': case ')': case '=': case '\'': case '"': case '[': case ' ': case '\t': case '\r': case '\n': case ';': case '/': int start = readBufferPos; if (i == start) error ("name expected", readBuffer [i], null); readBufferPos = i; return intern (readBuffer, start, i - start); default:// FIXME ... per IBM's OASIS test submission, these:// ? U+06dd // Combining U+309B //these switches are kind of ugly but at least we won't //have to go over the whole lits for each char if (isName && i == readBufferPos){ char c2 = (char) (c & 0x00f0); switch (c & 0xff00){ //starting with 01 case 0x0100: switch (c2){ case 0x0030: if (c == 0x0132 || c == 0x0133 || c == 0x013f) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x0040: if (c == 0x0140 || c == 0x0149) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x00c0: if (c == 0x01c4 || c == 0x01cc) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x00f0: if (c == 0x01f1 || c == 0x01f3) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x00b0: if (c == 0x01f1 || c == 0x01f3) error ("Not a name start character, U+" + Integer.toHexString (c)); break; default: if (c == 0x017f) error ("Not a name start character, U+" + Integer.toHexString (c)); } break; //starting with 11 case 0x1100: switch (c2){ case 0x0000: if (c == 0x1104 || c == 0x1108 || c == 0x110a || c == 0x110d) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x0030: if (c == 0x113b || c == 0x113f) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x0040: if (c == 0x1141 || c == 0x114d || c == 0x114f ) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x0050: if (c == 0x1151 || c == 0x1156) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x0060: if (c == 0x1162 || c == 0x1164 || c == 0x1166 || c == 0x116b || c == 0x116f) error ("Not a name start character, U+" + Integer.toHexString (c)); break; case 0x00b0: if (c == 0x11b6 || c == 0x11b9 || c == 0x11bb || c == 0x116f) error ("Not a name start character, U+" + Integer.toHexString (c)); break; default: if (c == 0x1174 || c == 0x119f || c == 0x11ac || c == 0x11c3 || c == 0x11f1) error ("Not a name start character, U+" + Integer.toHexString (c)); } break; default: if (c == 0x0e46 || c == 0x1011 || c == 0x212f || c == 0x0587 || c == 0x0230 ) error ("Not a name start character, U+" + Integer.toHexString (c)); } } // punt on exact tests from Appendix A; approximate // them using the Unicode ID start/part rules if (i == readBufferPos && isName) { if (!Character.isUnicodeIdentifierStart (c) && c != ':' && c != '_') error ("Not a name start character, U+" + Integer.toHexString (c)); } else if (!Character.isUnicodeIdentifierPart (c) && c != '-' && c != ':' && c != '_' && c != '.' && !isExtender (c)) error ("Not a name character, U+" + Integer.toHexString (c)); } } } nameBufferPos = 0; // Read the first character.loop: while (true) { c = readCh (); switch (c) { case '%': case '<': case '>': case '&': case ',': case '|': case '*': case '+': case '?': case ')': case '=': case '\'': case '"': case '[': case ' ': case '\t': case '\n': case '\r': case ';': case '/': unread (c); if (nameBufferPos == 0) { error ("name expected"); } // punt on exact tests from Appendix A, but approximate them if (isName && !Character.isUnicodeIdentifierStart ( nameBuffer [0]) && ":_".indexOf (nameBuffer [0]) == -1) error ("Not a name start character, U+" + Integer.toHexString (nameBuffer [0])); String s = intern (nameBuffer, 0, nameBufferPos); nameBufferPos = 0; return s; default: // punt on exact tests from Appendix A, but approximate them if ((nameBufferPos != 0 || !isName) && !Character.isUnicodeIdentifierPart (c) && ":-_.".indexOf (c) == -1 && !isExtender (c)) error ("Not a name character, U+" + Integer.toHexString (c)); if (nameBufferPos >= nameBuffer.length) nameBuffer = (char[]) extendArray (nameBuffer, nameBuffer.length, nameBufferPos); nameBuffer [nameBufferPos++] = c; } } }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/XmlParser.java/buggy/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 855, 50, 1010, 969, 261, 6494, 30430, 13, 565, 1216, 14366, 16, 1860, 565, 288, 202, 3001, 276, 31, 202, 430, 261, 8001, 67, 5007, 17813, 13, 288, 6498, 30, 202, 565, 364, 261, 474, 277, 273, 31404, 1616, 31, 277, 411, 31404, 1782, 31, 277, 27245, 288, 202, 202, 71, 273, 31404, 306, 77, 15533, 202, 202, 9610, 261, 71, 13, 288, 1082, 225, 648, 1995, 4278, 1082, 565, 309, 261, 12320, 1423, 13, 1082, 202, 8820, 2798, 31, 1082, 565, 368, 469, 4159, 3059, 2777, 1082, 565, 368, 18734, 2026, 4553, 305, 381, 5173, 12404, 18651, 279, 508, 19, 82, 1010, 969, 35, 1082, 225, 648, 2368, 4278, 648, 7481, 30, 648, 5183, 4278, 1082, 225, 648, 3316, 30, 648, 6699, 4278, 648, 5306, 30, 648, 15126, 4278, 648, 13023, 4278, 1082, 225, 648, 5777, 30, 1082, 225, 648, 5214, 30, 1082, 225, 648, 14118, 4278, 648, 2119, 4278, 1082, 225, 648, 8375, 30, 1082, 225, 648, 296, 4290, 648, 2337, 88, 4278, 648, 2337, 86, 4278, 648, 2337, 82, 4278, 1082, 225, 648, 12386, 4278, 1082, 225, 648, 2023, 30, 1082, 565, 509, 787, 273, 31404, 1616, 31, 1082, 565, 309, 261, 77, 422, 787, 13, 1082, 202, 1636, 7566, 529, 2665, 3113, 31404, 306, 77, 6487, 446, 1769, 1082, 565, 31404, 1616, 273, 277, 31, 1082, 565, 327, 8216, 261, 896, 1892, 16, 787, 16, 277, 300, 787, 1769, 1082, 225, 805, 2207, 9852, 1372, 1534, 23450, 49, 1807, 531, 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, 855, 50, 1010, 969, 261, 6494, 30430, 13, 565, 1216, 14366, 16, 1860, 565, 288, 202, 3001, 276, 31, 202, 430, 261, 8001, 67, 5007, 17813, 13, 288, 6498, 30, 202, 565, 364, 261, 474, 277, 273, 31404, 1616, 31, 277, 411, 31404, 1782, 31, 277, 27245, 288, 202, 202, 71, 273, 31404, 306, 77, 15533, 202, 202, 9610, 261, 71, 13, 288, 1082, 225, 648, 1995, 4278, 1082, 565, 309, 261, 12320, 1423, 13, 1082, 202, 8820, 2798, 31, 1082, 565, 368, 469, 4159, 3059, 2777, 1082, 565, 368, 18734, 2026, 4553, 305, 381, 5173, 12404, 18651, 279, 508, 19, 82, 1010, 969, 35, 1082, 225, 648, 2368, 4278, 648, 7481, 30, 648, 5183, 4278, 2 ]
reportHandle = SessionHandleAdapter.getInstance( ) .getSessionHandle( ).openDesign( newFilename );
errorMessage = ERROR_MSG_REPORT_REQUIRED;
private void initParamterBindings( ) { bindingList.clear( ); parameterList.clear( ); String errorMessage = null; String newFilename = locationEditor.getText( ).trim( ); if ( newFilename.length( ) == 0 ) { errorMessage = ERROR_MSG_REPORT_REQUIRED; } else { try { reportHandle = SessionHandleAdapter.getInstance( ) .getSessionHandle( ).openDesign( newFilename ); } catch ( DesignFileException e ) { try { reportHandle = SessionHandleAdapter.getInstance( ) .getSessionHandle( ).openDesign( URIUtil.resolveAbsolutePath( getBasePath( ), newFilename ) ); } catch ( DesignFileException e1 ) { errorMessage = ERROR_MSG_INVALID_REPORT; } } if ( reportHandle != null ) { for ( Iterator iter = reportHandle.getAllParameters( ) .iterator( ); iter.hasNext( ); ) { Object obj = iter.next( ); if ( obj instanceof ParameterHandle ) { parameterList.add( obj ); } else if ( obj instanceof ParameterGroupHandle ) { parameterList.addAll( ( (ParameterGroupHandle) obj ) .getParameters( ).getContents( ) ); } } if ( newFilename.equals( inputHandle.getReportName( ) ) ) { for ( Iterator iter = inputHandle.paramBindingsIterator( ); iter .hasNext( ); ) { ParamBindingHandle handle = (ParamBindingHandle) iter .next( ); bindingList.add( handle.getStructure( ) ); } } } } if ( errorMessage != null ) { messageLine.setText( errorMessage ); messageLine.setImage( ERROR_ICON ); } else { messageLine.setText( "" ); //$NON-NLS-1$ messageLine.setImage( null ); } paramBindingTable.refresh( ); paramBindingTable.getTable( ).setEnabled( !parameterList.isEmpty( ) ); updateButtons( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/05098ff36f1ebd6963fab20b8ff6d00d41d69d21/HyperlinkBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 786, 387, 10497, 12, 262, 202, 95, 202, 202, 7374, 682, 18, 8507, 12, 11272, 202, 202, 6775, 682, 18, 8507, 12, 11272, 202, 202, 780, 9324, 273, 446, 31, 202, 202, 780, 394, 5359, 273, 2117, 6946, 18, 588, 1528, 12, 262, 18, 5290, 12, 11272, 202, 202, 430, 261, 394, 5359, 18, 2469, 12, 262, 422, 374, 262, 202, 202, 95, 1082, 202, 1636, 1079, 273, 5475, 67, 11210, 67, 22710, 67, 14977, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 6006, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 25083, 202, 18, 588, 2157, 3259, 12, 262, 18, 3190, 15478, 12, 394, 5359, 11272, 1082, 202, 97, 1082, 202, 14683, 261, 29703, 812, 503, 425, 262, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 6006, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 6862, 1082, 202, 18, 588, 2157, 3259, 12, 262, 18, 3190, 15478, 12, 6862, 6862, 202, 3098, 1304, 18, 10828, 10368, 743, 12, 6862, 6862, 1082, 202, 588, 15912, 12, 262, 16, 394, 5359, 262, 11272, 9506, 202, 97, 9506, 202, 14683, 261, 29703, 812, 503, 425, 21, 262, 9506, 202, 95, 6862, 202, 1636, 1079, 273, 5475, 67, 11210, 67, 9347, 67, 22710, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 2605, 3259, 480, 446, 262, 1082, 202, 95, 9506, 202, 1884, 261, 4498, 1400, 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, 1208, 786, 387, 10497, 12, 262, 202, 95, 202, 202, 7374, 682, 18, 8507, 12, 11272, 202, 202, 6775, 682, 18, 8507, 12, 11272, 202, 202, 780, 9324, 273, 446, 31, 202, 202, 780, 394, 5359, 273, 2117, 6946, 18, 588, 1528, 12, 262, 18, 5290, 12, 11272, 202, 202, 430, 261, 394, 5359, 18, 2469, 12, 262, 422, 374, 262, 202, 202, 95, 1082, 202, 1636, 1079, 273, 5475, 67, 11210, 67, 22710, 67, 14977, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 9506, 202, 6006, 3259, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 25083, 202, 18, 588, 2157, 3259, 12, 262, 18, 3190, 2 ]
Math.max(PrefsInstance.getInstance().getPrefs().getTransactionsWindow().getWidth(), 400), Math.max(PrefsInstance.getInstance().getPrefs().getTransactionsWindow().getHeight(), 300)
Math.max(PrefsInstance.getInstance().getPrefs().getWindows().getTransactionsWindow().getWidth(), 400), Math.max(PrefsInstance.getInstance().getPrefs().getWindows().getTransactionsWindow().getHeight(), 300)
public AbstractFrame openWindow(){ Point p; Dimension d; PrefsInstance.getInstance().checkWindowSanity(); if (this instanceof MainBuddiFrame){ p = new Point( PrefsInstance.getInstance().getPrefs().getMainWindow().getX(), PrefsInstance.getInstance().getPrefs().getMainWindow().getY() ); d = new Dimension( Math.max(PrefsInstance.getInstance().getPrefs().getMainWindow().getWidth(), 500), Math.max(PrefsInstance.getInstance().getPrefs().getMainWindow().getHeight(), 450) ); } else if (this instanceof TransactionsFrame){ p = new Point( PrefsInstance.getInstance().getPrefs().getTransactionsWindow().getX(), PrefsInstance.getInstance().getPrefs().getTransactionsWindow().getY() ); d = new Dimension( Math.max(PrefsInstance.getInstance().getPrefs().getTransactionsWindow().getWidth(), 400), Math.max(PrefsInstance.getInstance().getPrefs().getTransactionsWindow().getHeight(), 300) ); } else if (this instanceof GraphFrameLayout){ p = new Point( PrefsInstance.getInstance().getPrefs().getGraphsWindow().getX(), PrefsInstance.getInstance().getPrefs().getGraphsWindow().getY() ); d = null;// d = new Dimension(// PrefsInstance.getInstance().getPrefs().getGraphsWindow().getWidth(),// PrefsInstance.getInstance().getPrefs().getGraphsWindow().getHeight() // ); } else if (this instanceof ReportFrameLayout){ p = new Point( PrefsInstance.getInstance().getPrefs().getReportsWindow().getX(), PrefsInstance.getInstance().getPrefs().getReportsWindow().getY() );// d = null; d = new Dimension( Math.max(PrefsInstance.getInstance().getPrefs().getReportsWindow().getWidth(), 300), Math.max(PrefsInstance.getInstance().getPrefs().getReportsWindow().getHeight(), 400) ); } else{ if (Const.DEVEL) Log.debug("Not of a known type"); p = new Point(0, 0); d = null; } this.setLocation(p); if (d != null) this.setPreferredSize(d); ClassLoader cl = Thread.currentThread().getContextClassLoader(); if (null == cl) { cl = AbstractFrame.class.getClassLoader(); } URL imageResource = cl.getResource("Buddi.gif"); if (null != imageResource) { setIconImage(Toolkit.getDefaultToolkit().getImage(imageResource)); } this.pack(); this.setVisible(true); return this; }
58048 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58048/eaf521fa0519a5c48fb66d782774848f3a00dcbb/AbstractFrame.java/buggy/src/org/homeunix/drummer/view/AbstractFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 3219, 1696, 3829, 1435, 95, 202, 202, 2148, 293, 31, 202, 202, 8611, 302, 31, 9506, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 1893, 3829, 55, 10417, 5621, 9506, 202, 430, 261, 2211, 1276, 12740, 38, 20567, 77, 3219, 15329, 1082, 202, 84, 273, 394, 4686, 12, 6862, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 6376, 3829, 7675, 588, 60, 9334, 6862, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 6376, 3829, 7675, 588, 61, 1435, 1082, 202, 1769, 1082, 202, 72, 273, 394, 13037, 12, 6862, 202, 10477, 18, 1896, 12, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 6376, 3829, 7675, 588, 2384, 9334, 6604, 3631, 6862, 202, 10477, 18, 1896, 12, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 6376, 3829, 7675, 588, 2686, 9334, 1059, 3361, 13, 6862, 9506, 202, 1769, 202, 202, 97, 202, 202, 12107, 309, 261, 2211, 1276, 27148, 3219, 15329, 1082, 202, 84, 273, 394, 4686, 12, 6862, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 14186, 3829, 7675, 588, 60, 9334, 6862, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 14186, 3829, 7675, 588, 61, 1435, 1082, 202, 1769, 1875, 202, 72, 273, 394, 13037, 12, 6862, 202, 10477, 18, 1896, 12, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 3219, 1696, 3829, 1435, 95, 202, 202, 2148, 293, 31, 202, 202, 8611, 302, 31, 9506, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 1893, 3829, 55, 10417, 5621, 9506, 202, 430, 261, 2211, 1276, 12740, 38, 20567, 77, 3219, 15329, 1082, 202, 84, 273, 394, 4686, 12, 6862, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 6376, 3829, 7675, 588, 60, 9334, 6862, 202, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 588, 6376, 3829, 7675, 588, 61, 1435, 1082, 202, 1769, 1082, 202, 72, 273, 394, 13037, 12, 6862, 202, 10477, 18, 1896, 12, 1386, 2556, 1442, 18, 588, 1442, 7675, 588, 1386, 2556, 7675, 2 ]
appendActionToAddGroup( action, menuManager );
menuManager.appendToGroup( GEFActionConstants.GROUP_ADD, action );
private void createGroupMenu( IMenuManager menuManager, String group_name ) { //If select on Group, no need to provide cascade menu if ( getFirstElement( ) instanceof RowHandle ) { DesignElementHandle container = ( (RowHandle) getFirstElement( ) ).getContainer( ); if ( container instanceof TableGroupHandle ) { Action action = new EditGroupAction( null, (TableGroupHandle) container ); action.setText( EDIT_GROUP_MENU_ITEM_TEXT ); appendActionToAddGroup( action, menuManager ); return; } } if ( getFirstElement( ) instanceof SlotHandle ) { DesignElementHandle container = ( (SlotHandle) getFirstElement( ) ).getElementHandle( ); if ( container instanceof ListGroupHandle ) { Action action = new EditGroupAction( null, (ListGroupHandle) container ); action.setText( EDIT_GROUP_MENU_ITEM_TEXT ); appendActionToAddGroup( action, menuManager ); return; } } MenuManager subMenu = new MenuManager( EDIT_GROUP_MENU_ITEM_TEXT ); ListingHandle parentHandle = null; if ( ( getTableEditParts( ) != null ) && !( getTableEditParts( ).get( 0 ) instanceof GridEditPart ) ) { if ( getTableEditParts( ).size( ) > 1 ) { return; } parentHandle = (ListingHandle) ( (TableEditPart) getTableEditParts( ).get( 0 ) ).getModel( ); } else if ( getListEditParts( ) != null ) { if ( getListEditParts( ).size( ) > 1 ) { return; } parentHandle = (ListingHandle) ( (ListEditPart) getListEditParts( ).get( 0 ) ).getModel( ); } else { return; } SlotHandle handle = parentHandle.getGroups( ); Iterator iter = handle.iterator( ); while ( iter.hasNext( ) ) { GroupHandle groupHandle = (GroupHandle) iter.next( ); subMenu.add( new EditGroupAction( null, groupHandle ) ); } appendMenuToGroup( subMenu, group_name, menuManager ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/25d8345240ca0a7d646058fa741ec1478be90f03/SchematicContextMenuProvider.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1114, 4599, 12, 467, 4599, 1318, 3824, 1318, 16, 514, 1041, 67, 529, 262, 202, 95, 202, 202, 759, 2047, 2027, 603, 3756, 16, 1158, 1608, 358, 5615, 17599, 3824, 202, 202, 430, 261, 7521, 1046, 12, 262, 1276, 6556, 3259, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 1478, 273, 261, 261, 1999, 3259, 13, 7521, 1046, 12, 262, 262, 18, 588, 2170, 12, 11272, 1082, 202, 430, 261, 1478, 1276, 3555, 1114, 3259, 262, 1082, 202, 95, 9506, 202, 1803, 1301, 273, 394, 15328, 1114, 1803, 12, 446, 16, 25083, 202, 12, 1388, 1114, 3259, 13, 1478, 11272, 9506, 202, 1128, 18, 542, 1528, 12, 21307, 67, 8468, 67, 29227, 67, 12674, 67, 5151, 11272, 9506, 202, 6923, 1803, 13786, 1114, 12, 1301, 16, 3824, 1318, 11272, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 7521, 1046, 12, 262, 1276, 23195, 3259, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 1478, 273, 261, 261, 8764, 3259, 13, 7521, 1046, 12, 262, 262, 18, 21336, 3259, 12, 11272, 1082, 202, 430, 261, 1478, 1276, 987, 1114, 3259, 262, 1082, 202, 95, 9506, 202, 1803, 1301, 273, 394, 15328, 1114, 1803, 12, 446, 16, 25083, 202, 12, 682, 1114, 3259, 13, 1478, 11272, 9506, 202, 1128, 18, 542, 1528, 12, 21307, 67, 8468, 67, 29227, 67, 12674, 67, 5151, 11272, 9506, 202, 6923, 1803, 13786, 1114, 12, 1301, 16, 3824, 1318, 11272, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1114, 4599, 12, 467, 4599, 1318, 3824, 1318, 16, 514, 1041, 67, 529, 262, 202, 95, 202, 202, 759, 2047, 2027, 603, 3756, 16, 1158, 1608, 358, 5615, 17599, 3824, 202, 202, 430, 261, 7521, 1046, 12, 262, 1276, 6556, 3259, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 1478, 273, 261, 261, 1999, 3259, 13, 7521, 1046, 12, 262, 262, 18, 588, 2170, 12, 11272, 1082, 202, 430, 261, 1478, 1276, 3555, 1114, 3259, 262, 1082, 202, 95, 9506, 202, 1803, 1301, 273, 394, 15328, 1114, 1803, 12, 446, 16, 25083, 202, 12, 1388, 1114, 3259, 13, 1478, 11272, 9506, 202, 1128, 18, 542, 1528, 12, 21307, 67, 8468, 67, 29227, 67, 2 ]
if (handler.preSet(index, object)) {
if (handler.preSetIndexed(index, object)) {
public Object set(int index, Object object) { Object result = null; if (handler.preSet(index, object)) { result = getList().set(index, object); handler.postSet(index, object, result); } return result; }
55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/9547b0caa64373a6494995cfc7eff5e2ffe613ec/ObservedList.java/buggy/src/java/org/apache/commons/collections/observed/ObservedList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 444, 12, 474, 770, 16, 1033, 733, 13, 288, 3639, 1033, 563, 273, 446, 31, 3639, 309, 261, 4176, 18, 1484, 694, 15034, 12, 1615, 16, 733, 3719, 288, 5411, 563, 273, 10033, 7675, 542, 12, 1615, 16, 733, 1769, 5411, 1838, 18, 2767, 694, 12, 1615, 16, 733, 16, 563, 1769, 3639, 289, 3639, 327, 563, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 444, 12, 474, 770, 16, 1033, 733, 13, 288, 3639, 1033, 563, 273, 446, 31, 3639, 309, 261, 4176, 18, 1484, 694, 15034, 12, 1615, 16, 733, 3719, 288, 5411, 563, 273, 10033, 7675, 542, 12, 1615, 16, 733, 1769, 5411, 1838, 18, 2767, 694, 12, 1615, 16, 733, 16, 563, 1769, 3639, 289, 3639, 327, 563, 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 ]
super(conn,fields,tuples,status,updateCount,insertOID);
super(conn,fields,tuples,status,updateCount,insertOID,binaryCursor);
public UpdateableResultSet(Connection conn, Field[] fields, Vector tuples, String status, int updateCount,int insertOID) { super(conn,fields,tuples,status,updateCount,insertOID); }
45497 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45497/839b9bc0117946afd62ee385a4c8a36c01b3053b/UpdateableResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/UpdateableResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2315, 429, 13198, 12, 1952, 1487, 16, 2286, 8526, 1466, 16, 5589, 10384, 16, 514, 1267, 16, 509, 1089, 1380, 16, 474, 2243, 12945, 13, 225, 288, 1377, 2240, 12, 4646, 16, 2821, 16, 17705, 16, 2327, 16, 2725, 1380, 16, 6387, 12945, 16, 8578, 6688, 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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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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2315, 429, 13198, 12, 1952, 1487, 16, 2286, 8526, 1466, 16, 5589, 10384, 16, 514, 1267, 16, 509, 1089, 1380, 16, 474, 2243, 12945, 13, 225, 288, 1377, 2240, 12, 4646, 16, 2821, 16, 17705, 16, 2327, 16, 2725, 1380, 16, 6387, 12945, 16, 8578, 6688, 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 ]
if (file.getFileType() != null && file.getFileType().isBinary()) {
if (file.getFileType().isBinary()) {
protected Editor createEditor(VirtualFile file) { final FileEditorManager instance = FileEditorManager.getInstance(myProject); if (file.getFileType() != null && file.getFileType().isBinary()) { return null; } return instance.openTextEditor(new OpenFileDescriptor(myProject, file, 0), false); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/f47bb00a27f3138d890ab75a3ca8af7a3bd996d7/CodeInsightTestCase.java/buggy/codeInsight/tests/com/intellij/codeInsight/CodeInsightTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 18451, 752, 6946, 12, 6466, 812, 585, 13, 288, 565, 727, 1387, 6946, 1318, 791, 273, 1387, 6946, 1318, 18, 588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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 18451, 752, 6946, 12, 6466, 812, 585, 13, 288, 565, 727, 1387, 6946, 1318, 791, 273, 1387, 6946, 1318, 18, 588, 1442, 12, 4811, 4109, 1769, 565, 309, 261, 768, 18, 588, 28941, 7675, 291, 5905, 10756, 288, 1377, 327, 446, 31, 565, 289, 565, 327, 791, 18, 3190, 1528, 6946, 12, 2704, 25284, 3187, 12, 4811, 4109, 16, 585, 16, 374, 3631, 629, 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 ]
return missingImage; }
return missingImage; }
public final Image getMissingImage() { if (missingImage == null) { missingImage = ImageDescriptor.getMissingImageDescriptor() .createImage(); } return missingImage; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/c2f95a0909f2eb15cc65bbc902b893fdf7b3dc8d/ImageCache.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 3421, 2108, 2169, 2040, 1435, 288, 202, 202, 430, 261, 7337, 2040, 422, 446, 13, 288, 1082, 202, 7337, 2040, 273, 3421, 3187, 18, 588, 4841, 2040, 3187, 1435, 6862, 202, 18, 2640, 2040, 5621, 202, 202, 97, 202, 202, 2463, 3315, 2040, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 3421, 2108, 2169, 2040, 1435, 288, 202, 202, 430, 261, 7337, 2040, 422, 446, 13, 288, 1082, 202, 7337, 2040, 273, 3421, 3187, 18, 588, 4841, 2040, 3187, 1435, 6862, 202, 18, 2640, 2040, 5621, 202, 202, 97, 202, 202, 2463, 3315, 2040, 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 ]
case 24: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s);
case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s);
public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL[zzCurrentPosL++]; else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL[zzCurrentPosL++]; } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 26: { String s = yytext(); w.write(s); if(debug) log("Matched @media: "+s); } case 32: break; case 18: { String s = yytext(); w.write(s); if(debug) log("Matched unicode: "+s); } case 33: break; case 8: { String s = yytext(); w.write(s); if(debug) log("Matched close braces: "+s); } case 34: break; case 22: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 35: break; case 15: { String s = yytext(); w.write(s); if(debug) log("Matched ~=: "+s); } case 36: break; case 12: { String s = yytext(); if(debug) log("Matched string: "+s); if(paranoidStringCheck && s.indexOf(':') != -1) { w.write("/* Deleted disallowed string */"); log("Deleted disallowed string: "+s); } else { w.write(s); } } case 37: break; case 25: { String s = yytext(); w.write(s); if(debug) log("Matched @page: "+s); } case 38: break; case 13: { String s = yytext(); w.write(s); if(debug) log("Matched number: "+s); } case 39: break; case 1: { String s = yytext(); char c = s.charAt(0); log("Matched anything: "+yytext()+" - ignoring"); w.write("/* ignored unmatched char: "+c+" */"); // single char cannot break out of comment } case 40: break; case 6: { String s = yytext(); w.write(s); if(debug) log("Matched semicolon: "+s); } case 41: break; case 20: { String s = yytext(); if(debug) log("Got hexcolor: "+s); w.write(s); } case 42: break; case 7: { String s = yytext(); w.write(s); if(debug) log("Matched open braces: "+s); } case 43: break; case 2: { String s = yytext(); w.write(s); if(debug) log("Matched ident: "+s); } case 44: break; case 24: { String s = yytext(); w.write(s); if(debug) log("Matched unicode range: "+s); } case 45: break; case 29: { String s = yytext(); w.write(s); if(debug) log("Matched @font-face: "+s); } case 46: break; case 9: { String s = yytext(); if(s.startsWith("url")) throwError("Invalid contents of url()"); w.write(s); if(debug) log("Matched function start: "+s); } case 47: break; case 17: { String s = yytext(); w.write(s); if(debug) log("Matched HTML comment: "+s); } case 48: break; case 3: { String s = yytext(); w.write(s); if(debug) log("Matched whitespace: "+s); } case 49: break; case 23: { String s = yytext(); if(debug) log("Ignoring unrecognizable url: "+s); w.write("/* Ignoring unmatchable URL */url()"); } case 50: break; case 28: { String s = yytext(); if(debug) log("Found @import: "+s); s = s.substring("@import".length()); s = s.trim(); DecodedStringThingy dst = new DecodedStringThingy(s); s = dst.data; if(debug) log("URL: "+s); s = processImportURL(s); dst.data = s; if(debug) log("Processed URL: "+s); if(dst.quote == ' ') dst.quote = '\"'; if (!(s == null || s.equals(""))) { if(debug) log("URL now: "+s); s = "@import "+dst.toString(); if(debug) log("Writing: "+s); w.write(s); } else if(debug) log("Dropped @import"); } case 51: break; case 31: { String s = yytext(); w.write(s); if(debug) log("Matched important: "+s); } case 52: break; case 21: { String s = yytext(); StringBuffer sb = new StringBuffer(s.length()); sb.append("/* "); boolean inPrefix = true; for(int i=2;i<s.length()-2;i++) { char c = s.charAt(i); if(inPrefix && Character.isWhitespace(c)) { continue; } inPrefix = false; if(Character.isDigit(c) || Character.isWhitespace(c) || Character.isLetter(c) || c == '.' || c == '_' || c == '-') { // No @, no !, etc; IE has been known to do things with comments // in CSS, and other browsers may too sb.append(c); } } while(Character.isWhitespace(sb.charAt(sb.length()-1))) sb.deleteCharAt(sb.length()-1); sb.append(" */"); w.write(sb.toString()); if(debug) log("Matched comment: "+s+" -> "+sb.toString()); } case 53: break; case 19: { if(!deleteErrors) { throwError("Unknown @identifier "+yytext()); } else { String s = yytext(); if(debug) log("Discarded identifier: "+s); // Ignore } } case 54: break; case 27: { // This is horrible. However it seems that there is no other way to do it with either jflex or CUP, as {URL} cannot be an unambiguous token :( String s = yytext(); if(debug) log("Recognized URL: "+s); DecodedStringThingy dst = new DecodedStringThingy(s); if(!dst.url) { throw new IllegalStateException("parsing url().. isn't a url()"); } if(dst.suffix.length() > 0) { yypushback(dst.suffix.length()); dst.suffix = ""; } s = dst.data; if(debug) log("URL now: "+s); s = processURL(s); dst.data = s; if(s == null || s.equals("")) { if(debug) log("URL invalid"); w.write("url()"); } else { s = dst.toString(); if(debug) log("Writing: "+s); w.write(s); } } case 55: break; case 11: { String s = yytext(); w.write(s); if(debug) log("Matched measurement: "+s); } case 56: break; case 16: { String s = yytext(); w.write(s); if(debug) log("Matched |=: "+s); } case 57: break; case 30: { String s = yytext(); detectedCharset = s; if(debug) log("Matched and ignoring charset: "+s); // Ignore } case 58: break; case 10: { if(postBadImportFlag) { // Ignore postBadImportFlag = false; if(debug) log("Ignoring mediums list because after bad import: "+ yytext()); } else { String s = yytext(); w.write(s); if(debug) log("Matched and passing on mediums list: "+s); } } case 59: break; case 4: { String s = yytext(); w.write(s); if(debug) log("Matched single char: "+s); } case 60: break; case 14: { String s = yytext(); w.write(s); if(debug) log("Matched #name: "+s); } case 61: break; case 5: { String s = yytext(); w.write(s); if(debug) log("Matched function end: "+s); } case 62: break; default: if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { zzAtEOF = true; return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/8611b2af3ba1b1861afc23367621eb525f20ee2a/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1624, 93, 2316, 677, 1362, 92, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 1149, 5378, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 1323, 261, 3767, 13, 288, 1377, 11273, 21486, 1616, 48, 273, 11273, 21486, 1616, 31, 1377, 11273, 1803, 273, 300, 21, 31, 1377, 11273, 3935, 1616, 48, 273, 11273, 3935, 1616, 273, 11273, 1685, 1994, 273, 11273, 21486, 1616, 48, 31, 3639, 11273, 1119, 273, 11273, 14756, 1706, 1119, 31, 1377, 11273, 1290, 1803, 30, 288, 3639, 1323, 261, 3767, 13, 288, 2868, 309, 261, 6378, 3935, 1616, 48, 411, 11273, 1638, 1994, 48, 13, 5411, 11273, 1210, 273, 11273, 1892, 48, 63, 6378, 3935, 1616, 48, 9904, 15533, 1850, 469, 309, 261, 6378, 861, 12706, 13, 288, 5411, 11273, 1210, 273, 1624, 61, 12706, 31, 5411, 898, 11273, 1290, 1803, 31, 1850, 289, 1850, 469, 288, 5411, 368, 1707, 1473, 3472, 6865, 5411, 11273, 3935, 1616, 225, 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, 1624, 93, 2316, 677, 1362, 92, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 1149, 5378, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 2 ]
IMylarStructureBridge bridge = null;
AbstractContextStructureBridge bridge = null;
public void decorate(Object element, IDecoration decoration) { IMylarStructureBridge bridge = null; try { if (ContextCorePlugin.getDefault() == null) return; bridge = ContextCorePlugin.getDefault().getStructureBridge(element); } catch (ConcurrentModificationException cme) { // ignored, because we can add structure bridges during decoration } try { IMylarElement node = null; if (element instanceof MylarContextRelation) { decoration.setForegroundColor(ColorMap.RELATIONSHIP); } else if (element instanceof IMylarElement) { node = (IMylarElement) element; } else { if (bridge != null && bridge.getContentType() != null) { node = ContextCorePlugin.getContextManager().getElement(bridge.getHandleIdentifier(element)); } } if (node != null) { decoration.setBackgroundColor(UiUtil.getBackgroundForElement(node)); decoration.setForegroundColor(UiUtil.getForegroundForElement(node)); if (bridge != null && bridge.canBeLandmark(node.getHandleIdentifier()) && node.getInterest().isLandmark() && !node.getInterest().isPropagated() && !node.getInterest().isPredicted()) { decoration.setFont(ContextUiPrefContstants.BOLD); } } } catch (Exception e) { MylarStatusHandler.log(e, "decoration failed"); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/baa27a0143fa918888d03ea38da73a03c5fa88e0/InterestDecoratorLightweight.java/buggy/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/InterestDecoratorLightweight.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15752, 12, 921, 930, 16, 1599, 557, 22226, 29217, 13, 288, 202, 202, 3445, 93, 7901, 6999, 13691, 10105, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 1042, 4670, 3773, 18, 588, 1868, 1435, 422, 446, 13, 9506, 202, 2463, 31, 1082, 202, 18337, 273, 1772, 4670, 3773, 18, 588, 1868, 7675, 588, 6999, 13691, 12, 2956, 1769, 202, 202, 97, 1044, 261, 18521, 13467, 503, 276, 3501, 13, 288, 1082, 202, 759, 5455, 16, 2724, 732, 848, 527, 3695, 324, 1691, 2852, 4982, 29217, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 3445, 93, 7901, 1046, 756, 273, 446, 31, 1082, 202, 430, 261, 2956, 1276, 8005, 7901, 1042, 3963, 13, 288, 9506, 202, 11880, 367, 18, 542, 23206, 2957, 12, 2957, 863, 18, 27822, 20101, 1769, 1082, 202, 97, 469, 309, 261, 2956, 1276, 6246, 93, 7901, 1046, 13, 288, 9506, 202, 2159, 273, 261, 3445, 93, 7901, 1046, 13, 930, 31, 1082, 202, 97, 469, 288, 9506, 202, 430, 261, 18337, 480, 446, 597, 10105, 18, 588, 8046, 1435, 480, 446, 13, 288, 6862, 202, 2159, 273, 1772, 4670, 3773, 18, 29120, 1318, 7675, 21336, 12, 18337, 18, 588, 3259, 3004, 12, 2956, 10019, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 2159, 480, 446, 13, 288, 9506, 202, 11880, 367, 18, 542, 21699, 12, 13943, 1304, 18, 588, 8199, 1290, 1046, 12, 2159, 10019, 9506, 202, 11880, 367, 18, 542, 23206, 2957, 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, 15752, 12, 921, 930, 16, 1599, 557, 22226, 29217, 13, 288, 202, 202, 3445, 93, 7901, 6999, 13691, 10105, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 1042, 4670, 3773, 18, 588, 1868, 1435, 422, 446, 13, 9506, 202, 2463, 31, 1082, 202, 18337, 273, 1772, 4670, 3773, 18, 588, 1868, 7675, 588, 6999, 13691, 12, 2956, 1769, 202, 202, 97, 1044, 261, 18521, 13467, 503, 276, 3501, 13, 288, 1082, 202, 759, 5455, 16, 2724, 732, 848, 527, 3695, 324, 1691, 2852, 4982, 29217, 202, 202, 97, 202, 202, 698, 288, 1082, 202, 3445, 93, 7901, 1046, 756, 273, 446, 31, 1082, 202, 430, 261, 2956, 1276, 8005, 7901, 1042, 3963, 2 ]
public LispObject execute(LispObject[] args) throws LispError
public LispObject execute(LispObject args, Environment env) throws LispError
public LispObject execute(LispObject[] args) throws LispError { if (args.length < 1 || args.length > 2) throw new WrongNumberOfArgumentsException(this); Package pkg; if (args.length == 2) pkg = coerceToPackage(args[1]); else pkg = getCurrentPackage(); if (args[0] instanceof Cons) { LispObject list = args[0]; while (list != NIL) { pkg.usePackage(coerceToPackage(list.car())); list = list.cdr(); } } else pkg.usePackage(coerceToPackage(args[0])); return T; }
8279 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8279/e7823709c2ec0ef66bed0b43af115265246ea854/Primitives.java/clean/j/src/org/armedbear/lisp/Primitives.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 833, 16, 7518, 1550, 13, 1216, 511, 23831, 668, 3639, 288, 5411, 309, 261, 1968, 18, 2469, 411, 404, 747, 833, 18, 2469, 405, 576, 13, 7734, 604, 394, 24668, 9226, 4628, 503, 12, 2211, 1769, 5411, 7508, 3475, 31, 5411, 309, 261, 1968, 18, 2469, 422, 576, 13, 7734, 3475, 273, 12270, 774, 2261, 12, 1968, 63, 21, 19226, 5411, 469, 7734, 3475, 273, 5175, 2261, 5621, 5411, 309, 261, 1968, 63, 20, 65, 1276, 11020, 13, 288, 7734, 511, 23831, 921, 666, 273, 833, 63, 20, 15533, 7734, 1323, 261, 1098, 480, 423, 2627, 13, 288, 10792, 3475, 18, 1202, 2261, 12, 2894, 2765, 774, 2261, 12, 1098, 18, 9815, 1435, 10019, 10792, 666, 273, 666, 18, 71, 3069, 5621, 7734, 289, 5411, 289, 469, 7734, 3475, 18, 1202, 2261, 12, 2894, 2765, 774, 2261, 12, 1968, 63, 20, 5717, 1769, 5411, 327, 399, 31, 3639, 289, 2, 0, 0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0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 511, 23831, 921, 1836, 12, 48, 23831, 921, 833, 16, 7518, 1550, 13, 1216, 511, 23831, 668, 3639, 288, 5411, 309, 261, 1968, 18, 2469, 411, 404, 747, 833, 18, 2469, 405, 576, 13, 7734, 604, 394, 24668, 9226, 4628, 503, 12, 2211, 1769, 5411, 7508, 3475, 31, 5411, 309, 261, 1968, 18, 2469, 422, 576, 13, 7734, 3475, 273, 12270, 774, 2261, 12, 1968, 63, 21, 19226, 5411, 469, 7734, 3475, 273, 5175, 2261, 5621, 5411, 309, 261, 1968, 63, 20, 65, 1276, 11020, 13, 288, 7734, 511, 23831, 921, 666, 273, 833, 63, 20, 15533, 7734, 1323, 261, 1098, 480, 423, 2627, 13, 288, 10792, 3475, 18, 1202, 2261, 12, 2894, 2765, 774, 2261, 12, 2 ]
if (e.character == SWT.CR)
if (e.character == SWT.CR){ int index =currentSeachTable.getSelectionIndex(); setFilterText(currentSeachTable.getItem(index).getText()); textChanged(); popupShell.setVisible(false);
protected void createFilterControl(final Composite parent) { filterText = new Text(parent, SWT.DROP_DOWN | SWT.BORDER); filterText.setFont(parent.getFont()); searchHistory = getPreferenceSearchHistory(); final Shell shell = new Shell(parent.getShell(), SWT.NO_TRIM); shell .setBackground(parent.getDisplay().getSystemColor( SWT.COLOR_WHITE)); GridLayout shellGL = new GridLayout(); shellGL.marginHeight = 0; shellGL.marginWidth = 0; shell.setLayout(shellGL); shell.setLayoutData(new GridData( (GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL))); currentSeachTable = new Table(shell, SWT.SINGLE | SWT.BORDER); currentSeachTable.setLayoutData(new GridData( (GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL))); filterText.addTraverseListener(new TraverseListener() { public void keyTraversed(TraverseEvent e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; shell.setVisible(false); if (getViewer().getTree().getItemCount() == 0) { Display.getCurrent().beep(); setFilterText(""); //$NON-NLS-1$ } else { getViewer().getTree().setFocus(); } } } }); filterText.addKeyListener(new KeyAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.KeyAdapter#keyReleased(org.eclipse.swt.events.KeyEvent) */ public void keyReleased(KeyEvent e) { if (e.keyCode == SWT.ARROW_DOWN) { if (currentSeachTable.isVisible()) { // Make selection at popup table if (currentSeachTable.getSelectionCount() < 1) currentSeachTable.setSelection(0); currentSeachTable.setFocus(); } else // Make selection be on the left tree treeViewer.getTree().setFocus(); } else { if (e.character == SWT.CR) return; textChanged(); List result = new ArrayList(); result = reduceSearch(searchHistory, filterText.getText()); upDateTable(currentSeachTable, result); if (currentSeachTable.getItemCount() > 0) { Rectangle textBounds = filterText.getBounds(); Point point = getDisplay().map(parent, null, textBounds.x, textBounds.y); int space = currentSeachTable.getItemHeight(); shell.setBounds(point.x, point.y + textBounds.height, textBounds.width, currentSeachTable .getItemHeight() * currentSeachTable.getItemCount() + space); if (shell.isDisposed()) shell.open(); if (!shell.getVisible()) { shell.setVisible(true); filterText.setFocus(); } } else shell.setVisible(false); } } }); parent.getDisplay().addFilter(SWT.MouseDown, new Listener() { /* * (non-Javadoc) * * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Events) */ public void handleEvent(Event event) { if (!shell.isDisposed()) shell.setVisible(false); } }); getShell().addControlListener(new ControlAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.ControlListener#controlMoved(org.eclipse.swt.events.ControlEvent) */ public void controlMoved(ControlEvent e) { shell.setVisible(false); } }); currentSeachTable.addSelectionListener(new SelectionAdapter() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent) */ public void widgetSelected(SelectionEvent e) { setFilterText(currentSeachTable.getSelection()[0].getText()); textChanged(); } public void widgetDefaultSelected(SelectionEvent e) { shell.setVisible(false); } }); filterText.addDisposeListener(new DisposeListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent) */ public void widgetDisposed(DisposeEvent e) { saveDialogSettings(); } }); filterText.getAccessible().addAccessibleListener( getAccessibleListener()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/b66dc8401316f5e8e8d6761255634b0c5712e4f9/FilteredTextTree.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FilteredTextTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 1586, 3367, 12, 6385, 14728, 982, 13, 288, 202, 202, 2188, 1528, 273, 394, 3867, 12, 2938, 16, 348, 8588, 18, 18768, 67, 12711, 571, 348, 8588, 18, 38, 7954, 1769, 202, 202, 2188, 1528, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 3072, 5623, 273, 336, 9624, 2979, 5623, 5621, 202, 202, 6385, 19433, 5972, 273, 394, 19433, 12, 2938, 18, 588, 13220, 9334, 348, 8588, 18, 3417, 67, 6566, 49, 1769, 202, 202, 10304, 9506, 202, 18, 542, 8199, 12, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 25083, 202, 55, 8588, 18, 10989, 67, 16861, 10019, 202, 202, 6313, 3744, 5972, 11261, 273, 394, 7145, 3744, 5621, 202, 202, 10304, 11261, 18, 10107, 2686, 273, 374, 31, 202, 202, 10304, 11261, 18, 10107, 2384, 273, 374, 31, 202, 202, 10304, 18, 542, 3744, 12, 10304, 11261, 1769, 202, 202, 10304, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 9506, 202, 12, 6313, 751, 18, 29818, 67, 38, 18307, 571, 7145, 751, 18, 6997, 2090, 67, 44, 20344, 3719, 1769, 202, 202, 2972, 1761, 497, 1388, 273, 394, 3555, 12, 10304, 16, 348, 8588, 18, 20184, 571, 348, 8588, 18, 38, 7954, 1769, 202, 202, 2972, 1761, 497, 1388, 18, 542, 3744, 751, 12, 2704, 7145, 751, 12, 9506, 202, 12, 6313, 751, 18, 29818, 67, 38, 18307, 571, 7145, 751, 18, 6997, 2090, 67, 44, 20344, 3719, 1769, 202, 202, 2188, 1528, 18, 1289, 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, 752, 1586, 3367, 12, 6385, 14728, 982, 13, 288, 202, 202, 2188, 1528, 273, 394, 3867, 12, 2938, 16, 348, 8588, 18, 18768, 67, 12711, 571, 348, 8588, 18, 38, 7954, 1769, 202, 202, 2188, 1528, 18, 542, 5711, 12, 2938, 18, 588, 5711, 10663, 202, 202, 3072, 5623, 273, 336, 9624, 2979, 5623, 5621, 202, 202, 6385, 19433, 5972, 273, 394, 19433, 12, 2938, 18, 588, 13220, 9334, 348, 8588, 18, 3417, 67, 6566, 49, 1769, 202, 202, 10304, 9506, 202, 18, 542, 8199, 12, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 25083, 202, 55, 8588, 18, 10989, 67, 16861, 10019, 202, 202, 6313, 3744, 5972, 11261, 273, 394, 7145, 3744, 5621, 2 ]
if (noException) { try {
try { if (noException) {
public synchronized void start() { if (thread != null) { throw new GLException("Already started"); } if (runnable == null) { runnable = new Runnable() { public void run() { // Try to get OpenGL context optimization since we know we // will be rendering this one drawable continually from // this thread; make the context current once instead of // making it current and freeing it each frame. drawable.setRenderingThread(Thread.currentThread()); // Since setRenderingThread is currently advisory (because // of the poor JAWT implementation in the Motif AWT, which // performs excessive locking) we also prevent repaint(), // which is called from the AWT thread, from having an // effect for better multithreading behavior. This call is // not strictly necessary, but if end users write their // own animation loops which update multiple drawables per // tick then it may be necessary to enforce the order of // updates. drawable.setNoAutoRedrawMode(true); boolean noException = false; try { while (!shouldStop) { noException = false; drawable.display(); noException = true; } } finally { shouldStop = false; drawable.setNoAutoRedrawMode(false); if (noException) { try { drawable.setRenderingThread(null); } finally { thread = null; synchronized (Animator.this) { Animator.this.notify(); } } } } } }; } thread = new Thread(runnable); thread.start(); }
45742 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45742/e4c41409b1b9e108f80de50a1c2cc9830377c53c/Animator.java/buggy/src/net/java/games/jogl/Animator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 787, 1435, 288, 565, 309, 261, 5930, 480, 446, 13, 288, 1377, 604, 394, 10252, 503, 2932, 9430, 5746, 8863, 565, 289, 565, 309, 261, 2681, 6914, 422, 446, 13, 288, 1377, 14685, 273, 394, 10254, 1435, 288, 1850, 1071, 918, 1086, 1435, 288, 5411, 368, 6161, 358, 336, 3502, 11261, 819, 14850, 3241, 732, 5055, 732, 5411, 368, 903, 506, 9782, 333, 1245, 19021, 17545, 3452, 628, 5411, 368, 333, 2650, 31, 1221, 326, 819, 783, 3647, 3560, 434, 5411, 368, 10480, 518, 783, 471, 4843, 310, 518, 1517, 2623, 18, 5411, 19021, 18, 542, 14261, 3830, 12, 3830, 18, 2972, 3830, 10663, 5411, 368, 7897, 444, 14261, 3830, 353, 4551, 1261, 3516, 630, 261, 26274, 5411, 368, 434, 326, 8275, 280, 804, 37, 8588, 4471, 316, 326, 490, 352, 430, 432, 8588, 16, 1492, 5411, 368, 11199, 23183, 688, 18887, 13, 732, 2546, 5309, 24962, 9334, 5411, 368, 1492, 353, 2566, 628, 326, 432, 8588, 2650, 16, 628, 7999, 392, 5411, 368, 5426, 364, 7844, 1778, 483, 21803, 6885, 18, 1220, 745, 353, 5411, 368, 486, 23457, 4573, 16, 1496, 309, 679, 3677, 1045, 3675, 5411, 368, 4953, 8794, 14075, 1492, 1089, 3229, 3724, 1538, 1534, 5411, 368, 4024, 1508, 518, 2026, 506, 4573, 358, 12980, 326, 1353, 434, 5411, 368, 4533, 18, 5411, 19021, 18, 542, 2279, 4965, 3715, 1899, 2309, 12, 3767, 1769, 5411, 1250, 1158, 503, 273, 629, 31, 5411, 775, 288, 2868, 1323, 16051, 13139, 4947, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3852, 918, 787, 1435, 288, 565, 309, 261, 5930, 480, 446, 13, 288, 1377, 604, 394, 10252, 503, 2932, 9430, 5746, 8863, 565, 289, 565, 309, 261, 2681, 6914, 422, 446, 13, 288, 1377, 14685, 273, 394, 10254, 1435, 288, 1850, 1071, 918, 1086, 1435, 288, 5411, 368, 6161, 358, 336, 3502, 11261, 819, 14850, 3241, 732, 5055, 732, 5411, 368, 903, 506, 9782, 333, 1245, 19021, 17545, 3452, 628, 5411, 368, 333, 2650, 31, 1221, 326, 819, 783, 3647, 3560, 434, 5411, 368, 10480, 518, 783, 471, 4843, 310, 518, 1517, 2623, 18, 5411, 19021, 18, 542, 14261, 3830, 12, 3830, 18, 2972, 3830, 10663, 5411, 368, 7897, 444, 14261, 3830, 353, 4551, 1261, 3516, 630, 2 ]
};
}
public void widgetSelected(SelectionEvent event) { if ((event.widget.getStyle() & SWT.RADIO) != 0) { if (!((Button) event.widget).getSelection ()) return; } recreateExampleWidgets (); };
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/c2ce437a63d3b60125a283c15cfca323c2e2ec7b/CTabFolderTab.java/clean/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CTabFolderTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 871, 13, 288, 9506, 202, 430, 14015, 2575, 18, 6587, 18, 588, 2885, 1435, 473, 348, 8588, 18, 28829, 4294, 13, 480, 374, 13, 288, 6862, 202, 430, 16051, 12443, 3616, 13, 871, 18, 6587, 2934, 588, 6233, 1832, 13, 327, 31, 9506, 202, 97, 9506, 202, 266, 2640, 10908, 16166, 261, 1769, 1082, 202, 20451, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 871, 13, 288, 9506, 202, 430, 14015, 2575, 18, 6587, 18, 588, 2885, 1435, 473, 348, 8588, 18, 28829, 4294, 13, 480, 374, 13, 288, 6862, 202, 430, 16051, 12443, 3616, 13, 871, 18, 6587, 2934, 588, 6233, 1832, 13, 327, 31, 9506, 202, 97, 9506, 202, 266, 2640, 10908, 16166, 261, 1769, 1082, 202, 20451, 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 ]
private static void doState(Context c,WorkflowItem wi, int newstate, EPerson newowner) throws SQLException, IOException, AuthorizeException { Collection mycollection = wi.getCollection(); Group mygroup = null; wi.setState(newstate); // wi.update(); switch (newstate) { case WFSTATE_STEP1POOL: // any reviewers? // if so, add them to the tasklist wi.setOwner( null ); //wi.update(); // get reviewers (group 1 ) mygroup = mycollection.getWorkflowGroup( 1 ); if (mygroup != null ) { // there were reviewers, change the state // and add them to the list createTasks(c, wi, mygroup); wi.update(); // email notification notifyGroupOfTask(c, mygroup, wi); } else { // no reviewers, skip ahead doState(c, wi, WFSTATE_STEP2POOL, null); } break; case WFSTATE_STEP1: // remove reviewers from tasklist // assign owner deleteTasks(c, wi); wi.setOwner(newowner); //wi.update(); break; case WFSTATE_STEP2POOL: // clear owner // any approvers? // if so, add them to tasklist // if not, skip to next state wi.setOwner( null ); //wi.update(); // get approvers (group 2) mygroup = mycollection.getWorkflowGroup( 2 ); if( mygroup != null ) { // there were approvers, change the state // timestamp, and add them to the list createTasks(c, wi, mygroup ); //wi.update(); // email notification notifyGroupOfTask(c, mygroup, wi); } else { // no reviewers, skip ahead doState(c, wi, WFSTATE_STEP3POOL, null); } break; case WFSTATE_STEP2: // remove admins from tasklist // assign owner deleteTasks(c, wi); wi.setOwner(newowner); //wi.update(); break; case WFSTATE_STEP3POOL: // any editors? // if so, add them to tasklist wi.setOwner( null ); //wi.update(); mygroup = mycollection.getWorkflowGroup( 3 ); if( mygroup != null ) { // there were editors, change the state // timestamp, and add them to the list createTasks(c, wi, mygroup); //wi.update(); // email notification notifyGroupOfTask(c, mygroup, wi); } else { // no editors, skip ahead doState(c, wi, WFSTATE_ARCHIVE, newowner); } break; case WFSTATE_STEP3: // remove editors from tasklist // assign owner deleteTasks(c, wi); wi.setOwner(newowner); //wi.update(); break; case WFSTATE_ARCHIVE: // put in archive in one transaction// int itemid = wi.getItemId();// Collection col =// wi.getCollectionFromCollectionId(); try { // notify that it's been archived //notifyOfArchive( wi ); // remove workflow tasks deleteTasks(c, wi); mycollection = wi.getCollection(); Item myitem = archive(c, wi); // now email notification notifyOfArchive(c, myitem, mycollection); // index the item// DSIndexer.indexItem(c, myitem);// SubmitServlet.installItem(connection, wi); // delete workflow - done in installItem // wi.delete( connection );// wi = null; } catch(IOException e) { // indexer causes this throw e; } catch (SQLException e) { // problem starting workflow - roll back// connection.rollback(); throw e; } break; } if (wi != null) wi.update(); }
47214 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47214/fd403dfe7904f27b1621876ef0d32faefc6175ab/WorkflowManager.java/clean/dspace/src/org/dspace/workflow/WorkflowManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 918, 741, 1119, 12, 1042, 276, 16, 8484, 1180, 16138, 16, 509, 394, 2019, 16, 512, 8346, 394, 8443, 13, 15069, 6483, 16, 1860, 16, 23859, 503, 95, 2532, 3399, 5548, 273, 16138, 18, 588, 2532, 5621, 1114, 3399, 1655, 273, 446, 31, 91, 77, 18, 542, 1119, 12, 2704, 2019, 1769, 759, 202, 202, 91, 77, 18, 2725, 5621, 9610, 261, 2704, 2019, 15329, 3593, 678, 42, 7998, 67, 26951, 21, 20339, 2207, 1281, 10725, 414, 35, 759, 309, 1427, 16, 527, 2182, 358, 326, 1562, 1098, 91, 77, 18, 542, 5541, 12, 446, 11272, 759, 91, 77, 18, 2725, 5621, 759, 336, 10725, 414, 261, 1655, 404, 262, 4811, 1655, 273, 3399, 5548, 18, 588, 8484, 1114, 12, 404, 11272, 430, 261, 4811, 1655, 480, 446, 262, 95, 759, 1915, 4591, 10725, 414, 16, 2549, 326, 919, 759, 225, 471, 527, 2182, 358, 326, 666, 2640, 6685, 12, 71, 16, 16138, 16, 3399, 1655, 1769, 91, 77, 18, 2725, 5621, 759, 2699, 3851, 12336, 1114, 951, 2174, 12, 71, 16, 3399, 1655, 16, 16138, 1769, 97, 12107, 95, 759, 1158, 10725, 414, 16, 2488, 279, 580, 1289, 83, 1119, 12, 71, 16, 16138, 16, 678, 42, 7998, 67, 26951, 22, 20339, 16, 446, 1769, 97, 8820, 31, 3593, 678, 42, 7998, 67, 26951, 21, 2207, 1206, 10725, 414, 628, 1562, 1098, 759, 2683, 3410, 3733, 6685, 12, 71, 16, 16138, 1769, 91, 77, 18, 542, 5541, 12, 2704, 8443, 1769, 759, 91, 77, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 760, 918, 741, 1119, 12, 1042, 276, 16, 8484, 1180, 16138, 16, 509, 394, 2019, 16, 512, 8346, 394, 8443, 13, 15069, 6483, 16, 1860, 16, 23859, 503, 95, 2532, 3399, 5548, 273, 16138, 18, 588, 2532, 5621, 1114, 3399, 1655, 273, 446, 31, 91, 77, 18, 542, 1119, 12, 2704, 2019, 1769, 759, 202, 202, 91, 77, 18, 2725, 5621, 9610, 261, 2704, 2019, 15329, 3593, 678, 42, 7998, 67, 26951, 21, 20339, 2207, 1281, 10725, 414, 35, 759, 309, 1427, 16, 527, 2182, 358, 326, 1562, 1098, 91, 77, 18, 542, 5541, 12, 446, 11272, 759, 91, 77, 18, 2725, 5621, 759, 336, 10725, 414, 261, 1655, 404, 262, 4811, 1655, 273, 3399, 5548, 18, 588, 2 ]
public void testDatetimeRounding1() throws Exception { long dateTime = 1089297738677L; Timestamp value = new Timestamp(dateTime); Statement stmt = con.createStatement(); stmt.execute("create table #dtr1 (data datetime)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("insert into #dtr1 (data) values (?)"); pstmt.setTimestamp(1, value); assertTrue(pstmt.executeUpdate() == 1); pstmt.close(); pstmt = con.prepareStatement("select data from #dtr1"); ResultSet rs = pstmt.executeQuery(); assertTrue(rs.next()); assertTrue(value.equals(rs.getTimestamp(1))); assertTrue(!rs.next()); pstmt.close(); rs.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/b6c2b55c4a8a51cf38c59497cb712a38582b7fba/SAfeTest.java/clean/src/test/net/sourceforge/jtds/test/SAfeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 16103, 11066, 310, 21, 1435, 1216, 1185, 288, 377, 202, 5748, 9296, 273, 1728, 6675, 5540, 4700, 23, 5292, 4700, 48, 31, 377, 202, 4921, 460, 273, 394, 8159, 12, 712, 950, 1769, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 2640, 1014, 468, 72, 313, 21, 261, 892, 3314, 2225, 1769, 3639, 3480, 18, 4412, 5621, 7734, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 6387, 1368, 468, 72, 313, 21, 261, 892, 13, 924, 13590, 2225, 1769, 3639, 293, 10589, 18, 542, 4921, 12, 21, 16, 460, 1769, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 293, 10589, 18, 4412, 5621, 7734, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 4025, 501, 628, 468, 72, 313, 21, 8863, 3639, 10842, 3597, 273, 293, 10589, 18, 8837, 1138, 5621, 3639, 1815, 5510, 12, 5453, 18, 4285, 10663, 3639, 1815, 5510, 12, 1132, 18, 14963, 12, 5453, 18, 588, 4921, 12, 21, 3719, 1769, 3639, 1815, 5510, 12, 5, 5453, 18, 4285, 10663, 7734, 293, 10589, 18, 4412, 5621, 3639, 3597, 18, 4412, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 16103, 11066, 310, 21, 1435, 1216, 1185, 288, 377, 202, 5748, 9296, 273, 1728, 6675, 5540, 4700, 23, 5292, 4700, 48, 31, 377, 202, 4921, 460, 273, 394, 8159, 12, 712, 950, 1769, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 2640, 1014, 468, 72, 313, 21, 261, 892, 3314, 2225, 1769, 3639, 3480, 18, 4412, 5621, 7734, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 6387, 1368, 468, 72, 313, 21, 261, 892, 13, 924, 13590, 2225, 1769, 3639, 293, 10589, 18, 542, 4921, 12, 21, 16, 460, 1769, 3639, 1815, 5510, 12, 84, 10589, 18, 8837, 1891, 1435, 422, 404, 1769, 3639, 293, 10589, 18, 4412, 2 ]
try { buffer.remove(_caret + lineStart, caret - (_caret + lineStart)); } catch(BadLocationException bl) { Log.log(Log.ERROR,this,bl); }
buffer.remove(_caret + lineStart, caret - (_caret + lineStart));
public void backspaceWord() { if(!buffer.isEditable()) { getToolkit().beep(); return; } if(selection.size() != 0) { setSelectedText(""); return; } int lineStart = getLineStartOffset(caretLine); int _caret = caret - lineStart; String lineText = getLineText(caretLine); if(_caret == 0) { if(lineStart == 0) { getToolkit().beep(); return; } _caret--; } else { String noWordSep = (String)buffer.getProperty("noWordSep"); _caret = TextUtilities.findWordStart(lineText,_caret-1,noWordSep); } try { buffer.remove(_caret + lineStart, caret - (_caret + lineStart)); } catch(BadLocationException bl) { Log.log(Log.ERROR,this,bl); } } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/8d7069fe9a3aa5a198b54f0e3d34ddf054709cc4/JEditTextArea.java/clean/org/gjt/sp/jedit/textarea/JEditTextArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1473, 2981, 3944, 1435, 202, 95, 202, 202, 430, 12, 5, 4106, 18, 291, 15470, 10756, 202, 202, 95, 1082, 202, 588, 6364, 8691, 7675, 2196, 881, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 12, 10705, 18, 1467, 1435, 480, 374, 13, 202, 202, 95, 1082, 202, 542, 7416, 1528, 2932, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 474, 29208, 273, 9851, 1685, 2335, 12, 71, 20731, 1670, 1769, 202, 202, 474, 389, 71, 20731, 273, 21683, 300, 29208, 31, 202, 202, 780, 980, 1528, 273, 9851, 1528, 12, 71, 20731, 1670, 1769, 202, 202, 430, 24899, 71, 20731, 422, 374, 13, 202, 202, 95, 1082, 202, 430, 12, 1369, 1685, 422, 374, 13, 1082, 202, 95, 9506, 202, 588, 6364, 8691, 7675, 2196, 881, 5621, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 67, 71, 20731, 413, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 780, 1158, 3944, 5097, 273, 261, 780, 13, 4106, 18, 588, 1396, 2932, 2135, 3944, 5097, 8863, 1082, 202, 67, 71, 20731, 273, 3867, 11864, 18, 4720, 3944, 1685, 12, 1369, 1528, 16, 67, 71, 20731, 17, 21, 16, 2135, 3944, 5097, 1769, 202, 202, 97, 202, 202, 698, 202, 202, 95, 1082, 202, 4106, 18, 4479, 24899, 71, 20731, 397, 29208, 16, 9506, 202, 71, 20731, 300, 261, 67, 71, 20731, 397, 29208, 10019, 202, 202, 97, 202, 202, 14683, 12, 6434, 2735, 503, 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, 1473, 2981, 3944, 1435, 202, 95, 202, 202, 430, 12, 5, 4106, 18, 291, 15470, 10756, 202, 202, 95, 1082, 202, 588, 6364, 8691, 7675, 2196, 881, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 12, 10705, 18, 1467, 1435, 480, 374, 13, 202, 202, 95, 1082, 202, 542, 7416, 1528, 2932, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 474, 29208, 273, 9851, 1685, 2335, 12, 71, 20731, 1670, 1769, 202, 202, 474, 389, 71, 20731, 273, 21683, 300, 29208, 31, 202, 202, 780, 980, 1528, 273, 9851, 1528, 12, 71, 20731, 1670, 1769, 202, 202, 430, 24899, 71, 20731, 422, 374, 13, 202, 202, 95, 1082, 202, 430, 2 ]
monitor.worked(80);
monitor.worked(100 - workCount);
public IStatus run(IProgressMonitor monitor) { monitor.beginTask(WorkbenchMessages.getString("DecorationScheduler.CalculatingTask"), 100); //$NON-NLS-1$ //will block if there are no resources to be decorated DecorationReference reference; monitor.worked(20); while ((reference = nextElement()) != null) { DecorationBuilder cacheResult = new DecorationBuilder(); monitor.subTask(WorkbenchMessages.format("DecorationScheduler.DecoratingSubtask", new Object[] {reference.getElement().toString()})); //$NON-NLS-1$ //Don't decorate if there is already a pending result Object element = reference.getElement(); Object adapted = reference.getAdaptedElement(); boolean elementIsCached = true; DecorationResult adaptedResult = null; //Synchronize on the result lock as we want to //be sure that we do not try and decorate during //label update servicing. synchronized (resultLock) { elementIsCached = resultCache.containsKey(element); if (elementIsCached) { pendingUpdate.add(element); } if (adapted != null) { adaptedResult = (DecorationResult) resultCache.get(adapted); } } if (!elementIsCached) { //Just build for the resource first if (adapted != null) { if (adaptedResult == null) { decoratorManager .getLightweightManager() .getDecorations( adapted, cacheResult, true); if (cacheResult.hasValue()) { adaptedResult = cacheResult.createResult(); } } else { // If we already calculated the decoration // for the adapted element, reuse the result. cacheResult.applyResult(adaptedResult); // Set adaptedResult to null to indicate that // we do not need to cache the result again. adaptedResult = null; } } //Now add in the results for the main object decoratorManager .getLightweightManager() .getDecorations( element, cacheResult, false); //If we should update regardless then put a result anyways if (cacheResult.hasValue() || reference.shouldForceUpdate()) { //Synchronize on the result lock as we want to //be sure that we do not try and decorate during //label update servicing. //Note: resultCache and pendingUpdate modifications //must be done atomically. synchronized (resultLock) { if (adaptedResult != null) { resultCache.put(adapted, adaptedResult); } //Only add something to look up if it is interesting if (cacheResult.hasValue()) { resultCache.put( element, cacheResult.createResult()); } //Add an update for only the original element to //prevent multiple updates and clear the cache. pendingUpdate.add(element); } } } // Only notify listeners when we have exhausted the // queue of decoration requests. if (awaitingDecoration.isEmpty()) { decorated(); } } monitor.worked(80); return Status.OK_STATUS; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/103710ee73329ae29e7d6b5fee4129057271e550/DecorationScheduler.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 7859, 367, 11870, 18, 30238, 2174, 6, 3631, 2130, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 759, 20194, 1203, 309, 1915, 854, 1158, 2703, 358, 506, 13816, 9506, 202, 7859, 367, 2404, 2114, 31, 9506, 202, 10259, 18, 1252, 329, 12, 3462, 1769, 9506, 202, 17523, 14015, 6180, 273, 14512, 10756, 480, 446, 13, 288, 6862, 202, 7859, 367, 1263, 1247, 1253, 273, 394, 3416, 22226, 1263, 5621, 6862, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 2139, 2932, 7859, 367, 11870, 18, 7859, 1776, 1676, 4146, 3113, 394, 1033, 8526, 288, 6180, 18, 21336, 7675, 10492, 1435, 6792, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 759, 22293, 1404, 15752, 309, 1915, 353, 1818, 279, 4634, 563, 6862, 202, 921, 930, 273, 2114, 18, 21336, 5621, 6862, 202, 921, 28345, 273, 2114, 18, 588, 13716, 329, 1046, 5621, 6862, 202, 6494, 930, 2520, 9839, 273, 638, 31, 6862, 202, 7859, 367, 1253, 28345, 1253, 273, 446, 31, 6862, 202, 759, 19298, 554, 603, 326, 563, 2176, 487, 732, 2545, 358, 6862, 202, 759, 2196, 3071, 716, 732, 741, 486, 775, 471, 15752, 4982, 6862, 202, 759, 1925, 1089, 13515, 14774, 18, 6862, 202, 22043, 261, 2088, 2531, 13, 288, 25083, 202, 2956, 2520, 9839, 273, 563, 1649, 18, 12298, 653, 12, 2956, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 10259, 18, 10086, 2174, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 7859, 367, 11870, 18, 30238, 2174, 6, 3631, 2130, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 759, 20194, 1203, 309, 1915, 854, 1158, 2703, 358, 506, 13816, 9506, 202, 7859, 367, 2404, 2114, 31, 9506, 202, 10259, 18, 1252, 329, 12, 3462, 1769, 9506, 202, 17523, 14015, 6180, 273, 14512, 10756, 480, 446, 13, 288, 6862, 202, 7859, 367, 1263, 1247, 1253, 273, 394, 3416, 22226, 1263, 5621, 6862, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 2139, 2932, 7859, 367, 11870, 18, 7859, 1776, 1676, 4146, 2 ]
if (verbose) {
if (logTimers)
public void run() { running = true; try { sleep(init_delay); while (running) { sleep(interval); if (verbose) { System.out.println("javax.swing.Timer -> clocktick"); } ticks++; fireActionPerformed(); if (! repeat_ticks) break; } running = false; } catch (Exception e) { System.out.println("swing.Timer::" + e); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Timer.java/buggy/core/src/classpath/javax/javax/swing/Timer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 1377, 3549, 273, 638, 31, 1377, 775, 288, 202, 19607, 12, 2738, 67, 10790, 1769, 1082, 202, 17523, 261, 8704, 13, 202, 225, 288, 202, 565, 5329, 12, 6624, 1769, 202, 565, 309, 261, 11369, 13, 202, 1377, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 28384, 18, 5328, 310, 18, 6777, 317, 7268, 6470, 8863, 202, 1377, 289, 202, 565, 13003, 9904, 31, 202, 565, 4452, 19449, 5621, 21114, 565, 309, 16051, 7666, 67, 11767, 13, 202, 1377, 898, 31, 202, 225, 289, 202, 8704, 273, 629, 31, 1377, 289, 1044, 261, 503, 425, 13, 288, 202, 3163, 18, 659, 18, 8222, 2932, 5328, 310, 18, 6777, 30, 2773, 397, 425, 1769, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 565, 288, 1377, 3549, 273, 638, 31, 1377, 775, 288, 202, 19607, 12, 2738, 67, 10790, 1769, 1082, 202, 17523, 261, 8704, 13, 202, 225, 288, 202, 565, 5329, 12, 6624, 1769, 202, 565, 309, 261, 11369, 13, 202, 1377, 288, 202, 202, 3163, 18, 659, 18, 8222, 2932, 28384, 18, 5328, 310, 18, 6777, 317, 7268, 6470, 8863, 202, 1377, 289, 202, 565, 13003, 9904, 31, 202, 565, 4452, 19449, 5621, 21114, 565, 309, 16051, 7666, 67, 11767, 13, 202, 1377, 898, 31, 202, 225, 289, 202, 8704, 273, 629, 31, 1377, 289, 1044, 261, 503, 425, 13, 288, 202, 3163, 18, 659, 18, 8222, 2932, 5328, 310, 18, 6777, 30, 2773, 397, 2 ]
double[] from4=mInv.multiplyVector(from); double[] to4=mInv.multiplyVector(to);
double[] fromLocal=mInv.multiplyVector(from); double[] toLocal=mInv.multiplyVector(to);
public static void intersectPolygons(IndexedFaceSet ifs, int signature, SceneGraphPath path, double[] from, double[] to, ArrayList hits) { path.getMatrix(m.getArray()); path.getInverseMatrix(mInv.getArray()); double[] from4=mInv.multiplyVector(from); double[] to4=mInv.multiplyVector(to); double[] bary = new double[4], p1=new double[4], p2=new double[4], p3=new double[4], plane=new double[4], pobj=new double[4]; p1[3]=p2[3]=p3[3]=1; IntArrayArray faces=getFaces(ifs); DoubleArrayArray points = getPoints(ifs); if (faces == null || points == null || faces.getLength() == 0 || points.getLength() == 0 ) return; for (int i = 0, n=faces.getLength(); i<n; i++) { IntArray face = faces.getValueAt(i); // simple triangulation: tris: for (int j=0, c=face.getLength()-2; j<c; j++) { p1=points.getValueAt(face.getValueAt(0)).toDoubleArray(p1); p2=points.getValueAt(face.getValueAt(1+j)).toDoubleArray(p2); p3=points.getValueAt(face.getValueAt(2+j)).toDoubleArray(p3); plane = P3.planeFromPoints(plane, p1, p2, p3); pobj = P3.lineIntersectPlane(pobj, from4, to4, plane); if(pobj[3]*pobj[3]<Rn.TOLERANCE) continue; // parallel Pn.dehomogenize(p1, p1); Pn.dehomogenize(p2, p2); Pn.dehomogenize(p3, p3); if (!Hit.convertToBary(bary, p1, p2, p3, pobj)) continue; if ( ( (bary[0]<0||bary[0]>1) ||(bary[1]<0||bary[1]>1) ||(bary[2]<0||bary[2]>1) )||((bary[0]+bary[1]+bary[2]-1)*(bary[0]+bary[1]+bary[2]-1)> Rn.TOLERANCE)) { continue tris; } // TODO: the barycentric coordinates should be used in the PickResult for tex coordindates // check if for pobj = from4 + lambda * dir4: lambda >= 0 double[] d1 = Rn.subtract(null, to4, from4); double[] d2 = Rn.subtract(null, pobj, from4); if (Rn.innerProduct(d1, d2) < 0) continue tris; double[] pw = m.multiplyVector(pobj); hits.add(new Hit(path.pushNew(ifs), pw, Rn.euclideanDistance(from, pw), 0, PickResult.PICK_TYPE_FACE, i,j)); } } }
25476 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25476/a2a68573e3310f382d3bbee60a470fc6ae8813cf/BruteForcePicking.java/buggy/src-core/de/jreality/scene/pick/BruteForcePicking.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 9136, 11787, 87, 12, 15034, 11824, 694, 309, 87, 16, 509, 3372, 16, 29347, 4137, 743, 589, 16, 1645, 8526, 628, 16, 1645, 8526, 358, 16, 2407, 11076, 13, 288, 565, 589, 18, 588, 4635, 12, 81, 18, 588, 1076, 10663, 565, 589, 18, 588, 16376, 4635, 12, 81, 3605, 18, 588, 1076, 10663, 540, 1645, 8526, 628, 24, 33, 81, 3605, 18, 7027, 1283, 5018, 12, 2080, 1769, 565, 1645, 8526, 358, 24, 33, 81, 3605, 18, 7027, 1283, 5018, 12, 869, 1769, 565, 1645, 8526, 324, 814, 273, 394, 1645, 63, 24, 6487, 293, 21, 33, 2704, 1645, 63, 24, 6487, 293, 22, 33, 2704, 1645, 63, 24, 6487, 293, 23, 33, 2704, 1645, 63, 24, 6487, 11017, 33, 2704, 1645, 63, 24, 6487, 293, 2603, 33, 2704, 1645, 63, 24, 15533, 565, 293, 21, 63, 23, 65, 33, 84, 22, 63, 23, 65, 33, 84, 23, 63, 23, 65, 33, 21, 31, 565, 3094, 1076, 1076, 11058, 33, 588, 17268, 12, 17249, 1769, 565, 3698, 1076, 1076, 3143, 273, 15808, 87, 12, 17249, 1769, 565, 309, 261, 4601, 422, 446, 747, 3143, 422, 446, 747, 11058, 18, 588, 1782, 1435, 422, 374, 747, 3143, 18, 588, 1782, 1435, 422, 374, 262, 327, 31, 5411, 364, 261, 474, 277, 273, 374, 16, 290, 33, 4601, 18, 588, 1782, 5621, 277, 32, 82, 31, 277, 27245, 288, 1377, 3094, 1076, 7945, 273, 11058, 18, 24805, 861, 12, 77, 1769, 1377, 368, 4143, 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, 9136, 11787, 87, 12, 15034, 11824, 694, 309, 87, 16, 509, 3372, 16, 29347, 4137, 743, 589, 16, 1645, 8526, 628, 16, 1645, 8526, 358, 16, 2407, 11076, 13, 288, 565, 589, 18, 588, 4635, 12, 81, 18, 588, 1076, 10663, 565, 589, 18, 588, 16376, 4635, 12, 81, 3605, 18, 588, 1076, 10663, 540, 1645, 8526, 628, 24, 33, 81, 3605, 18, 7027, 1283, 5018, 12, 2080, 1769, 565, 1645, 8526, 358, 24, 33, 81, 3605, 18, 7027, 1283, 5018, 12, 869, 1769, 565, 1645, 8526, 324, 814, 273, 394, 1645, 63, 24, 6487, 293, 21, 33, 2704, 1645, 63, 24, 6487, 293, 22, 33, 2704, 1645, 63, 24, 6487, 293, 23, 33, 2704, 2 ]
mergeSort(a, 0, a.length, defaultComparator);
qsort(a, 0, a.length);
public static void sort(Object[]a) { mergeSort(a, 0, a.length, defaultComparator); }
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/8461b831308e0491402a9eb8bbc8a5c275570599/Arrays.java/buggy/libjava/java/util/Arrays.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 1524, 12, 921, 8526, 69, 13, 225, 288, 565, 1043, 3804, 12, 69, 16, 374, 16, 279, 18, 2469, 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, 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, 282, 1071, 760, 918, 1524, 12, 921, 8526, 69, 13, 225, 288, 565, 1043, 3804, 12, 69, 16, 374, 16, 279, 18, 2469, 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 ]
for (int g = 0; g < path.size(); g++)
for (int g = 0; g < path.size() - 1; g++)
private void detectRings(Vector pathes, IRingSet ringSet, IAtomContainer ac) { Path path = null; IRing ring = null; IBond bond = null; for (int f = 0; f < pathes.size(); f++) { path = (Path) pathes.elementAt(f); if (path.size() > 3 && path.lastElement() == path.firstElement()) { if (debug) { System.out.println("Removing path " + path.toString(originalAc) + " which is a ring."); } path.removeElementAt(0); ring = ac.getBuilder().newRing(); for (int g = 0; g < path.size(); g++) { ring.addAtom((IAtom) path.elementAt(g)); } IBond[] bonds = ac.getBonds(); for (int g = 0; g < bonds.length; g++) { bond = bonds[g]; if (ring.contains(bond.getAtom(0)) && ring.contains(bond.getAtom(1))) { ring.addBond(bond); } } ringSet.addAtomContainer(ring); } } }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/1b0d1e4b82175d02cec2eda93f44e886cd29ac9a/AllRingsFinder.java/clean/src/org/openscience/cdk/ringsearch/AllRingsFinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 5966, 54, 899, 12, 5018, 589, 281, 16, 467, 10369, 694, 9221, 694, 16, 13922, 1721, 13, 202, 95, 202, 202, 743, 589, 273, 446, 31, 202, 202, 7937, 310, 9221, 273, 446, 31, 202, 202, 45, 9807, 8427, 273, 446, 31, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 589, 281, 18, 1467, 5621, 284, 27245, 202, 202, 95, 1082, 202, 803, 273, 261, 743, 13, 589, 281, 18, 2956, 861, 12, 74, 1769, 1082, 202, 430, 261, 803, 18, 1467, 1435, 405, 890, 597, 589, 18, 2722, 1046, 1435, 422, 589, 18, 3645, 1046, 10756, 1082, 202, 95, 9506, 202, 430, 261, 4148, 13, 9506, 202, 95, 6862, 202, 3163, 18, 659, 18, 8222, 2932, 18939, 589, 315, 397, 589, 18, 10492, 12, 8830, 9988, 13, 397, 315, 1492, 353, 279, 9221, 1199, 1769, 9506, 202, 97, 9506, 202, 803, 18, 4479, 1046, 861, 12, 20, 1769, 9506, 202, 8022, 273, 1721, 18, 588, 1263, 7675, 2704, 10369, 5621, 9506, 202, 1884, 261, 474, 314, 273, 374, 31, 314, 411, 589, 18, 1467, 5621, 314, 27245, 9506, 202, 95, 6862, 202, 8022, 18, 1289, 3641, 12443, 45, 3641, 13, 589, 18, 2956, 861, 12, 75, 10019, 9506, 202, 97, 9506, 202, 45, 9807, 8526, 15692, 273, 1721, 18, 588, 26090, 5621, 9506, 202, 1884, 261, 474, 314, 273, 374, 31, 314, 411, 15692, 18, 2469, 31, 314, 27245, 9506, 202, 95, 6862, 202, 26425, 273, 15692, 63, 75, 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, 5966, 54, 899, 12, 5018, 589, 281, 16, 467, 10369, 694, 9221, 694, 16, 13922, 1721, 13, 202, 95, 202, 202, 743, 589, 273, 446, 31, 202, 202, 7937, 310, 9221, 273, 446, 31, 202, 202, 45, 9807, 8427, 273, 446, 31, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 589, 281, 18, 1467, 5621, 284, 27245, 202, 202, 95, 1082, 202, 803, 273, 261, 743, 13, 589, 281, 18, 2956, 861, 12, 74, 1769, 1082, 202, 430, 261, 803, 18, 1467, 1435, 405, 890, 597, 589, 18, 2722, 1046, 1435, 422, 589, 18, 3645, 1046, 10756, 1082, 202, 95, 9506, 202, 430, 261, 4148, 13, 9506, 202, 95, 6862, 202, 3163, 2 ]