rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if (!propertiesWritable)
if (propertiesReadOnly)
public void setFloatProperty(String name, float value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Float f = new Float(value); checkProperty(name, f); properties.put(name, f); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/f957880e3959fea3b4f38d9dbb1e5dd0c710c09e/JBossMessage.java/clean/src/main/org/jboss/jms/message/JBossMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 444, 4723, 1396, 12, 780, 508, 16, 1431, 460, 13, 1216, 20343, 282, 288, 1377, 309, 261, 4738, 12066, 13, 540, 604, 394, 2350, 1248, 3067, 429, 503, 2932, 2297, 854, 855, 17, 3700, 8863, 1377, 5450, 284, 273, 394, 5450, 12, 1132, 1769, 1377, 866, 1396, 12, 529, 16, 284, 1769, 1377, 1790, 18, 458, 12, 529, 16, 284, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 444, 4723, 1396, 12, 780, 508, 16, 1431, 460, 13, 1216, 20343, 282, 288, 1377, 309, 261, 4738, 12066, 13, 540, 604, 394, 2350, 1248, 3067, 429, 503, 2932, 2297, 854, 855, 17, 3700, 8863, 1377, 5450, 284, 273, 394, 5450, 12, 1132, 1769, 1377, 866, 1396, 12, 529, 16, 284, 1769, 1377, 1790, 18, 458, 12, 529, 16, 284, 1769, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
mockTm.expectAndReturn("getTransaction", (Transaction) mockTx.proxy());
mockTm.expectAndReturn("getTransaction", mockTx.proxy());
public void testBeginCommit() throws Exception { Mock mockTx = new Mock(Transaction.class); mockTm.expect("begin"); mockTm.expectAndReturn("getTransaction", (Transaction) mockTx.proxy()); XaTransaction tx = new XaTransaction(); assertFalse(tx.isBegun()); assertEquals(UMOTransaction.STATUS_NO_TRANSACTION, tx.getStatus()); tx.begin(); mockTx.expectAndReturn("getStatus", UMOTransaction.STATUS_ACTIVE); assertTrue(tx.isBegun()); mockTx.expectAndReturn("getStatus", UMOTransaction.STATUS_ACTIVE); mockTx.expect("commit"); tx.commit(); mockTx.expectAndReturn("getStatus", UMOTransaction.STATUS_COMMITTED); assertTrue(tx.isCommitted()); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/3ada23197c9cc39df49f26297238cc1a0f794d24/XaTransactionTestCase.java/buggy/src/test/java/org/mule/test/transaction/XaTransactionTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8149, 5580, 1435, 1216, 1185, 565, 288, 3639, 7867, 5416, 4188, 273, 394, 7867, 12, 3342, 18, 1106, 1769, 3639, 5416, 56, 81, 18, 12339, 2932, 10086, 8863, 3639, 5416, 56, 81, 18, 12339, 1876, 990, 2932, 588, 3342, 3113, 5416, 4188, 18, 5656, 10663, 3639, 1139, 69, 3342, 2229, 273, 394, 1139, 69, 3342, 5621, 3639, 1815, 8381, 12, 978, 18, 291, 24059, 318, 10663, 3639, 1815, 8867, 12, 2799, 51, 3342, 18, 8608, 67, 3417, 67, 22364, 16, 2229, 18, 588, 1482, 10663, 3639, 2229, 18, 10086, 5621, 3639, 5416, 4188, 18, 12339, 1876, 990, 2932, 588, 1482, 3113, 587, 5980, 3342, 18, 8608, 67, 13301, 1769, 3639, 1815, 5510, 12, 978, 18, 291, 24059, 318, 10663, 3639, 5416, 4188, 18, 12339, 1876, 990, 2932, 588, 1482, 3113, 587, 5980, 3342, 18, 8608, 67, 13301, 1769, 3639, 5416, 4188, 18, 12339, 2932, 7371, 8863, 3639, 2229, 18, 7371, 5621, 3639, 5416, 4188, 18, 12339, 1876, 990, 2932, 588, 1482, 3113, 587, 5980, 3342, 18, 8608, 67, 18658, 6404, 1769, 3639, 1815, 5510, 12, 978, 18, 291, 27813, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8149, 5580, 1435, 1216, 1185, 565, 288, 3639, 7867, 5416, 4188, 273, 394, 7867, 12, 3342, 18, 1106, 1769, 3639, 5416, 56, 81, 18, 12339, 2932, 10086, 8863, 3639, 5416, 56, 81, 18, 12339, 1876, 990, 2932, 588, 3342, 3113, 5416, 4188, 18, 5656, 10663, 3639, 1139, 69, 3342, 2229, 273, 394, 1139, 69, 3342, 5621, 3639, 1815, 8381, 12, 978, 18, 291, 24059, 318, 10663, 3639, 1815, 8867, 12, 2799, 51, 3342, 18, 8608, 67, 3417, 67, 22364, 16, 2229, 18, 588, 1482, 10663, 3639, 2229, 18, 10086, 5621, 3639, 5416, 4188, 18, 12339, 1876, 990, 2932, 588, 1482, 3113, 587, 5980, 3342, 18, 8608, 67, 13301, 1769, 3639, 1815, 5510, 12, 978, 18, 2 ]
throw new JarSignerException("Cannot load the keystore " + storeURI, e);
throw new JarSignerException("Cannot load the keystore " + storeURI, e);
KeyStore getKeyStore() throws JarSignerException { if (keyStore == null) { String ksProvName = (ksProviderName != null) ? ksProviderName : providerName; try { keyStore = KeyStoreLoaderSaver.loadStore(storeURI, storeType, storePass, ksProvName); } catch (Exception e) { throw new JarSignerException("Cannot load the keystore " + storeURI, e); } } return keyStore; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/8671abe21fec38b4552360904ff055c2828d44fc/JSParameters.java/buggy/modules/tools/src/main/java/org/apache/harmony/tools/jarsigner/JSParameters.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 17017, 3579, 2257, 1435, 1216, 15644, 15647, 503, 288, 3639, 309, 261, 856, 2257, 422, 446, 13, 288, 5411, 514, 11654, 626, 90, 461, 273, 261, 7904, 31192, 480, 446, 13, 692, 11654, 31192, 10792, 294, 26036, 31, 5411, 775, 288, 7734, 17901, 273, 17017, 2886, 55, 21851, 18, 945, 2257, 12, 2233, 3098, 16, 1707, 559, 16, 13491, 1707, 6433, 16, 11654, 626, 90, 461, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 604, 394, 15644, 15647, 503, 2932, 4515, 1262, 326, 16262, 315, 397, 1707, 3098, 16, 425, 1769, 5411, 289, 3639, 289, 3639, 327, 17901, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 17017, 3579, 2257, 1435, 1216, 15644, 15647, 503, 288, 3639, 309, 261, 856, 2257, 422, 446, 13, 288, 5411, 514, 11654, 626, 90, 461, 273, 261, 7904, 31192, 480, 446, 13, 692, 11654, 31192, 10792, 294, 26036, 31, 5411, 775, 288, 7734, 17901, 273, 17017, 2886, 55, 21851, 18, 945, 2257, 12, 2233, 3098, 16, 1707, 559, 16, 13491, 1707, 6433, 16, 11654, 626, 90, 461, 1769, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 604, 394, 15644, 15647, 503, 2932, 4515, 1262, 326, 16262, 315, 397, 1707, 3098, 16, 425, 1769, 5411, 289, 3639, 289, 3639, 327, 17901, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
checkRequiredMavenVersion( plugin, localRepository, project.getPluginArtifactRepositories() );
List remoteRepositories = new ArrayList(); remoteRepositories.addAll( project.getPluginArtifactRepositories() ); remoteRepositories.addAll( project.getRemoteArtifactRepositories() ); checkRequiredMavenVersion( plugin, localRepository, remoteRepositories );
public PluginDescriptor verifyPlugin( Plugin plugin, MavenProject project, Settings settings, ArtifactRepository localRepository ) throws ArtifactResolutionException, PluginManagerException, PluginVersionResolutionException { // TODO: this should be possibly outside // All version-resolution logic has been moved to DefaultPluginVersionManager. if ( plugin.getVersion() == null ) { String version = pluginVersionManager.resolvePluginVersion( plugin.getGroupId(), plugin.getArtifactId(), project, settings, localRepository ); plugin.setVersion( version ); } // TODO: this might result in an artifact "RELEASE" being resolved continuously // FIXME: need to find out how a plugin gets marked as 'installed' // and no ChildContainer exists. The check for that below fixes // the 'Can't find plexus container for plugin: xxx' error. if ( !pluginCollector.isPluginInstalled( plugin ) || container.getChildContainer( plugin.getKey() ) == null ) { try { VersionRange versionRange = VersionRange.createFromVersionSpec( plugin.getVersion() ); checkRequiredMavenVersion( plugin, localRepository, project.getPluginArtifactRepositories() ); Artifact pluginArtifact = artifactFactory.createPluginArtifact( plugin.getGroupId(), plugin.getArtifactId(), versionRange ); addPlugin( plugin, pluginArtifact, project, localRepository ); project.addPlugin( plugin ); } catch ( PlexusContainerException e ) { throw new PluginManagerException( "Error occurred in the artifact container attempting to download plugin " + plugin.getKey(), e ); } catch ( ArtifactResolutionException e ) { String groupId = plugin.getGroupId(); String artifactId = plugin.getArtifactId(); String version = plugin.getVersion(); if ( groupId == null || artifactId == null || version == null ) { throw new PluginNotFoundException( e ); } else if ( groupId.equals( e.getGroupId() ) && artifactId.equals( e.getArtifactId() ) && version.equals( e.getVersion() ) && "maven-plugin".equals( e.getType() ) ) { throw new PluginNotFoundException( e ); } else { throw e; } } catch ( InvalidVersionSpecificationException e ) { throw new PluginVersionResolutionException( plugin.getGroupId(), plugin.getArtifactId(), "Invalid version specification", e ); } } return pluginCollector.getPluginDescriptor( plugin ); }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/6f72bd51df5331ea192410390921a19f83953a07/DefaultPluginManager.java/clean/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6258, 3187, 3929, 3773, 12, 6258, 1909, 16, 17176, 4109, 1984, 16, 8709, 1947, 16, 4766, 1850, 14022, 3305, 1191, 3305, 262, 3639, 1216, 14022, 11098, 503, 16, 6258, 28020, 16, 6258, 1444, 11098, 503, 565, 288, 3639, 368, 2660, 30, 333, 1410, 506, 10016, 8220, 3639, 368, 4826, 1177, 17, 19182, 4058, 711, 2118, 10456, 358, 2989, 3773, 1444, 1318, 18, 3639, 309, 261, 1909, 18, 588, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 514, 1177, 273, 1909, 1444, 1318, 18, 10828, 3773, 1444, 12, 1909, 18, 588, 8722, 9334, 1909, 18, 588, 7581, 548, 9334, 28524, 3639, 1984, 16, 1947, 16, 1191, 3305, 11272, 5411, 1909, 18, 542, 1444, 12, 1177, 11272, 3639, 289, 3639, 368, 2660, 30, 333, 4825, 563, 316, 392, 6462, 315, 30762, 6, 3832, 4640, 17235, 715, 3639, 368, 9852, 30, 1608, 358, 1104, 596, 3661, 279, 1909, 5571, 9350, 487, 296, 13435, 11, 3639, 368, 471, 1158, 7451, 2170, 1704, 18, 1021, 866, 364, 716, 5712, 24436, 3639, 368, 326, 296, 2568, 1404, 1104, 293, 4149, 407, 1478, 364, 1909, 30, 23354, 11, 555, 18, 3639, 309, 261, 401, 4094, 7134, 18, 291, 3773, 16747, 12, 1909, 262, 747, 1478, 18, 588, 1763, 2170, 12, 1909, 18, 588, 653, 1435, 262, 422, 446, 262, 3639, 288, 5411, 775, 5411, 288, 7734, 4049, 2655, 1177, 2655, 273, 4049, 2655, 18, 2640, 1265, 1444, 1990, 12, 1909, 18, 588, 1444, 1435, 11272, 7734, 987, 2632, 18429, 273, 394, 2407, 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, 6258, 3187, 3929, 3773, 12, 6258, 1909, 16, 17176, 4109, 1984, 16, 8709, 1947, 16, 4766, 1850, 14022, 3305, 1191, 3305, 262, 3639, 1216, 14022, 11098, 503, 16, 6258, 28020, 16, 6258, 1444, 11098, 503, 565, 288, 3639, 368, 2660, 30, 333, 1410, 506, 10016, 8220, 3639, 368, 4826, 1177, 17, 19182, 4058, 711, 2118, 10456, 358, 2989, 3773, 1444, 1318, 18, 3639, 309, 261, 1909, 18, 588, 1444, 1435, 422, 446, 262, 3639, 288, 5411, 514, 1177, 273, 1909, 1444, 1318, 18, 10828, 3773, 1444, 12, 1909, 18, 588, 8722, 9334, 1909, 18, 588, 7581, 548, 9334, 28524, 3639, 1984, 16, 1947, 16, 1191, 3305, 11272, 5411, 1909, 18, 542, 1444, 12, 1177, 11272, 3639, 289, 2 ]
public void load(InputStream is) throws IOException, SAXException {
public void load(InputStream is) {
public void load(InputStream is) throws IOException, SAXException { TodoParser.SINGLETON.readTodoList(is, true); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/56eeb0d4d18fb3e553e32d15e2c45dccd76eb958/ProjectMemberTodoList.java/buggy/src_new/org/argouml/cognitive/ProjectMemberTodoList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 12, 4348, 353, 13, 1216, 1860, 16, 14366, 565, 288, 202, 56, 7370, 2678, 18, 20184, 56, 673, 18, 896, 56, 7370, 682, 12, 291, 16, 638, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 12, 4348, 353, 13, 1216, 1860, 16, 14366, 565, 288, 202, 56, 7370, 2678, 18, 20184, 56, 673, 18, 896, 56, 7370, 682, 12, 291, 16, 638, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEquals("Should be invokable1", "one", dispatcher.dispatch(invocation));
assertEquals("Should be invokable1", "one", dispatcher.dispatch(invocation));
public void testSearchesForMatchInLIFOOrder() throws Throwable { invokable1.matchesInvocation.setExpected(invocation); invokable1.matchesResult = true; invokable1.invokeInvocation.setExpected(invocation); invokable1.invokeResult = "one"; invokable2.matchesInvocation.setExpected(invocation); invokable2.matchesResult = false; invokable2.invokeInvocation.setExpectNothing(); dispatcher.add(invokable1); dispatcher.add(invokable2); assertEquals("Should be invokable1", "one", dispatcher.dispatch(invocation)); verifyInvokables(); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/LIFOInvocationDispatcherTest.java/clean/jmock/core/src/test/jmock/core/LIFOInvocationDispatcherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 16294, 1290, 2060, 382, 2053, 3313, 2448, 1435, 1216, 4206, 288, 3639, 5770, 429, 21, 18, 8436, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 3639, 5770, 429, 21, 18, 8436, 1253, 273, 638, 31, 3639, 5770, 429, 21, 18, 14407, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 3639, 5770, 429, 21, 18, 14407, 1253, 273, 315, 476, 14432, 3639, 5770, 429, 22, 18, 8436, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 3639, 5770, 429, 22, 18, 8436, 1253, 273, 629, 31, 3639, 5770, 429, 22, 18, 14407, 9267, 18, 542, 11988, 23814, 5621, 3639, 7393, 18, 1289, 12, 5768, 601, 429, 21, 1769, 3639, 7393, 18, 1289, 12, 5768, 601, 429, 22, 1769, 3639, 1815, 8867, 2932, 14309, 506, 5770, 429, 21, 3113, 315, 476, 3113, 7393, 18, 10739, 12, 5768, 4431, 10019, 3639, 3929, 11354, 1538, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 16294, 1290, 2060, 382, 2053, 3313, 2448, 1435, 1216, 4206, 288, 3639, 5770, 429, 21, 18, 8436, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 3639, 5770, 429, 21, 18, 8436, 1253, 273, 638, 31, 3639, 5770, 429, 21, 18, 14407, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 3639, 5770, 429, 21, 18, 14407, 1253, 273, 315, 476, 14432, 3639, 5770, 429, 22, 18, 8436, 9267, 18, 542, 6861, 12, 5768, 4431, 1769, 3639, 5770, 429, 22, 18, 8436, 1253, 273, 629, 31, 3639, 5770, 429, 22, 18, 14407, 9267, 18, 542, 11988, 23814, 5621, 3639, 7393, 18, 1289, 12, 5768, 601, 429, 21, 1769, 3639, 7393, 18, 1289, 12, 5768, 601, 429, 22, 2 ]
public void addTo(String addstr, Object name) throws Exception { addRecipient(addstr, name, Message.RecipientType.TO);
public void addTo(String addstr, Object name) { try { addRecipient(addstr, name, Message.RecipientType.TO); } catch (Exception mx) { System.err.println("Error in MailObject.addTO(): "+mx); setStatus(TO); }
public void addTo(String addstr, Object name) throws Exception { addRecipient(addstr, name, Message.RecipientType.TO); }
3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/a85de95c0b5d7a04af806ba4d7bfee3a0d1b7578/MailObject.java/clean/src/helma/scripting/rhino/extensions/MailObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9604, 12, 780, 527, 701, 16, 1033, 508, 13, 1216, 1185, 288, 3639, 527, 18241, 12, 1289, 701, 16, 508, 16, 2350, 18, 18241, 559, 18, 4296, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 9604, 12, 780, 527, 701, 16, 1033, 508, 13, 1216, 1185, 288, 3639, 527, 18241, 12, 1289, 701, 16, 508, 16, 2350, 18, 18241, 559, 18, 4296, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void mousePressed(java.awt.event.MouseEvent evt) {
public void mousePressed(final java.awt.event.MouseEvent evt) {
public void mousePressed(java.awt.event.MouseEvent evt) { versionsContentJListMousePressed(evt); }
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/5df2e6a8f48a4687ecb1808669030ad1f9cc6e45/ContainerVersionsPanel.java/buggy/client-ui/src/main/java/com/thinkparity/ophelia/browser/application/browser/display/renderer/tab/container/ContainerVersionsPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 7644, 24624, 12, 6385, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 7734, 5244, 1350, 46, 682, 9186, 24624, 12, 73, 11734, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 7644, 24624, 12, 6385, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 6324, 13, 288, 7734, 5244, 1350, 46, 682, 9186, 24624, 12, 73, 11734, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void lookupValues(Row row) throws KettleException { Value val_hash = null; Value val_key = null; if (first) { determineTechKeyCreation(); debug="First: lookup keys etc"; first=false; // Lookup values data.keynrs = new int[meta.getKeyField().length]; for (int i=0;i<meta.getKeyField().length;i++) { data.keynrs[i]=row.searchValueIndex(meta.getKeyField()[i]); if (data.keynrs[i]<0) // couldn't find field! { throw new KettleStepException(Messages.getString("CombinationLookup.Exception.FieldNotFound",meta.getKeyField()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } } // Sort lookup values in reverse so we can delete from back to front! if (meta.replaceFields()) { int x,y; int size=meta.getKeyField().length; int nr1, nr2; for (x=0;x<size;x++) { for (y=0;y<size-1;y++) { nr1 = data.keynrs[y]; nr2 = data.keynrs[y+1]; if (nr2>nr1) // reverse sort: swap values... { int nr_dummy = data.keynrs[y]; String key_dummy = meta.getKeyField()[y]; String keylookup_dummy = meta.getKeyLookup()[y]; data.keynrs[y] = data.keynrs[y+1]; meta.getKeyField()[y] = meta.getKeyField()[y+1]; meta.getKeyLookup()[y] = meta.getKeyLookup()[y+1]; data.keynrs[y+1] = nr_dummy; meta.getKeyField()[y+1] = key_dummy; meta.getKeyLookup()[y+1] = keylookup_dummy; } } } } debug="First: setCombiLookup"; data.db.setCombiLookup(meta.getTablename(), meta.getKeyLookup(), meta.getTechnicalKeyField(), meta.useHash(), meta.getHashField() ); } debug="Create lookup row lu"; Row lu = new Row(); for (int i=0;i<meta.getKeyField().length;i++) { lu.addValue( row.getValue(data.keynrs[i]) ); // KEYi = ? } debug="Use hashcode?"; if (meta.useHash()) { val_hash = new Value(meta.getHashField(), (long)lu.hashCode()); lu.clear(); lu.addValue(val_hash); } else { lu.clear(); } debug="Add values to lookup row lu"; for (int i=0;i<meta.getKeyField().length;i++) { Value parval = row.getValue(data.keynrs[i]); lu.addValue( parval ); // KEYi = ? lu.addValue( parval ); // KEYi IS NULL or ? IS NULL } debug="Check the cache"; // Before doing the actual lookup in the database, see if it's not in the cache... val_key = lookupInCache(lu); if (val_key==null) { debug="Set lookup values"; data.db.setValuesLookup(lu); debug="Get the row back"; Row add=data.db.getLookup(); linesInput++; if (add==null) // The dimension entry was not found, we need to add it! { debug="New entry: calc autoinc/sequence/..."; // First try to use an AUTOINCREMENT field boolean autoinc=false; switch ( getTechKeyCreation() ) { case CREATION_METHOD_TABLEMAX: // Use our own counter: what's the next value for the technical key? val_key=new Value(meta.getTechnicalKeyField(), 0.0); // value to accept new key... data.db.getNextValue(getTransMeta().getCounters(), meta.getTablename(), val_key); break; case CREATION_METHOD_AUTOINC: autoinc=true; val_key=new Value(meta.getTechnicalKeyField(), 0.0); // value to accept new key... break; case CREATION_METHOD_SEQUENCE: val_key=data.db.getNextSequenceValue(meta.getSequenceFrom(), meta.getTechnicalKeyField()); if (val_key!=null && log.isRowLevel()) logRowlevel(Messages.getString("CombinationLookup.Log.FoundNextSequenceValue")+val_key.toString()); //$NON-NLS-1$ break; } debug="New entry: calc tkFieldName"; String tkFieldName = meta.getTechnicalKeyField(); if (autoinc) tkFieldName=null; debug="New entry: combiInsert"; data.db.combiInsert( row, meta.getTablename(), tkFieldName, autoinc, val_key, meta.getKeyLookup(), data.keynrs, meta.useHash(), meta.getHashField(), val_hash ); linesOutput++; log.logRowlevel(toString(), Messages.getString("CombinationLookup.Log.AddedDimensionEntry")+val_key); //$NON-NLS-1$ debug="New entry: Store in cache "; // Also store it in our Hashtable... storeInCache(lu, val_key); } else { debug="Found: stored in cache"; val_key = add.getValue(0); // Only one value possible here... storeInCache(lu, val_key); } } debug="Replace fields?"; // See if we need to replace the fields with the technical key if (meta.replaceFields()) { for (int i=0;i<data.keynrs.length;i++) { row.removeValue(data.keynrs[i]); // safe because reverse sorted on index nr. } } debug="add Technical Key"; // Add the technical key... row.addValue( val_key ); }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/3586c4222dfaa4b67012407bb2990d849c860283/CombinationLookup.java/clean/kettle/src/be/ibridge/kettle/trans/step/combinationlookup/CombinationLookup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3689, 1972, 12, 1999, 1027, 13, 202, 202, 15069, 1475, 278, 5929, 503, 202, 95, 202, 202, 620, 1244, 67, 2816, 565, 273, 446, 31, 202, 202, 620, 1244, 67, 856, 377, 273, 446, 31, 9506, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 24661, 56, 8987, 653, 9906, 5621, 25083, 202, 4148, 1546, 3759, 30, 3689, 1311, 5527, 14432, 1082, 202, 3645, 33, 5743, 31, 25083, 202, 759, 8834, 924, 1082, 202, 892, 18, 856, 82, 5453, 565, 273, 394, 509, 63, 3901, 18, 588, 653, 974, 7675, 2469, 15533, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 3901, 18, 588, 653, 974, 7675, 2469, 31, 77, 27245, 1082, 202, 95, 9506, 202, 892, 18, 856, 82, 5453, 63, 77, 65, 33, 492, 18, 3072, 620, 1016, 12, 3901, 18, 588, 653, 974, 1435, 63, 77, 19226, 9506, 202, 430, 261, 892, 18, 856, 82, 5453, 63, 77, 65, 32, 20, 13, 368, 17991, 1404, 1104, 652, 5, 9506, 202, 95, 6862, 202, 12849, 394, 1475, 278, 5929, 4160, 503, 12, 5058, 18, 588, 780, 2932, 26062, 6609, 18, 503, 18, 974, 2768, 3113, 3901, 18, 588, 653, 974, 1435, 63, 77, 5717, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 9506, 202, 97, 1875, 202, 97, 25083, 202, 759, 5928, 3689, 924, 316, 4219, 1427, 732, 848, 1430, 628, 1473, 358, 6641, 5, 1082, 202, 430, 261, 3901, 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, 225, 202, 1152, 918, 3689, 1972, 12, 1999, 1027, 13, 202, 202, 15069, 1475, 278, 5929, 503, 202, 95, 202, 202, 620, 1244, 67, 2816, 565, 273, 446, 31, 202, 202, 620, 1244, 67, 856, 377, 273, 446, 31, 9506, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 24661, 56, 8987, 653, 9906, 5621, 25083, 202, 4148, 1546, 3759, 30, 3689, 1311, 5527, 14432, 1082, 202, 3645, 33, 5743, 31, 25083, 202, 759, 8834, 924, 1082, 202, 892, 18, 856, 82, 5453, 565, 273, 394, 509, 63, 3901, 18, 588, 653, 974, 7675, 2469, 15533, 1082, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 3901, 18, 588, 653, 974, 7675, 2469, 31, 77, 27245, 1082, 2 ]
return true;
/* If we get here, we've exhausted the loop of servers without * sending the message or throwing an exception. One case * where this might happen is if we get a MessagingException on * each transport.connect(), e.g., if there is only one server * and we get a connect exception. Return FALSE to keep run() * from deleting the message. */ return false;
private boolean deliver(MailImpl mail, Session session) { try { if (isDebug) { log("Attempting to deliver " + mail.getName()); } MimeMessage message = mail.getMessage(); //Create an array of the recipients as InternetAddress objects Collection recipients = mail.getRecipients(); InternetAddress addr[] = new InternetAddress[recipients.size()]; int j = 0; for (Iterator i = recipients.iterator(); i.hasNext(); j++) { MailAddress rcpt = (MailAddress)i.next(); addr[j] = rcpt.toInternetAddress(); } //Figure out which servers to try to send to. This collection // will hold all the possible target servers Collection targetServers = null; if (gatewayServer == null) { MailAddress rcpt = (MailAddress) recipients.iterator().next(); String host = rcpt.getHost(); //Lookup the possible targets targetServers = getMailetContext().getMailServers(host); if (targetServers.size() == 0) { log("No mail server found for: " + host); StringBuffer exceptionBuffer = new StringBuffer(128) .append("There are no DNS entries for the hostname ") .append(host) .append(". I cannot determine where to send this message."); return failMessage(mail, new MessagingException(exceptionBuffer.toString()), false); } } else { targetServers = new Vector(); targetServers.add(gatewayServer); } MessagingException lastError = null; if (addr.length > 0) { Iterator i = targetServers.iterator(); while ( i.hasNext()) { try { String outgoingMailServer = i.next().toString (); StringBuffer logMessageBuffer = new StringBuffer(256) .append("Attempting delivery of ") .append(mail.getName()) .append(" to host ") .append(outgoingMailServer) .append(" to addresses ") .append(Arrays.asList(addr)); log(logMessageBuffer.toString()); URLName urlname = new URLName("smtp://" + outgoingMailServer); Properties props = session.getProperties(); if (mail.getSender() == null) { props.put("mail.smtp.from", "<>"); } else { String sender = mail.getSender().toString(); props.put("mail.smtp.from", sender); } //Many of these properties are only in later JavaMail versions //"mail.smtp.ehlo" //default true //"mail.smtp.auth" //default false //"mail.smtp.dsn.ret" //default to nothing... appended as RET= after MAIL FROM line. //"mail.smtp.dsn.notify" //default to nothing...appended as NOTIFY= after RCPT TO line. Transport transport = null; try { transport = session.getTransport(urlname); try { transport.connect(); } catch (MessagingException me) { // Any error on connect should cause the mailet to attempt // to connect to the next SMTP server associated with this MX record, // assuming the number of retries hasn't been exceeded. if (failMessage(mail, me, false)) { return true; } else { continue; } } transport.sendMessage(message, addr); } finally { if (transport != null) { transport.close(); transport = null; } } logMessageBuffer = new StringBuffer(256) .append("Mail (") .append(mail.getName()) .append(") sent successfully to ") .append(outgoingMailServer); log(logMessageBuffer.toString()); return true; } catch (MessagingException me) { //MessagingException are horribly difficult to figure out what actually happened. StringBuffer exceptionBuffer = new StringBuffer(256) .append("Exception delivering message (") .append(mail.getName()) .append(") - ") .append(me.getMessage()); log(exceptionBuffer.toString()); if ((me.getNextException() != null) && (me.getNextException() instanceof java.io.IOException)) { //This is more than likely a temporary failure // If it's an IO exception with no nested exception, it's probably // some socket or weird I/O related problem. lastError = me; continue; } // This was not a connection or I/O error particular to one // SMTP server of an MX set. Instead, it is almost certainly // a protocol level error. In this case we assume that this // is an error we'd encounter with any of the SMTP servers // associated with this MX record, and we pass the exception // to the code in the outer block that determines its severity. throw me; } } // end while //If we encountered an exception while looping through, send the last exception we got if (lastError != null) { throw lastError; } } else { log("No recipients specified... not sure how this could have happened."); } } catch (SendFailedException sfe) { //Would like to log all the types of email addresses if (sfe.getValidSentAddresses() != null) { Address[] validSent = sfe.getValidSentAddresses(); Collection recipients = mail.getRecipients(); //Remove these addresses for the recipients for (int i = 0; i < validSent.length; i++) { try { MailAddress addr = new MailAddress(validSent[i].toString()); recipients.remove(addr); } catch (ParseException pe) { //ignore once debugging done pe.printStackTrace(); } } } // The rest of the recipients failed for one reason or another. // let failMessage handle it -- 5xx codes are permanent, others temporary. /* * SendFailedException actually handles this for us. For * example, if you send a message that has multiple invalid * addresses, you'll get a top-level SendFailedException * that that has the valid, valid-unsent, and invalid * address lists, with all of the server response messages * will be contained within the nested exceptions. [Note: * the content of the nested exceptions is implementation * dependent.] * * For an immediate fix, we will simply go one level down. * THIS IS ONLY TEMPORARY. * * Proposal: * * By the time we get here, we've removed the valid sent * addresses from the message (see the code right above). * * sfe.getInvalidAddresses() should be considered permanent. * sfe.getValidUnsentAddresses() should be considered temporary. * * JavaMail v1.3 properly populates those collections based * upon the 4xx and 5xx response codes. * * failMessage could re-spool for ValidUnsetAddresses, and * bounce InvalidAddresses. * */ //Assume it is a permanent exception, or prove ourselves otherwise boolean permanent = true; switch (sfe.getMessage().charAt(0)) { case '4': permanent = false; break; case '5': permanent = true; break; default: Exception nested = sfe.getNextException(); if (nested != null) { permanent = ('5' == nested.getMessage().charAt(0)); } } return failMessage(mail, sfe, permanent); } catch (MessagingException ex) { // We should do a better job checking this... if the failure is a general // connect exception, this is less descriptive than more specific SMTP command // failure... have to lookup and see what are the various Exception // possibilities //Unable to deliver message after numerous tries... fail accordingly return failMessage(mail, ex, ('5' == ex.getMessage().charAt(0))); } return true; }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/893dd84963d60dc5cf9a4eed55163e419562028a/RemoteDelivery.java/buggy/branches/branch_2_1_fcs/src/java/org/apache/james/transport/mailets/RemoteDelivery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 11795, 12, 6759, 2828, 4791, 16, 3877, 1339, 13, 288, 3639, 775, 288, 5411, 309, 261, 291, 2829, 13, 288, 7734, 613, 2932, 23089, 358, 11795, 315, 397, 4791, 18, 17994, 10663, 5411, 289, 5411, 22059, 1079, 883, 273, 4791, 18, 24906, 5621, 5411, 368, 1684, 392, 526, 434, 326, 12045, 487, 21352, 1887, 2184, 5411, 2200, 12045, 273, 4791, 18, 588, 22740, 5621, 5411, 21352, 1887, 3091, 8526, 273, 394, 21352, 1887, 63, 27925, 18, 1467, 1435, 15533, 5411, 509, 525, 273, 374, 31, 5411, 364, 261, 3198, 277, 273, 12045, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 525, 27245, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 77, 18, 4285, 5621, 7734, 3091, 63, 78, 65, 273, 4519, 337, 18, 869, 26562, 1887, 5621, 5411, 289, 5411, 368, 42, 15906, 596, 1492, 7084, 358, 775, 358, 1366, 358, 18, 225, 1220, 1849, 5411, 368, 225, 903, 6887, 777, 326, 3323, 1018, 7084, 5411, 2200, 1018, 11913, 273, 446, 31, 5411, 309, 261, 11127, 2081, 422, 446, 13, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 12045, 18, 9838, 7675, 4285, 5621, 7734, 514, 1479, 273, 4519, 337, 18, 588, 2594, 5621, 7734, 368, 6609, 326, 3323, 5774, 7734, 1018, 11913, 273, 31991, 278, 1042, 7675, 588, 6759, 11913, 12, 2564, 1769, 7734, 309, 261, 3299, 11913, 18, 1467, 1435, 422, 374, 13, 288, 10792, 613, 2932, 2279, 4791, 1438, 1392, 364, 30, 315, 397, 1479, 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, 1250, 11795, 12, 6759, 2828, 4791, 16, 3877, 1339, 13, 288, 3639, 775, 288, 5411, 309, 261, 291, 2829, 13, 288, 7734, 613, 2932, 23089, 358, 11795, 315, 397, 4791, 18, 17994, 10663, 5411, 289, 5411, 22059, 1079, 883, 273, 4791, 18, 24906, 5621, 5411, 368, 1684, 392, 526, 434, 326, 12045, 487, 21352, 1887, 2184, 5411, 2200, 12045, 273, 4791, 18, 588, 22740, 5621, 5411, 21352, 1887, 3091, 8526, 273, 394, 21352, 1887, 63, 27925, 18, 1467, 1435, 15533, 5411, 509, 525, 273, 374, 31, 5411, 364, 261, 3198, 277, 273, 12045, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 525, 27245, 288, 7734, 11542, 1887, 4519, 337, 273, 261, 6759, 1887, 13, 77, 18, 4285, 2 ]
throw new NotYetImplementedException();
return delegate.createMapMessage();
public MapMessage createMapMessage() throws JMSException { throw new NotYetImplementedException(); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/c02fe0abfa86eceacf6101f304bc185026342c82/JBossSession.java/buggy/src/main/org/jboss/jms/client/JBossSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1635, 1079, 752, 863, 1079, 1435, 1216, 20343, 282, 288, 1377, 327, 7152, 18, 2640, 863, 1079, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1635, 1079, 752, 863, 1079, 1435, 1216, 20343, 282, 288, 1377, 327, 7152, 18, 2640, 863, 1079, 5621, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!escapingNotNeeded(ch) || (m_charInfo.isSpecial(ch)))
if (!escapingNotNeeded(ch) || ( (fromTextNode && m_charInfo.isSpecialTextChar(ch)) || (!fromTextNode && m_charInfo.isSpecialAttrChar(ch))))
protected int accumDefaultEscape( Writer writer, char ch, int i, char[] chars, int len, boolean escLF) throws IOException { int pos = accumDefaultEntity(writer, ch, i, chars, len, escLF); if (i == pos) { if (0xd800 <= ch && ch < 0xdc00) { // UTF-16 surrogate int next; if (i + 1 >= len) { throw new IOException( XMLMessages.createXMLMessage( XMLErrorResources.ER_INVALID_UTF16_SURROGATE, new Object[] { Integer.toHexString(ch)})); //"Invalid UTF-16 surrogate detected: " //+Integer.toHexString(ch)+ " ?"); } else { next = chars[++i]; if (!(0xdc00 <= next && next < 0xe000)) throw new IOException( XMLMessages.createXMLMessage( XMLErrorResources .ER_INVALID_UTF16_SURROGATE, new Object[] { Integer.toHexString(ch) + " " + Integer.toHexString(next)})); //"Invalid UTF-16 surrogate detected: " //+Integer.toHexString(ch)+" "+Integer.toHexString(next)); next = ((ch - 0xd800) << 10) + next - 0xdc00 + 0x00010000; } writer.write("&#"); writer.write(Integer.toString(next)); writer.write(';'); pos += 2; // count the two characters that went into writing out this entity /*} else if (null != ctbc && !ctbc.canConvert(ch)) { sb.append("&#x"); sb.append(Integer.toString((int)ch, 16)); sb.append(";");*/ } else { if (!escapingNotNeeded(ch) || (m_charInfo.isSpecial(ch))) { writer.write("&#"); writer.write(Integer.toString(ch)); writer.write(';'); } else { writer.write(ch); } pos++; // count the single character that was processed } } return pos; }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/4482d8d80ead98291774223463630650929702d5/ToStream.java/buggy/src/org/apache/xml/serializer/ToStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 22778, 1868, 8448, 12, 3639, 5497, 2633, 16, 3639, 1149, 462, 16, 3639, 509, 277, 16, 3639, 1149, 8526, 5230, 16, 3639, 509, 562, 16, 3639, 1250, 2904, 9105, 13, 3639, 1216, 1860, 565, 288, 3639, 509, 949, 273, 22778, 1868, 1943, 12, 6299, 16, 462, 16, 277, 16, 5230, 16, 562, 16, 2904, 9105, 1769, 3639, 309, 261, 77, 422, 949, 13, 3639, 288, 5411, 309, 261, 20, 7669, 17374, 1648, 462, 597, 462, 411, 374, 92, 7201, 713, 13, 5411, 288, 7734, 368, 6380, 17, 2313, 24054, 7734, 509, 1024, 31, 7734, 309, 261, 77, 397, 404, 1545, 562, 13, 7734, 288, 10792, 604, 394, 1860, 12, 13491, 3167, 5058, 18, 2640, 4201, 1079, 12, 18701, 3167, 668, 3805, 18, 654, 67, 9347, 67, 5159, 2313, 67, 26397, 1457, 26316, 16, 18701, 394, 1033, 8526, 288, 2144, 18, 869, 14866, 12, 343, 13, 6792, 1769, 10792, 368, 6, 1941, 6380, 17, 2313, 24054, 8316, 30, 315, 10792, 368, 15, 4522, 18, 869, 14866, 12, 343, 27921, 315, 692, 8863, 7734, 289, 7734, 469, 7734, 288, 10792, 1024, 273, 5230, 63, 9904, 77, 15533, 10792, 309, 16051, 12, 20, 92, 7201, 713, 1648, 1024, 597, 1024, 411, 374, 6554, 3784, 3719, 13491, 604, 394, 1860, 12, 18701, 3167, 5058, 18, 2640, 4201, 1079, 12, 27573, 3167, 668, 3805, 4766, 565, 263, 654, 67, 9347, 67, 5159, 2313, 67, 26397, 1457, 26316, 16, 27573, 394, 1033, 8526, 288, 4766, 565, 2144, 18, 869, 14866, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 22778, 1868, 8448, 12, 3639, 5497, 2633, 16, 3639, 1149, 462, 16, 3639, 509, 277, 16, 3639, 1149, 8526, 5230, 16, 3639, 509, 562, 16, 3639, 1250, 2904, 9105, 13, 3639, 1216, 1860, 565, 288, 3639, 509, 949, 273, 22778, 1868, 1943, 12, 6299, 16, 462, 16, 277, 16, 5230, 16, 562, 16, 2904, 9105, 1769, 3639, 309, 261, 77, 422, 949, 13, 3639, 288, 5411, 309, 261, 20, 7669, 17374, 1648, 462, 597, 462, 411, 374, 92, 7201, 713, 13, 5411, 288, 7734, 368, 6380, 17, 2313, 24054, 7734, 509, 1024, 31, 7734, 309, 261, 77, 397, 404, 1545, 562, 13, 7734, 288, 10792, 604, 394, 1860, 12, 13491, 3167, 5058, 18, 2640, 4201, 1079, 2 ]
} else if (tokenizer.sval.equalsIgnoreCase("date")) {
} else if (tokenizer.sval.equalsIgnoreCase(Attribute.ARFF_ATTRIBUTE_DATE)) {
protected void readHeader(StreamTokenizer tokenizer) throws IOException { String attributeName; FastVector attributeValues; int i; // Get name of relation. getFirstToken(tokenizer); if (tokenizer.ttype == StreamTokenizer.TT_EOF) { errms(tokenizer,"premature end of file"); } if (tokenizer.sval.equalsIgnoreCase("@relation")){ getNextToken(tokenizer); m_RelationName = tokenizer.sval; getLastToken(tokenizer,false); } else { errms(tokenizer,"keyword @relation expected"); } // Create vectors to hold information temporarily. m_Attributes = new FastVector(); // Get attribute declarations. getFirstToken(tokenizer); if (tokenizer.ttype == StreamTokenizer.TT_EOF) { errms(tokenizer,"premature end of file"); } while (tokenizer.sval.equalsIgnoreCase("@attribute")) { // Get attribute name. getNextToken(tokenizer); attributeName = tokenizer.sval; getNextToken(tokenizer); // Check if attribute is nominal. if (tokenizer.ttype == StreamTokenizer.TT_WORD) { // Attribute is real, integer, or string. if (tokenizer.sval.equalsIgnoreCase("real") || tokenizer.sval.equalsIgnoreCase("integer") || tokenizer.sval.equalsIgnoreCase("numeric")) { m_Attributes.addElement(new Attribute(attributeName, numAttributes())); readTillEOL(tokenizer); } else if (tokenizer.sval.equalsIgnoreCase("string")) { m_Attributes. addElement(new Attribute(attributeName, (FastVector)null, numAttributes())); readTillEOL(tokenizer); } else if (tokenizer.sval.equalsIgnoreCase("date")) { String format = null; if (tokenizer.nextToken() != StreamTokenizer.TT_EOL) { if ((tokenizer.ttype != StreamTokenizer.TT_WORD) && (tokenizer.ttype != '\'') && (tokenizer.ttype != '\"')) { errms(tokenizer,"not a valid date format"); } format = tokenizer.sval; readTillEOL(tokenizer); } else { tokenizer.pushBack(); } m_Attributes.addElement(new Attribute(attributeName, format, numAttributes())); } else { errms(tokenizer,"no valid attribute type or invalid "+ "enumeration"); } } else { // Attribute is nominal. attributeValues = new FastVector(); tokenizer.pushBack(); // Get values for nominal attribute. if (tokenizer.nextToken() != '{') { errms(tokenizer,"{ expected at beginning of enumeration"); } while (tokenizer.nextToken() != '}') { if (tokenizer.ttype == StreamTokenizer.TT_EOL) { errms(tokenizer,"} expected at end of enumeration"); } else { attributeValues.addElement(tokenizer.sval); } } if (attributeValues.size() == 0) { errms(tokenizer,"no nominal values found"); } m_Attributes. addElement(new Attribute(attributeName, attributeValues, numAttributes())); } getLastToken(tokenizer,false); getFirstToken(tokenizer); if (tokenizer.ttype == StreamTokenizer.TT_EOF) errms(tokenizer,"premature end of file"); } // Check if data part follows. We can't easily check for EOL. if (!tokenizer.sval.equalsIgnoreCase("@data")) { errms(tokenizer,"keyword @data expected"); } // Check if any attributes have been declared. if (m_Attributes.size() == 0) { errms(tokenizer,"no attributes declared"); } // Allocate buffers in case sparse instances have to be read m_ValueBuffer = new double[numAttributes()]; m_IndicesBuffer = new int[numAttributes()]; }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/da2aa23d3caf334c3f4e512e14136de1a3f1ebcd/Instances.java/buggy/weka/core/Instances.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 855, 1864, 12, 1228, 10524, 10123, 13, 1377, 1216, 1860, 288, 3639, 514, 9734, 31, 565, 9545, 5018, 1566, 1972, 31, 565, 509, 277, 31, 565, 368, 968, 508, 434, 2533, 18, 565, 7521, 1345, 12, 2316, 1824, 1769, 565, 309, 261, 2316, 1824, 18, 88, 723, 422, 3961, 10524, 18, 1470, 67, 12706, 13, 288, 1377, 393, 959, 12, 2316, 1824, 10837, 1484, 81, 1231, 679, 434, 585, 8863, 565, 289, 565, 309, 261, 2316, 1824, 18, 87, 1125, 18, 14963, 5556, 2932, 36, 5488, 6, 3719, 95, 1377, 22616, 12, 2316, 1824, 1769, 1377, 312, 67, 3963, 461, 273, 10123, 18, 87, 1125, 31, 1377, 7595, 1345, 12, 2316, 1824, 16, 5743, 1769, 565, 289, 469, 288, 1377, 393, 959, 12, 2316, 1824, 10837, 11041, 632, 5488, 2665, 8863, 565, 289, 565, 368, 1788, 10046, 358, 6887, 1779, 18917, 18, 565, 312, 67, 2498, 273, 394, 9545, 5018, 5621, 377, 368, 968, 1566, 12312, 18, 565, 7521, 1345, 12, 2316, 1824, 1769, 565, 309, 261, 2316, 1824, 18, 88, 723, 422, 3961, 10524, 18, 1470, 67, 12706, 13, 288, 1377, 393, 959, 12, 2316, 1824, 10837, 1484, 81, 1231, 679, 434, 585, 8863, 565, 289, 565, 1323, 261, 2316, 1824, 18, 87, 1125, 18, 14963, 5556, 2932, 36, 4589, 6, 3719, 288, 1377, 368, 968, 1566, 508, 18, 1377, 22616, 12, 2316, 1824, 1769, 1377, 9734, 273, 10123, 18, 87, 1125, 31, 1377, 22616, 12, 2316, 1824, 1769, 1377, 368, 2073, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 855, 1864, 12, 1228, 10524, 10123, 13, 1377, 1216, 1860, 288, 3639, 514, 9734, 31, 565, 9545, 5018, 1566, 1972, 31, 565, 509, 277, 31, 565, 368, 968, 508, 434, 2533, 18, 565, 7521, 1345, 12, 2316, 1824, 1769, 565, 309, 261, 2316, 1824, 18, 88, 723, 422, 3961, 10524, 18, 1470, 67, 12706, 13, 288, 1377, 393, 959, 12, 2316, 1824, 10837, 1484, 81, 1231, 679, 434, 585, 8863, 565, 289, 565, 309, 261, 2316, 1824, 18, 87, 1125, 18, 14963, 5556, 2932, 36, 5488, 6, 3719, 95, 1377, 22616, 12, 2316, 1824, 1769, 1377, 312, 67, 3963, 461, 273, 10123, 18, 87, 1125, 31, 1377, 7595, 1345, 12, 2316, 1824, 16, 5743, 1769, 565, 2 ]
public HibernateDBLayer(Undertaker undertaker) { this(undertaker, "", null, null);
public HibernateDBLayer(DatabaseSettings settings) { this(null, settings);
public HibernateDBLayer(Undertaker undertaker) { this(undertaker, "", null, null); }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/e58895a8af69faac60cbce6f60c0c83258a4d425/HibernateDBLayer.java/buggy/trunk/src/net/sf/plantlore/server/HibernateDBLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 670, 24360, 2290, 4576, 12, 14655, 88, 6388, 3613, 88, 6388, 13, 288, 377, 202, 2211, 12, 9341, 88, 6388, 16, 23453, 446, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 670, 24360, 2290, 4576, 12, 14655, 88, 6388, 3613, 88, 6388, 13, 288, 377, 202, 2211, 12, 9341, 88, 6388, 16, 23453, 446, 16, 446, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
hookActivityListener();
hookListeners();
private ActivityPersistanceHelper() { loadEnabledStates(); hookActivityListener(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5a71b78fe812d8fe9b96f07d70a137fd3193cb89/ActivityPersistanceHelper.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActivityPersistanceHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 9621, 12771, 1359, 2276, 1435, 288, 3639, 1262, 1526, 7629, 5621, 3639, 3953, 5583, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9621, 12771, 1359, 2276, 1435, 288, 3639, 1262, 1526, 7629, 5621, 3639, 3953, 5583, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return null;
return new DefaultTreeCellEditor.EditorContainer();
protected Container createContainer() { return null; // TODO }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/aa6d4551020d668e0117627b6c897b57ffb692b6/DefaultTreeCellEditor.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 4039, 752, 2170, 1435, 225, 288, 202, 202, 2463, 394, 2989, 2471, 4020, 6946, 18, 6946, 2170, 5621, 368, 2660, 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, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4039, 752, 2170, 1435, 225, 288, 202, 202, 2463, 394, 2989, 2471, 4020, 6946, 18, 6946, 2170, 5621, 368, 2660, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(debug) { debugger=new Debugger((JChannel)channel); debugger.start(); }
public void start() throws Exception { channel=new JChannel(props); if(debug) { debugger=new Debugger((JChannel)channel); debugger.start(); } //channel.setOpt(Channel.LOCAL, Boolean.FALSE); disp=new MessageDispatcher(channel, null, null, this); channel.connect("MessageDispatcherTestAsyncGroup"); }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/28be62b4097e0b01b17ca403d23ca6a4aac01eca/MessageDispatcherTestAsync.java/buggy/tests/other/org/jgroups/tests/MessageDispatcherTestAsync.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 1435, 1216, 1185, 288, 3639, 1904, 33, 2704, 804, 2909, 12, 9693, 1769, 3639, 309, 12, 4148, 13, 288, 5411, 19977, 33, 2704, 28645, 12443, 46, 2909, 13, 4327, 1769, 5411, 19977, 18, 1937, 5621, 3639, 289, 3639, 368, 4327, 18, 542, 6179, 12, 2909, 18, 14922, 16, 3411, 18, 21053, 1769, 3639, 16232, 33, 2704, 2350, 6681, 12, 4327, 16, 446, 16, 446, 16, 333, 1769, 3639, 1904, 18, 3612, 2932, 1079, 6681, 4709, 2771, 1114, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 1435, 1216, 1185, 288, 3639, 1904, 33, 2704, 804, 2909, 12, 9693, 1769, 3639, 309, 12, 4148, 13, 288, 5411, 19977, 33, 2704, 28645, 12443, 46, 2909, 13, 4327, 1769, 5411, 19977, 18, 1937, 5621, 3639, 289, 3639, 368, 4327, 18, 542, 6179, 12, 2909, 18, 14922, 16, 3411, 18, 21053, 1769, 3639, 16232, 33, 2704, 2350, 6681, 12, 4327, 16, 446, 16, 446, 16, 333, 1769, 3639, 1904, 18, 3612, 2932, 1079, 6681, 4709, 2771, 1114, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private ITaskInstance createTask(ITaskDefinition td, IProcessInstance pi, IFOE foe) throws CreateObjectException, StateFailureException, DefinitionNotFoundException { if (foe == null || pi == null || td == null) { throw new CreateObjectException( "Missing required parameters to create a Task Instance - TD: " + td + ", PI: " + pi + ", FOE:" + foe); } /* * TODO should probably add another check here to ensure that task def * comes from process instance's process def (i.e. protect against potential * workflow definition corruption) */ if (td.isSynchronised()) { // task is a syncTask - we need to ensure that there is only // TaskInstance for this definition for (Iterator it = pi.getTaskInstances().iterator(); it.hasNext();) { ITaskInstance checkTask = (ITaskInstance) it.next(); if (checkTask.getTaskDefinition().getId().longValue() == td .getId().longValue()) { // found this task already, so just return it if (log.isInfoEnabled()) { log .info("Instance of Sync Task already exists; returning this instance"); } return checkTask; } } } /* * instance of sync task not found or was not a sync task, so we create * the new one */ if (log.isInfoEnabled()) { log.info("Creating new instance of TaskDef " + td); } ITaskInstance task = stateFactory.createTaskInstance(td, pi, foe); // check to see if task has an initialiser - if not, ensure status is // set optimally if (td.isSynchronised()) { task.setState(ITaskInstance.STATE_AWAITINGSYNC); } else if (td.getClassConstruct() != null) { task.setState(ITaskInstance.STATE_AWAITINGINITIALISATION); } else { task.setState(ITaskInstance.STATE_READY); } stateFactory.saveObject(task); return task; }
9195 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9195/4a0b0093623b8c5849a36f4fa5abb7df3dc603ff/Engine.java/clean/zebra/src/java/zebra-core/src/java/com/anite/zebra/core/Engine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 2174, 1442, 752, 2174, 12, 1285, 835, 1852, 6655, 16, 467, 2227, 1442, 4790, 16, 467, 3313, 41, 284, 15548, 13, 1082, 202, 15069, 1788, 921, 503, 16, 3287, 14389, 16, 1082, 202, 1852, 3990, 288, 9506, 202, 430, 261, 617, 73, 422, 446, 747, 4790, 422, 446, 747, 6655, 422, 446, 13, 288, 1082, 202, 12849, 394, 1788, 921, 503, 12, 6862, 202, 6, 4841, 1931, 1472, 358, 752, 279, 3837, 5180, 300, 29763, 30, 315, 397, 6655, 397, 3104, 7024, 30, 315, 397, 4790, 397, 3104, 17634, 41, 2773, 397, 284, 15548, 1769, 202, 202, 97, 202, 202, 20308, 1082, 380, 2660, 1410, 8656, 527, 4042, 866, 2674, 358, 3387, 716, 1562, 1652, 1082, 380, 14535, 628, 1207, 791, 1807, 1207, 1652, 261, 77, 18, 73, 18, 17151, 5314, 8555, 1082, 380, 6095, 2379, 1858, 21421, 13, 1082, 1195, 202, 202, 430, 261, 4465, 18, 291, 19298, 5918, 10756, 288, 1082, 202, 759, 1562, 353, 279, 3792, 2174, 300, 732, 1608, 358, 3387, 716, 1915, 353, 1338, 1082, 202, 759, 3837, 1442, 364, 333, 2379, 1082, 202, 1884, 261, 3198, 518, 273, 4790, 18, 588, 2174, 5361, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 1285, 835, 1442, 866, 2174, 273, 261, 1285, 835, 1442, 13, 518, 18, 4285, 5621, 9506, 202, 430, 261, 1893, 2174, 18, 588, 2174, 1852, 7675, 26321, 7675, 5748, 620, 1435, 422, 6655, 25083, 202, 18, 26321, 7675, 5748, 620, 10756, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 2174, 1442, 752, 2174, 12, 1285, 835, 1852, 6655, 16, 467, 2227, 1442, 4790, 16, 467, 3313, 41, 284, 15548, 13, 1082, 202, 15069, 1788, 921, 503, 16, 3287, 14389, 16, 1082, 202, 1852, 3990, 288, 9506, 202, 430, 261, 617, 73, 422, 446, 747, 4790, 422, 446, 747, 6655, 422, 446, 13, 288, 1082, 202, 12849, 394, 1788, 921, 503, 12, 6862, 202, 6, 4841, 1931, 1472, 358, 752, 279, 3837, 5180, 300, 29763, 30, 315, 397, 6655, 397, 3104, 7024, 30, 315, 397, 4790, 397, 3104, 17634, 41, 2773, 397, 284, 15548, 1769, 202, 202, 97, 202, 202, 20308, 1082, 380, 2660, 1410, 8656, 527, 4042, 866, 2674, 358, 3387, 716, 1562, 1652, 2 ]
static FoodItem convert(final Element foodItemElement) { final FoodItem foodItem = new FoodItem(); //Name final String itemName = foodItemElement.getAttributeValue("name"); foodItem.setName(itemName); //Quantity final Element quantityElement = foodItemElement.getChild("quantity"); if (quantityElement != null) { String quantity = quantityElement .getAttributeValue("value"); foodItem.setQuantity(quantity); } //Expiry final Element expiryElement = foodItemElement.getChild("expiry"); if (expiryElement != null) { final int day = Integer.parseInt(expiryElement .getAttributeValue("day")); final int month = Integer.parseInt(expiryElement .getAttributeValue("month")); final int year = Integer.parseInt(expiryElement .getAttributeValue("year")); final Calendar expiryCalendar = new GregorianCalendar(year, month - 1, day); Date expiryDate = expiryCalendar.getTime(); foodItem.setExpiry(expiryDate); } return foodItem; }
13936 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13936/d6958992f83f4074f23c6c30d8b18b6422cc579a/FoodItemConverter1.java/buggy/Housekeeper/trunk/housekeeper/src/java/net/sf/housekeeper/persistence/jdom/FoodItemConverter1.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 478, 4773, 1180, 1765, 12, 6385, 3010, 284, 4773, 1180, 1046, 13, 565, 288, 3639, 727, 478, 4773, 1180, 284, 4773, 1180, 273, 394, 478, 4773, 1180, 5621, 7734, 368, 461, 3639, 727, 514, 23488, 273, 284, 4773, 1180, 1046, 18, 588, 14942, 2932, 529, 8863, 3639, 284, 4773, 1180, 18, 542, 461, 12, 1726, 461, 1769, 3639, 368, 12035, 3639, 727, 3010, 10457, 1046, 273, 284, 4773, 1180, 1046, 18, 588, 1763, 2932, 16172, 8863, 3639, 309, 261, 16172, 1046, 480, 446, 13, 3639, 288, 5411, 514, 10457, 273, 10457, 1046, 5411, 263, 588, 14942, 2932, 1132, 8863, 5411, 284, 4773, 1180, 18, 542, 12035, 12, 16172, 1769, 3639, 289, 3639, 368, 14633, 3639, 727, 3010, 10839, 1046, 273, 284, 4773, 1180, 1046, 18, 588, 1763, 2932, 22409, 8863, 3639, 309, 261, 22409, 1046, 480, 446, 13, 3639, 288, 5411, 727, 509, 2548, 273, 2144, 18, 2670, 1702, 12, 22409, 1046, 10792, 263, 588, 14942, 2932, 2881, 7923, 1769, 5411, 727, 509, 3138, 273, 2144, 18, 2670, 1702, 12, 22409, 1046, 10792, 263, 588, 14942, 2932, 7496, 7923, 1769, 5411, 727, 509, 3286, 273, 2144, 18, 2670, 1702, 12, 22409, 1046, 10792, 263, 588, 14942, 2932, 6874, 7923, 1769, 5411, 727, 5542, 10839, 7335, 273, 394, 28033, 12, 6874, 16, 10792, 3138, 300, 404, 16, 2548, 1769, 5411, 2167, 10839, 1626, 273, 10839, 7335, 18, 588, 950, 5621, 5411, 284, 4773, 1180, 18, 542, 14633, 12, 22409, 1626, 1769, 3639, 289, 3639, 327, 284, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 478, 4773, 1180, 1765, 12, 6385, 3010, 284, 4773, 1180, 1046, 13, 565, 288, 3639, 727, 478, 4773, 1180, 284, 4773, 1180, 273, 394, 478, 4773, 1180, 5621, 7734, 368, 461, 3639, 727, 514, 23488, 273, 284, 4773, 1180, 1046, 18, 588, 14942, 2932, 529, 8863, 3639, 284, 4773, 1180, 18, 542, 461, 12, 1726, 461, 1769, 3639, 368, 12035, 3639, 727, 3010, 10457, 1046, 273, 284, 4773, 1180, 1046, 18, 588, 1763, 2932, 16172, 8863, 3639, 309, 261, 16172, 1046, 480, 446, 13, 3639, 288, 5411, 514, 10457, 273, 10457, 1046, 5411, 263, 588, 14942, 2932, 1132, 8863, 5411, 284, 4773, 1180, 18, 542, 12035, 12, 16172, 1769, 3639, 289, 3639, 368, 14633, 3639, 727, 3010, 2 ]
markupResourceStream = getApplication().getResourceStreamLocator().locate(containerClass, getStyle(), getLocale(), getMarkupType());
markupResourceStream = getApplication().getResourceStreamLocator().locate( containerClass, getStyle(), getLocale(), getMarkupType());
final Markup getAssociatedMarkup() { synchronized (markupCache) { // Look up markup tag list by class, locale, style and markup type final String key = markupKey(); Markup markup = (Markup)markupCache.get(key); // If no markup in map if (markup == null) { // Locate markup resource, searching up class hierarchy IResourceStream markupResourceStream = null; Class containerClass = getClass(); while ((markupResourceStream == null) && (containerClass != MarkupContainer.class)) { // Look for markup resource for containerClass markupResourceStream = getApplication().getResourceStreamLocator().locate(containerClass, getStyle(), getLocale(), getMarkupType()); containerClass = containerClass.getSuperclass(); } // Found markup? if (markupResourceStream != null) { // load the markup and watch for changes markup = loadMarkupAndWatchForChanges(key, markupResourceStream); } else { // flag markup as non-existent (as opposed to null, which // might mean that it's simply not loaded into the cache) markup = Markup.NO_MARKUP; } // Save any markup list (or absence of one) for next time markupCache.put(key, markup); } return markup; } }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/72c691c1e90dd2f1d131810e4c08757d06d90520/MarkupContainer.java/buggy/wicket/src/java/wicket/MarkupContainer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6385, 26420, 336, 19233, 13111, 1435, 202, 95, 202, 202, 22043, 261, 15056, 1649, 13, 202, 202, 95, 1082, 202, 759, 10176, 731, 9813, 1047, 666, 635, 667, 16, 2573, 16, 2154, 471, 9813, 618, 1082, 202, 6385, 514, 498, 273, 9813, 653, 5621, 1082, 202, 13111, 9813, 273, 261, 13111, 13, 15056, 1649, 18, 588, 12, 856, 1769, 1082, 202, 759, 971, 1158, 9813, 316, 852, 1082, 202, 430, 261, 15056, 422, 446, 13, 1082, 202, 95, 9506, 202, 759, 2851, 340, 9813, 1058, 16, 15300, 731, 667, 9360, 9506, 202, 45, 1420, 1228, 9813, 1420, 1228, 273, 446, 31, 9506, 202, 797, 1478, 797, 273, 2900, 5621, 9506, 202, 17523, 14015, 15056, 1420, 1228, 422, 446, 13, 597, 261, 3782, 797, 480, 26420, 2170, 18, 1106, 3719, 9506, 202, 95, 6862, 202, 759, 10176, 364, 9813, 1058, 364, 1478, 797, 6862, 202, 15056, 1420, 1228, 273, 9615, 7675, 588, 1420, 1228, 5786, 7675, 25450, 12, 3782, 797, 16, 6862, 1082, 202, 588, 2885, 9334, 9595, 9334, 23232, 416, 559, 10663, 6862, 202, 3782, 797, 273, 1478, 797, 18, 588, 28471, 5621, 9506, 202, 97, 9506, 202, 759, 10750, 9813, 35, 9506, 202, 430, 261, 15056, 1420, 1228, 480, 446, 13, 9506, 202, 95, 6862, 202, 759, 1262, 326, 9813, 471, 4267, 364, 3478, 6862, 202, 15056, 273, 1262, 13111, 1876, 5234, 1290, 7173, 12, 856, 16, 9813, 1420, 1228, 1769, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 759, 2982, 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, 6385, 26420, 336, 19233, 13111, 1435, 202, 95, 202, 202, 22043, 261, 15056, 1649, 13, 202, 202, 95, 1082, 202, 759, 10176, 731, 9813, 1047, 666, 635, 667, 16, 2573, 16, 2154, 471, 9813, 618, 1082, 202, 6385, 514, 498, 273, 9813, 653, 5621, 1082, 202, 13111, 9813, 273, 261, 13111, 13, 15056, 1649, 18, 588, 12, 856, 1769, 1082, 202, 759, 971, 1158, 9813, 316, 852, 1082, 202, 430, 261, 15056, 422, 446, 13, 1082, 202, 95, 9506, 202, 759, 2851, 340, 9813, 1058, 16, 15300, 731, 667, 9360, 9506, 202, 45, 1420, 1228, 9813, 1420, 1228, 273, 446, 31, 9506, 202, 797, 1478, 797, 273, 2900, 5621, 9506, 202, 17523, 14015, 15056, 1420, 1228, 422, 2 ]
Integer sizeX = (Integer) metadata.get("Image width"); Integer sizeY = (Integer) metadata.get("Image height"); Integer sizeZ = (Integer) metadata.get("Number of images"); store.setPixels(sizeX, sizeY, sizeZ, new Integer(numChannels == 0 ? 1 : numChannels), new Integer(1), null, new Boolean(!littleEndian), "XYZTC", null); String timestamp = (String) metadata.get("Timestamp 1"); String description = (String) metadata.get("Image Description"); try { store.setImage(null, timestamp.substring(3), description, null);
*/ for (int i=0; i<numSeries; i++) { store.setPixels( new Integer(widths[i]), new Integer(heights[i]), new Integer(zs[i]), new Integer(numChannels[i] == 0 ? 1 : numChannels[i]), new Integer(1), null, new Boolean(!littleEndian), "XYZTC", new Integer(i)); String timestamp = (String) metadata.get("Timestamp " + (i+1)); String description = (String) metadata.get("Image Description"); try { store.setImage(null, timestamp.substring(3), description, new Integer(i)); } catch (NullPointerException n) { }
protected void initMetadata() { if (headerIFDs == null) headerIFDs = ifds; for (int i=0; i<headerIFDs.length; i++) { byte[] temp = (byte[]) headerIFDs[i].get(new Integer(10)); if (temp != null) { // the series data // ID_SERIES metadata.put("Version", new Integer(DataTools.bytesToInt(temp, 0, 4, littleEndian))); metadata.put("Number of Series", new Integer(DataTools.bytesToInt(temp, 4, 4, littleEndian))); metadata.put("Length of filename", new Integer(DataTools.bytesToInt(temp, 8, 4, littleEndian))); metadata.put("Length of file extension", new Integer(DataTools.bytesToInt(temp, 12, 4, littleEndian))); metadata.put("Image file extension", DataTools.stripString(new String(temp, 16, ((Integer) metadata.get("Length of file extension")).intValue()))); } temp = (byte[]) headerIFDs[i].get(new Integer(15)); if (temp != null) { // the image data // ID_IMAGES metadata.put("Number of images", new Integer( DataTools.bytesToInt(temp, 0, 4, littleEndian))); metadata.put("Image width", new Integer( DataTools.bytesToInt(temp, 4, 4, littleEndian))); metadata.put("Image height", new Integer( DataTools.bytesToInt(temp, 8, 4, littleEndian))); metadata.put("Bits per Sample", new Integer( DataTools.bytesToInt(temp, 12, 4, littleEndian))); metadata.put("Samples per pixel", new Integer( DataTools.bytesToInt(temp, 16, 4, littleEndian))); } temp = (byte[]) headerIFDs[i].get(new Integer(20)); if (temp != null) { // dimension description // ID_DIMDESCR int pt = 0; metadata.put("Voxel Version", new Integer( DataTools.bytesToInt(temp, 0, 4, littleEndian))); int voxelType = DataTools.bytesToInt(temp, 4, 4, littleEndian); String type = ""; switch (voxelType) { case 0: type = "undefined"; break; case 10: type = "gray normal"; break; case 20: type = "RGB"; break; } metadata.put("VoxelType", type); metadata.put("Bytes per pixel", new Integer( DataTools.bytesToInt(temp, 8, 4, littleEndian))); metadata.put("Real world resolution", new Integer( DataTools.bytesToInt(temp, 12, 4, littleEndian))); int length = DataTools.bytesToInt(temp, 16, 4, littleEndian); metadata.put("Maximum voxel intensity", DataTools.stripString(new String(temp, 20, length))); pt = 20 + length; pt += 4; metadata.put("Minimum voxel intensity", DataTools.stripString(new String(temp, pt, length))); pt += length; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4 + length + 4; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); for (int j=0; j<length; j++) { int dimId = DataTools.bytesToInt(temp, pt, 4, littleEndian); String dimType = ""; switch (dimId) { case 0: dimType = "undefined"; break; case 120: dimType = "x"; break; case 121: dimType = "y"; break; case 122: dimType = "z"; break; case 116: dimType = "t"; break; case 6815843: dimType = "channel"; break; case 6357100: dimType = "wave length"; break; case 7602290: dimType = "rotation"; break; case 7798904: dimType = "x-wide for the motorized xy-stage"; break; case 7798905: dimType = "y-wide for the motorized xy-stage"; break; case 7798906: dimType = "z-wide for the z-stage-drive"; break; case 4259957: dimType = "user1 - unspecified"; break; case 4325493: dimType = "user2 - unspecified"; break; case 4391029: dimType = "user3 - unspecified"; break; case 6357095: dimType = "graylevel"; break; case 6422631: dimType = "graylevel1"; break; case 6488167: dimType = "graylevel2"; break; case 6553703: dimType = "graylevel3"; break; case 7864398: dimType = "logical x"; break; case 7929934: dimType = "logical y"; break; case 7995470: dimType = "logical z"; break; case 7602254: dimType = "logical t"; break; case 7077966: dimType = "logical lambda"; break; case 7471182: dimType = "logical rotation"; break; case 5767246: dimType = "logical x-wide"; break; case 5832782: dimType = "logical y-wide"; break; case 5898318: dimType = "logical z-wide"; break; } if (dimType.equals("channel")) numChannels++; metadata.put("Dim" + j + " type", dimType); pt += 4; metadata.put("Dim" + j + " size", new Integer( DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; metadata.put("Dim" + j + " distance between sub-dimensions", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; int len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " physical length", DataTools.stripString(new String(temp, pt, len))); pt += len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " physical origin", DataTools.stripString(new String(temp, pt, len))); pt += len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " name", DataTools.stripString(new String(temp, pt, len))); pt += len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Dim" + j + " description", DataTools.stripString(new String(temp, pt, len))); } } temp = (byte[]) headerIFDs[i].get(new Integer(30)); if (temp != null) { // filter data // ID_FILTERSET // not currently used } temp = (byte[]) headerIFDs[i].get(new Integer(40)); if (temp != null) { // time data // ID_TIMEINFO try { metadata.put("Number of time-stamped dimensions", new Integer(DataTools.bytesToInt(temp, 0, 4, littleEndian))); int nDims = DataTools.bytesToInt(temp, 4, 4, littleEndian); metadata.put("Time-stamped dimension", new Integer(nDims)); int pt = 8; for (int j=0; j < nDims; j++) { metadata.put("Dimension " + j + " ID", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; metadata.put("Dimension " + j + " size", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; metadata.put("Dimension " + j + " distance between dimensions", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; } int numStamps = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Number of time-stamps", new Integer(numStamps)); for (int j=0; j<numStamps; j++) { metadata.put("Timestamp " + j, DataTools.stripString(new String(temp, pt, 64))); pt += 64; } int numTMs = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Number of time-markers", new Integer(numTMs)); for (int j=0; j<numTMs; j++) { int numDims = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; for (int k=0; k<numDims; k++) { metadata.put("Time-marker " + j + " Dimension " + k + " coordinate", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; } metadata.put("Time-marker " + j, DataTools.stripString(new String(temp, pt, 64))); pt += 64; } } catch (Throwable t) { } } temp = (byte[]) headerIFDs[i].get(new Integer(50)); if (temp != null) { // scanner data // ID_SCANNERSET // not currently used } temp = (byte[]) headerIFDs[i].get(new Integer(60)); if (temp != null) { // experiment data // ID_EXPERIMENT int pt = 8; int len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Image Description", DataTools.stripString(new String(temp, pt, 2*len))); pt += 2*len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Main file extension", DataTools.stripString(new String(temp, pt, 2*len))); pt += 2*len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Single image format identifier", DataTools.stripString(new String(temp, pt, 2*len))); pt += 2*len; len = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Single image extension", DataTools.stripString(new String(temp, pt, 2*len))); } temp = (byte[]) headerIFDs[i].get(new Integer(70)); if (temp != null) { // LUT data // ID_LUTDESC int pt = 0; int nChannels = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("Number of LUT channels", new Integer(nChannels)); metadata.put("ID of colored dimension", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; for (int j=0; j<nChannels; j++) { metadata.put("LUT Channel " + j + " version", new Integer(DataTools.bytesToInt(temp, pt, 4, littleEndian))); pt += 4; int invert = DataTools.bytesToInt(temp, pt, 1, littleEndian); pt += 1; boolean inverted = invert == 1; metadata.put("LUT Channel " + j + " inverted?", new Boolean(inverted).toString()); int length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("LUT Channel " + j + " description", DataTools.stripString(new String(temp, pt, length))); pt += length; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("LUT Channel " + j + " filename", DataTools.stripString(new String(temp, pt, length))); pt += length; length = DataTools.bytesToInt(temp, pt, 4, littleEndian); pt += 4; metadata.put("LUT Channel " + j + " name", DataTools.stripString(new String(temp, pt, length))); pt += length; pt += 8; } } } // The metadata store we're working with. MetadataStore store = new DummyMetadataStore(); try { store = getMetadataStore(currentId); } catch (Exception e) { } if (numChannels == 0) numChannels++; try { if (isRGB(currentId)) numChannels *= 3; } catch (Exception exc) { } Integer sizeX = (Integer) metadata.get("Image width"); Integer sizeY = (Integer) metadata.get("Image height"); Integer sizeZ = (Integer) metadata.get("Number of images"); store.setPixels(sizeX, sizeY, sizeZ, new Integer(numChannels == 0 ? 1 : numChannels), // SizeC new Integer(1), // SizeT null, // PixelType new Boolean(!littleEndian), // BigEndian "XYZTC", // DimensionOrder null); // Use index 0 String timestamp = (String) metadata.get("Timestamp 1"); String description = (String) metadata.get("Image Description"); try { store.setImage(null, timestamp.substring(3), description, null); } catch (NullPointerException n) { }// String voxel = metadata.get("VoxelType").toString();// String photoInterp;// if (voxel.equals("gray normal")) photoInterp = "monochrome";// else if (voxel.equals("RGB")) photoInterp = "RGB";// else photoInterp = "monochrome";// OMETools.setAttribute(ome, "ChannelInfo",// "PhotometricInterpretation", photoInterp);// OMETools.setAttribute(ome, "ChannelInfo", "SamplesPerPixel",// metadata.get("Samples per pixel").toString()); }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/7e4d2f34455817883836e0b3f10b9319208ae5e6/LeicaReader.java/buggy/loci/formats/in/LeicaReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1208, 2277, 1435, 288, 565, 309, 261, 3374, 5501, 22831, 422, 446, 13, 1446, 5501, 22831, 273, 309, 2377, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 3374, 5501, 22831, 18, 2469, 31, 277, 27245, 288, 1377, 1160, 8526, 1906, 273, 261, 7229, 63, 5717, 1446, 5501, 22831, 63, 77, 8009, 588, 12, 2704, 2144, 12, 2163, 10019, 1377, 309, 261, 5814, 480, 446, 13, 288, 3639, 368, 326, 4166, 501, 3639, 368, 1599, 67, 2123, 8805, 3639, 1982, 18, 458, 2932, 1444, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 374, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1854, 434, 9225, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 1059, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1782, 434, 1544, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 1725, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1782, 434, 585, 2710, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 2593, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 2040, 585, 2710, 3113, 1850, 1910, 10348, 18, 6406, 780, 12, 2704, 514, 12, 5814, 16, 2872, 16, 1850, 14015, 4522, 13, 1982, 18, 588, 2932, 1782, 434, 585, 2710, 7923, 2934, 474, 620, 1435, 3719, 1769, 1377, 289, 1377, 1906, 273, 261, 7229, 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, 4750, 918, 1208, 2277, 1435, 288, 565, 309, 261, 3374, 5501, 22831, 422, 446, 13, 1446, 5501, 22831, 273, 309, 2377, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 3374, 5501, 22831, 18, 2469, 31, 277, 27245, 288, 1377, 1160, 8526, 1906, 273, 261, 7229, 63, 5717, 1446, 5501, 22831, 63, 77, 8009, 588, 12, 2704, 2144, 12, 2163, 10019, 1377, 309, 261, 5814, 480, 446, 13, 288, 3639, 368, 326, 4166, 501, 3639, 368, 1599, 67, 2123, 8805, 3639, 1982, 18, 458, 2932, 1444, 3113, 1850, 394, 2144, 12, 751, 10348, 18, 3890, 17864, 12, 5814, 16, 374, 16, 1059, 16, 328, 10609, 3719, 1769, 3639, 1982, 18, 458, 2932, 1854, 434, 9225, 3113, 2 ]
CallFrame frame = (CallFrame)cx.interpreterLineCounting;
CallFrame frame = (CallFrame)cx.lastInterpreterFrame;
static String getSourcePositionFromStack(Context cx, int[] linep) { CallFrame frame = (CallFrame)cx.interpreterLineCounting; InterpreterData idata = frame.idata; if (frame.pcSourceLineStart >= 0) { linep[0] = getIndex(idata.itsICode, frame.pcSourceLineStart); } else { linep[0] = 0; } return idata.itsSourceFile; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/bfa8309763e2523e019dce764cbca002cf6f54ad/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 514, 7889, 2555, 1265, 2624, 12, 1042, 9494, 16, 509, 8526, 980, 84, 13, 565, 288, 3639, 3049, 3219, 2623, 273, 261, 1477, 3219, 13, 71, 92, 18, 2722, 30010, 3219, 31, 3639, 5294, 11599, 751, 612, 396, 273, 2623, 18, 350, 396, 31, 3639, 309, 261, 3789, 18, 2436, 1830, 1670, 1685, 1545, 374, 13, 288, 5411, 980, 84, 63, 20, 65, 273, 8088, 12, 350, 396, 18, 1282, 45, 1085, 16, 2623, 18, 2436, 1830, 1670, 1685, 1769, 3639, 289, 469, 288, 5411, 980, 84, 63, 20, 65, 273, 374, 31, 3639, 289, 3639, 327, 612, 396, 18, 1282, 31150, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 514, 7889, 2555, 1265, 2624, 12, 1042, 9494, 16, 509, 8526, 980, 84, 13, 565, 288, 3639, 3049, 3219, 2623, 273, 261, 1477, 3219, 13, 71, 92, 18, 2722, 30010, 3219, 31, 3639, 5294, 11599, 751, 612, 396, 273, 2623, 18, 350, 396, 31, 3639, 309, 261, 3789, 18, 2436, 1830, 1670, 1685, 1545, 374, 13, 288, 5411, 980, 84, 63, 20, 65, 273, 8088, 12, 350, 396, 18, 1282, 45, 1085, 16, 2623, 18, 2436, 1830, 1670, 1685, 1769, 3639, 289, 469, 288, 5411, 980, 84, 63, 20, 65, 273, 374, 31, 3639, 289, 3639, 327, 612, 396, 18, 1282, 31150, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
false,
true,
protected void buildItemContent( CTabItem item ) { if ( itemMap.containsKey( item ) && itemMap.get( item ) == null ) { switch ( tabFolder.getSelectionIndex( ) ) { case 1 : bindingPage = new BindingPage( ); setPageInput( bindingPage ); refresh(tabFolder,bindingPage, true); item.setControl( bindingPage.getControl( ) ); itemMap.put( item, bindingPage ); break; case 2 : sortingPage = new FormPage( FormPropertyDescriptor.FULL_FUNCTION, new SortingHandleProvider( ), false, true ); setPageInput( sortingPage ); refresh(tabFolder,sortingPage, true); item.setControl( sortingPage.getControl( ) ); itemMap.put( item, sortingPage ); break; case 3 : groupPage = new FormPage( FormPropertyDescriptor.FULL_FUNCTION, new GroupHandleProvider( ), true, true ); setPageInput( groupPage ); refresh(tabFolder,groupPage, true); item.setControl( groupPage.getControl( ) ); itemMap.put( item, groupPage ); break; case 4 : mapPage = new PreviewPage( true ); mapPage.setPreview( new MapPropertyDescriptor( true ) ); mapPage.setProvider( new MapDescriptorProvider( ) ); setPageInput( mapPage ); refresh(tabFolder,mapPage, true); item.setControl( mapPage.getControl( ) ); itemMap.put( item, mapPage ); break; case 5 : highlightsPage = new PreviewPage( true ); highlightsPage.setPreview( new HighlightPropertyDescriptor( true ) ); highlightsPage.setProvider( new HighlightDescriptorProvider( ) ); setPageInput( highlightsPage ); refresh(tabFolder,highlightsPage, true); item.setControl( highlightsPage.getControl( ) ); itemMap.put( item, highlightsPage ); break; case 6 : filterPage = new FormPage( FormPropertyDescriptor.FULL_FUNCTION, new FilterHandleProvider( ), false, true ); setPageInput( filterPage ); refresh(tabFolder,filterPage, true); item.setControl( filterPage.getControl( ) ); itemMap.put( item, filterPage ); break; default : break; } } else if ( itemMap.get( item ) != null ){ setPageInput( itemMap.get( item ) ); refresh(tabFolder,itemMap.get( item ), false); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/0e57e48880673e10841402f4b39f5639c8a22173/ListPageGenerator.java/buggy/UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/ui/views/attributes/ListPageGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1361, 1180, 1350, 12, 385, 5661, 1180, 761, 262, 202, 95, 202, 202, 430, 261, 761, 863, 18, 12298, 653, 12, 761, 262, 597, 761, 863, 18, 588, 12, 761, 262, 422, 446, 262, 202, 202, 95, 1082, 202, 9610, 261, 3246, 3899, 18, 588, 6233, 1016, 12, 262, 262, 1082, 202, 95, 9506, 202, 3593, 404, 294, 6862, 202, 7374, 1964, 273, 394, 15689, 1964, 12, 11272, 6862, 202, 542, 1964, 1210, 12, 5085, 1964, 11272, 6862, 202, 9144, 12, 7032, 3899, 16, 7374, 1964, 16, 638, 1769, 6862, 202, 1726, 18, 542, 3367, 12, 5085, 1964, 18, 588, 3367, 12, 262, 11272, 6862, 202, 1726, 863, 18, 458, 12, 761, 16, 5085, 1964, 11272, 6862, 202, 8820, 31, 9506, 202, 3593, 576, 294, 6862, 202, 28751, 1964, 273, 394, 2748, 1964, 12, 6862, 1082, 202, 1204, 1396, 3187, 18, 18111, 67, 7788, 16, 6862, 1082, 202, 2704, 5928, 310, 3259, 2249, 12, 262, 16, 6862, 1082, 202, 5743, 16, 6862, 1082, 202, 3767, 11272, 6862, 202, 542, 1964, 1210, 12, 9602, 1964, 11272, 6862, 202, 9144, 12, 7032, 3899, 16, 28751, 1964, 16, 638, 1769, 6862, 202, 1726, 18, 542, 3367, 12, 9602, 1964, 18, 588, 3367, 12, 262, 11272, 6862, 202, 1726, 863, 18, 458, 12, 761, 16, 9602, 1964, 11272, 6862, 202, 8820, 31, 9506, 202, 3593, 890, 294, 6862, 202, 1655, 1964, 273, 394, 2748, 1964, 12, 15106, 202, 1204, 1396, 3187, 18, 18111, 67, 7788, 16, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1361, 1180, 1350, 12, 385, 5661, 1180, 761, 262, 202, 95, 202, 202, 430, 261, 761, 863, 18, 12298, 653, 12, 761, 262, 597, 761, 863, 18, 588, 12, 761, 262, 422, 446, 262, 202, 202, 95, 1082, 202, 9610, 261, 3246, 3899, 18, 588, 6233, 1016, 12, 262, 262, 1082, 202, 95, 9506, 202, 3593, 404, 294, 6862, 202, 7374, 1964, 273, 394, 15689, 1964, 12, 11272, 6862, 202, 542, 1964, 1210, 12, 5085, 1964, 11272, 6862, 202, 9144, 12, 7032, 3899, 16, 7374, 1964, 16, 638, 1769, 6862, 202, 1726, 18, 542, 3367, 12, 5085, 1964, 18, 588, 3367, 12, 262, 11272, 6862, 202, 1726, 863, 18, 458, 12, 761, 16, 5085, 1964, 2 ]
for (File f : new File(Main.pref.getPreferencesDir()+"plugins").listFiles()) { if (!f.isFile() || !f.getName().endsWith(".jar")) continue; availablePlugins.add(f.getName().substring(0, f.getName().length()-4)); } for (PluginProxy plugin : Main.plugins) { boolean available = availablePlugins.contains(plugin.name); JCheckBox pluginCheck = new JCheckBox(plugin.name, available); String desc = plugin.getDescription();
File[] pluginFiles = new File(Main.pref.getPreferencesDir()+"plugins").listFiles(); if (pluginFiles != null) { for (File f : pluginFiles) { if (!f.isFile() || !f.getName().endsWith(".jar")) continue; availablePlugins.add(f.getName().substring(0, f.getName().length()-4)); } } Collection<String> enabledPlugins = Arrays.asList(Main.pref.get("plugins").split(",")); for (final String plugin : availablePlugins) { boolean enabled = enabledPlugins.contains(plugin); String desc = null; for (PluginProxy p : Main.plugins) { if (p.name.equals(plugin)) { desc = p.getDescription(); break; } } final JCheckBox pluginCheck = new JCheckBox(plugin, enabled);
public PreferenceDialog() { super(JOptionPane.getFrameForComponent(Main.parent), tr("Preferences")); // look and feel combo box String laf = Main.pref.get("laf"); for (int i = 0; i < lafCombo.getItemCount(); ++i) { if (((LookAndFeelInfo)lafCombo.getItemAt(i)).getClassName().equals(laf)) { lafCombo.setSelectedIndex(i); break; } } final ListCellRenderer oldRenderer = lafCombo.getRenderer(); lafCombo.setRenderer(new DefaultListCellRenderer(){ @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { return oldRenderer.getListCellRendererComponent(list, ((LookAndFeelInfo)value).getName(), index, isSelected, cellHasFocus); } }); lafCombo.addActionListener(requireRestartAction); // language String lang = Main.pref.get("language"); for (int i = 0; i < languages.getItemCount(); ++i) { if (languages.getItemAt(i).toString().equals(lang)) { languages.setSelectedIndex(i); break; } } languages.setRenderer(new DefaultListCellRenderer(){ @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { return super.getListCellRendererComponent(list, ((Locale)value).getDisplayName(), index, isSelected, cellHasFocus); } }); languages.addActionListener(requireRestartAction); // projection combo box for (int i = 0; i < projectionCombo.getItemCount(); ++i) { if (projectionCombo.getItemAt(i).getClass().getName().equals(Main.pref.get("projection"))) { projectionCombo.setSelectedIndex(i); break; } } projectionCombo.addActionListener(requireRestartAction); drawRawGpsLines.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { if (!drawRawGpsLines.isSelected()) forceRawGpsLines.setSelected(false); forceRawGpsLines.setEnabled(drawRawGpsLines.isSelected()); } }); osmDataServer.setText(Main.pref.get("osm-server.url")); osmDataUsername.setText(Main.pref.get("osm-server.username")); osmDataPassword.setText(Main.pref.get("osm-server.password")); wmsServerBaseUrl.setText(Main.pref.get("wms.baseurl", "http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&width=512&height=512&layers=global_mosaic&styles=&srs=EPSG:4326&format=image/jpeg&")); csvImportString.setText(Main.pref.get("csv.importstring")); drawRawGpsLines.setSelected(Main.pref.getBoolean("draw.rawgps.lines")); forceRawGpsLines.setToolTipText(tr("Force drawing of lines if the imported data contain no line information.")); forceRawGpsLines.setSelected(Main.pref.getBoolean("draw.rawgps.lines.force")); forceRawGpsLines.setEnabled(drawRawGpsLines.isSelected()); largeGpsPoints.setSelected(Main.pref.getBoolean("draw.rawgps.large")); largeGpsPoints.setToolTipText(tr("Draw larger dots for the GPS points.")); directionHint.setToolTipText(tr("Draw direction hints for all segments.")); directionHint.setSelected(Main.pref.getBoolean("draw.segment.direction")); String annos = Main.pref.get("annotation.sources"); StringTokenizer st = new StringTokenizer(annos, ";"); while (st.hasMoreTokens()) ((DefaultListModel)annotationSources.getModel()).addElement(st.nextToken()); Box pluginPanel = Box.createVerticalBox(); Collection<String> availablePlugins = new HashSet<String>(); for (File f : new File(Main.pref.getPreferencesDir()+"plugins").listFiles()) { if (!f.isFile() || !f.getName().endsWith(".jar")) continue; availablePlugins.add(f.getName().substring(0, f.getName().length()-4)); } for (PluginProxy plugin : Main.plugins) { boolean available = availablePlugins.contains(plugin.name); JCheckBox pluginCheck = new JCheckBox(plugin.name, available); String desc = plugin.getDescription(); pluginPanel.add(pluginCheck); if (desc != null) { pluginCheck.setToolTipText(desc); JLabel label = new JLabel("<html><i>"+desc+"</i></html>"); label.setBorder(BorderFactory.createEmptyBorder(0,20,0,0)); pluginPanel.add(label); pluginPanel.add(Box.createVerticalStrut(5)); } pluginMap.put(plugin, available); } JScrollPane pluginPane = new JScrollPane(pluginPanel); pluginPane.setBorder(null); Map<String,String> allColors = new TreeMap<String, String>(Main.pref.getAllPrefix("color.")); Vector<Vector<Object>> rows = new Vector<Vector<Object>>(); for (Entry<String,String> e : allColors.entrySet()) { Vector<Object> row = new Vector<Object>(2); row.add(tr(e.getKey().substring("color.".length()))); row.add(ColorHelper.html2color(e.getValue())); rows.add(row); } Vector<Object> cols = new Vector<Object>(2); cols.add(tr("Color")); cols.add(tr("Name")); colors = new JTable(rows, cols){ @Override public boolean isCellEditable(int row, int column) { return false; } }; colors.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); final TableCellRenderer oldColorsRenderer = colors.getDefaultRenderer(Object.class); colors.setDefaultRenderer(Object.class, new TableCellRenderer(){ public Component getTableCellRendererComponent(JTable t, Object o, boolean selected, boolean focus, int row, int column) { if (column == 1) { JLabel l = new JLabel(ColorHelper.color2html((Color)o)); l.setBackground((Color)o); l.setOpaque(true); return l; } return oldColorsRenderer.getTableCellRendererComponent(t,o,selected,focus,row,column); } }); colors.getColumnModel().getColumn(1).setWidth(100); JButton colorEdit = new JButton(tr("Choose")); colorEdit.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { if (colors.getSelectedRowCount() == 0) { JOptionPane.showMessageDialog(PreferenceDialog.this, tr("Please select a color.")); return; } int sel = colors.getSelectedRow(); JColorChooser chooser = new JColorChooser((Color)colors.getValueAt(sel, 1)); int answer = JOptionPane.showConfirmDialog(PreferenceDialog.this, chooser, tr("Choose a color for {0}", colors.getValueAt(sel, 0)), JOptionPane.OK_CANCEL_OPTION); if (answer == JOptionPane.OK_OPTION) colors.setValueAt(chooser.getColor(), sel, 1); } }); // Annotation source panels JButton addAnno = new JButton(tr("Add")); addAnno.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { String source = JOptionPane.showInputDialog(Main.parent, tr("Annotation preset source")); if (source == null) return; ((DefaultListModel)annotationSources.getModel()).addElement(source); requiresRestart = true; } }); JButton editAnno = new JButton(tr("Edit")); editAnno.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { if (annotationSources.getSelectedIndex() == -1) JOptionPane.showMessageDialog(Main.parent, tr("Please select the row to edit.")); else { String source = JOptionPane.showInputDialog(Main.parent, tr("Annotation preset source"), annotationSources.getSelectedValue()); if (source == null) return; ((DefaultListModel)annotationSources.getModel()).setElementAt(source, annotationSources.getSelectedIndex()); requiresRestart = true; } } }); JButton deleteAnno = new JButton(tr("Delete")); deleteAnno.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { if (annotationSources.getSelectedIndex() == -1) JOptionPane.showMessageDialog(Main.parent, tr("Please select the row to delete.")); else { ((DefaultListModel)annotationSources.getModel()).remove(annotationSources.getSelectedIndex()); requiresRestart = true; } } }); annotationSources.setVisibleRowCount(3); // setting tooltips osmDataServer.setToolTipText(tr("The base URL to the OSM server (REST API)")); osmDataUsername.setToolTipText(tr("Login name (email) to the OSM account.")); osmDataPassword.setToolTipText(tr("Login password to the OSM account. Leave blank to not store any password.")); wmsServerBaseUrl.setToolTipText(tr("The base URL to the server retrieving WMS background pictures from.")); csvImportString.setToolTipText(tr("<html>Import string specification. lat/lon and time are imported.<br>" + "<b>lat</b>: The latitude coordinate<br>" + "<b>lon</b>: The longitude coordinate<br>" + "<b>time</b>: The measured time as string<br>" + "<b>ignore</b>: Skip this field<br>" + "An example: \"ignore ignore lat lon\" will use ' ' as delimiter, skip the first two values and read then lat/lon.<br>" + "Other example: \"lat,lon\" will just read lat/lon values comma seperated.</html>")); drawRawGpsLines.setToolTipText(tr("If your gps device draw to few lines, select this to draw lines along your way.")); colors.setToolTipText(tr("Colors used by different objects in JOSM.")); annotationSources.setToolTipText(tr("The sources (url or filename) of annotation preset definition files. See http://josm.eigenheimstrasse.de/wiki/AnnotationPresets for help.")); addAnno.setToolTipText(tr("Add a new annotation preset source to the list.")); deleteAnno.setToolTipText(tr("Delete the selected source from the list.")); // creating the gui // Display tab JPanel display = createPreferenceTab("display", tr("Display Settings"), tr("Various settings that influence the visual representation of the whole program.")); display.add(new JLabel(tr("Look and Feel")), GBC.std()); display.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); display.add(lafCombo, GBC.eol().fill(GBC.HORIZONTAL)); display.add(new JLabel(tr("Language")), GBC.std()); display.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); display.add(languages, GBC.eol().fill(GBC.HORIZONTAL)); display.add(drawRawGpsLines, GBC.eol().insets(20,0,0,0)); display.add(forceRawGpsLines, GBC.eop().insets(40,0,0,0)); display.add(largeGpsPoints, GBC.eop().insets(20,0,0,0)); display.add(directionHint, GBC.eop().insets(20,0,0,0)); display.add(new JLabel(tr("Colors")), GBC.eol()); colors.setPreferredScrollableViewportSize(new Dimension(100,112)); display.add(new JScrollPane(colors), GBC.eol().fill(GBC.BOTH)); display.add(colorEdit, GBC.eol().anchor(GBC.EAST)); //display.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); // Connection tab JPanel con = createPreferenceTab("connection", tr("Connection Settings"), tr("Connection Settings to the OSM server.")); con.add(new JLabel(tr("Base Server URL")), GBC.std()); con.add(osmDataServer, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5)); con.add(new JLabel(tr("OSM username (email)")), GBC.std()); con.add(osmDataUsername, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5)); con.add(new JLabel(tr("OSM password")), GBC.std()); con.add(osmDataPassword, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,0)); JLabel warning = new JLabel(tr("<html>" + "WARNING: The password is stored in plain text in the preferences file.<br>" + "The password is transfered in plain text to the server, encoded in the url.<br>" + "<b>Do not use a valuable Password.</b></html>")); warning.setFont(warning.getFont().deriveFont(Font.ITALIC)); con.add(warning, GBC.eop().fill(GBC.HORIZONTAL)); //con.add(new JLabel("WMS server base url (everything except bbox-parameter)"), GBC.eol()); //con.add(wmsServerBaseUrl, GBC.eop().fill(GBC.HORIZONTAL)); //con.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); con.add(new JLabel(tr("CSV import specification (empty: read from first line in data)")), GBC.eol()); con.add(csvImportString, GBC.eop().fill(GBC.HORIZONTAL)); con.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); // Map tab JPanel map = createPreferenceTab("map", tr("Map Settings"), tr("Settings for the map projection and data interpretation.")); map.add(new JLabel(tr("Projection method")), GBC.std()); map.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); map.add(projectionCombo, GBC.eop().fill(GBC.HORIZONTAL).insets(0,0,0,5)); map.add(new JLabel(tr("Annotation preset sources")), GBC.eol().insets(0,5,0,0)); map.add(new JScrollPane(annotationSources), GBC.eol().fill(GBC.BOTH)); map.add(GBC.glue(5, 0), GBC.std().fill(GBC.HORIZONTAL)); map.add(addAnno, GBC.std()); map.add(editAnno, GBC.std().insets(5,0,5,0)); map.add(deleteAnno, GBC.std()); // I HATE SWING! map.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); map.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); map.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); map.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); map.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); // Plugin tab JPanel plugin = createPreferenceTab("plugin", tr("Plugins"), tr("Configure available Plugins.")); plugin.add(pluginPane, GBC.eol().fill(GBC.BOTH)); plugin.add(GBC.glue(0,10), GBC.eol()); plugin.add(new UrlLabel("http://josm.eigenheimstrasse.de/wiki/Plugins", "Get more plugins"), GBC.std()); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); // OK/Cancel panel at bottom JPanel okPanel = new JPanel(new GridBagLayout()); okPanel.add(Box.createHorizontalGlue(), GBC.std().fill(GBC.HORIZONTAL)); okPanel.add(new JButton(new OkAction()), GBC.std()); okPanel.add(new JButton(new CancelAction()), GBC.std()); okPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); // merging all in the content pane getContentPane().setLayout(new GridBagLayout()); getContentPane().add(tabPane, GBC.eol().fill()); getContentPane().add(okPanel, GBC.eol().fill(GBC.HORIZONTAL)); setModal(true); pack(); setLocationRelativeTo(Main.parent); }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/c49f551220ee6c06c962b984038b701c649cb3f9/PreferenceDialog.java/buggy/src/org/openstreetmap/josm/gui/PreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 29125, 6353, 1435, 288, 202, 202, 9565, 12, 46, 1895, 8485, 18, 588, 3219, 1290, 1841, 12, 6376, 18, 2938, 3631, 433, 2932, 12377, 7923, 1769, 202, 202, 759, 2324, 471, 1656, 292, 16778, 3919, 202, 202, 780, 328, 1727, 273, 12740, 18, 25724, 18, 588, 2932, 80, 1727, 8863, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 328, 1727, 16156, 18, 588, 30687, 5621, 965, 77, 13, 288, 1082, 202, 430, 261, 12443, 9794, 1876, 2954, 292, 966, 13, 80, 1727, 16156, 18, 588, 1180, 861, 12, 77, 13, 2934, 588, 3834, 7675, 14963, 12, 80, 1727, 3719, 288, 9506, 202, 80, 1727, 16156, 18, 542, 7416, 1016, 12, 77, 1769, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 6385, 987, 4020, 6747, 1592, 6747, 273, 328, 1727, 16156, 18, 588, 6747, 5621, 202, 202, 80, 1727, 16156, 18, 542, 6747, 12, 2704, 2989, 682, 4020, 6747, 1435, 95, 1082, 202, 36, 6618, 1071, 5435, 10033, 4020, 6747, 1841, 12, 46, 682, 666, 16, 1033, 460, 16, 509, 770, 16, 1250, 20956, 16, 1250, 2484, 5582, 9233, 13, 288, 9506, 202, 2463, 1592, 6747, 18, 588, 682, 4020, 6747, 1841, 12, 1098, 16, 14015, 9794, 1876, 2954, 292, 966, 13, 1132, 2934, 17994, 9334, 770, 16, 20956, 16, 2484, 5582, 9233, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 80, 1727, 16156, 18, 1289, 1803, 2223, 12, 6528, 15057, 1803, 1769, 202, 202, 759, 2653, 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, 29125, 6353, 1435, 288, 202, 202, 9565, 12, 46, 1895, 8485, 18, 588, 3219, 1290, 1841, 12, 6376, 18, 2938, 3631, 433, 2932, 12377, 7923, 1769, 202, 202, 759, 2324, 471, 1656, 292, 16778, 3919, 202, 202, 780, 328, 1727, 273, 12740, 18, 25724, 18, 588, 2932, 80, 1727, 8863, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 328, 1727, 16156, 18, 588, 30687, 5621, 965, 77, 13, 288, 1082, 202, 430, 261, 12443, 9794, 1876, 2954, 292, 966, 13, 80, 1727, 16156, 18, 588, 1180, 861, 12, 77, 13, 2934, 588, 3834, 7675, 14963, 12, 80, 1727, 3719, 288, 9506, 202, 80, 1727, 16156, 18, 542, 7416, 1016, 12, 77, 1769, 9506, 2 ]
private void threadMarkRulesWithWarningsOrErrors() { // Clear graphic cache because we have to redraw each rule again visual.drawing.clearCacheGraphs(); for (Iterator iterator = visual.getParserEngine().getRules().iterator(); iterator.hasNext();) { GrammarSyntaxRule rule = (GrammarSyntaxRule)iterator.next(); updateRuleWithErrors(rule, threadFetchErrorsForRule(rule)); } visual.delegate.visualizationDidMarkRules(visual); }
51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/95ba6ba72773f8ce77a463ceeadb53dafdcad590/VisualAnalysis.java/buggy/src/org/antlr/works/visualization/VisualAnalysis.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 5930, 3882, 4478, 1190, 4312, 1162, 4229, 1435, 95, 759, 4756, 3175, 1483, 335, 2493, 26274, 1814, 76, 842, 278, 7653, 354, 1814, 497, 5345, 23095, 26671, 18, 9446, 310, 18, 8507, 1649, 4137, 87, 5621, 1884, 12, 3198, 9838, 33, 26671, 18, 588, 2678, 4410, 7675, 588, 4478, 7675, 9838, 5621, 9838, 18, 5332, 2134, 5621, 15329, 18576, 8070, 54, 17040, 725, 28657, 18576, 8070, 2175, 13, 9838, 18, 4285, 5621, 2725, 2175, 1190, 4229, 12, 5345, 16, 5930, 5005, 4229, 1290, 2175, 12, 5345, 10019, 97, 26671, 18, 22216, 18, 26671, 1588, 18250, 3882, 4478, 12, 26671, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 5930, 3882, 4478, 1190, 4312, 1162, 4229, 1435, 95, 759, 4756, 3175, 1483, 335, 2493, 26274, 1814, 76, 842, 278, 7653, 354, 1814, 497, 5345, 23095, 26671, 18, 9446, 310, 18, 8507, 1649, 4137, 87, 5621, 1884, 12, 3198, 9838, 33, 26671, 18, 588, 2678, 4410, 7675, 588, 4478, 7675, 9838, 5621, 9838, 18, 5332, 2134, 5621, 15329, 18576, 8070, 54, 17040, 725, 28657, 18576, 8070, 2175, 13, 9838, 18, 4285, 5621, 2725, 2175, 1190, 4229, 12, 5345, 16, 5930, 5005, 4229, 1290, 2175, 12, 5345, 10019, 97, 26671, 18, 22216, 18, 26671, 1588, 18250, 3882, 4478, 12, 26671, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RequestStarterClient[] starters = new RequestStarterClient[NUMBER_OF_NODES]; for(int i=0;i<starters.length;i++) starters[i] = nodes[i].makeStarterClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS, (short)0, false);
public static void main(String[] args) throws FSParseException, PeerParseException, CHKEncodeException { PeerNode.disableProbabilisticHTLs = true; String wd = "realNodeRequestInsertTest"; new File(wd).mkdir(); // Don't clobber nearby nodes! Node.MAX_HTL = 5; FileLoggerHook fh = Logger.setupStdoutLogging(Logger.DEBUG, "freenet.store:minor,freenet.node.Location:normal" /*"freenet.node.LocationManager:debug,freenet.node.FNPPacketManager:normal,freenet.io.comm.UdpSocketManager:debug"*/); Logger.globalSetThreshold(Logger.DEBUG); System.out.println("Insert/retrieve test"); System.out.println(); DummyRandomSource random = new DummyRandomSource(); DiffieHellman.init(random); Node[] nodes = new Node[NUMBER_OF_NODES]; Logger.normal(RealNodeRoutingTest.class, "Creating nodes..."); for(int i=0;i<NUMBER_OF_NODES;i++) { nodes[i] = new Node(5000+i, random, null, wd+File.separator, 0, false, fh, 100); nodes[i].usm.setDropProbability(20); // 5% Logger.normal(RealNodeRoutingTest.class, "Created node "+i); } SimpleFieldSet refs[] = new SimpleFieldSet[NUMBER_OF_NODES]; for(int i=0;i<NUMBER_OF_NODES;i++) refs[i] = nodes[i].exportFieldSet(); Logger.normal(RealNodeRoutingTest.class, "Created "+NUMBER_OF_NODES+" nodes"); // Now link them up // Connect the set for(int i=0;i<NUMBER_OF_NODES;i++) { int next = (i+1) % NUMBER_OF_NODES; int prev = (i+NUMBER_OF_NODES-1)%NUMBER_OF_NODES; nodes[i].peers.connect(refs[next]); nodes[i].peers.connect(refs[prev]); } Logger.normal(RealNodeRoutingTest.class, "Connected nodes"); // Now add some random links for(int i=0;i<NUMBER_OF_NODES*5;i++) { if(i % NUMBER_OF_NODES == 0) Logger.normal(RealNodeRoutingTest.class, ""+i); int length = (int)Math.pow(NUMBER_OF_NODES, random.nextDouble()); int nodeA = random.nextInt(NUMBER_OF_NODES); int nodeB = (nodeA+length)%NUMBER_OF_NODES; //System.out.println(""+nodeA+" -> "+nodeB); Node a = nodes[nodeA]; Node b = nodes[nodeB]; a.peers.connect(b.exportFieldSet()); b.peers.connect(a.exportFieldSet()); } RequestStarterClient[] starters = new RequestStarterClient[NUMBER_OF_NODES]; for(int i=0;i<starters.length;i++) starters[i] = nodes[i].makeStarterClient(RequestStarter.INTERACTIVE_PRIORITY_CLASS, (short)0, false); // pretend are all requests Logger.normal(RealNodeRoutingTest.class, "Added random links"); SwapRequestInterval sri = new CPUAdjustingSwapRequestInterval(((500*1000*NUMBER_OF_NODES)/200), 50); for(int i=0;i<NUMBER_OF_NODES;i++) nodes[i].start(sri); // Now sit back and watch the fireworks! int cycleNumber = 0; int lastSwaps = 0; int lastNoSwaps = 0; int failures = 0; int successes = 0; RunningAverage avg = new SimpleRunningAverage(100, 0.0); RunningAverage avg2 = new BootstrappingDecayingRunningAverage(0.0, 0.0, 1.0, 100); int pings = 0; while(true) { cycleNumber++; try { Thread.sleep(5000); } catch (InterruptedException e) { // Ignore } for(int i=0;i<NUMBER_OF_NODES;i++) { Logger.normal(RealNodeRoutingTest.class, "Cycle "+cycleNumber+" node "+i+": "+nodes[i].lm.getLocation().getValue()); } int newSwaps = LocationManager.swaps; int totalStarted = LocationManager.startedSwaps; int noSwaps = LocationManager.noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps: "+(newSwaps-lastSwaps)); Logger.normal(RealNodeRoutingTest.class, "\nTotal swaps: Started*2: "+totalStarted*2+", succeeded: "+newSwaps+", last minute failures: "+noSwaps+ ", ratio "+(double)noSwaps/(double)newSwaps+", early failures: "+((totalStarted*2)-(noSwaps+newSwaps))); Logger.normal(RealNodeRoutingTest.class, "This cycle ratio: "+((double)(noSwaps-lastNoSwaps)) / ((double)(newSwaps - lastSwaps))); lastNoSwaps = noSwaps; Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (already locked): "+LocationManager.swapsRejectedAlreadyLocked); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (nowhere to go): "+LocationManager.swapsRejectedNowhereToGo); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (rate limit): "+LocationManager.swapsRejectedRateLimit); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (loop): "+LocationManager.swapsRejectedLoop); Logger.normal(RealNodeRoutingTest.class, "Swaps rejected (recognized ID):" +LocationManager.swapsRejectedRecognizedID); lastSwaps = newSwaps; // Do some (routed) test-pings for(int i=0;i<10;i++) { try { Thread.sleep(2000); } catch (InterruptedException e1) { } try { Node randomNode = nodes[random.nextInt(NUMBER_OF_NODES)]; Node randomNode2 = randomNode; while(randomNode2 == randomNode) randomNode2 = nodes[random.nextInt(NUMBER_OF_NODES)]; Logger.normal(RealNodeRoutingTest.class, "Pinging "+randomNode2.portNumber+" from "+randomNode.portNumber); double loc2 = randomNode2.lm.getLocation().getValue(); int hopsTaken = randomNode.routedPing(loc2); pings++; if(hopsTaken < 0) { failures++; avg.report(0.0); avg2.report(0.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" FAILED from "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } else { successes++; avg.report(1.0); avg2.report(1.0); double ratio = (double)successes / ((double)(failures+successes)); Logger.normal(RealNodeRoutingTest.class, "Routed ping "+pings+" success: "+hopsTaken+" "+randomNode.portNumber+" to "+randomNode2.portNumber+" (long:"+ratio+", short:"+avg.currentValue()+", vague:"+avg2.currentValue()+")"); } } catch (Throwable t) { Logger.error(RealNodeRoutingTest.class, "Caught "+t, t); } } if(pings > 10 && avg.currentValue() > 0.98 && ((double)successes / ((double)(failures+successes)) > 0.98)) { break; } } System.out.println(); System.out.println("Ping average > 98%, lets do some inserts/requests"); System.out.println(); int requestNumber = 0; RunningAverage requestsAvg = new SimpleRunningAverage(100, 0.0); String baseString = "" + System.currentTimeMillis() + " "; while(true) { try { requestNumber++; try { Thread.sleep(5000); } catch (InterruptedException e1) { } String dataString = baseString + requestNumber; // Pick random node to insert to int node1 = random.nextInt(NUMBER_OF_NODES); Node randomNode = nodes[node1]; Logger.error(RealNodeRequestInsertTest.class,"Inserting: \""+dataString+"\" to "+node1); byte[] data = dataString.getBytes(); ClientCHKBlock block; block = ClientCHKBlock.encode(data, false, false, (short)-1, 0); ClientCHK chk = (ClientCHK) block.getClientKey(); byte[] encData = block.getData(); byte[] encHeaders = block.getHeaders(); ClientCHKBlock newBlock = new ClientCHKBlock(encData, encHeaders, chk, true); Logger.error(RealNodeRequestInsertTest.class, "Decoded: "+new String(newBlock.memoryDecode())); Logger.error(RealNodeRequestInsertTest.class,"CHK: "+chk.getURI()); Logger.error(RealNodeRequestInsertTest.class,"Headers: "+HexUtil.bytesToHex(block.getHeaders())); randomNode.putKey(block, starters[node1], true); Logger.error(RealNodeRequestInsertTest.class, "Inserted to "+node1); Logger.error(RealNodeRequestInsertTest.class, "Data: "+Fields.hashCode(encData)+", Headers: "+Fields.hashCode(encHeaders)); // Pick random node to request from int node2; do { node2 = random.nextInt(NUMBER_OF_NODES); } while(node2 == node1); Node fetchNode = nodes[node2]; block = (ClientCHKBlock) fetchNode.getKey((ClientKey) chk, false, starters[node2], true, false); if(block == null) { Logger.error(RealNodeRequestInsertTest.class, "Fetch FAILED from "+node2); requestsAvg.report(0.0); } else { byte[] results = block.memoryDecode(); requestsAvg.report(1.0); if(Arrays.equals(results, data)) { Logger.error(RealNodeRequestInsertTest.class, "Fetch succeeded: "+new String(results)); } else { Logger.error(RealNodeRequestInsertTest.class, "Returned invalid data!: "+new String(results)); } } } catch (Throwable t) { Logger.error(RealNodeRequestInsertTest.class, "Caught "+t, t); } } }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/d32229c02576d531c915059f111c468591f30e84/RealNodeRequestInsertTest.java/buggy/src/freenet/node/RealNodeRequestInsertTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 16, 6469, 47, 5509, 503, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 514, 14452, 273, 315, 7688, 907, 691, 4600, 4709, 14432, 3639, 394, 1387, 12, 3623, 2934, 26686, 5621, 3639, 368, 7615, 1404, 30152, 13378, 1637, 2199, 5, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1381, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 9394, 16, 315, 74, 2842, 278, 18, 2233, 30, 17364, 16, 74, 2842, 278, 18, 2159, 18, 2735, 30, 6130, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 30, 4148, 16, 74, 2842, 278, 18, 2159, 18, 19793, 52, 6667, 1318, 30, 6130, 16, 74, 2842, 278, 18, 1594, 18, 5702, 18, 57, 9295, 4534, 1318, 30, 4148, 6, 5549, 1769, 3639, 4242, 18, 6347, 694, 7614, 12, 3328, 18, 9394, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 4600, 19, 17466, 1842, 8863, 3639, 2332, 18, 659, 18, 8222, 5621, 3639, 28622, 8529, 1830, 2744, 273, 394, 28622, 8529, 1830, 5621, 3639, 13008, 1385, 44, 1165, 4728, 18, 2738, 12, 9188, 1769, 3639, 2029, 8526, 2199, 273, 394, 2029, 63, 9931, 67, 3932, 67, 8744, 55, 15533, 3639, 4242, 18, 6130, 12, 6955, 907, 13966, 4709, 18, 1106, 16, 315, 11092, 2199, 7070, 1769, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 9931, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 9247, 13047, 16, 10669, 13047, 16, 6469, 47, 5509, 503, 288, 3639, 10669, 907, 18, 8394, 9152, 22681, 5846, 5062, 48, 87, 273, 638, 31, 3639, 514, 14452, 273, 315, 7688, 907, 691, 4600, 4709, 14432, 3639, 394, 1387, 12, 3623, 2934, 26686, 5621, 3639, 368, 7615, 1404, 30152, 13378, 1637, 2199, 5, 3639, 2029, 18, 6694, 67, 5062, 48, 273, 1381, 31, 3639, 1387, 3328, 5394, 7625, 273, 4242, 18, 8401, 27334, 7735, 12, 3328, 18, 9394, 16, 315, 74, 2842, 278, 18, 2233, 30, 17364, 16, 74, 2842, 278, 18, 2159, 18, 2735, 30, 6130, 6, 1748, 6, 74, 2842, 278, 18, 2159, 18, 2735, 1318, 2 ]
public void appendTdsInt( int i ) throws java.io.IOException { appendByte( ( byte ) ( ( i >> 0 ) & 0xff ) ); appendByte( ( byte ) ( ( i >> 8 ) & 0xff ) ); appendByte( ( byte ) ( ( i >> 16 ) & 0xff ) ); appendByte( ( byte ) ( ( i >> 24 ) & 0xff ) );
public void appendTdsInt(int i) throws java.io.IOException { appendByte((byte) ((i >> 0) & 0xff)); appendByte((byte) ((i >> 8) & 0xff)); appendByte((byte) ((i >> 16) & 0xff)); appendByte((byte) ((i >> 24) & 0xff));
public void appendTdsInt( int i ) throws java.io.IOException { appendByte( ( byte ) ( ( i >> 0 ) & 0xff ) ); appendByte( ( byte ) ( ( i >> 8 ) & 0xff ) ); appendByte( ( byte ) ( ( i >> 16 ) & 0xff ) ); appendByte( ( byte ) ( ( i >> 24 ) & 0xff ) ); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/a4e58a1f746332452b934163d1eb35cfed6964a9/TdsComm.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsComm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 714, 56, 2377, 1702, 12, 509, 277, 262, 2398, 1216, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 374, 262, 473, 374, 5297, 262, 11272, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 1725, 262, 473, 374, 5297, 262, 11272, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 2872, 262, 473, 374, 5297, 262, 11272, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 4248, 262, 473, 374, 5297, 262, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 714, 56, 2377, 1702, 12, 509, 277, 262, 2398, 1216, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 374, 262, 473, 374, 5297, 262, 11272, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 1725, 262, 473, 374, 5297, 262, 11272, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 2872, 262, 473, 374, 5297, 262, 11272, 3639, 714, 3216, 12, 261, 1160, 262, 261, 261, 277, 1671, 4248, 262, 473, 374, 5297, 262, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public char asChar() throws XIllegalArgument {
public char asChar() throws XTypeMismatch {
public char asChar() throws XIllegalArgument { if (javaValue.length() == 1) { return javaValue.charAt(0); } else { throw new XIllegalArgument("Expected a character, given a string: " + javaValue); } }
57139 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57139/09627d459f1e1bc3a9ef2c39df3c8683749e8cac/NATText.java/clean/src/edu/vub/at/objects/natives/NATText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1149, 487, 2156, 1435, 1216, 1139, 12195, 1379, 288, 1082, 202, 430, 261, 6290, 620, 18, 2469, 1435, 422, 404, 13, 288, 9506, 202, 2463, 2252, 620, 18, 3001, 861, 12, 20, 1769, 1082, 202, 97, 469, 288, 9506, 202, 12849, 394, 1139, 12195, 1379, 2932, 6861, 279, 3351, 16, 864, 279, 533, 30, 315, 397, 2252, 620, 1769, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 1149, 487, 2156, 1435, 1216, 1139, 12195, 1379, 288, 1082, 202, 430, 261, 6290, 620, 18, 2469, 1435, 422, 404, 13, 288, 9506, 202, 2463, 2252, 620, 18, 3001, 861, 12, 20, 1769, 1082, 202, 97, 469, 288, 9506, 202, 12849, 394, 1139, 12195, 1379, 2932, 6861, 279, 3351, 16, 864, 279, 533, 30, 315, 397, 2252, 620, 1769, 1082, 202, 97, 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 ]
public List getNodeIDs (Node home, Relation rel) throws Exception { // Transactor tx = (Transactor) Thread.currentThread (); // tx.timer.beginEvent ("getNodeIDs "+home); if (rel == null || rel.otherType == null || !rel.otherType.isRelational ()) { // this should never be called for embedded nodes throw new RuntimeException ("NodeMgr.getNodeIDs called for non-relational node "+home); } else { List retval = new ArrayList (); // if we do a groupby query (creating an intermediate layer of groupby nodes), // retrieve the value of that field instead of the primary key String idfield = rel.groupby == null ? rel.otherType.getIDField () : rel.groupby; Connection con = rel.otherType.getConnection (); String table = rel.otherType.getTableName (); Statement stmt = null; try { String q = null; if (home.getSubnodeRelation() != null) { // subnode relation was explicitly set q = "SELECT "+idfield+" FROM "+table+" "+home.getSubnodeRelation(); } else { // let relation object build the query q = "SELECT "+idfield+" FROM "+table + rel.buildQuery (home, home.getNonVirtualParent (), null, " WHERE ", true); } if (logSql) app.logEvent ("### getNodeIDs: "+q); stmt = con.createStatement (); if (rel.maxSize > 0) stmt.setMaxRows (rel.maxSize); ResultSet result = stmt.executeQuery (q); // problem: how do we derive a SyntheticKey from a not-yet-persistent Node? Key k = rel.groupby != null ? home.getKey (): null; while (result.next ()) { String kstr = result.getString (1); // jump over null values - this can happen especially when the selected // column is a group-by column. if (kstr == null) continue; // make the proper key for the object, either a generic DB key or a groupby key Key key = rel.groupby == null ? (Key) new DbKey (rel.otherType, kstr) : (Key) new SyntheticKey (k, kstr); retval.add (new NodeHandle (key)); // if these are groupby nodes, evict nullNode keys if (rel.groupby != null) { Node n = (Node) cache.get (key); if (n != null && n.isNullNode ()) evictKey (key); } } } finally { // tx.timer.endEvent ("getNodeIDs "+home); if (stmt != null) try { stmt.close (); } catch (Exception ignore) {} } return retval; } }
3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/f2bfe5b9cf3a68d9767d085793b8cfb80c2f8479/NodeManager.java/buggy/src/helma/objectmodel/db/NodeManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 5973, 5103, 261, 907, 6382, 16, 7317, 1279, 13, 1216, 1185, 288, 202, 759, 2604, 3362, 2229, 273, 261, 1429, 3362, 13, 4884, 18, 2972, 3830, 261, 1769, 202, 759, 2229, 18, 12542, 18, 10086, 1133, 7566, 588, 907, 5103, 13773, 8712, 1769, 202, 430, 261, 2878, 422, 446, 747, 1279, 18, 3011, 559, 422, 446, 747, 401, 2878, 18, 3011, 559, 18, 291, 15060, 1832, 13, 288, 202, 565, 368, 333, 1410, 5903, 506, 2566, 364, 7488, 2199, 202, 565, 604, 394, 3235, 7566, 907, 9455, 18, 588, 907, 5103, 2566, 364, 1661, 17, 5488, 287, 756, 13773, 8712, 1769, 202, 97, 469, 288, 202, 565, 987, 5221, 273, 394, 2407, 261, 1769, 202, 565, 368, 309, 732, 741, 279, 13126, 843, 261, 23799, 392, 12110, 3018, 434, 13126, 2199, 3631, 202, 565, 368, 4614, 326, 460, 434, 716, 652, 3560, 434, 326, 3354, 498, 202, 565, 514, 612, 1518, 273, 1279, 18, 1655, 1637, 422, 446, 692, 1279, 18, 3011, 559, 18, 588, 734, 974, 1832, 294, 1279, 18, 1655, 1637, 31, 202, 565, 4050, 356, 273, 1279, 18, 3011, 559, 18, 588, 1952, 261, 1769, 202, 565, 514, 1014, 273, 1279, 18, 3011, 559, 18, 588, 7147, 261, 1769, 202, 565, 8056, 3480, 273, 446, 31, 202, 565, 775, 288, 1082, 3639, 514, 1043, 273, 446, 31, 1082, 3639, 309, 261, 8712, 18, 588, 1676, 2159, 3963, 1435, 480, 446, 13, 288, 202, 5411, 368, 28300, 2533, 1703, 8122, 444, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 5973, 5103, 261, 907, 6382, 16, 7317, 1279, 13, 1216, 1185, 288, 202, 759, 2604, 3362, 2229, 273, 261, 1429, 3362, 13, 4884, 18, 2972, 3830, 261, 1769, 202, 759, 2229, 18, 12542, 18, 10086, 1133, 7566, 588, 907, 5103, 13773, 8712, 1769, 202, 430, 261, 2878, 422, 446, 747, 1279, 18, 3011, 559, 422, 446, 747, 401, 2878, 18, 3011, 559, 18, 291, 15060, 1832, 13, 288, 202, 565, 368, 333, 1410, 5903, 506, 2566, 364, 7488, 2199, 202, 565, 604, 394, 3235, 7566, 907, 9455, 18, 588, 907, 5103, 2566, 364, 1661, 17, 5488, 287, 756, 13773, 8712, 1769, 202, 97, 469, 288, 202, 565, 987, 5221, 273, 394, 2407, 261, 1769, 202, 565, 2 ]
protected RubyIO(Ruby runtime, RubyClass type) {
public RubyIO(Ruby runtime, RubyClass type) {
protected RubyIO(Ruby runtime, RubyClass type) { super(runtime, type); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/ae3178fbb3656e01c3d379a6255e1af956725271/RubyIO.java/buggy/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4294, 12, 54, 10340, 3099, 16, 19817, 797, 618, 13, 288, 3639, 2240, 12, 9448, 16, 618, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4294, 12, 54, 10340, 3099, 16, 19817, 797, 618, 13, 288, 3639, 2240, 12, 9448, 16, 618, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SERVER_DATE.length() + P4_SERVER_DATE_FORMAT.length());
SERVER_DATE.length() + P4_SERVER_DATE_FORMAT.length());
protected long parseServerInfo(InputStream is) throws IOException { BufferedReader p4reader = new BufferedReader(new InputStreamReader(is)); Date ccServerTime = new Date(); Date p4ServerTime = new Date(); String line = null; long offset = 0; while ((line = p4reader.readLine()) != null && offset == 0) { if (line.startsWith(SERVER_DATE)) { try { String dateString = line.substring(SERVER_DATE.length(), SERVER_DATE.length() + P4_SERVER_DATE_FORMAT.length()); p4ServerTime = P4_SERVER_DATE.parse(dateString); offset = p4ServerTime.getTime() - ccServerTime.getTime(); } catch (ParseException pe) { LOG.error("Unable to parse p4 server time from line \'" + line + "\'. " + pe.getMessage() + "; Proceeding without time offset."); } } } LOG.info("Perforce server time offset: " + offset + " ms"); return offset; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/b7d74646ab37b46052e3e3bc07b897083ec08cd3/P4.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/P4.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1525, 1109, 2081, 966, 12, 4348, 353, 13, 1216, 1860, 288, 3639, 10633, 293, 24, 10530, 273, 394, 10633, 12, 2704, 15322, 12, 291, 10019, 3639, 2167, 4946, 2081, 950, 273, 394, 2167, 5621, 3639, 2167, 293, 24, 2081, 950, 273, 394, 2167, 5621, 3639, 514, 980, 273, 446, 31, 3639, 1525, 1384, 273, 374, 31, 3639, 1323, 14015, 1369, 273, 293, 24, 10530, 18, 896, 1670, 10756, 480, 446, 597, 1384, 422, 374, 13, 288, 5411, 309, 261, 1369, 18, 17514, 1190, 12, 4370, 67, 4594, 3719, 288, 7734, 775, 288, 10792, 514, 24757, 273, 980, 18, 28023, 12, 4370, 67, 4594, 18, 2469, 9334, 13491, 15061, 67, 4594, 18, 2469, 1435, 397, 453, 24, 67, 4370, 67, 4594, 67, 7254, 18, 2469, 10663, 10792, 293, 24, 2081, 950, 273, 453, 24, 67, 4370, 67, 4594, 18, 2670, 12, 712, 780, 1769, 10792, 1384, 273, 293, 24, 2081, 950, 18, 588, 950, 1435, 300, 4946, 2081, 950, 18, 588, 950, 5621, 7734, 289, 1044, 261, 13047, 2804, 13, 288, 10792, 2018, 18, 1636, 2932, 3370, 358, 1109, 293, 24, 1438, 813, 628, 980, 521, 4970, 18701, 397, 980, 18701, 397, 1548, 10332, 225, 315, 397, 2804, 18, 24906, 1435, 18701, 397, 13636, 1186, 5288, 310, 2887, 813, 1384, 1199, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 2018, 18, 1376, 2932, 2173, 5734, 1438, 813, 1384, 30, 315, 397, 1384, 397, 315, 4086, 8863, 3639, 327, 1384, 31, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1525, 1109, 2081, 966, 12, 4348, 353, 13, 1216, 1860, 288, 3639, 10633, 293, 24, 10530, 273, 394, 10633, 12, 2704, 15322, 12, 291, 10019, 3639, 2167, 4946, 2081, 950, 273, 394, 2167, 5621, 3639, 2167, 293, 24, 2081, 950, 273, 394, 2167, 5621, 3639, 514, 980, 273, 446, 31, 3639, 1525, 1384, 273, 374, 31, 3639, 1323, 14015, 1369, 273, 293, 24, 10530, 18, 896, 1670, 10756, 480, 446, 597, 1384, 422, 374, 13, 288, 5411, 309, 261, 1369, 18, 17514, 1190, 12, 4370, 67, 4594, 3719, 288, 7734, 775, 288, 10792, 514, 24757, 273, 980, 18, 28023, 12, 4370, 67, 4594, 18, 2469, 9334, 13491, 15061, 67, 4594, 18, 2469, 1435, 397, 453, 24, 67, 2 ]
if (TDEBUG && debuglevel > 6) {
if (TDEBUG && (debuglevel > 6)) {
blockEncrypt (byte[] in, byte[] result, int inOffset, Object sessionKey) {if (TDEBUG) trace(IN, "blockEncrypt("+in+", "+inOffset+", "+sessionKey+")"); Object[] sk = (Object[]) sessionKey; // extract S-box and session key int[] sBox = (int[]) sk[0]; int[] sKey = (int[]) sk[1];if (TDEBUG && debuglevel > 6) System.out.println("PT="+toString(in, inOffset, BLOCK_SIZE)); int x0 = (in[inOffset++] & 0xFF) | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 24; int x1 = (in[inOffset++] & 0xFF) | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 24; int x2 = (in[inOffset++] & 0xFF) | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 24; int x3 = (in[inOffset++] & 0xFF) | (in[inOffset++] & 0xFF) << 8 | (in[inOffset++] & 0xFF) << 16 | (in[inOffset++] & 0xFF) << 24; x0 ^= sKey[INPUT_WHITEN ]; x1 ^= sKey[INPUT_WHITEN + 1]; x2 ^= sKey[INPUT_WHITEN + 2]; x3 ^= sKey[INPUT_WHITEN + 3];if (TDEBUG && debuglevel > 6) System.out.println("PTw="+intToString(x0)+intToString(x1)+intToString(x2)+intToString(x3)); int t0, t1; int k = ROUND_SUBKEYS; for (int R = 0; R < ROUNDS; R += 2) { t0 = Fe32_0( sBox, x0 ); t1 = Fe32_3( sBox, x1 ); x2 ^= t0 + t1 + sKey[k++]; x2 = x2 >>> 1 | x2 << 31; x3 = x3 << 1 | x3 >>> 31; x3 ^= t0 + 2*t1 + sKey[k++];if (TDEBUG && debuglevel > 6) System.out.println("CT"+(R)+"="+intToString(x0)+intToString(x1)+intToString(x2)+intToString(x3)); t0 = Fe32_0( sBox, x2 ); t1 = Fe32_3( sBox, x3 ); x0 ^= t0 + t1 + sKey[k++]; x0 = x0 >>> 1 | x0 << 31; x1 = x1 << 1 | x1 >>> 31; x1 ^= t0 + 2*t1 + sKey[k++];if (TDEBUG && debuglevel > 6) System.out.println("CT"+(R+1)+"="+intToString(x0)+intToString(x1)+intToString(x2)+intToString(x3)); } x2 ^= sKey[OUTPUT_WHITEN ]; x3 ^= sKey[OUTPUT_WHITEN + 1]; x0 ^= sKey[OUTPUT_WHITEN + 2]; x1 ^= sKey[OUTPUT_WHITEN + 3];if (TDEBUG && debuglevel > 6) System.out.println("CTw="+intToString(x0)+intToString(x1)+intToString(x2)+intToString(x3)); result[0] = (byte) x2; result[1] = (byte)(x2 >>> 8); result[2] = (byte)(x2 >>> 16); result[3] = (byte)(x2 >>> 24); result[4] = (byte) x3; result[5] = (byte)(x3 >>> 8); result[6] = (byte)(x3 >>> 16); result[7] = (byte)(x3 >>> 24); result[8] = (byte) x0; result[9] = (byte)(x0 >>> 8); result[10] = (byte)(x0 >>> 16); result[11] = (byte)(x0 >>> 24); result[12] = (byte) x1; result[13] = (byte)(x1 >>> 8); result[14] = (byte)(x1 >>> 16); result[15] = (byte)(x1 >>> 24);if (TDEBUG && debuglevel > 6) {System.out.println("CT="+toString(result));System.out.println();}if (TDEBUG) trace(OUT, "blockEncrypt()"); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Twofish_Algorithm.java/buggy/src/freenet/crypt/ciphers/Twofish_Algorithm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1203, 13129, 261, 7229, 8526, 316, 16, 1160, 8526, 563, 16, 509, 316, 2335, 16, 1033, 26864, 13, 288, 430, 261, 56, 9394, 13, 2606, 12, 706, 16, 315, 2629, 13129, 2932, 15, 267, 15, 3113, 13773, 267, 2335, 15, 3113, 13773, 3184, 653, 9078, 2225, 1769, 1377, 1033, 8526, 4343, 273, 261, 921, 63, 5717, 26864, 31, 368, 2608, 348, 17, 2147, 471, 1339, 498, 1377, 509, 8526, 272, 3514, 273, 261, 474, 63, 5717, 4343, 63, 20, 15533, 1377, 509, 8526, 15447, 273, 261, 474, 63, 5717, 4343, 63, 21, 15533, 430, 261, 56, 9394, 597, 1198, 2815, 405, 1666, 13, 2332, 18, 659, 18, 8222, 2932, 1856, 1546, 15, 10492, 12, 267, 16, 316, 2335, 16, 14073, 67, 4574, 10019, 1377, 509, 619, 20, 273, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 4202, 571, 9079, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 2296, 225, 1725, 571, 9079, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 2296, 2872, 571, 9079, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 2296, 4248, 31, 1377, 509, 619, 21, 273, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 4202, 571, 9079, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 2296, 225, 1725, 571, 9079, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 6356, 13, 2296, 2872, 571, 9079, 261, 267, 63, 267, 2335, 9904, 65, 473, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1203, 13129, 261, 7229, 8526, 316, 16, 1160, 8526, 563, 16, 509, 316, 2335, 16, 1033, 26864, 13, 288, 430, 261, 56, 9394, 13, 2606, 12, 706, 16, 315, 2629, 13129, 2932, 15, 267, 15, 3113, 13773, 267, 2335, 15, 3113, 13773, 3184, 653, 9078, 2225, 1769, 1377, 1033, 8526, 4343, 273, 261, 921, 63, 5717, 26864, 31, 368, 2608, 348, 17, 2147, 471, 1339, 498, 1377, 509, 8526, 272, 3514, 273, 261, 474, 63, 5717, 4343, 63, 20, 15533, 1377, 509, 8526, 15447, 273, 261, 474, 63, 5717, 4343, 63, 21, 15533, 430, 261, 56, 9394, 597, 1198, 2815, 405, 1666, 13, 2332, 18, 659, 18, 8222, 2932, 1856, 1546, 15, 10492, 12, 267, 16, 316, 2335, 2 ]
String groupSep, String groupSize) { _lang = lang; _groupSep = groupSep; _letterValue = letterValue;
String groupSep, String groupSize) { _lang = lang; _groupSep = groupSep; _letterValue = letterValue;
protected void setFormatting(String format, String lang, String letterValue, String groupSep, String groupSize) { _lang = lang; _groupSep = groupSep; _letterValue = letterValue; try { _groupSize = Integer.parseInt(groupSize); } catch (NumberFormatException e) { _groupSize = 0; } setTokens(format); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2d07c253b814672a82d969836d58577bfa628b88/NodeCounter.java/buggy/src/org/apache/xalan/xsltc/dom/NodeCounter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 23974, 12, 780, 740, 16, 514, 3303, 16, 514, 9471, 620, 16, 6862, 514, 1041, 5097, 16, 514, 1041, 1225, 13, 288, 202, 67, 4936, 273, 3303, 31, 202, 67, 1655, 5097, 273, 1041, 5097, 31, 202, 67, 13449, 620, 273, 9471, 620, 31, 202, 698, 288, 202, 565, 389, 1655, 1225, 273, 2144, 18, 2670, 1702, 12, 1655, 1225, 1769, 202, 97, 202, 14683, 261, 1854, 9291, 425, 13, 288, 202, 565, 389, 1655, 1225, 273, 374, 31, 202, 97, 565, 444, 5157, 12, 2139, 1769, 202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 444, 23974, 12, 780, 740, 16, 514, 3303, 16, 514, 9471, 620, 16, 6862, 514, 1041, 5097, 16, 514, 1041, 1225, 13, 288, 202, 67, 4936, 273, 3303, 31, 202, 67, 1655, 5097, 273, 1041, 5097, 31, 202, 67, 13449, 620, 273, 9471, 620, 31, 202, 698, 288, 202, 565, 389, 1655, 1225, 273, 2144, 18, 2670, 1702, 12, 1655, 1225, 1769, 202, 97, 202, 14683, 261, 1854, 9291, 425, 13, 288, 202, 565, 389, 1655, 1225, 273, 374, 31, 202, 97, 565, 444, 5157, 12, 2139, 1769, 202, 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 ]
aMenu.appendToGroup(ICommonMenuConstants.GROUP_REORGANIZE, GROUP_IMPORT_SEPARATOR); if (actionContext == null || actionContext.getSelection().isEmpty() || !(actionContext.getSelection() instanceof IStructuredSelection)) {
if (getContext() == null || getContext().getSelection().isEmpty() || !(getContext().getSelection() instanceof IStructuredSelection)) {
public boolean fillContextMenu(IMenuManager aMenu) { aMenu.appendToGroup(ICommonMenuConstants.GROUP_REORGANIZE, GROUP_IMPORT_SEPARATOR); if (actionContext == null || actionContext.getSelection().isEmpty() || !(actionContext.getSelection() instanceof IStructuredSelection)) { addSimplePortingMenus(aMenu); } else { IStructuredSelection structuredSelection = (IStructuredSelection) actionContext.getSelection(); if (structuredSelection.size() > 1) addSimplePortingMenus(aMenu); else /* structuredSelection.size() = 1 */ addFocusedPortingMenus(aMenu, structuredSelection.getFirstElement()); } return true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/6915e85b60af35942d3186f62ce0acdf65c91e7f/PortingActionExtension.java/buggy/bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/navigator/resources/internal/actions/PortingActionExtension.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3636, 27315, 12, 3445, 2104, 1318, 279, 4599, 13, 288, 202, 202, 69, 4599, 18, 6923, 774, 1114, 12, 45, 6517, 4599, 2918, 18, 8468, 67, 862, 25071, 1258, 15641, 16, 13839, 67, 20445, 67, 4550, 1769, 202, 202, 430, 261, 1128, 1042, 422, 446, 747, 1301, 1042, 18, 588, 6233, 7675, 291, 1921, 1435, 747, 401, 12, 1128, 1042, 18, 588, 6233, 1435, 1276, 467, 30733, 6233, 3719, 288, 1082, 202, 1289, 5784, 2617, 310, 29755, 12, 69, 4599, 1769, 202, 202, 97, 469, 288, 1082, 202, 45, 30733, 6233, 19788, 6233, 273, 261, 45, 30733, 6233, 13, 1301, 1042, 18, 588, 6233, 5621, 1082, 202, 430, 261, 17233, 6233, 18, 1467, 1435, 405, 404, 13, 9506, 202, 1289, 5784, 2617, 310, 29755, 12, 69, 4599, 1769, 1082, 202, 12107, 9506, 202, 20308, 19788, 6233, 18, 1467, 1435, 273, 404, 1195, 9506, 202, 1289, 30946, 2617, 310, 29755, 12, 69, 4599, 16, 19788, 6233, 18, 588, 3759, 1046, 10663, 202, 202, 97, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 3636, 27315, 12, 3445, 2104, 1318, 279, 4599, 13, 288, 202, 202, 69, 4599, 18, 6923, 774, 1114, 12, 45, 6517, 4599, 2918, 18, 8468, 67, 862, 25071, 1258, 15641, 16, 13839, 67, 20445, 67, 4550, 1769, 202, 202, 430, 261, 1128, 1042, 422, 446, 747, 1301, 1042, 18, 588, 6233, 7675, 291, 1921, 1435, 747, 401, 12, 1128, 1042, 18, 588, 6233, 1435, 1276, 467, 30733, 6233, 3719, 288, 1082, 202, 1289, 5784, 2617, 310, 29755, 12, 69, 4599, 1769, 202, 202, 97, 469, 288, 1082, 202, 45, 30733, 6233, 19788, 6233, 273, 261, 45, 30733, 6233, 13, 1301, 1042, 18, 588, 6233, 5621, 1082, 202, 430, 261, 17233, 6233, 18, 1467, 1435, 405, 2 ]
DefaultLoggerImpl.instance().log(ILogger.ERROR, "ChartReportItemGenerationImpl: onRowSets(...) - exception");
DefaultLoggerImpl.instance() .log(ILogger.ERROR, "ChartReportItemGenerationImpl: onRowSets(...) - exception");
public Object onRowSets(IRowSet[] irsa) throws BirtException { // BIND RESULTSET TO CHART DATASETS if (irsa == null || irsa.length != 1 || ibqda == null || ibqda.length != 1) { throw new BirtException("chart.presentation", new UnexpectedInputException("The number of rowsets provided to the chart was incorrect or 'null'", null), null); } DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "ChartReportItemGenerationImpl: onRowSets(...) - start"); try { final QueryHelper qh = QueryHelper.instance(rtc); //final ScriptHandler sh = rtc.getScriptHandler(); //ScriptHandler.callFunction(sh, ScriptHandler.BEFORE_DATA_BINDING, irsa[0]); final ResultSetWrapper rsw = qh.mapToChartResultSet(ibqda[0], irsa[0], cm); //ScriptHandler.callFunction(sh, ScriptHandler.AFTER_DATA_BINDING, rsw); // POPULATE THE CHART MODEL WITH THE RESULTSET qh.generateRuntimeSeries(cm, rsw); } catch (Exception gex ) { DefaultLoggerImpl.instance().log(gex); DefaultLoggerImpl.instance().log(ILogger.ERROR, "ChartReportItemGenerationImpl: onRowSets(...) - exception"); throw new BirtException("process", gex); } try { DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "ChartReportItemPresentationImpl: onRowSets(...) - building chart"); // SETUP A TEMP FILE FOR STREAMING try { fChartImage = File.createTempFile("chart", "." + sExtension); DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "Writing to " + sExtension + " file at " + fChartImage.getPath()); } catch (IOException ioex ) { throw new BirtException("tmp png file creation", ioex); } // FETCH A HANDLE TO THE DEVICE RENDERER IDeviceRenderer idr = null; try { idr = PluginSettings.instance().getDevice("dv." + sExtension.toUpperCase(Locale.US)); } catch (PluginException pex ) { DefaultLoggerImpl.instance().log(pex); throw new BirtException(sExtension.toUpperCase(Locale.US) + " device retrieval", pex); } // BUILD THE CHART final Bounds bo = cm.getBlock().getBounds(); DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "Presentation uses bounds bo=" + bo); final Generator gr = Generator.instance(); GeneratedChartState gcs = null; try { gcs = gr.build(idr.getDisplayServer(), cm, null, bo, rtc); } catch (GenerationException gex ) { DefaultLoggerImpl.instance().log(gex); throw new BirtException("chart build", gex); } // WRITE TO THE IMAGE FILE DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "ChartReportItemPresentationImpl: onRowSets(...) - rendering chart"); idr.setProperty(IDeviceRenderer.FILE_IDENTIFIER, fChartImage.getPath()); try { gr.render(idr, gcs); } catch (RenderingException rex ) { DefaultLoggerImpl.instance().log(rex); throw new BirtException("chart render", rex); } // RETURN A STREAM HANDLE TO THE NEWLY CREATED IMAGE try { fis = new FileInputStream(fChartImage.getPath()); } catch (IOException ioex ) { DefaultLoggerImpl.instance().log(ioex); throw new BirtException("input stream creation", ioex); } } catch (Exception ex) { DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "ChartReportItemPresentationImpl: onRowSets(...) - failed"); DefaultLoggerImpl.instance().log(ex); return null; } DefaultLoggerImpl.instance().log(ILogger.INFORMATION, "ChartReportItemPresentationImpl: onRowSets(...) - end"); return fis; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/82edcc17a5f7fd43b8e0179a398bcd092111db6d/ChartReportItemPresentationImpl.java/clean/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemPresentationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 603, 1999, 2785, 12, 45, 1999, 694, 8526, 277, 24654, 13, 1216, 605, 2714, 503, 565, 288, 3639, 368, 605, 2356, 17210, 4043, 8493, 6469, 4928, 8730, 28092, 3639, 309, 261, 10539, 69, 422, 446, 747, 277, 24654, 18, 2469, 480, 404, 747, 9834, 85, 2414, 422, 446, 747, 9834, 85, 2414, 18, 2469, 480, 404, 13, 3639, 288, 5411, 604, 394, 605, 2714, 503, 2932, 11563, 18, 10364, 3113, 394, 9649, 20518, 2932, 1986, 1300, 434, 1027, 4424, 2112, 358, 326, 4980, 1703, 11332, 578, 296, 2011, 11, 3113, 446, 3631, 446, 1769, 3639, 289, 3639, 2989, 3328, 2828, 18, 1336, 7675, 1330, 12, 45, 3328, 18, 706, 23805, 16, 315, 7984, 4820, 1180, 13842, 2828, 30, 603, 1999, 2785, 5825, 13, 300, 787, 8863, 3639, 775, 3639, 288, 5411, 727, 2770, 2276, 1043, 76, 273, 2770, 2276, 18, 1336, 12, 3797, 71, 1769, 5411, 368, 6385, 7739, 1503, 699, 273, 436, 5111, 18, 588, 3651, 1503, 5621, 5411, 368, 3651, 1503, 18, 1991, 2083, 12, 674, 16, 7739, 1503, 18, 19152, 67, 4883, 67, 2739, 16, 277, 24654, 63, 20, 19226, 5411, 727, 10842, 3611, 3597, 91, 273, 1043, 76, 18, 1458, 774, 7984, 13198, 12, 495, 85, 2414, 63, 20, 6487, 277, 24654, 63, 20, 6487, 5003, 1769, 5411, 368, 3651, 1503, 18, 1991, 2083, 12, 674, 16, 7739, 1503, 18, 18249, 67, 4883, 67, 2739, 16, 3597, 91, 1769, 5411, 368, 26839, 1506, 1777, 12786, 6469, 4928, 21700, 13601, 12786, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 603, 1999, 2785, 12, 45, 1999, 694, 8526, 277, 24654, 13, 1216, 605, 2714, 503, 565, 288, 3639, 368, 605, 2356, 17210, 4043, 8493, 6469, 4928, 8730, 28092, 3639, 309, 261, 10539, 69, 422, 446, 747, 277, 24654, 18, 2469, 480, 404, 747, 9834, 85, 2414, 422, 446, 747, 9834, 85, 2414, 18, 2469, 480, 404, 13, 3639, 288, 5411, 604, 394, 605, 2714, 503, 2932, 11563, 18, 10364, 3113, 394, 9649, 20518, 2932, 1986, 1300, 434, 1027, 4424, 2112, 358, 326, 4980, 1703, 11332, 578, 296, 2011, 11, 3113, 446, 3631, 446, 1769, 3639, 289, 3639, 2989, 3328, 2828, 18, 1336, 7675, 1330, 12, 45, 3328, 18, 706, 23805, 16, 315, 7984, 4820, 1180, 13842, 2 ]
MyVariables parent = (MyVariables)jxpathContext.getVariables();
MyVariables parent =(MyVariables)jxpathContext.getVariables();
private void execute(final XMLConsumer consumer, MyJexlContext jexlContext, JXPathContext jxpathContext, StartElement macroCall, Event startEvent, Event endEvent) throws SAXException { Event ev = startEvent; LocatorFacade loc = new LocatorFacade(ev.location); consumer.setDocumentLocator(loc); while (ev != endEvent) { loc.setDocumentLocator(ev.location); if (ev instanceof Characters) { TextEvent text = (TextEvent)ev; Iterator iter = text.substitutions.iterator(); while (iter.hasNext()) { Object subst = iter.next(); char[] chars; if (subst instanceof char[]) { chars = (char[])subst; } else { JXTExpression expr = (JXTExpression)subst; try { Object val = getNode(expr, jexlContext, jxpathContext); if (val instanceof Node) { executeDOM(consumer, jexlContext, jxpathContext, (Node)val); continue; } else if (val instanceof NodeList) { NodeList nodeList = (NodeList)val; int len = nodeList.getLength(); for (int i = 0; i < len; i++) { Node n = nodeList.item(i); executeDOM(consumer, jexlContext, jxpathContext, n); } continue; } else if (val instanceof Node[]) { Node[] nodeList = (Node[])val; int len = nodeList.length; for (int i = 0; i < len; i++) { Node n = nodeList[i]; executeDOM(consumer, jexlContext, jxpathContext, n); } continue; } else if (val instanceof XMLizable) { ((XMLizable)val).toSAX(new IncludeXMLConsumer(consumer)); continue; } if (val != null) { chars = val.toString().toCharArray(); } else { chars = ArrayUtils.EMPTY_CHAR_ARRAY; } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } consumer.characters(chars, 0, chars.length); } } else if (ev instanceof EndElement) { EndElement endElement = (EndElement)ev; StartElement startElement = endElement.startElement; consumer.endElement(startElement.namespaceURI, startElement.localName, startElement.raw); } else if (ev instanceof EndPrefixMapping) { EndPrefixMapping endPrefixMapping = (EndPrefixMapping)ev; consumer.endPrefixMapping(endPrefixMapping.prefix); } else if (ev instanceof IgnorableWhitespace) { TextEvent text = (TextEvent)ev; characters(jexlContext, jxpathContext, text, new CharHandler() { public void characters(char[] ch, int offset, int len) throws SAXException { consumer.ignorableWhitespace(ch, offset, len); } }); } else if (ev instanceof SkippedEntity) { SkippedEntity skippedEntity = (SkippedEntity)ev; consumer.skippedEntity(skippedEntity.name); } else if (ev instanceof StartIf) { StartIf startIf = (StartIf)ev; Object val; try { val = getValue(startIf.test, jexlContext, jxpathContext, Boolean.TRUE); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } boolean result = false; if (val instanceof Boolean) { result = ((Boolean)val).booleanValue(); } else { result = (val != null); } if (!result) { ev = startIf.endInstruction.next; continue; } } else if (ev instanceof StartForEach) { StartForEach startForEach = (StartForEach)ev; final Object items = startForEach.items; Iterator iter = null; int begin, end, step; String var, varStatus; try { if (items != null) { JXTExpression expr = (JXTExpression)items; if (expr.compiledExpression instanceof CompiledExpression) { CompiledExpression compiledExpression = (CompiledExpression)expr.compiledExpression; Object val = compiledExpression.getPointer(jxpathContext, expr.raw).getNode(); // FIXME: workaround for JXPath bug if (val instanceof NativeArray) { iter = new JSIntrospector.NativeArrayIterator((NativeArray)val); } else { iter = compiledExpression.iteratePointers(jxpathContext); } } else if (expr.compiledExpression instanceof org.apache.commons.jexl.Expression) { org.apache.commons.jexl.Expression e = (org.apache.commons.jexl.Expression)expr.compiledExpression; Object result = e.evaluate(jexlContext); if (result != null) { iter = Introspector.getUberspect().getIterator( result, new Info(ev.location.getSystemId(), ev.location.getLineNumber(), ev.location.getColumnNumber())); } if (iter == null) { iter = EMPTY_ITER; } } else { // literal value iter = new Iterator() { Object val = items; public boolean hasNext() { return val != null; } public Object next() { Object res = val; val = null; return res; } public void remove() { } }; } } else { iter = NULL_ITER; } begin = startForEach.begin == null ? 0 : getIntValue(startForEach.begin, jexlContext, jxpathContext); end = startForEach.end == null ? Integer.MAX_VALUE : getIntValue(startForEach.end, jexlContext, jxpathContext); step = startForEach.step == null ? 1 : getIntValue(startForEach.step, jexlContext, jxpathContext); var = getStringValue(startForEach.var, jexlContext, jxpathContext); varStatus = getStringValue(startForEach.varStatus, jexlContext, jxpathContext); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } MyJexlContext localJexlContext = new MyJexlContext(jexlContext); MyVariables localJXPathVariables = new MyVariables((MyVariables)jxpathContext.getVariables()); int i = 0; // Move to the begin row while (i < begin && iter.hasNext()) { iter.next(); i++; } LoopTagStatus status = null; if (varStatus != null) { status = new LoopTagStatus(); status.begin = begin; status.end = end; status.step = step; status.first = true; localJexlContext.put(varStatus, status); localJXPathVariables.declareVariable(varStatus, status); } int skipCounter, count = 1; JXPathContext localJXPathContext = null; while (i <= end && iter.hasNext()) { Object value = iter.next(); if (value instanceof Pointer) { Pointer ptr = (Pointer)value; localJXPathContext = jxpathContext.getRelativeContext(ptr); try { value = ptr.getNode(); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, null); } } else { localJXPathContext = jxpathContextFactory.newContext(jxpathContext, value); } localJXPathContext.setVariables(localJXPathVariables); if (var != null) { localJexlContext.put(var, value); } if (status != null) { status.index = i; status.count = count; status.first = i == begin; status.current = value; status.last = (i == end || !iter.hasNext()); } execute(consumer, localJexlContext, localJXPathContext, macroCall, startForEach.next, startForEach.endInstruction); // Skip rows skipCounter = step; while (--skipCounter > 0 && iter.hasNext()) { iter.next(); } // Increase index i += step; count++; } ev = startForEach.endInstruction.next; continue; } else if (ev instanceof StartChoose) { StartChoose startChoose = (StartChoose)ev; StartWhen startWhen = startChoose.firstChoice; while (startWhen != null) { Object val; try { val = getValue(startWhen.test, jexlContext, jxpathContext, Boolean.TRUE); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } boolean result; if (val instanceof Boolean) { result = ((Boolean)val).booleanValue(); } else { result = (val != null); } if (result) { execute(consumer, jexlContext, jxpathContext, macroCall, startWhen.next, startWhen.endInstruction); break; } startWhen = startWhen.nextChoice; } if (startWhen == null && startChoose.otherwise != null) { execute(consumer, jexlContext, jxpathContext, macroCall, startChoose.otherwise.next, startChoose.otherwise.endInstruction); } ev = startChoose.endInstruction.next; continue; } else if (ev instanceof StartSet) { StartSet startSet = (StartSet)ev; Object value = null; String var = null; try { if (startSet.var != null) { var = getStringValue(startSet.var, jexlContext, jxpathContext); } if (startSet.value != null) { value = getNode(startSet.value, jexlContext, jxpathContext); } } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } if (value == null) { NodeList nodeList = toDOMNodeList("set", startSet, jexlContext, macroCall); // JXPath doesn't handle NodeList, so convert it to an array int len = nodeList.getLength(); Node[] nodeArr = new Node[len]; for (int i = 0; i < len; i++) { nodeArr[i] = nodeList.item(i); } value = nodeArr; } if (var != null) { jxpathContext.getVariables().declareVariable(var, value); jexlContext.put(var, value); } ev = startSet.endInstruction.next; continue; } else if (ev instanceof StartElement) { StartElement startElement = (StartElement)ev; StartDefine def = (StartDefine)definitions.get(startElement.qname); if (def != null) { Map attributeMap = new HashMap(); Iterator i = startElement.attributeEvents.iterator(); while (i.hasNext()) { String attributeName; Object attributeValue; AttributeEvent attrEvent = (AttributeEvent) i.next(); attributeName = attrEvent.localName; if (attrEvent instanceof CopyAttribute) { CopyAttribute copy = (CopyAttribute)attrEvent; attributeValue = copy.value; } else if (attrEvent instanceof SubstituteAttribute) { SubstituteAttribute substEvent = (SubstituteAttribute)attrEvent; if (substEvent.substitutions.size() == 1 && substEvent.substitutions.get(0) instanceof JXTExpression) { JXTExpression expr = (JXTExpression) substEvent.substitutions.get(0); Object val; try { val = getNode(expr, jexlContext, jxpathContext); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } attributeValue = val; } else { StringBuffer buf = new StringBuffer(); Iterator iterSubst = substEvent.substitutions.iterator(); while (iterSubst.hasNext()) { Subst subst = (Subst)iterSubst.next(); if (subst instanceof Literal) { Literal lit = (Literal)subst; buf.append(lit.value); } else if (subst instanceof JXTExpression) { JXTExpression expr = (JXTExpression)subst; Object val; try { val = getValue(expr, jexlContext, jxpathContext); } catch (Exception e) { throw new SAXParseException( e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException( err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } buf.append(val.toString()); } } attributeValue = buf.toString(); } } else { throw new Error("this shouldn't have happened"); } attributeMap.put(attributeName, attributeValue); } MyVariables parent = (MyVariables)jxpathContext.getVariables(); MyVariables vars = new MyVariables(parent); MyJexlContext localJexlContext = new MyJexlContext(jexlContext); HashMap macro = new HashMap(); macro.put("body", startElement); macro.put("arguments", attributeMap); localJexlContext.put("macro", macro); vars.declareVariable("macro", macro); Iterator iter = def.parameters.entrySet().iterator(); while (iter.hasNext()) { Map.Entry e = (Map.Entry)iter.next(); String key = (String)e.getKey(); StartParameter startParam = (StartParameter)e.getValue(); Object default_ = startParam.default_; Object val = attributeMap.get(key); if (val == null) { val = default_; } localJexlContext.put(key, val); vars.declareVariable(key, val); } JXPathContext localJXPathContext = jxpathContextFactory.newContext(null, jxpathContext.getContextBean()); localJXPathContext.setVariables(vars); call(ev.location, startElement, consumer, localJexlContext, localJXPathContext, def.body, def.endInstruction); ev = startElement.endElement.next; continue; } Iterator i = startElement.attributeEvents.iterator(); AttributesImpl attrs = new AttributesImpl(); while (i.hasNext()) { AttributeEvent attrEvent = (AttributeEvent) i.next(); if (attrEvent instanceof CopyAttribute) { CopyAttribute copy = (CopyAttribute)attrEvent; attrs.addAttribute(copy.namespaceURI, copy.localName, copy.raw, copy.type, copy.value); } else if (attrEvent instanceof SubstituteAttribute) { StringBuffer buf = new StringBuffer(); SubstituteAttribute substEvent = (SubstituteAttribute)attrEvent; Iterator iterSubst = substEvent.substitutions.iterator(); while (iterSubst.hasNext()) { Subst subst = (Subst)iterSubst.next(); if (subst instanceof Literal) { Literal lit = (Literal)subst; buf.append(lit.value); } else if (subst instanceof JXTExpression) { JXTExpression expr = (JXTExpression)subst; Object val; try { val = getValue(expr, jexlContext, jxpathContext); } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } buf.append(val.toString()); } } attrs.addAttribute(attrEvent.namespaceURI, attrEvent.localName, attrEvent.raw, attrEvent.type, buf.toString()); } } consumer.startElement(startElement.namespaceURI, startElement.localName, startElement.raw, attrs); } else if (ev instanceof StartFormatNumber) { StartFormatNumber startFormatNumber = (StartFormatNumber)ev; try { String result = startFormatNumber.format(jexlContext, jxpathContext); if (result != null) { char[] chars = result.toCharArray(); consumer.characters(chars, 0, chars.length); } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } else if (ev instanceof StartFormatDate) { StartFormatDate startFormatDate = (StartFormatDate)ev; try { String result = startFormatDate.format(jexlContext, jxpathContext); if (result != null) { char[] chars = result.toCharArray(); consumer.characters(chars, 0, chars.length); } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } else if (ev instanceof StartPrefixMapping) { StartPrefixMapping startPrefixMapping = (StartPrefixMapping)ev; consumer.startPrefixMapping(startPrefixMapping.prefix, startPrefixMapping.uri); } else if (ev instanceof StartComment) { StartComment startJXComment = (StartComment)ev; // Parse the body of the comment NodeList nodeList = toDOMNodeList("comment", startJXComment, jexlContext, macroCall); // JXPath doesn't handle NodeList, so convert it to an array int len = nodeList.getLength(); final StringBuffer buf = new StringBuffer(); Properties omit = XMLUtils.createPropertiesForXML(true); for (int i = 0; i < len; i++) { try { String str = XMLUtils.serializeNode(nodeList.item(i), omit); buf.append(StringUtils.substringAfter(str, ">")); // cut the XML header } catch (ProcessingException e) { throw new SAXParseException(e.getMessage(), startJXComment.location, e); } } char[] chars = new char[buf.length()]; buf.getChars(0, chars.length, chars, 0); consumer.comment(chars, 0, chars.length); ev = startJXComment.endInstruction.next; continue; } else if (ev instanceof EndCDATA) { consumer.endCDATA(); } else if (ev instanceof EndDTD) { consumer.endDTD(); } else if (ev instanceof EndEntity) { consumer.endEntity(((EndEntity)ev).name); } else if (ev instanceof StartCDATA) { consumer.startCDATA(); } else if (ev instanceof StartDTD) { StartDTD startDTD = (StartDTD)ev; consumer.startDTD(startDTD.name, startDTD.publicId, startDTD.systemId); } else if (ev instanceof StartEntity) { consumer.startEntity(((StartEntity)ev).name); } else if (ev instanceof StartOut) { StartOut startOut = (StartOut)ev; Object val; try { val = getNode(startOut.compiledExpression, jexlContext, jxpathContext, startOut.lenient); if (val instanceof Node) { executeDOM(consumer, jexlContext, jxpathContext, (Node)val); } else if (val instanceof NodeList) { NodeList nodeList = (NodeList)val; int len = nodeList.getLength(); for (int i = 0; i < len; i++) { Node n = nodeList.item(i); executeDOM(consumer, jexlContext, jxpathContext, n); } } else if (val instanceof Node[]) { Node[] nodeList = (Node[])val; int len = nodeList.length; for (int i = 0;i < len; i++) { Node n = nodeList[i]; executeDOM(consumer, jexlContext, jxpathContext, n); } } else if (val instanceof XMLizable) { ((XMLizable)val).toSAX(new IncludeXMLConsumer(consumer)); } else { char[] ch; if (val == null) { ch = ArrayUtils.EMPTY_CHAR_ARRAY; } else { ch = val.toString().toCharArray(); } consumer.characters(ch, 0, ch.length); } } catch (Exception e) { throw new SAXParseException(e.getMessage(), ev.location, e); } } else if (ev instanceof StartTemplate) { } else if (ev instanceof StartEval) { StartEval startEval = (StartEval)ev; JXTExpression expr = startEval.value; try { Object val = getNode(expr, jexlContext, jxpathContext); if (!(val instanceof StartElement)) { throw new Exception("macro invocation required instead of: " + val); } StartElement call = (StartElement)val; execute(consumer, jexlContext, jxpathContext, call, call.next, call.endElement); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } ev = startEval.endInstruction.next; continue; } else if (ev instanceof StartEvalBody) { StartEvalBody startEval = (StartEvalBody)ev; try { execute(consumer, jexlContext, jxpathContext, null, macroCall.next, macroCall.endElement); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } ev = startEval.endInstruction.next; continue; } else if (ev instanceof StartDefine) { StartDefine startDefine = (StartDefine)ev; definitions.put(startDefine.qname, startDefine); ev = startDefine.endInstruction.next; continue; } else if (ev instanceof StartImport) { StartImport startImport = (StartImport)ev; String uri; AttributeEvent e = startImport.uri; if (e instanceof CopyAttribute) { CopyAttribute copy = (CopyAttribute)e; uri = copy.value; } else { StringBuffer buf = new StringBuffer(); SubstituteAttribute substAttr = (SubstituteAttribute)e; Iterator i = substAttr.substitutions.iterator(); while (i.hasNext()) { Subst subst = (Subst)i.next(); if (subst instanceof Literal) { Literal lit = (Literal)subst; buf.append(lit.value); } else if (subst instanceof JXTExpression) { JXTExpression expr = (JXTExpression)subst; Object val; try { val = getValue(expr, jexlContext, jxpathContext); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } if (val == null) { val = ""; } buf.append(val.toString()); } } uri = buf.toString(); } Source input = null; StartDocument doc; try { input = resolver.resolveURI(uri); SourceValidity validity = null; synchronized (cache) { doc = (StartDocument)cache.get(input.getURI()); if (doc != null) { boolean recompile = false; if ( doc.compileTime == null) { recompile = true; } else { int valid = doc.compileTime.isValid(); if ( valid == SourceValidity.UNKNOWN ) { validity = input.getValidity(); valid = doc.compileTime.isValid(validity); } if ( valid != SourceValidity.VALID ) { recompile = true; } } if ( recompile ) { doc = null; // recompile } } } if (doc == null) { Parser parser = new Parser(); // call getValidity before using the stream is faster if the source is a SitemapSource if (validity == null) { validity = input.getValidity(); } SourceUtil.parse(this.manager, input, parser); doc = parser.getStartEvent(); doc.compileTime = validity; synchronized (cache) { cache.put(input.getURI(), doc); } } } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } finally { resolver.release(input); } JXPathContext selectJXPath = jxpathContext; MyJexlContext selectJexl = jexlContext; if (startImport.select != null) { try { Object obj = getValue(startImport.select, jexlContext, jxpathContext); selectJXPath = jxpathContextFactory.newContext(null, obj); selectJXPath.setVariables(variables); selectJexl = new MyJexlContext(jexlContext); fillContext(obj, selectJexl); } catch (Exception exc) { throw new SAXParseException(exc.getMessage(), ev.location, exc); } catch (Error err) { throw new SAXParseException(err.getMessage(), ev.location, new ErrorHolder(err)); } } try { execute(consumer, selectJexl, selectJXPath, macroCall, doc.next, doc.endDocument); } catch (Exception exc) { throw new SAXParseException( "Exception occurred in imported template " + uri + ": "+ exc.getMessage(), ev.location, exc); } ev = startImport.endInstruction.next; continue; } else if (ev instanceof StartDocument) { if (((StartDocument)ev).endDocument != null) { // if this isn't a document fragment consumer.startDocument(); } } else if (ev instanceof EndDocument) { consumer.endDocument(); } else if (ev instanceof ProcessingInstruction) { ProcessingInstruction pi = (ProcessingInstruction)ev; consumer.processingInstruction(pi.target, pi.data); } ev = ev.next; } }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/5825dcbb894fc7e13def0d7cbe9add87b9888009/JXTemplateGenerator.java/clean/src/java/org/apache/cocoon/generation/JXTemplateGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1836, 12, 6385, 3167, 5869, 4765, 16, 5411, 8005, 46, 338, 80, 1042, 525, 338, 80, 1042, 16, 804, 14124, 1042, 525, 18644, 1042, 16, 5411, 3603, 1046, 11522, 1477, 16, 2587, 787, 1133, 16, 2587, 679, 1133, 13, 5411, 1216, 14366, 288, 3639, 2587, 2113, 273, 787, 1133, 31, 3639, 2851, 639, 12467, 1515, 273, 394, 2851, 639, 12467, 12, 14965, 18, 3562, 1769, 3639, 4765, 18, 542, 2519, 5786, 12, 1829, 1769, 3639, 1323, 261, 14965, 480, 679, 1133, 13, 288, 5411, 1515, 18, 542, 2519, 5786, 12, 14965, 18, 3562, 1769, 5411, 309, 261, 14965, 1276, 3703, 9202, 13, 288, 7734, 3867, 1133, 977, 273, 261, 1528, 1133, 13, 14965, 31, 7734, 4498, 1400, 273, 977, 18, 1717, 30892, 18, 9838, 5621, 7734, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 10792, 1033, 27750, 273, 1400, 18, 4285, 5621, 10792, 1149, 8526, 5230, 31, 10792, 309, 261, 1717, 334, 1276, 1149, 63, 5717, 288, 13491, 5230, 273, 261, 3001, 63, 5717, 1717, 334, 31, 10792, 289, 469, 288, 13491, 804, 3983, 2300, 3065, 273, 261, 46, 3983, 2300, 13, 1717, 334, 31, 13491, 775, 288, 18701, 1033, 1244, 273, 5973, 12, 8638, 16, 525, 338, 80, 1042, 16, 4766, 565, 525, 18644, 1042, 1769, 18701, 309, 261, 1125, 1276, 2029, 13, 288, 27573, 1836, 8168, 12, 13230, 16, 525, 338, 80, 1042, 16, 4766, 3639, 525, 18644, 1042, 16, 261, 907, 13, 1125, 1769, 27573, 1324, 31, 18701, 289, 469, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1836, 12, 6385, 3167, 5869, 4765, 16, 5411, 8005, 46, 338, 80, 1042, 525, 338, 80, 1042, 16, 804, 14124, 1042, 525, 18644, 1042, 16, 5411, 3603, 1046, 11522, 1477, 16, 2587, 787, 1133, 16, 2587, 679, 1133, 13, 5411, 1216, 14366, 288, 3639, 2587, 2113, 273, 787, 1133, 31, 3639, 2851, 639, 12467, 1515, 273, 394, 2851, 639, 12467, 12, 14965, 18, 3562, 1769, 3639, 4765, 18, 542, 2519, 5786, 12, 1829, 1769, 3639, 1323, 261, 14965, 480, 679, 1133, 13, 288, 5411, 1515, 18, 542, 2519, 5786, 12, 14965, 18, 3562, 1769, 5411, 309, 261, 14965, 1276, 3703, 9202, 13, 288, 7734, 3867, 1133, 977, 273, 261, 1528, 1133, 13, 14965, 31, 7734, 4498, 2 ]
LDAPModificationSet modSet = null;
LDAPModificationSet modSet = null;
public void revokeCertificate(Admin admin, Certificate cert, int reason) throws PublisherException{ log.debug(">revokeCertificate()"); int ldapVersion = LDAPConnection.LDAP_V3; LDAPConnection lc = null; if(getUseSSL()){ lc = new LDAPConnection(new LDAPJSSESecureSocketFactory()); }else{ lc = new LDAPConnection(); } String dn = null; String certdn = null; try { // Extract the users DN from the cert. certdn = CertTools.getSubjectDN((X509Certificate) cert); dn = constructLDAPDN(certdn); } catch (Exception e) { log.error("Error decoding input certificate: ", e); throw new PublisherException("Error decoding input certificate."); } // Check if the entry is already present, we will update it with the new certificate. LDAPEntry oldEntry = null; try { // connect to the server lc.connect(getHostname(), Integer.parseInt(getPort())); // authenticate to the server lc.bind(ldapVersion, getLoginDN(), getLoginPassword()); // try to read the old object oldEntry = lc.read(dn); // disconnect with the server lc.disconnect(); } catch (LDAPException e) { if (e.getLDAPResultCode() == LDAPException.NO_SUCH_OBJECT) { log.debug("No old entry exist for '" + dn + "'."); } else { log.error("Error binding to and reading from LDAP server: ", e); throw new PublisherException("Error binding to and reading from LDAP server."); } } LDAPModificationSet modSet = null; if (((X509Certificate) cert).getBasicConstraints() == -1) { log.debug("Removing end user certificate from " + getHostname()); if (oldEntry != null) { // TODO: Are we the correct type objectclass? modSet = getModificationSet(oldEntry, certdn, false, true); modSet.add(LDAPModification.DELETE, new LDAPAttribute(getUserCertAttribute())); }else{ log.error("Certificate doesn't exist in database"); throw new PublisherException("Certificate doesn't exist in database"); } } else { log.debug("Not removing CA certificate from " + getHostname() + "Because of object class restrictions."); // Currently removal of CA certificate isn't support because of object class restictions /* if (oldEntry != null) { modSet = getModificationSet(oldEntry, dn, false, false); modSet.add(LDAPModification.DELETE, new LDAPAttribute(getCACertAttribute())); } else { log.error("Certificate doesn't exist in database"); throw new PublisherException("Certificate doesn't exist in database"); }*/ } try { lc.connect(getHostname(), Integer.parseInt(getPort())); // authenticate to the server lc.bind(ldapVersion, getLoginDN(), getLoginPassword()); // Add or modify the entry if (oldEntry != null && modSet != null && getModifyExistingUsers()) { lc.modify(dn, modSet); log.debug("\nRemoved certificate : " + dn + " successfully."); } // disconnect with the server lc.disconnect(); } catch (LDAPException e) { log.error("Error when removing certificate from LDAP (" + dn + "): ", e); throw new PublisherException("Error when removing certificate from LDAP (" + dn + ")"); } log.debug("<revokeCertificate()"); }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/a83cda88849748fb2ed1e07710ffe59b787d2572/LdapPublisher.java/clean/src/java/se/anatom/ejbca/ca/publisher/LdapPublisher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18007, 4719, 12, 4446, 3981, 16, 6660, 3320, 16, 509, 3971, 13, 1216, 21932, 503, 95, 3639, 613, 18, 4148, 2932, 34, 9083, 3056, 4719, 1435, 8863, 3639, 509, 8079, 1444, 273, 11916, 1952, 18, 15496, 67, 58, 23, 31, 3639, 11916, 1952, 9109, 273, 446, 31, 3639, 309, 12, 588, 3727, 6745, 10756, 95, 1850, 9109, 273, 394, 11916, 1952, 12, 2704, 11916, 6479, 1090, 12834, 4534, 1733, 10663, 3639, 289, 12107, 95, 1850, 9109, 273, 394, 11916, 1952, 5621, 7734, 289, 3639, 514, 8800, 273, 446, 31, 3639, 514, 3320, 5176, 273, 446, 31, 3639, 775, 288, 5411, 368, 8152, 326, 3677, 18001, 628, 326, 3320, 18, 540, 202, 7593, 5176, 273, 11921, 10348, 18, 588, 6638, 8609, 12443, 60, 5995, 4719, 13, 3320, 1769, 5411, 8800, 273, 4872, 15496, 8609, 12, 7593, 5176, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 613, 18, 1636, 2932, 668, 13547, 810, 4944, 30, 3104, 425, 1769, 13491, 604, 394, 21932, 503, 2932, 668, 13547, 810, 4944, 1199, 1769, 10792, 289, 3639, 368, 2073, 309, 326, 1241, 353, 1818, 3430, 16, 732, 903, 1089, 518, 598, 326, 394, 4944, 18, 3639, 11916, 1622, 1592, 1622, 273, 446, 31, 3639, 775, 288, 5411, 368, 3077, 358, 326, 1438, 5411, 9109, 18, 3612, 12, 588, 13769, 9334, 2144, 18, 2670, 1702, 12, 588, 2617, 1435, 10019, 5411, 368, 8929, 358, 326, 1438, 5411, 9109, 18, 4376, 12, 14394, 1444, 16, 25128, 8609, 9334, 25128, 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, 18007, 4719, 12, 4446, 3981, 16, 6660, 3320, 16, 509, 3971, 13, 1216, 21932, 503, 95, 3639, 613, 18, 4148, 2932, 34, 9083, 3056, 4719, 1435, 8863, 3639, 509, 8079, 1444, 273, 11916, 1952, 18, 15496, 67, 58, 23, 31, 3639, 11916, 1952, 9109, 273, 446, 31, 3639, 309, 12, 588, 3727, 6745, 10756, 95, 1850, 9109, 273, 394, 11916, 1952, 12, 2704, 11916, 6479, 1090, 12834, 4534, 1733, 10663, 3639, 289, 12107, 95, 1850, 9109, 273, 394, 11916, 1952, 5621, 7734, 289, 3639, 514, 8800, 273, 446, 31, 3639, 514, 3320, 5176, 273, 446, 31, 3639, 775, 288, 5411, 368, 8152, 326, 3677, 18001, 628, 326, 3320, 18, 540, 202, 7593, 5176, 273, 11921, 2 ]
public void mTokens() throws RecognitionException { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | MISC | WS | EOL | INT | FLOAT | STRING | BOOL | ID | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT ) int alt16=54; alt16 = dfa16.predict(input); if (failed) return ; switch (alt16) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: T15 { mT15(); if (failed) return ; } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:14: T16 { mT16(); if (failed) return ; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:18: T17 { mT17(); if (failed) return ; } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:22: T18 { mT18(); if (failed) return ; } break; case 5 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:26: T19 { mT19(); if (failed) return ; } break; case 6 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:30: T20 { mT20(); if (failed) return ; } break; case 7 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:34: T21 { mT21(); if (failed) return ; } break; case 8 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:38: T22 { mT22(); if (failed) return ; } break; case 9 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:42: T23 { mT23(); if (failed) return ; } break; case 10 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:46: T24 { mT24(); if (failed) return ; } break; case 11 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:50: T25 { mT25(); if (failed) return ; } break; case 12 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:54: T26 { mT26(); if (failed) return ; } break; case 13 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:58: T27 { mT27(); if (failed) return ; } break; case 14 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:62: T28 { mT28(); if (failed) return ; } break; case 15 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:66: T29 { mT29(); if (failed) return ; } break; case 16 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:70: T30 { mT30(); if (failed) return ; } break; case 17 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:74: T31 { mT31(); if (failed) return ; } break; case 18 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:78: T32 { mT32(); if (failed) return ; } break; case 19 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:82: T33 { mT33(); if (failed) return ; } break; case 20 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:86: T34 { mT34(); if (failed) return ; } break; case 21 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:90: T35 { mT35(); if (failed) return ; } break; case 22 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:94: T36 { mT36(); if (failed) return ; } break; case 23 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:98: T37 { mT37(); if (failed) return ; } break; case 24 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:102: T38 { mT38(); if (failed) return ; } break; case 25 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:106: T39 { mT39(); if (failed) return ; } break; case 26 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:110: T40 { mT40(); if (failed) return ; } break; case 27 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:114: T41 { mT41(); if (failed) return ; } break; case 28 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:118: T42 { mT42(); if (failed) return ; } break; case 29 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:122: T43 { mT43(); if (failed) return ; } break; case 30 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:126: T44 { mT44(); if (failed) return ; } break; case 31 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:130: T45 { mT45(); if (failed) return ; } break; case 32 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:134: T46 { mT46(); if (failed) return ; } break; case 33 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:138: T47 { mT47(); if (failed) return ; } break; case 34 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:142: T48 { mT48(); if (failed) return ; } break; case 35 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:146: T49 { mT49(); if (failed) return ; } break; case 36 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:150: T50 { mT50(); if (failed) return ; } break; case 37 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:154: T51 { mT51(); if (failed) return ; } break; case 38 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:158: T52 { mT52(); if (failed) return ; } break; case 39 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:162: T53 { mT53(); if (failed) return ; } break; case 40 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:166: T54 { mT54(); if (failed) return ; } break; case 41 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:170: T55 { mT55(); if (failed) return ; } break; case 42 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:174: T56 { mT56(); if (failed) return ; } break; case 43 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:178: T57 { mT57(); if (failed) return ; } break; case 44 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:182: MISC { mMISC(); if (failed) return ; } break; case 45 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:187: WS { mWS(); if (failed) return ; } break; case 46 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:190: EOL { mEOL(); if (failed) return ; } break; case 47 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:194: INT { mINT(); if (failed) return ; } break; case 48 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:198: FLOAT { mFLOAT(); if (failed) return ; } break; case 49 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:204: STRING { mSTRING(); if (failed) return ; } break; case 50 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:211: BOOL { mBOOL(); if (failed) return ; } break; case 51 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:216: ID { mID(); if (failed) return ; } break; case 52 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:219: SH_STYLE_SINGLE_LINE_COMMENT { mSH_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 53 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:248: C_STYLE_SINGLE_LINE_COMMENT { mC_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 54 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:276: MULTI_LINE_COMMENT { mMULTI_LINE_COMMENT(); if (failed) return ; } break; } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/297a1e0ef2967d8b4f7be9c022102a5a56e97489/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 5157, 1435, 1216, 9539, 288, 3639, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 21, 30, 2163, 30, 261, 399, 3600, 571, 399, 2313, 571, 399, 4033, 571, 399, 2643, 571, 399, 3657, 571, 399, 3462, 571, 399, 5340, 571, 399, 3787, 571, 399, 4366, 571, 399, 3247, 571, 399, 2947, 571, 399, 5558, 571, 399, 5324, 571, 399, 6030, 571, 399, 5540, 571, 399, 5082, 571, 399, 6938, 571, 399, 1578, 571, 399, 3707, 571, 399, 5026, 571, 399, 4763, 571, 399, 5718, 571, 399, 6418, 571, 399, 7414, 571, 399, 5520, 571, 399, 7132, 571, 399, 9803, 571, 399, 9452, 571, 399, 8942, 571, 399, 6334, 571, 399, 7950, 571, 399, 8749, 571, 399, 9462, 571, 399, 8875, 571, 399, 7616, 571, 399, 3361, 571, 399, 10593, 571, 399, 9401, 571, 399, 8643, 571, 399, 6564, 571, 399, 2539, 571, 399, 4313, 571, 399, 10321, 571, 20806, 2312, 571, 7649, 571, 19995, 571, 6137, 571, 15483, 571, 9469, 571, 9784, 1741, 571, 1599, 571, 6122, 67, 15066, 67, 20184, 67, 5997, 67, 12200, 571, 385, 67, 15066, 67, 20184, 67, 5997, 67, 12200, 571, 27125, 67, 5997, 67, 12200, 262, 3639, 509, 3770, 2313, 33, 6564, 31, 3639, 3770, 2313, 273, 23074, 2313, 18, 14491, 12, 2630, 1769, 309, 261, 7307, 13, 327, 274, 3639, 1620, 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, 312, 5157, 1435, 1216, 9539, 288, 3639, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 21, 30, 2163, 30, 261, 399, 3600, 571, 399, 2313, 571, 399, 4033, 571, 399, 2643, 571, 399, 3657, 571, 399, 3462, 571, 399, 5340, 571, 399, 3787, 571, 399, 4366, 571, 399, 3247, 571, 399, 2947, 571, 399, 5558, 571, 399, 5324, 571, 399, 6030, 571, 399, 5540, 571, 399, 5082, 571, 399, 6938, 571, 399, 1578, 571, 399, 3707, 571, 399, 5026, 571, 399, 4763, 571, 399, 5718, 571, 399, 6418, 571, 399, 7414, 2 ]
LOG.warn( "Error reading input mapping for variable '" + name + "' (mapping="
LOG.debug( "Error reading input mapping for variable '" + name + "' (mapping="
public VariableRow( String name, boolean dynamic ) { LOG.info( "creating variable row for variable '" + name + "' dynamic=" + dynamic ); this.name = name; checkBox.setEnabled( dynamic ); checkBox.setText( name ); for( ComboItem item : choices.keySet() ) { sources.addItem( item ); } if( inputMappings.get( name ) == null ) { sources.setSelectedItem( defaultItem ); } else { String mapping = inputMappings.get( name ).getValue(); try { WorkflowOperation.VariableMapping m = new WorkflowOperation.VariableMapping( mapping ); assert name.equals( m.elementID ) : "name (" + name + ") != elementID (" + m.elementID + ")"; if( task.getID().equals( m.taskID ) ) { sources.setSelectedItem( defaultItem ); } else { originalMapping = m; for( ComboItem choice : choices.keySet() ) { if( choice.id != null && choice.id.equals( originalMapping.taskID ) ) { sources.setSelectedItem( choice ); } } } } catch( IllegalArgumentException e ) { // thrown if the mapping isn't a nexus workflow mapping // TODO we may want to just display the mapping in this case and allow them to // modify it directly, or to "reset" it to a valid nexus workflow mapping LOG.warn( "Error reading input mapping for variable '" + name + "' (mapping=" + mapping + ")", e ); sources.setSelectedItem( defaultItem ); } } resetVariablesCombo(); // namePanel.setLayout( new BoxLayout( namePanel, BoxLayout.X_AXIS ) );// namePanel.add( checkBox );// namePanel.add( Box.createHorizontalStrut( 3 ) );// namePanel.add( label ); editValueButton.setText( "Edit Initial Value" ); resetEditorValue();// DataTransferEditor.this.addIsDirtyListener( editor ); }
51637 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51637/c467478d44e5a57716426739ea2fae899bac18a1/DataTransferEditor.java/clean/yawl/editor/com/nexusbpm/editor/editors/DataTransferEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 7110, 1999, 12, 514, 508, 16, 1250, 5976, 262, 288, 5411, 2018, 18, 1376, 12, 315, 23799, 2190, 1027, 364, 2190, 2119, 397, 508, 397, 2491, 5976, 1546, 397, 5976, 11272, 5411, 333, 18, 529, 273, 508, 31, 13491, 866, 3514, 18, 542, 1526, 12, 5976, 11272, 5411, 866, 3514, 18, 542, 1528, 12, 508, 11272, 5411, 364, 12, 1286, 1075, 1180, 761, 294, 7246, 18, 856, 694, 1435, 262, 288, 7734, 5550, 18, 1289, 1180, 12, 761, 11272, 5411, 289, 5411, 309, 12, 810, 7742, 18, 588, 12, 508, 262, 422, 446, 262, 288, 7734, 5550, 18, 542, 7416, 1180, 12, 805, 1180, 11272, 5411, 289, 5411, 469, 288, 7734, 514, 2874, 273, 810, 7742, 18, 588, 12, 508, 262, 18, 24805, 5621, 7734, 775, 288, 10792, 11363, 2988, 18, 3092, 3233, 312, 273, 13491, 394, 11363, 2988, 18, 3092, 3233, 12, 2874, 11272, 10792, 1815, 508, 18, 14963, 12, 312, 18, 2956, 734, 262, 294, 315, 529, 7566, 397, 508, 397, 9369, 480, 930, 734, 7566, 397, 312, 18, 2956, 734, 397, 7310, 31, 10792, 309, 12, 1562, 18, 588, 734, 7675, 14963, 12, 312, 18, 4146, 734, 262, 262, 288, 13491, 5550, 18, 542, 7416, 1180, 12, 805, 1180, 11272, 10792, 289, 10792, 469, 288, 13491, 2282, 3233, 273, 312, 31, 13491, 364, 12, 1286, 1075, 1180, 6023, 294, 7246, 18, 856, 694, 1435, 262, 288, 18701, 309, 12, 6023, 18, 350, 480, 446, 597, 6023, 18, 350, 18, 14963, 12, 2282, 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, 7110, 1999, 12, 514, 508, 16, 1250, 5976, 262, 288, 5411, 2018, 18, 1376, 12, 315, 23799, 2190, 1027, 364, 2190, 2119, 397, 508, 397, 2491, 5976, 1546, 397, 5976, 11272, 5411, 333, 18, 529, 273, 508, 31, 13491, 866, 3514, 18, 542, 1526, 12, 5976, 11272, 5411, 866, 3514, 18, 542, 1528, 12, 508, 11272, 5411, 364, 12, 1286, 1075, 1180, 761, 294, 7246, 18, 856, 694, 1435, 262, 288, 7734, 5550, 18, 1289, 1180, 12, 761, 11272, 5411, 289, 5411, 309, 12, 810, 7742, 18, 588, 12, 508, 262, 422, 446, 262, 288, 7734, 5550, 18, 542, 7416, 1180, 12, 805, 1180, 11272, 5411, 289, 5411, 469, 288, 7734, 514, 2874, 273, 810, 7742, 18, 2 ]
sb.append("Received messages: ").append(win.toString());
sb.append("Received messages from " + original_sender + ": ").append(win.toString());
void handleXmitReq(Address xmit_requester, long first_seqno, long last_seqno, Address original_sender) { Message m, tmp; LinkedList list; long size=0, marker=first_seqno, len; NakReceiverWindow win=null; if(log.isTraceEnabled()) { StringBuffer sb=new StringBuffer(); sb.append(local_addr).append(": received xmit request from ").append(xmit_requester).append(" for "); sb.append(original_sender).append(" [").append(first_seqno).append(" - ").append(last_seqno).append("]"); log.trace(sb.toString()); } if(first_seqno > last_seqno) { if(log.isErrorEnabled()) log.error("first_seqno (" + first_seqno + ") > last_seqno (" + last_seqno + "): not able to retransmit"); return; } if(!local_addr.equals(original_sender)) { // retransmit from received messages table win=(NakReceiverWindow)received_msgs.get(original_sender); } else { // retransmit from sent messages table } list=new LinkedList(); for(long i=first_seqno; i <= last_seqno; i++) { if(win != null) m=win.get(i); else m=(Message)sent_msgs.get(new Long(i)); // no need to synchronize if(m == null) { if(log.isErrorEnabled()) { StringBuffer sb=new StringBuffer(); sb.append("(requester=").append(xmit_requester).append(", local_addr=").append(this.local_addr); sb.append(") message ").append(original_sender).append("::").append(i); sb.append(" not found in ").append((win == null? "sent" : "received")).append(" msgs. "); if(win != null) { sb.append("Received messages: ").append(win.toString()); } else { sb.append("Sent messages: ").append(printSentMsgs()); } log.error(sb.toString()); } continue; } len=m.size(); size+=len; if(size > max_xmit_size && list.size() > 0) { // changed from >= to > (yaron-r, bug #943709) // yaronr: added &&listSize()>0 since protocols between FRAG and NAKACK add headers, and message exceeds size. // size has reached max_xmit_size. go ahead and send message (excluding the current message) if(log.isTraceEnabled()) log.trace("xmitting msgs [" + marker + '-' + (i - 1) + "] to " + xmit_requester); sendXmitRsp(xmit_requester, (LinkedList)list.clone(), marker, i - 1); marker=i; list.clear(); // fixed Dec 15 2003 (bela, patch from Joel Dice (dicej)), see explanantion under // bug report #854887 size=len; } if(Global.copy) { tmp=m.copy(); } else { tmp=m; } tmp.setDest(xmit_requester); tmp.setSrc(local_addr); list.add(tmp); } if(list.size() > 0) { if(log.isTraceEnabled()) log.trace("xmitting msgs [" + marker + '-' + last_seqno + "] to " + xmit_requester); sendXmitRsp(xmit_requester, (LinkedList)list.clone(), marker, last_seqno); list.clear(); } }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/e1e961c2e470a6601a99a1ed05d8b8bc89a5ea4b/NAKACK.java/buggy/src/org/jgroups/protocols/pbcast/NAKACK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 60, 1938, 6113, 12, 1887, 619, 1938, 67, 26192, 16, 1525, 1122, 67, 5436, 2135, 16, 1525, 1142, 67, 5436, 2135, 16, 5267, 2282, 67, 15330, 13, 288, 3639, 2350, 312, 16, 1853, 31, 3639, 10688, 666, 31, 3639, 1525, 963, 33, 20, 16, 5373, 33, 3645, 67, 5436, 2135, 16, 562, 31, 3639, 423, 581, 12952, 3829, 5657, 33, 2011, 31, 3639, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 288, 5411, 6674, 2393, 33, 2704, 6674, 5621, 5411, 2393, 18, 6923, 12, 3729, 67, 4793, 2934, 6923, 2932, 30, 5079, 619, 1938, 590, 628, 315, 2934, 6923, 12, 92, 1938, 67, 26192, 2934, 6923, 2932, 364, 315, 1769, 5411, 2393, 18, 6923, 12, 8830, 67, 15330, 2934, 6923, 2932, 8247, 2934, 6923, 12, 3645, 67, 5436, 2135, 2934, 6923, 2932, 300, 315, 2934, 6923, 12, 2722, 67, 5436, 2135, 2934, 6923, 2932, 4279, 1769, 5411, 613, 18, 5129, 12, 18366, 18, 10492, 10663, 3639, 289, 3639, 309, 12, 3645, 67, 5436, 2135, 405, 1142, 67, 5436, 2135, 13, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 7734, 613, 18, 1636, 2932, 3645, 67, 5436, 2135, 7566, 397, 1122, 67, 5436, 2135, 397, 9369, 405, 1142, 67, 5436, 2135, 7566, 397, 1142, 67, 5436, 2135, 397, 315, 4672, 486, 7752, 358, 283, 2338, 1938, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 5, 3729, 67, 4793, 18, 14963, 12, 8830, 67, 15330, 3719, 288, 5411, 368, 283, 2338, 1938, 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, 377, 918, 1640, 60, 1938, 6113, 12, 1887, 619, 1938, 67, 26192, 16, 1525, 1122, 67, 5436, 2135, 16, 1525, 1142, 67, 5436, 2135, 16, 5267, 2282, 67, 15330, 13, 288, 3639, 2350, 312, 16, 1853, 31, 3639, 10688, 666, 31, 3639, 1525, 963, 33, 20, 16, 5373, 33, 3645, 67, 5436, 2135, 16, 562, 31, 3639, 423, 581, 12952, 3829, 5657, 33, 2011, 31, 3639, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 288, 5411, 6674, 2393, 33, 2704, 6674, 5621, 5411, 2393, 18, 6923, 12, 3729, 67, 4793, 2934, 6923, 2932, 30, 5079, 619, 1938, 590, 628, 315, 2934, 6923, 12, 92, 1938, 67, 26192, 2934, 6923, 2932, 364, 315, 1769, 5411, 2393, 18, 6923, 12, 8830, 2 ]
choiceObj.annotation, schema);
choiceObj.annotation, schema);
Element serializeChoice(Document doc, XmlSchemaChoice choiceObj, XmlSchema schema) throws XmlSchemaSerializerException { //todo: handle any non schema attri ? Element choice = createNewElement(doc, "choice", schema.schema_ns_prefix, XmlSchema.SCHEMA_NS); if (choiceObj.id != null) if (choiceObj.id.length() > 0) choice.setAttribute("id", choiceObj.id); if (choiceObj.maxOccurs < Long.MAX_VALUE && choiceObj.maxOccurs > 1) choice.setAttribute("maxOccurs", choiceObj.maxOccurs + ""); else if (choiceObj.maxOccurs == Long.MAX_VALUE) choice.setAttribute("maxOccurs", "unbounded"); //else not serialized if (choiceObj.minOccurs > 1) choice.setAttribute("minOccurs", choiceObj.minOccurs + ""); /* if(choiceObj.maxOccursString != null) choice.setAttribute("maxOccurs", choiceObj.maxOccursString); else if(choiceObj.maxOccurs > 1) choice.setAttribute("maxOccurs", choiceObj.maxOccurs +""); */ if (choiceObj.annotation != null) { Element annotation = serializeAnnotation(doc, choiceObj.annotation, schema); choice.appendChild(annotation); } XmlSchemaObjectCollection itemColl = choiceObj.items; if (itemColl != null) { int itemLength = itemColl.getCount(); for (int i = 0; i < itemLength; i++) { XmlSchemaObject obj = itemColl.getItem(i); if (obj instanceof XmlSchemaElement) { Element el = serializeElement(doc, (XmlSchemaElement) obj, schema); choice.appendChild(el); } else if (obj instanceof XmlSchemaGroupRef) { Element group = serializeGroupRef(doc, (XmlSchemaGroupRef) obj, schema); choice.appendChild(group); } else if (obj instanceof XmlSchemaChoice) { Element inlineChoice = serializeChoice(doc, (XmlSchemaChoice) obj, schema); choice.appendChild(inlineChoice); } else if (obj instanceof XmlSchemaSequence) { Element inlineSequence = serializeSequence(doc, (XmlSchemaSequence) obj, schema); choice.appendChild(inlineSequence); } else if (obj instanceof XmlSchemaAny) { Element any = serializeAny(doc, (XmlSchemaAny) obj, schema); choice.appendChild(any); } } } return choice; }
58536 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58536/583d6c2db5f993d3085942269eca1b2ab8f3bc5f/XmlSchemaSerializer.java/buggy/src/org/apache/ws/commons/schema/XmlSchemaSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3010, 4472, 10538, 12, 2519, 997, 16, 5714, 3078, 10538, 6023, 2675, 16, 18701, 5714, 3078, 1963, 13, 1216, 5714, 3078, 6306, 503, 288, 3639, 368, 9012, 30, 1640, 1281, 1661, 1963, 1604, 77, 692, 3639, 3010, 6023, 273, 15291, 1046, 12, 2434, 16, 315, 11569, 3113, 4766, 1850, 1963, 18, 4821, 67, 2387, 67, 3239, 16, 5714, 3078, 18, 14233, 67, 3156, 1769, 3639, 309, 261, 11569, 2675, 18, 350, 480, 446, 13, 5411, 309, 261, 11569, 2675, 18, 350, 18, 2469, 1435, 405, 374, 13, 7734, 6023, 18, 542, 1499, 2932, 350, 3113, 6023, 2675, 18, 350, 1769, 3639, 309, 261, 11569, 2675, 18, 1896, 31084, 411, 3407, 18, 6694, 67, 4051, 597, 6023, 2675, 18, 1896, 31084, 405, 404, 13, 5411, 6023, 18, 542, 1499, 2932, 1896, 31084, 3113, 21394, 6023, 2675, 18, 1896, 31084, 397, 1408, 1769, 3639, 469, 309, 261, 11569, 2675, 18, 1896, 31084, 422, 3407, 18, 6694, 67, 4051, 13, 5411, 6023, 18, 542, 1499, 2932, 1896, 31084, 3113, 21394, 315, 318, 26220, 8863, 3639, 368, 12107, 486, 5343, 3639, 309, 261, 11569, 2675, 18, 1154, 31084, 405, 404, 13, 5411, 6023, 18, 542, 1499, 2932, 1154, 31084, 3113, 21394, 6023, 2675, 18, 1154, 31084, 397, 1408, 1769, 3639, 1748, 5411, 309, 12, 11569, 2675, 18, 1896, 31084, 780, 480, 446, 13, 5411, 6023, 18, 542, 1499, 2932, 1896, 31084, 3113, 5411, 6023, 2675, 18, 1896, 31084, 780, 1769, 5411, 469, 309, 12, 11569, 2675, 18, 1896, 31084, 405, 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, 3010, 4472, 10538, 12, 2519, 997, 16, 5714, 3078, 10538, 6023, 2675, 16, 18701, 5714, 3078, 1963, 13, 1216, 5714, 3078, 6306, 503, 288, 3639, 368, 9012, 30, 1640, 1281, 1661, 1963, 1604, 77, 692, 3639, 3010, 6023, 273, 15291, 1046, 12, 2434, 16, 315, 11569, 3113, 4766, 1850, 1963, 18, 4821, 67, 2387, 67, 3239, 16, 5714, 3078, 18, 14233, 67, 3156, 1769, 3639, 309, 261, 11569, 2675, 18, 350, 480, 446, 13, 5411, 309, 261, 11569, 2675, 18, 350, 18, 2469, 1435, 405, 374, 13, 7734, 6023, 18, 542, 1499, 2932, 350, 3113, 6023, 2675, 18, 350, 1769, 3639, 309, 261, 11569, 2675, 18, 1896, 31084, 411, 3407, 18, 6694, 67, 4051, 597, 6023, 2675, 18, 2 ]
public void mT30() throws RecognitionException { try { int type = T30; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:22:7: ( 'then' ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:22:7: 'then' { match("then"); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/138d9a6805db25e18a7f8c70bebca33cce7b95e5/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21115, 5082, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 399, 5082, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 3787, 30, 27, 30, 261, 296, 15991, 11, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 3787, 30, 27, 30, 296, 15991, 11, 5411, 288, 5411, 845, 2932, 15991, 8863, 2398, 289, 5411, 309, 261, 1147, 631, 2011, 262, 288, 18356, 12, 723, 16, 1369, 16, 3001, 2555, 16, 4327, 16, 1937, 16, 588, 2156, 1016, 1435, 17, 21, 1769, 97, 3639, 289, 3639, 3095, 288, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21115, 5082, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 399, 5082, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 3787, 30, 27, 30, 261, 296, 15991, 11, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 2 ]
public static MailServiceException NO_SUCH_FOLDER(String path) { return new NoSuchItemException("no such folder path: " + path, NO_SUCH_FOLDER, SENDERS_FAULT, null);
public static MailServiceException NO_SUCH_FOLDER(int id) { return new NoSuchItemException("no such folder id: " + id, NO_SUCH_FOLDER, SENDERS_FAULT, null);
public static MailServiceException NO_SUCH_FOLDER(String path) { return new NoSuchItemException("no such folder path: " + path, NO_SUCH_FOLDER, SENDERS_FAULT, null); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/0099503ca028ae285c8e4bf34e868668bb79c684/MailServiceException.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/MailServiceException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 11542, 15133, 3741, 67, 19958, 67, 17357, 12, 780, 589, 13, 288, 3639, 327, 394, 5823, 1180, 503, 2932, 2135, 4123, 3009, 589, 30, 315, 397, 589, 16, 3741, 67, 19958, 67, 17357, 16, 348, 22457, 55, 67, 2636, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 11542, 15133, 3741, 67, 19958, 67, 17357, 12, 780, 589, 13, 288, 3639, 327, 394, 5823, 1180, 503, 2932, 2135, 4123, 3009, 589, 30, 315, 397, 589, 16, 3741, 67, 19958, 67, 17357, 16, 348, 22457, 55, 67, 2636, 16, 446, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (nodeName != null && nodeName.indexOf(':') > -1) return nodeName.substring(0, nodeName.indexOf(':'));
if (nodeName != null) return nodeName.getPrefix();
public String getPrefix() { if (nodeName != null && nodeName.indexOf(':') > -1) return nodeName.substring(0, nodeName.indexOf(':')); return ""; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/32e91f543a4cc859a507386b6fc4459018aeb3c6/NodeImpl.java/buggy/src/org/exist/dom/NodeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 16182, 1435, 288, 202, 202, 430, 261, 2159, 461, 480, 446, 597, 7553, 18, 31806, 2668, 2497, 13, 405, 300, 21, 13, 1082, 202, 2463, 7553, 18, 28023, 12, 20, 16, 7553, 18, 31806, 2668, 2497, 10019, 202, 202, 2463, 1408, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 16182, 1435, 288, 202, 202, 430, 261, 2159, 461, 480, 446, 597, 7553, 18, 31806, 2668, 2497, 13, 405, 300, 21, 13, 1082, 202, 2463, 7553, 18, 28023, 12, 20, 16, 7553, 18, 31806, 2668, 2497, 10019, 202, 202, 2463, 1408, 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 ]
CollaborationsFactoryImpl collabFactory = (CollaborationsFactoryImpl) nsumlmodel.getCollaborationsFactory(); MCollaboration collab = (MCollaboration) collabFactory.buildCollaboration(model); MClassifierRole cr1 = (MClassifierRole) collabFactory.createClassifierRole(); MClassifierRole cr2 = (MClassifierRole) collabFactory.createClassifierRole(); MAssociationRole role = (MAssociationRole) collabFactory.buildAssociationRole(cr1, cr2); MInteraction inter = (MInteraction) collabFactory.buildInteraction(collab); MMessage mes = (MMessage) collabFactory.buildMessage(inter, role);
CollaborationsFactory collabFactory = Model.getCollaborationsFactory(); Object collab = collabFactory.buildCollaboration(model); Object cr1 = collabFactory.createClassifierRole(); Object cr2 = collabFactory.createClassifierRole(); Object role = collabFactory.buildAssociationRole(cr1, cr2); Object inter = collabFactory.buildInteraction(collab); Object mes = collabFactory.buildMessage(inter, role);
public void testDeleteClassifierRole() { MModel model = (MModel) nsumlmodel.getModelManagementFactory().createModel(); CollaborationsFactoryImpl collabFactory = (CollaborationsFactoryImpl) nsumlmodel.getCollaborationsFactory(); MCollaboration collab = (MCollaboration) collabFactory.buildCollaboration(model); MClassifierRole cr1 = (MClassifierRole) collabFactory.createClassifierRole(); MClassifierRole cr2 = (MClassifierRole) collabFactory.createClassifierRole(); MAssociationRole role = (MAssociationRole) collabFactory.buildAssociationRole(cr1, cr2); MInteraction inter = (MInteraction) collabFactory.buildInteraction(collab); MMessage mes = (MMessage) collabFactory.buildMessage(inter, role); WeakReference cr1wr = new WeakReference(cr1); WeakReference rolewr = new WeakReference(role); WeakReference interwr = new WeakReference(inter); WeakReference meswr = new WeakReference(mes); nsumlmodel.getUmlFactory().delete(cr1); cr1 = null; role = null; inter = null; mes = null; System.gc(); assertNull("ClassifierRole not removed", cr1wr.get()); assertNull("AssociationRole not removed", rolewr.get()); // Interaction should not be removed when removing // classifierrole... maybe if the last message is removed // from the interaction but even then it's doubtfull since it // will probably lead to backward compatibility problems in // save formats. // assertNull("Interaction not removed", interwr.get()); assertNull("Message not removed", meswr.get()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/eb54e179504c3224b12324085944bd3488191d0b/TestCollaborationsFactory.java/clean/tests/org/argouml/model/uml/TestCollaborationsFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2613, 13860, 2996, 1435, 288, 3639, 490, 1488, 938, 273, 5411, 261, 49, 1488, 13, 290, 1364, 80, 2284, 18, 588, 1488, 10998, 1733, 7675, 2640, 1488, 5621, 3639, 1558, 7411, 280, 1012, 1733, 2828, 21326, 1733, 273, 5411, 261, 22894, 280, 1012, 1733, 2828, 13, 290, 1364, 80, 2284, 18, 588, 22894, 280, 1012, 1733, 5621, 3639, 490, 22894, 22226, 21326, 273, 5411, 261, 49, 22894, 22226, 13, 21326, 1733, 18, 3510, 22894, 22226, 12, 2284, 1769, 3639, 490, 13860, 2996, 4422, 21, 273, 5411, 261, 49, 13860, 2996, 13, 21326, 1733, 18, 2640, 13860, 2996, 5621, 3639, 490, 13860, 2996, 4422, 22, 273, 5411, 261, 49, 13860, 2996, 13, 21326, 1733, 18, 2640, 13860, 2996, 5621, 3639, 490, 7174, 2996, 2478, 273, 5411, 261, 49, 7174, 2996, 13, 21326, 1733, 18, 3510, 7174, 2996, 12, 3353, 21, 16, 4422, 22, 1769, 3639, 490, 17419, 1554, 273, 5411, 261, 49, 17419, 13, 21326, 1733, 18, 3510, 17419, 12, 1293, 7411, 1769, 3639, 490, 1079, 15216, 273, 5411, 261, 49, 1079, 13, 21326, 1733, 18, 3510, 1079, 12, 2761, 16, 2478, 1769, 3639, 23632, 2404, 4422, 21, 91, 86, 273, 394, 23632, 2404, 12, 3353, 21, 1769, 3639, 23632, 2404, 2478, 91, 86, 273, 394, 23632, 2404, 12, 4615, 1769, 3639, 23632, 2404, 1554, 91, 86, 273, 394, 23632, 2404, 12, 2761, 1769, 3639, 23632, 2404, 15216, 91, 86, 273, 394, 23632, 2404, 12, 26244, 1769, 3639, 290, 1364, 80, 2284, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2613, 13860, 2996, 1435, 288, 3639, 490, 1488, 938, 273, 5411, 261, 49, 1488, 13, 290, 1364, 80, 2284, 18, 588, 1488, 10998, 1733, 7675, 2640, 1488, 5621, 3639, 1558, 7411, 280, 1012, 1733, 2828, 21326, 1733, 273, 5411, 261, 22894, 280, 1012, 1733, 2828, 13, 290, 1364, 80, 2284, 18, 588, 22894, 280, 1012, 1733, 5621, 3639, 490, 22894, 22226, 21326, 273, 5411, 261, 49, 22894, 22226, 13, 21326, 1733, 18, 3510, 22894, 22226, 12, 2284, 1769, 3639, 490, 13860, 2996, 4422, 21, 273, 5411, 261, 49, 13860, 2996, 13, 21326, 1733, 18, 2640, 13860, 2996, 5621, 3639, 490, 13860, 2996, 4422, 22, 273, 5411, 261, 49, 13860, 2996, 13, 21326, 1733, 18, 2640, 2 ]
try { if (mPosition >= 0) { mCurrentPartition = mDocument.getPartition(mPosition); mType = mCurrentPartition.getType(); while (mType == SchemePartitionScanner.SCHEME_COMMENT) { mPosition = mCurrentPartition.getOffset() - 1; mCurrentPartition = mDocument.getPartition(mPosition); mType = mCurrentPartition.getType(); } mStart = mCurrentPartition.getOffset(); mPosition = mStart + mCurrentPartition.getLength(); if (!SchemePartitionScanner.isStringPartition(mType)) { fetchTokens(); } } else mCurrentPartition = null; } catch (BadLocationException exception) { mCurrentPartition = null; }
if (mPosition >= 0) { mCurrentPartition = getCurrentPartition(); mType = mCurrentPartition.getType(); while (mType == SchemePartitionScanner.SCHEME_COMMENT) { mPosition = mCurrentPartition.getOffset() - 1; ITypedRegion partition = getCurrentPartition(); if (partition == null) break; mCurrentPartition = partition; mType = mCurrentPartition.getType(); } mStart = mCurrentPartition.getOffset(); mPosition = mStart + mCurrentPartition.getLength(); if (!SchemePartitionScanner.isStringPartition(mType)) { fetchTokens(); } } else mCurrentPartition = null;
private void fetchPreviousPartition() { mPosition--; try { if (mPosition >= 0) { mCurrentPartition = mDocument.getPartition(mPosition); mType = mCurrentPartition.getType(); while (mType == SchemePartitionScanner.SCHEME_COMMENT) { mPosition = mCurrentPartition.getOffset() - 1; mCurrentPartition = mDocument.getPartition(mPosition); mType = mCurrentPartition.getType(); } mStart = mCurrentPartition.getOffset(); mPosition = mStart + mCurrentPartition.getLength(); if (!SchemePartitionScanner.isStringPartition(mType)) { fetchTokens(); } } else mCurrentPartition = null; } catch (BadLocationException exception) { mCurrentPartition = null; } }
53665 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53665/ce94d6d65ba1a5a47e4e36fd14b5149a7029ac76/BackwardTokenIterator.java/buggy/src/org/schemeway/plugins/schemescript/parser/BackwardTokenIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2158, 8351, 7003, 1435, 288, 3639, 312, 2555, 413, 31, 3639, 775, 288, 5411, 309, 261, 81, 2555, 1545, 374, 13, 288, 7734, 28326, 7003, 273, 312, 2519, 18, 588, 7003, 12, 81, 2555, 1769, 7734, 312, 559, 273, 28326, 7003, 18, 588, 559, 5621, 7734, 1323, 261, 81, 559, 422, 10714, 7003, 11338, 18, 22870, 67, 12200, 13, 288, 10792, 312, 2555, 273, 28326, 7003, 18, 588, 2335, 1435, 300, 404, 31, 10792, 28326, 7003, 273, 312, 2519, 18, 588, 7003, 12, 81, 2555, 1769, 10792, 312, 559, 273, 28326, 7003, 18, 588, 559, 5621, 7734, 289, 7734, 312, 1685, 273, 28326, 7003, 18, 588, 2335, 5621, 7734, 312, 2555, 273, 312, 1685, 397, 28326, 7003, 18, 588, 1782, 5621, 7734, 309, 16051, 9321, 7003, 11338, 18, 291, 780, 7003, 12, 81, 559, 3719, 288, 10792, 2158, 5157, 5621, 7734, 289, 5411, 289, 5411, 469, 7734, 28326, 7003, 273, 446, 31, 3639, 289, 3639, 1044, 261, 6434, 2735, 503, 1520, 13, 288, 5411, 28326, 7003, 273, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2158, 8351, 7003, 1435, 288, 3639, 312, 2555, 413, 31, 3639, 775, 288, 5411, 309, 261, 81, 2555, 1545, 374, 13, 288, 7734, 28326, 7003, 273, 312, 2519, 18, 588, 7003, 12, 81, 2555, 1769, 7734, 312, 559, 273, 28326, 7003, 18, 588, 559, 5621, 7734, 1323, 261, 81, 559, 422, 10714, 7003, 11338, 18, 22870, 67, 12200, 13, 288, 10792, 312, 2555, 273, 28326, 7003, 18, 588, 2335, 1435, 300, 404, 31, 10792, 28326, 7003, 273, 312, 2519, 18, 588, 7003, 12, 81, 2555, 1769, 10792, 312, 559, 273, 28326, 7003, 18, 588, 559, 5621, 7734, 289, 7734, 312, 1685, 273, 28326, 7003, 18, 588, 2335, 5621, 7734, 312, 2555, 273, 312, 1685, 397, 28326, 2 ]
public TA_RetCode AD( int startIdx, int endIdx, double inHigh[], double inLow[], double inClose[], int inVolume[], MInteger outBegIdx, MInteger outNbElement, double outReal[] ){ int nbBar, currentBar, outIdx; double high, low, close, tmp; double ad; if( startIdx < 0 ) return TA_RetCode. TA_OUT_OF_RANGE_START_INDEX; if( (endIdx < 0) || (endIdx < startIdx)) return TA_RetCode. TA_OUT_OF_RANGE_END_INDEX; nbBar = endIdx-startIdx+1; outNbElement.value = nbBar; outBegIdx.value = startIdx; currentBar = startIdx; outIdx = 0; ad = 0.0; while( nbBar != 0 ) { high = inHigh[currentBar]; low = inLow[currentBar]; tmp = high-low; close = inClose[currentBar]; if( tmp > 0.0 ) ad += (((close-low)-(high-close))/tmp)*((double)inVolume[currentBar]); outReal[outIdx++] = ad; currentBar++; nbBar--; } return TA_RetCode. TA_SUCCESS;}
7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 1880, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 9056, 267, 4605, 63, 6487, 474, 267, 4545, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 6423, 5190, 16, 2972, 5190, 16, 659, 4223, 31, 9056, 8766, 16, 821, 16, 4412, 16, 5645, 31, 9056, 361, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 6423, 5190, 33, 409, 4223, 17, 1937, 4223, 15, 21, 31, 659, 22816, 1046, 18, 1132, 33, 6423, 5190, 31, 659, 24059, 4223, 18, 1132, 33, 1937, 4223, 31, 2972, 5190, 33, 1937, 4223, 31, 659, 4223, 33, 20, 31, 361, 33, 20, 18, 20, 31, 17523, 12, 6423, 5190, 5, 33, 20, 15329, 8766, 33, 267, 8573, 63, 2972, 5190, 15533, 821, 33, 267, 10520, 63, 2972, 5190, 15533, 5645, 33, 8766, 17, 821, 31, 4412, 33, 267, 4605, 63, 2972, 5190, 15533, 430, 12, 5645, 34, 20, 18, 20, 13, 361, 15, 33, 12443, 12, 4412, 17, 821, 24950, 12, 8766, 17, 4412, 3719, 19, 5645, 17653, 12443, 9056, 13, 267, 4545, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 9833, 67, 7055, 1085, 1880, 12, 474, 1937, 4223, 16, 474, 409, 4223, 16, 9056, 267, 8573, 63, 6487, 9056, 267, 10520, 63, 6487, 9056, 267, 4605, 63, 6487, 474, 267, 4545, 63, 6487, 49, 4522, 659, 24059, 4223, 16, 49, 4522, 659, 22816, 1046, 16, 9056, 659, 6955, 63, 5717, 95, 474, 6423, 5190, 16, 2972, 5190, 16, 659, 4223, 31, 9056, 8766, 16, 821, 16, 4412, 16, 5645, 31, 9056, 361, 31, 430, 12, 1937, 4223, 32, 20, 13, 2463, 9833, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 430, 12443, 409, 4223, 32, 20, 14047, 96, 12, 409, 4223, 32, 1937, 4223, 3719, 2463, 9833, 67, 7055, 2 ]
public StructureStylesheetUserPreferences getStructureStylesheetUserPreferences (IPerson person, int profileId, int stylesheetId) throws Exception { int userId = person.getID(); StructureStylesheetUserPreferences ssup; Connection con = RDBMServices.getConnection(); try { Statement stmt = con.createStatement(); try { // get stylesheet description StructureStylesheetDescription ssd = getStructureStylesheetDescription(stylesheetId); // get user defined defaults String subSelectString = "SELECT LAYOUT_ID FROM UP_USER_PROFILE WHERE USER_ID=" + userId + " AND PROFILE_ID=" + profileId; log.debug("RDBMUserLayoutStore::getStructureStylesheetUserPreferences(): " + subSelectString); int layoutId; ResultSet rs = stmt.executeQuery(subSelectString); try { rs.next(); layoutId = rs.getInt(1); if (rs.wasNull()) { layoutId = 0; } } finally { rs.close(); } if (layoutId == 0) { // First time, grab the default layout for this user String sQuery = "SELECT USER_DFLT_USR_ID FROM UP_USER WHERE USER_ID=" + userId; log.debug("RDBMUserLayoutStore::getStructureStylesheetUserPreferences(): " + sQuery); rs = stmt.executeQuery(sQuery); try { rs.next(); userId = rs.getInt(1); } finally { rs.close(); } } String sQuery = "SELECT PARAM_NAME, PARAM_VAL FROM UP_SS_USER_PARM WHERE USER_ID=" + userId + " AND PROFILE_ID=" + profileId + " AND SS_ID=" + stylesheetId + " AND SS_TYPE=1"; log.debug("RDBMUserLayoutStore::getStructureStylesheetUserPreferences(): " + sQuery); rs = stmt.executeQuery(sQuery); try { while (rs.next()) { // stylesheet param ssd.setStylesheetParameterDefaultValue(rs.getString(1), rs.getString(2)); } } finally { rs.close(); } ssup = new StructureStylesheetUserPreferences(); ssup.setStylesheetId(stylesheetId); // fill stylesheet description with defaults for (Enumeration e = ssd.getStylesheetParameterNames(); e.hasMoreElements();) { String pName = (String)e.nextElement(); ssup.putParameterValue(pName, ssd.getStylesheetParameterDefaultValue(pName)); } for (Enumeration e = ssd.getChannelAttributeNames(); e.hasMoreElements();) { String pName = (String)e.nextElement(); ssup.addChannelAttribute(pName, ssd.getChannelAttributeDefaultValue(pName)); } for (Enumeration e = ssd.getFolderAttributeNames(); e.hasMoreElements();) { String pName = (String)e.nextElement(); ssup.addFolderAttribute(pName, ssd.getFolderAttributeDefaultValue(pName)); } // get user preferences sQuery = "SELECT PARAM_NAME, PARAM_VAL, PARAM_TYPE, ULS.NODE_ID, CHAN_ID FROM UP_SS_USER_ATTS UUSA, UP_LAYOUT_STRUCT_AGGR ULS WHERE UUSA.USER_ID=" + userId + " AND PROFILE_ID=" + profileId + " AND SS_ID=" + stylesheetId + " AND SS_TYPE=1 AND UUSA.STRUCT_ID = ULS.NODE_ID AND UUSA.USER_ID = ULS.USER_ID"; log.debug("RDBMUserLayoutStore::getStructureStylesheetUserPreferences(): " + sQuery); rs = stmt.executeQuery(sQuery); try { while (rs.next()) { String temp1=rs.getString(1); // Access columns left to right String temp2=rs.getString(2); int param_type = rs.getInt(3); int structId = rs.getInt(4); if (rs.wasNull()) { structId = 0; } int chanId = rs.getInt(5); if (rs.wasNull()) { chanId = 0; } if (param_type == 1) { // stylesheet param log.error( "AggregatedUserLayoutStore::getStructureStylesheetUserPreferences() : stylesheet global params should be specified in the user defaults table ! UP_SS_USER_ATTS is corrupt. (userId=" + Integer.toString(userId) + ", profileId=" + Integer.toString(profileId) + ", stylesheetId=" + Integer.toString(stylesheetId) + ", param_name=\"" + temp1 + "\", param_type=" + Integer.toString(param_type)); } else if (param_type == 2) { // folder attribute ssup.setFolderAttributeValue(getStructId(structId,chanId), temp1, temp2); } else if (param_type == 3) { // channel attribute ssup.setChannelAttributeValue(getStructId(structId,chanId), temp1, temp2); } else { // unknown param type log.error( "AggregatedUserLayoutStore::getStructureStylesheetUserPreferences() : unknown param type encountered! DB corrupt. (userId=" + Integer.toString(userId) + ", profileId=" + Integer.toString(profileId) + ", stylesheetId=" + Integer.toString(stylesheetId) + ", param_name=\"" + temp1 + "\", param_type=" + Integer.toString(param_type)); } } } finally { rs.close(); } } finally { stmt.close(); } } finally { RDBMServices.releaseConnection(con); } return ssup; }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/d7969d7a991d2db82c6415a2ce1cb6022191815e/AggregatedUserLayoutStore.java/buggy/source/org/jasig/portal/layout/AggregatedUserLayoutStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13348, 24656, 1299, 12377, 18730, 24656, 1299, 12377, 261, 2579, 3565, 6175, 16, 509, 25903, 16, 509, 13820, 548, 13, 1216, 1185, 288, 565, 509, 6249, 273, 6175, 18, 588, 734, 5621, 565, 13348, 24656, 1299, 12377, 272, 2859, 31, 565, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 565, 775, 288, 1377, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 1377, 775, 288, 3639, 368, 336, 13820, 2477, 3639, 13348, 24656, 3291, 5202, 72, 273, 18730, 24656, 3291, 12, 19403, 548, 1769, 3639, 368, 336, 729, 2553, 3467, 3639, 514, 720, 3391, 780, 273, 315, 4803, 25239, 5069, 67, 734, 4571, 7376, 67, 4714, 67, 22462, 4852, 7443, 67, 734, 1546, 397, 6249, 397, 315, 4116, 4629, 3776, 67, 734, 1546, 397, 5411, 25903, 31, 3639, 613, 18, 4148, 2932, 54, 2290, 49, 1299, 3744, 2257, 2866, 588, 6999, 24656, 1299, 12377, 13332, 315, 397, 720, 3391, 780, 1769, 3639, 509, 3511, 548, 31, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 12, 1717, 3391, 780, 1769, 3639, 775, 288, 1850, 3597, 18, 4285, 5621, 1850, 3511, 548, 273, 3597, 18, 588, 1702, 12, 21, 1769, 1850, 309, 261, 5453, 18, 17416, 2041, 10756, 288, 5411, 3511, 548, 273, 374, 31, 1850, 289, 3639, 289, 3095, 288, 1850, 3597, 18, 4412, 5621, 3639, 289, 3639, 309, 261, 6741, 548, 422, 374, 13, 288, 368, 5783, 813, 16, 11086, 326, 805, 3511, 364, 333, 729, 1850, 514, 26656, 273, 315, 4803, 7443, 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, 13348, 24656, 1299, 12377, 18730, 24656, 1299, 12377, 261, 2579, 3565, 6175, 16, 509, 25903, 16, 509, 13820, 548, 13, 1216, 1185, 288, 565, 509, 6249, 273, 6175, 18, 588, 734, 5621, 565, 13348, 24656, 1299, 12377, 272, 2859, 31, 565, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 565, 775, 288, 1377, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 1377, 775, 288, 3639, 368, 336, 13820, 2477, 3639, 13348, 24656, 3291, 5202, 72, 273, 18730, 24656, 3291, 12, 19403, 548, 1769, 3639, 368, 336, 729, 2553, 3467, 3639, 514, 720, 3391, 780, 273, 315, 4803, 25239, 5069, 67, 734, 4571, 7376, 67, 4714, 67, 22462, 4852, 7443, 67, 734, 1546, 397, 6249, 2 ]
caretX = newCaretX;
columnX = newCaretX;
void setCaretLocation(int newCaretX, int line) { if (isBidi()) { setBidiCaretLocation(null); } else { Caret caret = getCaret(); caretX = newCaretX; if (caret != null) { caret.setLocation( newCaretX, line * lineHeight - verticalScrollOffset + topMargin); } }}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/bd48e2b84a6482ec594a06a3c3531b924107c392/StyledText.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 11440, 20731, 2735, 12, 474, 394, 39, 20731, 60, 16, 509, 980, 13, 288, 202, 430, 261, 291, 17763, 77, 10756, 288, 202, 202, 542, 17763, 77, 39, 20731, 2735, 12, 2011, 1769, 202, 97, 202, 12107, 288, 1082, 202, 39, 20731, 21683, 273, 1927, 20731, 5621, 9506, 202, 71, 20731, 60, 273, 394, 39, 20731, 60, 31, 202, 202, 430, 261, 71, 20731, 480, 446, 13, 288, 1082, 202, 71, 20731, 18, 542, 2735, 12, 9506, 202, 2704, 39, 20731, 60, 16, 4697, 202, 1369, 380, 980, 2686, 300, 9768, 6806, 2335, 397, 1760, 9524, 1769, 202, 202, 97, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 11440, 20731, 2735, 12, 474, 394, 39, 20731, 60, 16, 509, 980, 13, 288, 202, 430, 261, 291, 17763, 77, 10756, 288, 202, 202, 542, 17763, 77, 39, 20731, 2735, 12, 2011, 1769, 202, 97, 202, 12107, 288, 1082, 202, 39, 20731, 21683, 273, 1927, 20731, 5621, 9506, 202, 71, 20731, 60, 273, 394, 39, 20731, 60, 31, 202, 202, 430, 261, 71, 20731, 480, 446, 13, 288, 1082, 202, 71, 20731, 18, 542, 2735, 12, 9506, 202, 2704, 39, 20731, 60, 16, 4697, 202, 1369, 380, 980, 2686, 300, 9768, 6806, 2335, 397, 1760, 9524, 1769, 202, 202, 97, 202, 9090, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for(int i = (facetCount * facetCount); --i >= 0; )
for(int i = (widthFacetCount * depthFacetCount); --i >= 0; )
private void indexedTriangles(GeometryData data) throws InvalidArraySizeException { generateIndexedCoordinates(data); if((data.geometryComponents & GeometryData.NORMAL_DATA) != 0) generateIndexedNormals(data); if((data.geometryComponents & GeometryData.TEXTURE_2D_DATA) != 0) generateIndexedTexture2D(data); else if((data.geometryComponents & GeometryData.TEXTURE_3D_DATA) != 0) generateIndexedTexture3D(data); // now let's do the index list int index_size = (facetCount * facetCount) * 6; if(data.indexes == null) data.indexes = new int[index_size]; else if(data.indexes.length < index_size) throw new InvalidArraySizeException("Coordinates", data.indexes.length, index_size); int[] indexes = data.indexes; data.indexesCount = index_size; int idx = 0; int vtx = 0; // each face consists of an anti-clockwise triangle for(int i = (facetCount * facetCount); --i >= 0; ) { // triangle 1 indexes[idx++] = vtx; indexes[idx++] = vtx + facetCount + 2; indexes[idx++] = vtx + 1; // triangle 2 indexes[idx++] = vtx + facetCount + 1; indexes[idx++] = vtx + facetCount + 2; indexes[idx++] = vtx; vtx++; if((i % facetCount) == 0) vtx++; } }
46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/8b547f8eacb158f4811528bcdcd3f1ba7ec3edb2/PatchGenerator.java/clean/src/java/org/j3d/geom/spline/PatchGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 8808, 6251, 12356, 12, 9823, 751, 501, 13, 3639, 1216, 1962, 1076, 1225, 503, 565, 288, 3639, 2103, 15034, 13431, 12, 892, 1769, 3639, 309, 12443, 892, 18, 14330, 7171, 473, 8344, 751, 18, 15480, 67, 4883, 13, 480, 374, 13, 5411, 2103, 15034, 14624, 1031, 12, 892, 1769, 3639, 309, 12443, 892, 18, 14330, 7171, 473, 8344, 751, 18, 24652, 67, 22, 40, 67, 4883, 13, 480, 374, 13, 5411, 2103, 15034, 10967, 22, 40, 12, 892, 1769, 3639, 469, 309, 12443, 892, 18, 14330, 7171, 473, 8344, 751, 18, 24652, 67, 23, 40, 67, 4883, 13, 480, 374, 13, 5411, 2103, 15034, 10967, 23, 40, 12, 892, 1769, 3639, 368, 2037, 2231, 1807, 741, 326, 770, 666, 3639, 509, 770, 67, 1467, 273, 261, 21568, 1380, 380, 11082, 1380, 13, 380, 1666, 31, 3639, 309, 12, 892, 18, 11265, 422, 446, 13, 5411, 501, 18, 11265, 273, 394, 509, 63, 1615, 67, 1467, 15533, 3639, 469, 309, 12, 892, 18, 11265, 18, 2469, 411, 770, 67, 1467, 13, 5411, 604, 394, 1962, 1076, 1225, 503, 2932, 13431, 3113, 4766, 7734, 501, 18, 11265, 18, 2469, 16, 4766, 7734, 770, 67, 1467, 1769, 3639, 509, 8526, 5596, 273, 501, 18, 11265, 31, 3639, 501, 18, 11265, 1380, 273, 770, 67, 1467, 31, 3639, 509, 2067, 273, 374, 31, 3639, 509, 331, 978, 273, 374, 31, 3639, 368, 1517, 7945, 20915, 434, 392, 30959, 17, 18517, 2460, 15002, 3639, 364, 12, 474, 277, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 8808, 6251, 12356, 12, 9823, 751, 501, 13, 3639, 1216, 1962, 1076, 1225, 503, 565, 288, 3639, 2103, 15034, 13431, 12, 892, 1769, 3639, 309, 12443, 892, 18, 14330, 7171, 473, 8344, 751, 18, 15480, 67, 4883, 13, 480, 374, 13, 5411, 2103, 15034, 14624, 1031, 12, 892, 1769, 3639, 309, 12443, 892, 18, 14330, 7171, 473, 8344, 751, 18, 24652, 67, 22, 40, 67, 4883, 13, 480, 374, 13, 5411, 2103, 15034, 10967, 22, 40, 12, 892, 1769, 3639, 469, 309, 12443, 892, 18, 14330, 7171, 473, 8344, 751, 18, 24652, 67, 23, 40, 67, 4883, 13, 480, 374, 13, 5411, 2103, 15034, 10967, 23, 40, 12, 892, 1769, 3639, 368, 2037, 2231, 1807, 741, 2 ]
public SearchResult search(String queryText, int offset, int limit) throws ServiceException { Query query = null; if (queryText != null && queryText.length() > 0) { try { query = QueryParser.parse(queryText, "id", new StandardAnalyzer()); } catch (ParseException pe) { throw ServiceException.FAILURE("bad query", pe);
public SearchResult search(Query query, int offset, int limit) throws ServiceException { SearchResult result = new SearchResult(); IndexReader indexReader = null; try { if (!mIndexPath.exists()) { return result; } indexReader = IndexReader.open(mIndexPath); summarize(result, indexReader); if (query == null) { list0(result, indexReader, offset, limit); } else { search0(result, indexReader, query, offset, limit); } } catch (Exception e) { throw ServiceException.FAILURE("exception occurred searching mail queue", e); } finally { if (indexReader != null) { try { indexReader.close(); } catch (IOException ioe) { ZimbraLog.rmgmt.warn("exception occured closing index reader from search", ioe); }
public SearchResult search(String queryText, int offset, int limit) throws ServiceException { Query query = null; if (queryText != null && queryText.length() > 0) { try { query = QueryParser.parse(queryText, "id", new StandardAnalyzer()); } catch (ParseException pe) { throw ServiceException.FAILURE("bad query", pe); } } return search(query, offset, limit); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/c54411c225968e8c9e6f1cb1bf54d481eee9cb0e/RemoteMailQueue.java/buggy/ZimbraServer/src/java/com/zimbra/cs/rmgmt/RemoteMailQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29740, 1623, 12, 780, 843, 1528, 16, 509, 1384, 16, 509, 1800, 13, 1216, 16489, 288, 3639, 2770, 843, 273, 446, 31, 3639, 309, 261, 2271, 1528, 480, 446, 597, 843, 1528, 18, 2469, 1435, 405, 374, 13, 288, 5411, 775, 288, 7734, 843, 273, 2770, 2678, 18, 2670, 12, 2271, 1528, 16, 315, 350, 3113, 394, 8263, 12803, 10663, 5411, 289, 1044, 261, 13047, 2804, 13, 288, 7734, 604, 16489, 18, 17623, 2932, 8759, 843, 3113, 2804, 1769, 2398, 289, 3639, 289, 3639, 327, 1623, 12, 2271, 16, 1384, 16, 1800, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29740, 1623, 12, 780, 843, 1528, 16, 509, 1384, 16, 509, 1800, 13, 1216, 16489, 288, 3639, 2770, 843, 273, 446, 31, 3639, 309, 261, 2271, 1528, 480, 446, 597, 843, 1528, 18, 2469, 1435, 405, 374, 13, 288, 5411, 775, 288, 7734, 843, 273, 2770, 2678, 18, 2670, 12, 2271, 1528, 16, 315, 350, 3113, 394, 8263, 12803, 10663, 5411, 289, 1044, 261, 13047, 2804, 13, 288, 7734, 604, 16489, 18, 17623, 2932, 8759, 843, 3113, 2804, 1769, 2398, 289, 3639, 289, 3639, 327, 1623, 12, 2271, 16, 1384, 16, 1800, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
InitIO ();
OperatorInit (); initParams = new ParameterContainer ("");
public Operator () { InitIO (); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/924ce63d752d04cfc418d7add5f04a16d1e8dcdf/Operator.java/buggy/streams/src/streamit/library/Operator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11097, 1832, 565, 288, 3639, 11097, 2570, 261, 1769, 1208, 1370, 273, 394, 5498, 2170, 261, 3660, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11097, 1832, 565, 288, 3639, 11097, 2570, 261, 1769, 1208, 1370, 273, 394, 5498, 2170, 261, 3660, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void doUnlock(String url, String path, String id, boolean force) throws SVNException {
public void doUnlock(String path, String id, boolean force) throws SVNException {
public void doUnlock(String url, String path, String id, boolean force) throws SVNException { if (id == null) { SVNLock lock = doGetLock(path); if (lock != null) { id = lock.getID(); } if (id == null) { throw new SVNException("repository path '" + path + "' is not locked."); } } Map header = new HashMap(); header.put("Lock-Token", "<" + id + ">"); if (force) { header.put("X-SVN-Options", "lock-break"); } myHttpConnection.request("UNLOCK", path, header, (StringBuffer) null, null, new int[] {204}); }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/28a541543b4a2184525742e00c36858319d85c0c/DAVConnection.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 7087, 12, 780, 589, 16, 514, 612, 16, 1250, 2944, 13, 1216, 29537, 50, 503, 288, 3639, 309, 261, 350, 422, 446, 13, 288, 5411, 29537, 50, 2531, 2176, 273, 23611, 2531, 12, 803, 1769, 5411, 309, 261, 739, 480, 446, 13, 288, 7734, 612, 273, 2176, 18, 588, 734, 5621, 5411, 289, 2398, 309, 261, 350, 422, 446, 13, 288, 7734, 604, 394, 29537, 50, 503, 2932, 9071, 589, 2119, 397, 589, 397, 2491, 353, 486, 8586, 1199, 1769, 5411, 289, 3639, 289, 3639, 1635, 1446, 273, 394, 4317, 5621, 3639, 1446, 18, 458, 2932, 2531, 17, 1345, 3113, 18165, 397, 612, 397, 14675, 1769, 3639, 309, 261, 5734, 13, 288, 5411, 1446, 18, 458, 2932, 60, 17, 23927, 50, 17, 1320, 3113, 315, 739, 17, 8820, 8863, 3639, 289, 3639, 3399, 2940, 1952, 18, 2293, 2932, 2124, 6589, 3113, 589, 16, 1446, 16, 261, 780, 1892, 13, 446, 16, 446, 16, 394, 509, 8526, 288, 21573, 22938, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 7087, 12, 780, 589, 16, 514, 612, 16, 1250, 2944, 13, 1216, 29537, 50, 503, 288, 3639, 309, 261, 350, 422, 446, 13, 288, 5411, 29537, 50, 2531, 2176, 273, 23611, 2531, 12, 803, 1769, 5411, 309, 261, 739, 480, 446, 13, 288, 7734, 612, 273, 2176, 18, 588, 734, 5621, 5411, 289, 2398, 309, 261, 350, 422, 446, 13, 288, 7734, 604, 394, 29537, 50, 503, 2932, 9071, 589, 2119, 397, 589, 397, 2491, 353, 486, 8586, 1199, 1769, 5411, 289, 3639, 289, 3639, 1635, 1446, 273, 394, 4317, 5621, 3639, 1446, 18, 458, 2932, 2531, 17, 1345, 3113, 18165, 397, 612, 397, 14675, 1769, 3639, 309, 261, 5734, 13, 288, 5411, 1446, 18, 2 ]
public boolean work_pending() {
public boolean work_pending() {
public boolean work_pending() { throw new org.omg.CORBA.NO_IMPLEMENT ("The Singleton ORB only permits factory methods"); }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/7271c3cbb78470b90b072d36661a5ab67199cc91/ORBSingleton.java/clean/src/org/jacorb/orb/ORBSingleton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1440, 67, 9561, 1435, 377, 288, 2398, 604, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 3417, 67, 9883, 7618, 7566, 1986, 27802, 4869, 38, 1338, 4641, 1282, 3272, 2590, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1440, 67, 9561, 1435, 377, 288, 2398, 604, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 3417, 67, 9883, 7618, 7566, 1986, 27802, 4869, 38, 1338, 4641, 1282, 3272, 2590, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String parentType = ((PathNode) query.getNodes().get(path)).getParentType(); if (parentType != null) { ClassDescriptor cld = MainHelper.getClassDescriptor(parentType, model); for (Iterator i = query.getView().iterator(); i.hasNext();) { String viewPath = (String) i.next(); if (viewPath.startsWith(path) && !viewPath.equals(path)) { String fieldName = viewPath.substring(path.length() + 1); if (fieldName.indexOf(".") != -1) { fieldName = fieldName.substring(0, fieldName.indexOf(".")); } if (cld.getFieldDescriptorByName(fieldName) == null) { i.remove(); } } } } for (Iterator i = query.getNodes().keySet().iterator(); i.hasNext();) { if (((String) i.next()).startsWith(path)) { i.remove(); } }
removeNode(pathQuery, path);
public ActionForward removeNode(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HttpSession session = request.getSession(); ServletContext servletContext = session.getServletContext(); ObjectStore os = (ObjectStore) servletContext.getAttribute(Constants.OBJECTSTORE); Model model = (Model) os.getModel(); PathQuery query = (PathQuery) session.getAttribute(Constants.QUERY); String path = request.getParameter("path"); // ensure removal of any view nodes that depend on a type constraint // eg. Department.employees.salary where salary is only defined in a subclass of Employee // note that we first have to find out what type Department thinks the employees field is // and then check if any of the view nodes assume the field is constrained to a subclass String parentType = ((PathNode) query.getNodes().get(path)).getParentType(); if (parentType != null) { ClassDescriptor cld = MainHelper.getClassDescriptor(parentType, model); for (Iterator i = query.getView().iterator(); i.hasNext();) { String viewPath = (String) i.next(); if (viewPath.startsWith(path) && !viewPath.equals(path)) { String fieldName = viewPath.substring(path.length() + 1); if (fieldName.indexOf(".") != -1) { fieldName = fieldName.substring(0, fieldName.indexOf(".")); } if (cld.getFieldDescriptorByName(fieldName) == null) { i.remove(); } } } } // remove any child nodes for (Iterator i = query.getNodes().keySet().iterator(); i.hasNext();) { if (((String) i.next()).startsWith(path)) { i.remove(); } } String prefix; if (path.indexOf(".") == -1) { prefix = path; } else { prefix = path.substring(0, path.lastIndexOf(".")); path = ((Node) query.getNodes().get(prefix)).getType(); } session.setAttribute("prefix", prefix); session.setAttribute("path", path); return mapping.findForward("query"); }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/f9aaf2be88400ed7fe193a9d614332c5a6db16d2/MainChange.java/buggy/intermine/src/java/org/intermine/web/MainChange.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 1206, 907, 12, 1803, 3233, 2874, 16, 4766, 565, 4382, 1204, 646, 16, 4766, 565, 9984, 590, 16, 4766, 565, 12446, 766, 13, 3639, 1216, 1185, 288, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 5621, 3639, 22717, 20474, 273, 1339, 18, 588, 4745, 1042, 5621, 3639, 1033, 2257, 1140, 273, 261, 921, 2257, 13, 20474, 18, 588, 1499, 12, 2918, 18, 9422, 13651, 1769, 3639, 3164, 938, 273, 261, 1488, 13, 1140, 18, 588, 1488, 5621, 3639, 2666, 1138, 843, 273, 261, 743, 1138, 13, 1339, 18, 588, 1499, 12, 2918, 18, 10753, 1769, 3639, 514, 589, 273, 590, 18, 588, 1662, 2932, 803, 8863, 3639, 368, 3387, 14817, 434, 1281, 1476, 2199, 716, 2447, 603, 279, 618, 4954, 3639, 368, 9130, 18, 4019, 24144, 18, 351, 2817, 25521, 18, 21982, 814, 1625, 12814, 814, 353, 1338, 2553, 316, 279, 10177, 434, 512, 27520, 3639, 368, 4721, 716, 732, 1122, 1240, 358, 1104, 596, 4121, 618, 4019, 24144, 15507, 87, 326, 24539, 25521, 652, 353, 3639, 368, 471, 1508, 866, 309, 1281, 434, 326, 1476, 2199, 6750, 326, 652, 353, 27666, 358, 279, 10177, 3639, 514, 22822, 273, 14015, 743, 907, 13, 843, 18, 588, 3205, 7675, 588, 12, 803, 13, 2934, 588, 3054, 559, 5621, 3639, 309, 261, 2938, 559, 480, 446, 13, 288, 5411, 26641, 23451, 273, 12740, 2276, 18, 588, 797, 3187, 12, 2938, 559, 16, 938, 1769, 5411, 364, 261, 3198, 277, 273, 843, 18, 588, 1767, 7675, 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, 4382, 8514, 1206, 907, 12, 1803, 3233, 2874, 16, 4766, 565, 4382, 1204, 646, 16, 4766, 565, 9984, 590, 16, 4766, 565, 12446, 766, 13, 3639, 1216, 1185, 288, 3639, 26166, 1339, 273, 590, 18, 588, 2157, 5621, 3639, 22717, 20474, 273, 1339, 18, 588, 4745, 1042, 5621, 3639, 1033, 2257, 1140, 273, 261, 921, 2257, 13, 20474, 18, 588, 1499, 12, 2918, 18, 9422, 13651, 1769, 3639, 3164, 938, 273, 261, 1488, 13, 1140, 18, 588, 1488, 5621, 3639, 2666, 1138, 843, 273, 261, 743, 1138, 13, 1339, 18, 588, 1499, 12, 2918, 18, 10753, 1769, 3639, 514, 589, 273, 590, 18, 588, 1662, 2932, 803, 8863, 3639, 368, 3387, 14817, 434, 1281, 1476, 2199, 716, 2 ]
public AttributeDescr no_loop() throws RecognitionException { AttributeDescr d; Token loc=null; Token t=null; d = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:448:17: ( (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) | (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) ) int alt33=2; int LA33_0 = input.LA(1); if ( LA33_0==34 ) { int LA33_1 = input.LA(2); if ( LA33_1==BOOL ) { alt33=2; } else if ( LA33_1==EOL||LA33_1==15||LA33_1==22||LA33_1==27||LA33_1==29||LA33_1==31||(LA33_1>=33 && LA33_1<=38) ) { alt33=1; } else { NoViableAltException nvae = new NoViableAltException("443:1: no_loop returns [AttributeDescr d] : ( (loc= \'no-loop\' opt_eol ( \';\' )? opt_eol ) | (loc= \'no-loop\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 33, 1, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("443:1: no_loop returns [AttributeDescr d] : ( (loc= \'no-loop\' opt_eol ( \';\' )? opt_eol ) | (loc= \'no-loop\' t= BOOL opt_eol ( \';\' )? opt_eol ) );", 33, 0, input); throw nvae; } switch (alt33) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:448:17: (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:448:17: (loc= 'no-loop' opt_eol ( ';' )? opt_eol ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:449:25: loc= 'no-loop' opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,34,FOLLOW_34_in_no_loop946); following.push(FOLLOW_opt_eol_in_no_loop948); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:449:47: ( ';' )? int alt31=2; int LA31_0 = input.LA(1); if ( LA31_0==15 ) { alt31=1; } else if ( LA31_0==EOL||LA31_0==22||LA31_0==27||LA31_0==29||LA31_0==31||(LA31_0>=33 && LA31_0<=38) ) { alt31=2; } else { NoViableAltException nvae = new NoViableAltException("449:47: ( \';\' )?", 31, 0, input); throw nvae; } switch (alt31) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:449:47: ';' { match(input,15,FOLLOW_15_in_no_loop950); } break; } following.push(FOLLOW_opt_eol_in_no_loop953); opt_eol(); following.pop(); d = new AttributeDescr( "no-loop", "true" ); d.setLocation( loc.getLine(), loc.getCharPositionInLine() ); } } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:456:17: (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:456:17: (loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:457:25: loc= 'no-loop' t= BOOL opt_eol ( ';' )? opt_eol { loc=(Token)input.LT(1); match(input,34,FOLLOW_34_in_no_loop978); t=(Token)input.LT(1); match(input,BOOL,FOLLOW_BOOL_in_no_loop982); following.push(FOLLOW_opt_eol_in_no_loop984); opt_eol(); following.pop(); // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:457:54: ( ';' )? int alt32=2; int LA32_0 = input.LA(1); if ( LA32_0==15 ) { alt32=1; } else if ( LA32_0==EOL||LA32_0==22||LA32_0==27||LA32_0==29||LA32_0==31||(LA32_0>=33 && LA32_0<=38) ) { alt32=2; } else { NoViableAltException nvae = new NoViableAltException("457:54: ( \';\' )?", 32, 0, input); throw nvae; } switch (alt32) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:457:54: ';' { match(input,15,FOLLOW_15_in_no_loop986); } break; } following.push(FOLLOW_opt_eol_in_no_loop989); opt_eol(); following.pop(); d = new AttributeDescr( "no-loop", t.getText() ); d.setLocation( loc.getLine(), loc.getCharPositionInLine() ); } } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f206af510f937d389fa71f33abed691ac65aa4e3/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 1158, 67, 6498, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 540, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 6334, 28, 30, 4033, 30, 261, 261, 1829, 33, 296, 2135, 17, 6498, 11, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 571, 261, 1829, 33, 296, 2135, 17, 6498, 11, 268, 33, 9784, 1741, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 262, 5411, 509, 3770, 3707, 33, 22, 31, 5411, 509, 2928, 3707, 67, 20, 273, 810, 18, 2534, 12, 21, 1769, 5411, 309, 261, 2928, 3707, 67, 20, 631, 5026, 262, 288, 7734, 509, 2928, 3707, 67, 21, 273, 810, 18, 2534, 12, 22, 1769, 7734, 309, 261, 2928, 3707, 67, 21, 631, 19040, 262, 288, 10792, 3770, 3707, 33, 22, 31, 7734, 289, 7734, 469, 309, 261, 2928, 3707, 67, 21, 631, 5842, 20081, 2534, 3707, 67, 21, 631, 3600, 20081, 2534, 3707, 67, 21, 631, 3787, 20081, 2534, 3707, 67, 21, 631, 5324, 20081, 2534, 3707, 67, 21, 631, 5540, 20081, 2534, 3707, 67, 21, 631, 6938, 20081, 12, 2534, 3707, 67, 21, 34, 33, 3707, 597, 2928, 3707, 67, 21, 32, 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, 3601, 16198, 1158, 67, 6498, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 540, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 6334, 28, 30, 4033, 30, 261, 261, 1829, 33, 296, 2135, 17, 6498, 11, 2153, 67, 30951, 261, 7554, 7851, 2153, 67, 30951, 262, 571, 261, 1829, 33, 296, 2135, 17, 6498, 11, 268, 33, 9784, 1741, 2153, 67, 30951, 261, 7554, 7851, 2 ]
if (securityCheckCode == 0 && (database.securityMechanism == CodePoint.SECMEC_USRIDPWD || database.securityMechanism == CodePoint.SECMEC_USRIDONL) && database.publicKeyIn != null) securityCheckCode = CodePoint.SECCHKCD_SECTKNMISSING_OR_INVALID; if (SanityManager.DEBUG) trace("** ACCSECRD securityCheckCode is: "+securityCheckCode);
if (securityCheckCode == 0 && (database.securityMechanism == CodePoint.SECMEC_USRIDPWD || database.securityMechanism == CodePoint.SECMEC_USRIDONL) && database.publicKeyIn != null) securityCheckCode = CodePoint.SECCHKCD_SECTKNMISSING_OR_INVALID; if (SanityManager.DEBUG) trace("** ACCSECRD securityCheckCode is: "+securityCheckCode);
private int parseACCSEC() throws DRDAProtocolException { int securityCheckCode = 0; int securityMechanism = 0; byte [] publicKeyIn = null; reader.markCollection(); int codePoint = reader.getCodePoint(); while (codePoint != -1) { switch(codePoint) { //optional case CodePoint.SECMGRNM: // this is defined to be 0 length if (reader.getDdmLength() != 0) badObjectLength(CodePoint.SECMGRNM); break; //required case CodePoint.SECMEC: checkLength(CodePoint.SECMEC, 2); securityMechanism = reader.readNetworkShort(); if (SanityManager.DEBUG) trace("Security mechanism = " + securityMechanism); // if Property.DRDA_PROP_SECURITYMECHANISM has been set, then // network server only accepts connections which use that // security mechanism. No other types of connections // are accepted. // Make check to see if this property has been set. // if set, and if the client requested security mechanism // is not the same, then return a security check code // that the server does not support/allow this security // mechanism if ( (server.getSecurityMechanism() != NetworkServerControlImpl.INVALID_OR_NOTSET_SECURITYMECHANISM) && securityMechanism != server.getSecurityMechanism()) securityCheckCode = CodePoint.SECCHKCD_NOTSUPPORTED; else { // for plain text userid,password USRIDPWD, and USRIDONL // no need of decryptionManager if (securityMechanism != CodePoint.SECMEC_USRIDPWD && securityMechanism != CodePoint.SECMEC_USRIDONL) { //this is the only other one we understand if (securityMechanism != CodePoint.SECMEC_EUSRIDPWD) securityCheckCode = CodePoint.SECCHKCD_NOTSUPPORTED; else { try { if (decryptionManager == null) decryptionManager = new DecryptionManager(); myPublicKey = decryptionManager.obtainPublicKey(); } catch (SQLException e) { println2Log(null, session.drdaID, e.getMessage()); // Local security service non-retryable error. securityCheckCode = CodePoint.SECCHKCD_0A; } } } } break; //optional (currently required for Cloudscape - may need to revisit) case CodePoint.RDBNAM: String dbname = parseRDBNAM(); Database d = session.getDatabase(dbname); if (d == null) addDatabase(dbname); else { // reset database for connection re-use d.reset(); database = d; } break; //optional - depending on security Mechanism case CodePoint.SECTKN: publicKeyIn = reader.readBytes(); break; default: invalidCodePoint(codePoint); } codePoint = reader.getCodePoint(); } // check for required CodePoint's if (securityMechanism == 0) missingCodePoint(CodePoint.SECMEC); // RESOLVE - when we look further into security we might want to // handle this part of the protocol at the session level without // requiring a database for when authentication is used but there // is no database level security if (database == null) missingCodePoint(CodePoint.RDBNAM); database.securityMechanism = securityMechanism; database.publicKeyIn = publicKeyIn; // need security token if (securityCheckCode == 0 && database.securityMechanism == CodePoint.SECMEC_EUSRIDPWD && database.publicKeyIn == null) securityCheckCode = CodePoint.SECCHKCD_SECTKNMISSING_OR_INVALID; // shouldn't have security token if (securityCheckCode == 0 && (database.securityMechanism == CodePoint.SECMEC_USRIDPWD || database.securityMechanism == CodePoint.SECMEC_USRIDONL) && database.publicKeyIn != null) securityCheckCode = CodePoint.SECCHKCD_SECTKNMISSING_OR_INVALID; if (SanityManager.DEBUG) trace("** ACCSECRD securityCheckCode is: "+securityCheckCode); // If the security check was successful set the session state to // security accesseed. Otherwise go back to attributes exchanged so we // require another ACCSEC if (securityCheckCode == 0) session.setState(session.SECACC); else session.setState(session.ATTEXC); return securityCheckCode; }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/9ab36fe5be3632bbd1703a025618a585f0db4a57/DRDAConnThread.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1109, 31414, 11944, 1435, 1216, 225, 16801, 9793, 5752, 503, 202, 95, 202, 202, 474, 4373, 1564, 1085, 273, 374, 31, 202, 202, 474, 4373, 31546, 273, 374, 31, 202, 202, 7229, 5378, 12085, 382, 273, 446, 31, 202, 202, 10530, 18, 3355, 2532, 5621, 202, 202, 474, 18614, 273, 2949, 18, 588, 31536, 5621, 202, 202, 17523, 261, 710, 2148, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 9610, 12, 710, 2148, 13, 1082, 202, 95, 9506, 202, 759, 10444, 9506, 202, 3593, 3356, 2148, 18, 1090, 9611, 6997, 50, 49, 30, 6862, 202, 759, 333, 353, 2553, 358, 506, 374, 769, 6862, 202, 430, 261, 10530, 18, 588, 40, 10956, 1782, 1435, 480, 374, 13, 25083, 202, 8759, 921, 1782, 12, 31536, 18, 1090, 9611, 6997, 50, 49, 1769, 6862, 202, 8820, 31, 9506, 202, 759, 4718, 9506, 202, 3593, 3356, 2148, 18, 11944, 958, 39, 30, 6862, 202, 1893, 1782, 12, 31536, 18, 11944, 958, 39, 16, 576, 1769, 6862, 202, 7462, 31546, 273, 2949, 18, 896, 3906, 4897, 5621, 6862, 202, 430, 261, 55, 10417, 1318, 18, 9394, 13, 25083, 202, 5129, 2932, 4368, 12860, 273, 315, 397, 4373, 31546, 1769, 4766, 3639, 368, 309, 4276, 18, 6331, 9793, 67, 15811, 67, 29209, 958, 1792, 1258, 5127, 49, 711, 2118, 444, 16, 1508, 10792, 368, 2483, 1438, 1338, 8104, 5921, 1492, 999, 716, 10792, 368, 4373, 12860, 18, 2631, 1308, 1953, 434, 5921, 5397, 368, 854, 8494, 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, 225, 202, 1152, 509, 1109, 31414, 11944, 1435, 1216, 225, 16801, 9793, 5752, 503, 202, 95, 202, 202, 474, 4373, 1564, 1085, 273, 374, 31, 202, 202, 474, 4373, 31546, 273, 374, 31, 202, 202, 7229, 5378, 12085, 382, 273, 446, 31, 202, 202, 10530, 18, 3355, 2532, 5621, 202, 202, 474, 18614, 273, 2949, 18, 588, 31536, 5621, 202, 202, 17523, 261, 710, 2148, 480, 300, 21, 13, 202, 202, 95, 1082, 202, 9610, 12, 710, 2148, 13, 1082, 202, 95, 9506, 202, 759, 10444, 9506, 202, 3593, 3356, 2148, 18, 1090, 9611, 6997, 50, 49, 30, 6862, 202, 759, 333, 353, 2553, 358, 506, 374, 769, 6862, 202, 430, 261, 10530, 18, 588, 40, 10956, 1782, 1435, 2 ]
if (args == null || args.length != 0) {
if(args == null || args.length != 0){
private boolean isIteratorNext(PsiElement element, String iteratorNameName) { if (element == null) { return false; } if (!(element instanceof PsiMethodCallExpression)) { return false; } final PsiMethodCallExpression callExpression = (PsiMethodCallExpression) element; final PsiExpressionList argumentList = callExpression.getArgumentList(); if (argumentList == null) { return false; } final PsiExpression[] args = argumentList.getExpressions(); if (args == null || args.length != 0) { return false; } final PsiReferenceExpression reference = callExpression.getMethodExpression(); if (reference == null) { return false; } final PsiExpression qualifier = reference.getQualifierExpression(); if (qualifier == null) { return false; } if (!iteratorNameName.equals(qualifier.getText())) { return false; } final String referenceName = reference.getReferenceName(); return "next".equals(referenceName); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 353, 3198, 2134, 12, 52, 7722, 1046, 930, 16, 514, 2775, 461, 461, 13, 288, 5411, 309, 261, 2956, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 12, 2956, 1276, 453, 7722, 12592, 2300, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 12592, 2300, 745, 2300, 273, 10792, 261, 52, 7722, 12592, 2300, 13, 930, 31, 5411, 727, 453, 7722, 2300, 682, 1237, 682, 273, 745, 2300, 18, 588, 1379, 682, 5621, 5411, 309, 261, 3446, 682, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 8526, 833, 273, 1237, 682, 18, 588, 8927, 5621, 5411, 309, 12, 1968, 422, 446, 747, 833, 18, 2469, 480, 374, 15329, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 2404, 2300, 2114, 273, 745, 2300, 18, 588, 1305, 2300, 5621, 5411, 309, 261, 6180, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 12327, 273, 2114, 18, 588, 16185, 2300, 5621, 5411, 309, 261, 28157, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 9838, 461, 461, 18, 14963, 12, 28157, 18, 588, 1528, 1435, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 514, 2114, 461, 273, 2114, 18, 588, 2404, 461, 5621, 5411, 327, 315, 4285, 9654, 14963, 12, 6180, 461, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 1250, 353, 3198, 2134, 12, 52, 7722, 1046, 930, 16, 514, 2775, 461, 461, 13, 288, 5411, 309, 261, 2956, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 16051, 12, 2956, 1276, 453, 7722, 12592, 2300, 3719, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 12592, 2300, 745, 2300, 273, 10792, 261, 52, 7722, 12592, 2300, 13, 930, 31, 5411, 727, 453, 7722, 2300, 682, 1237, 682, 273, 745, 2300, 18, 588, 1379, 682, 5621, 5411, 309, 261, 3446, 682, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 727, 453, 7722, 2300, 8526, 833, 273, 1237, 682, 18, 588, 8927, 5621, 5411, 309, 12, 1968, 422, 446, 2 ]
OptTransformer ot = new OptTransformer(compilerEnv, possibleDirectCalls,
OptTransformer ot = new OptTransformer(possibleDirectCalls,
private void transform(ScriptOrFnNode tree) { initOptFunctions_r(tree); int optLevel = compilerEnv.getOptimizationLevel(); Hashtable possibleDirectCalls = null; if (optLevel > 0) { /* * Collect all of the contained functions into a hashtable * so that the call optimizer can access the class name & parameter * count for any call it encounters */ if (tree.getType() == Token.SCRIPT) { int functionCount = tree.getFunctionCount(); for (int i = 0; i != functionCount; ++i) { OptFunctionNode ofn = OptFunctionNode.get(tree, i); if (ofn.fnode.getFunctionType() == FunctionNode.FUNCTION_STATEMENT) { String name = ofn.fnode.getFunctionName(); if (name.length() != 0) { if (possibleDirectCalls == null) { possibleDirectCalls = new Hashtable(); } possibleDirectCalls.put(name, ofn); } } } } } if (possibleDirectCalls != null) { directCallTargets = new ObjArray(); } OptTransformer ot = new OptTransformer(compilerEnv, possibleDirectCalls, directCallTargets); ot.transform(tree); if (optLevel > 0) { (new Optimizer()).optimize(tree, optLevel); } }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/792304a2a96cea5a80c02ff6a02a98f830f7393d/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2510, 12, 3651, 1162, 5372, 907, 2151, 13, 565, 288, 3639, 1208, 6179, 7503, 67, 86, 12, 3413, 1769, 3639, 509, 2153, 2355, 273, 5274, 3491, 18, 588, 13930, 1588, 2355, 5621, 3639, 18559, 3323, 5368, 10125, 273, 446, 31, 3639, 309, 261, 3838, 2355, 405, 374, 13, 288, 6647, 1748, 5411, 380, 9302, 777, 434, 326, 7542, 4186, 1368, 279, 711, 14544, 5411, 380, 1427, 716, 326, 745, 13066, 848, 2006, 326, 667, 508, 473, 1569, 5411, 380, 1056, 364, 1281, 745, 518, 27516, 5411, 1195, 5411, 309, 261, 3413, 18, 588, 559, 1435, 422, 3155, 18, 10885, 13, 288, 7734, 509, 445, 1380, 273, 2151, 18, 588, 2083, 1380, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 480, 445, 1380, 31, 965, 77, 13, 288, 10792, 12056, 2083, 907, 434, 82, 273, 12056, 2083, 907, 18, 588, 12, 3413, 16, 277, 1769, 10792, 309, 261, 792, 82, 18, 74, 2159, 18, 588, 2083, 559, 1435, 13491, 422, 4284, 907, 18, 7788, 67, 28411, 13, 10792, 288, 13491, 514, 508, 273, 434, 82, 18, 74, 2159, 18, 588, 25258, 5621, 13491, 309, 261, 529, 18, 2469, 1435, 480, 374, 13, 288, 18701, 309, 261, 12708, 5368, 10125, 422, 446, 13, 288, 27573, 3323, 5368, 10125, 273, 394, 18559, 5621, 18701, 289, 18701, 3323, 5368, 10125, 18, 458, 12, 529, 16, 434, 82, 1769, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 261, 12708, 5368, 10125, 480, 446, 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, 2510, 12, 3651, 1162, 5372, 907, 2151, 13, 565, 288, 3639, 1208, 6179, 7503, 67, 86, 12, 3413, 1769, 3639, 509, 2153, 2355, 273, 5274, 3491, 18, 588, 13930, 1588, 2355, 5621, 3639, 18559, 3323, 5368, 10125, 273, 446, 31, 3639, 309, 261, 3838, 2355, 405, 374, 13, 288, 6647, 1748, 5411, 380, 9302, 777, 434, 326, 7542, 4186, 1368, 279, 711, 14544, 5411, 380, 1427, 716, 326, 745, 13066, 848, 2006, 326, 667, 508, 473, 1569, 5411, 380, 1056, 364, 1281, 745, 518, 27516, 5411, 1195, 5411, 309, 261, 3413, 18, 588, 559, 1435, 422, 3155, 18, 10885, 13, 288, 7734, 509, 445, 1380, 273, 2151, 18, 588, 2083, 1380, 5621, 7734, 364, 261, 474, 2 ]
return runCount.intValue();
return runCount;
public int getRunCountForInspection(String inspectionID) { synchronized(lock){ final Integer runCount = (Integer) totalRunCount.get(inspectionID); if(runCount == null) { return 0; } return runCount.intValue(); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/2d46d291193579a7564649b4881c7ea8e02eda5b/InspectionGadgetsTelemetry.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/telemetry/InspectionGadgetsTelemetry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 1997, 1380, 1290, 14985, 12, 780, 2763, 7017, 734, 13, 565, 288, 3639, 3852, 12, 739, 15329, 5411, 727, 2144, 1086, 1380, 273, 261, 4522, 13, 2078, 1997, 1380, 18, 588, 12, 2679, 7017, 734, 1769, 5411, 309, 12, 2681, 1380, 422, 446, 13, 5411, 288, 7734, 327, 374, 31, 5411, 289, 5411, 327, 1086, 1380, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 509, 336, 1997, 1380, 1290, 14985, 12, 780, 2763, 7017, 734, 13, 565, 288, 3639, 3852, 12, 739, 15329, 5411, 727, 2144, 1086, 1380, 273, 261, 4522, 13, 2078, 1997, 1380, 18, 588, 12, 2679, 7017, 734, 1769, 5411, 309, 12, 2681, 1380, 422, 446, 13, 5411, 288, 7734, 327, 374, 31, 5411, 289, 5411, 327, 1086, 1380, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.QuoteSetID getQuoteSetID() throws FieldNotFound { org.quickfix.field.QuoteSetID value = new org.quickfix.field.QuoteSetID();
public quickfix.field.QuoteSetID getQuoteSetID() throws FieldNotFound { quickfix.field.QuoteSetID value = new quickfix.field.QuoteSetID();
public org.quickfix.field.QuoteSetID getQuoteSetID() throws FieldNotFound { org.quickfix.field.QuoteSetID value = new org.quickfix.field.QuoteSetID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MassQuote.java/buggy/src/java/src/quickfix/fix43/MassQuote.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 694, 734, 336, 10257, 694, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 694, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 694, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10257, 694, 734, 336, 10257, 694, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 694, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10257, 694, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void openLink(SVGAElement elt) { String show = XLinkSupport.getXLinkShow(elt); String href = XLinkSupport.getXLinkHref(elt); if (show.equals("new")) { fireLinkActivatedEvent(elt, href); if (svgUserAgent != null) { URL oldURI = ((SVGOMDocument)svgDocument).getURLObject(); URL newURI = null; try { newURI = new URL(oldURI, href); } catch (MalformedURLException e) { userAgent.displayError(e); return; } href = newURI.toString(); svgUserAgent.openLink(href, true); } else { JSVGComponent.this.loadSVGDocument(href); } return; } // Avoid reloading if possible. if (svgDocument != null) { URL oldURI = ((SVGOMDocument)svgDocument).getURLObject(); URL newURI = null; try { newURI = new URL(oldURI, href); } catch (MalformedURLException e) { userAgent.displayError(e); return; } String s = newURI.getRef(); if (newURI.sameFile(oldURI)) { if ((fragmentIdentifier == null && s != null) || (s == null && fragmentIdentifier != null) || (s != null && !s.equals(fragmentIdentifier))) { fragmentIdentifier = s; computeRenderingTransform(); } fireLinkActivatedEvent(elt, newURI.toString()); return; } } fireLinkActivatedEvent(elt, href); if (svgUserAgent != null) { svgUserAgent.openLink(href, false); } else { JSVGComponent.this.loadSVGDocument(href); } }
46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/afe65c576faff6e36e162bc2b2e45075f49d0112/JSVGComponent.java/buggy/sources/org/apache/batik/swing/svg/JSVGComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3190, 2098, 12, 26531, 37, 1046, 20224, 15329, 780, 4500, 33, 60, 2098, 6289, 18, 588, 60, 2098, 5706, 12, 20224, 1769, 780, 7547, 33, 60, 2098, 6289, 18, 588, 60, 2098, 15962, 12, 20224, 1769, 430, 12, 4500, 18, 14963, 2932, 2704, 6, 3719, 95, 12179, 2098, 28724, 1133, 12, 20224, 16, 7547, 1769, 430, 12, 11451, 12276, 5, 33, 2011, 15329, 1785, 1673, 3098, 33, 12443, 26531, 1872, 2519, 13, 11451, 2519, 2934, 588, 1785, 921, 5621, 1785, 2704, 3098, 33, 2011, 31, 698, 95, 2704, 3098, 33, 2704, 1785, 12, 1673, 3098, 16, 7547, 1769, 97, 14683, 12, 18695, 20160, 73, 15329, 30840, 18, 5417, 668, 12, 73, 1769, 2463, 31, 97, 7547, 33, 2704, 3098, 18, 10492, 5621, 11451, 12276, 18, 3190, 2098, 12, 7547, 16, 3767, 1769, 97, 12107, 95, 6479, 9266, 1841, 18, 2211, 18, 945, 26531, 2519, 12, 7547, 1769, 97, 2463, 31, 97, 759, 3769, 839, 266, 15174, 430, 12708, 18, 430, 12, 11451, 2519, 5, 33, 2011, 15329, 1785, 1673, 3098, 33, 12443, 26531, 1872, 2519, 13, 11451, 2519, 2934, 588, 1785, 921, 5621, 1785, 2704, 3098, 33, 2011, 31, 698, 95, 2704, 3098, 33, 2704, 1785, 12, 1673, 3098, 16, 7547, 1769, 97, 14683, 12, 18695, 20160, 73, 15329, 30840, 18, 5417, 668, 12, 73, 1769, 2463, 31, 97, 7957, 33, 2704, 3098, 18, 588, 1957, 5621, 430, 12, 2704, 3098, 18, 14307, 812, 12, 1673, 3098, 3719, 95, 430, 12443, 11956, 3004, 631, 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, 1071, 6459, 3190, 2098, 12, 26531, 37, 1046, 20224, 15329, 780, 4500, 33, 60, 2098, 6289, 18, 588, 60, 2098, 5706, 12, 20224, 1769, 780, 7547, 33, 60, 2098, 6289, 18, 588, 60, 2098, 15962, 12, 20224, 1769, 430, 12, 4500, 18, 14963, 2932, 2704, 6, 3719, 95, 12179, 2098, 28724, 1133, 12, 20224, 16, 7547, 1769, 430, 12, 11451, 12276, 5, 33, 2011, 15329, 1785, 1673, 3098, 33, 12443, 26531, 1872, 2519, 13, 11451, 2519, 2934, 588, 1785, 921, 5621, 1785, 2704, 3098, 33, 2011, 31, 698, 95, 2704, 3098, 33, 2704, 1785, 12, 1673, 3098, 16, 7547, 1769, 97, 14683, 12, 18695, 20160, 73, 15329, 30840, 18, 5417, 668, 12, 73, 1769, 2463, 31, 97, 7547, 33, 2 ]
List resources = new ArrayList(); if (part instanceof IEditorPart) { IEditorPart editor = (IEditorPart) part; IFile file = ResourceUtil.getFile(editor.getEditorInput()); if (file != null) { resources.add(file); } } else { if (selection instanceof IStructuredSelection) { for (Iterator iterator = ((IStructuredSelection) selection) .iterator(); iterator.hasNext();) { Object object = iterator.next(); if (object instanceof IAdaptable) { ITaskListResourceAdapter taskListResourceAdapter; Object adapter = ((IAdaptable) object) .getAdapter(ITaskListResourceAdapter.class); if (adapter != null && adapter instanceof ITaskListResourceAdapter) { taskListResourceAdapter = (ITaskListResourceAdapter) adapter; } else { taskListResourceAdapter = DefaultMarkerResourceAdapter .getDefault(); }
List resources = new ArrayList(); if (part instanceof IEditorPart) { IEditorPart editor = (IEditorPart) part; IFile file = ResourceUtil.getFile(editor.getEditorInput()); if (file != null) { resources.add(file); } } else { if (selection instanceof IStructuredSelection) { for (Iterator iterator = ((IStructuredSelection) selection) .iterator(); iterator.hasNext();) { Object object = iterator.next(); if (object instanceof IAdaptable) { ITaskListResourceAdapter taskListResourceAdapter; Object adapter = ((IAdaptable) object) .getAdapter(ITaskListResourceAdapter.class); if (adapter != null && adapter instanceof ITaskListResourceAdapter) { taskListResourceAdapter = (ITaskListResourceAdapter) adapter; } else { taskListResourceAdapter = DefaultMarkerResourceAdapter .getDefault(); }
protected void focusSelectionChanged(IWorkbenchPart part, ISelection selection) { List resources = new ArrayList(); if (part instanceof IEditorPart) { IEditorPart editor = (IEditorPart) part; IFile file = ResourceUtil.getFile(editor.getEditorInput()); if (file != null) { resources.add(file); } } else { if (selection instanceof IStructuredSelection) { for (Iterator iterator = ((IStructuredSelection) selection) .iterator(); iterator.hasNext();) { Object object = iterator.next(); if (object instanceof IAdaptable) { ITaskListResourceAdapter taskListResourceAdapter; Object adapter = ((IAdaptable) object) .getAdapter(ITaskListResourceAdapter.class); if (adapter != null && adapter instanceof ITaskListResourceAdapter) { taskListResourceAdapter = (ITaskListResourceAdapter) adapter; } else { taskListResourceAdapter = DefaultMarkerResourceAdapter .getDefault(); } IResource resource = taskListResourceAdapter .getAffectedResource((IAdaptable) object); if (resource != null) { resources.add(resource); } } } } } IResource[] focus = new IResource[resources.size()]; resources.toArray(focus); updateFocusResource(focus); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1ceb585b9b16047c6c580984b0c9962c41a22ba6/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 7155, 6233, 5033, 12, 45, 2421, 22144, 1988, 1087, 16, 5411, 467, 6233, 4421, 13, 288, 3639, 987, 2703, 273, 394, 2407, 5621, 3639, 309, 261, 2680, 1276, 467, 6946, 1988, 13, 288, 5411, 467, 6946, 1988, 4858, 273, 261, 45, 6946, 1988, 13, 1087, 31, 5411, 467, 812, 585, 273, 2591, 1304, 18, 29925, 12, 9177, 18, 588, 6946, 1210, 10663, 5411, 309, 261, 768, 480, 446, 13, 288, 7734, 2703, 18, 1289, 12, 768, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 309, 261, 10705, 1276, 467, 30733, 6233, 13, 288, 7734, 364, 261, 3198, 2775, 273, 14015, 45, 30733, 6233, 13, 4421, 13, 13491, 263, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 10792, 1033, 733, 273, 2775, 18, 4285, 5621, 10792, 309, 261, 1612, 1276, 467, 13716, 429, 13, 288, 13491, 467, 2174, 682, 1420, 4216, 1562, 682, 1420, 4216, 31, 13491, 1033, 4516, 273, 14015, 45, 13716, 429, 13, 733, 13, 27573, 263, 588, 4216, 12, 1285, 835, 682, 1420, 4216, 18, 1106, 1769, 13491, 309, 261, 10204, 480, 446, 27573, 597, 4516, 1276, 467, 2174, 682, 1420, 4216, 13, 288, 18701, 1562, 682, 1420, 4216, 273, 261, 1285, 835, 682, 1420, 4216, 13, 4516, 31, 13491, 289, 469, 288, 18701, 1562, 682, 1420, 4216, 273, 2989, 7078, 1420, 4216, 4766, 565, 263, 588, 1868, 5621, 13491, 289, 13491, 467, 1420, 1058, 273, 1562, 682, 1420, 4216, 27573, 263, 588, 23775, 1420, 12443, 45, 13716, 429, 13, 733, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 7155, 6233, 5033, 12, 45, 2421, 22144, 1988, 1087, 16, 5411, 467, 6233, 4421, 13, 288, 3639, 987, 2703, 273, 394, 2407, 5621, 3639, 309, 261, 2680, 1276, 467, 6946, 1988, 13, 288, 5411, 467, 6946, 1988, 4858, 273, 261, 45, 6946, 1988, 13, 1087, 31, 5411, 467, 812, 585, 273, 2591, 1304, 18, 29925, 12, 9177, 18, 588, 6946, 1210, 10663, 5411, 309, 261, 768, 480, 446, 13, 288, 7734, 2703, 18, 1289, 12, 768, 1769, 5411, 289, 3639, 289, 469, 288, 5411, 309, 261, 10705, 1276, 467, 30733, 6233, 13, 288, 7734, 364, 261, 3198, 2775, 273, 14015, 45, 30733, 6233, 13, 4421, 13, 13491, 263, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 2 ]
System.out.println("int (*func[15])()"); parser.parse("int (*func[15])()");
System.out.println("int (*func[15])()"); parser.parse("int (*func[15])()");
public static void main(String[] args) { GDBTypeParser parser = new GDBTypeParser(); System.out.println("struct link { int i; int j; struct link * next} *"); parser.parse("struct link { int i; int j; struct link * next} *"); System.out.println(parser.getGDBType().verbose()); System.out.println("char **argv"); parser.parse("unsigned long long int **argv"); System.out.println(parser.getGDBType().verbose()); System.out.println("int (*daytab)[13]"); parser.parse("int (*daytab)[13]"); System.out.println(parser.getGDBType().verbose()); System.out.println("int *daytab[13]"); parser.parse("int *daytab[13]"); System.out.println(parser.getGDBType().verbose()); System.out.println("void *comp()"); parser.parse("void *comp()"); System.out.println(parser.getGDBType().verbose()); System.out.println("void (*comp)()"); parser.parse("void (*comp)()"); System.out.println(parser.getGDBType().verbose()); System.out.println("int (*func[15])()"); parser.parse("int (*func[15])()"); System.out.println(parser.getGDBType().verbose()); System.out.println("char (*(*x())[])()"); parser.parse("char (*(*x())[])()"); System.out.println(parser.getGDBType().verbose()); System.out.println("char (*(*x[3])())[5]"); parser.parse("char (*(*x[3])())[5]"); System.out.println(parser.getGDBType().verbose()); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/f3a9fae6384fd8bb36474b1661bb6d0b65b38d5f/GDBTypeParser.java/buggy/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 202, 43, 2290, 559, 2678, 2082, 273, 394, 611, 2290, 559, 2678, 5621, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1697, 1692, 288, 509, 277, 31, 509, 525, 31, 1958, 1692, 380, 1024, 97, 380, 8863, 202, 202, 4288, 18, 2670, 2932, 1697, 1692, 288, 509, 277, 31, 509, 525, 31, 1958, 1692, 380, 1024, 97, 380, 8863, 202, 202, 3163, 18, 659, 18, 8222, 12, 4288, 18, 588, 43, 2290, 559, 7675, 11369, 10663, 202, 202, 3163, 18, 659, 18, 8222, 2932, 3001, 2826, 19485, 8863, 202, 202, 4288, 18, 2670, 2932, 22297, 1525, 1525, 509, 2826, 19485, 8863, 202, 202, 3163, 18, 659, 18, 8222, 12, 4288, 18, 588, 43, 2290, 559, 7675, 11369, 10663, 202, 202, 3163, 18, 659, 18, 8222, 2932, 474, 261, 14, 2881, 7032, 25146, 3437, 4279, 1769, 202, 202, 4288, 18, 2670, 2932, 474, 261, 14, 2881, 7032, 25146, 3437, 4279, 1769, 202, 202, 3163, 18, 659, 18, 8222, 12, 4288, 18, 588, 43, 2290, 559, 7675, 11369, 10663, 202, 202, 3163, 18, 659, 18, 8222, 2932, 474, 380, 2881, 7032, 63, 3437, 4279, 1769, 202, 202, 4288, 18, 2670, 2932, 474, 380, 2881, 7032, 63, 3437, 4279, 1769, 202, 202, 3163, 18, 659, 18, 8222, 12, 4288, 18, 588, 43, 2290, 559, 7675, 11369, 10663, 202, 202, 3163, 18, 659, 18, 8222, 2932, 6459, 380, 2919, 1435, 8863, 202, 202, 4288, 18, 2670, 2932, 6459, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 202, 202, 43, 2290, 559, 2678, 2082, 273, 394, 611, 2290, 559, 2678, 5621, 202, 202, 3163, 18, 659, 18, 8222, 2932, 1697, 1692, 288, 509, 277, 31, 509, 525, 31, 1958, 1692, 380, 1024, 97, 380, 8863, 202, 202, 4288, 18, 2670, 2932, 1697, 1692, 288, 509, 277, 31, 509, 525, 31, 1958, 1692, 380, 1024, 97, 380, 8863, 202, 202, 3163, 18, 659, 18, 8222, 12, 4288, 18, 588, 43, 2290, 559, 7675, 11369, 10663, 202, 202, 3163, 18, 659, 18, 8222, 2932, 3001, 2826, 19485, 8863, 202, 202, 4288, 18, 2670, 2932, 22297, 1525, 1525, 509, 2826, 19485, 8863, 202, 202, 3163, 18, 659, 2 ]
Expr own_lock = ownLock(body, units);
Expr do_not_own_lock = doNotOwnLock(body, units);
protected void genRunSolutions() { boolean is_around = tm.isAround(); SootMethod method = tm.getBodyMethod(); Body body = method.getActiveBody(); Chain units = body.getUnits(); // generate identity statements; genIdentityStmts(method, body, units); Local this_local = body.getThisLocal(); Local label_base = getLabelBase(body, units, this_local); Stmt init = newPlaceHolder(); Stmt init_end = newPlaceHolder(); Stmt loop = newPlaceHolder(); Stmt end = newPlaceHolder(); Local disjuncts = addLocal(body, "disjuncts", object_array); if (! tm.isPerThread()) { Expr own_lock = ownLock(body, units); insertIf(units, own_lock, init); // fake initialisation of disjunct array makeEmptyArray(units, disjuncts); insertGoto(units, init_end); } insertPlaceHolder(units, init); // real initialisation of disjunct array Local lab_final = getLabel(body, units, label_base, final_state, LABEL); callDisjunctsMethod(body, units, lab_final, disjuncts); assignToLabel(body, units, label_base, final_state, LABEL, NullConstant.v()); if (! tm.isPerThread()) genLockRelease(body, units, lab_final, false); insertPlaceHolder(units, init_end); // initialise loop counter Local offset = newCounter(body, units); // Marker for beginning of loop insertPlaceHolder(units, loop); if (! tm.isAround()) { // loop test Expr at_end = arrayAtEnd(body, units, disjuncts, offset); insertIf(units, at_end, end); } Local result = callRealBodyMethod(body, units, disjuncts, offset); incCounter(units, offset); if (! tm.isAround()) { insertGoto(units, loop); } insertPlaceHolder(units, end); insertReturn(units, result); }
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/2b853ee3faf9cced5db678e074860fb28309ab40/CodeGenHelper.java/buggy/aop/abc/src/abc/tm/weaving/weaver/CodeGenHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3157, 1997, 20608, 6170, 1435, 565, 288, 3639, 1250, 353, 67, 12716, 273, 6118, 18, 291, 30022, 5621, 3639, 348, 1632, 1305, 707, 273, 6118, 18, 588, 2250, 1305, 5621, 3639, 5652, 1417, 273, 707, 18, 588, 3896, 2250, 5621, 3639, 7824, 4971, 273, 1417, 18, 588, 7537, 5621, 3639, 368, 2103, 4215, 6317, 31, 3639, 3157, 4334, 8952, 87, 12, 2039, 16, 1417, 16, 4971, 1769, 3639, 3566, 333, 67, 3729, 273, 1417, 18, 588, 2503, 2042, 5621, 3639, 3566, 1433, 67, 1969, 273, 11237, 2171, 12, 3432, 16, 4971, 16, 333, 67, 3729, 1769, 3639, 13751, 1208, 273, 394, 6029, 6064, 5621, 3639, 13751, 1208, 67, 409, 273, 394, 6029, 6064, 5621, 3639, 13751, 2798, 273, 394, 6029, 6064, 5621, 3639, 13751, 679, 225, 273, 394, 6029, 6064, 5621, 3639, 3566, 1015, 78, 6931, 87, 273, 527, 2042, 12, 3432, 16, 315, 2251, 78, 6931, 87, 3113, 733, 67, 1126, 1769, 3639, 309, 16051, 6118, 18, 291, 2173, 3830, 10756, 288, 5411, 8074, 741, 67, 902, 67, 995, 67, 739, 273, 741, 1248, 5460, 2531, 12, 3432, 16, 4971, 1769, 5411, 2243, 2047, 12, 7705, 16, 4953, 67, 739, 16, 1208, 1769, 5411, 368, 10517, 2172, 10742, 434, 1015, 78, 6931, 526, 5411, 1221, 1921, 1076, 12, 7705, 16, 1015, 78, 6931, 87, 1769, 5411, 2243, 43, 6302, 12, 7705, 16, 1208, 67, 409, 1769, 3639, 289, 3639, 2243, 6029, 6064, 12, 7705, 16, 1208, 1769, 3639, 368, 2863, 2172, 10742, 434, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3157, 1997, 20608, 6170, 1435, 565, 288, 3639, 1250, 353, 67, 12716, 273, 6118, 18, 291, 30022, 5621, 3639, 348, 1632, 1305, 707, 273, 6118, 18, 588, 2250, 1305, 5621, 3639, 5652, 1417, 273, 707, 18, 588, 3896, 2250, 5621, 3639, 7824, 4971, 273, 1417, 18, 588, 7537, 5621, 3639, 368, 2103, 4215, 6317, 31, 3639, 3157, 4334, 8952, 87, 12, 2039, 16, 1417, 16, 4971, 1769, 3639, 3566, 333, 67, 3729, 273, 1417, 18, 588, 2503, 2042, 5621, 3639, 3566, 1433, 67, 1969, 273, 11237, 2171, 12, 3432, 16, 4971, 16, 333, 67, 3729, 1769, 3639, 13751, 1208, 273, 394, 6029, 6064, 5621, 3639, 13751, 1208, 67, 409, 273, 394, 6029, 6064, 5621, 3639, 13751, 2 ]
String result = rs.getString(1);
final String result = rs.getString(1);
public String getUniqueProcedureName() throws SQLException { if (serverType == SYBASE) { // Fix for bug 822544 ??? // Since Sybase does not support temporary stored procedures, construct // permenant stored procedures with a UUID as the name. // Since I do not have access to Sybase I was unable to test this... Statement stmt = connection.createStatement(); if (!stmt.execute("SELECT NEWID()")) { throw new SQLException("Confused. Was expecting a result set."); } ResultSet rs = stmt.getResultSet(); if (!rs.next()) { throw new SQLException("Couldn't get stored proc name [NEWID()]"); } String result = rs.getString(1); stmt.close(); rs.close(); // NEWID() - "86C5075D-6625-411F-B979-9972F68DC5D6" // Prepend "jTDS" and remove the dashes '-' from the UUID. Since stored // procedure names in Sybase can only be 30 characters long, remove the first // 6 (the machine address which should always be the same for the DB) and // prefix the name with "jTDS" so that the procedures can be deleted easily // by a system administrator. return "jTDS" + result.substring(6, 8) + result.substring(9, 13) + result.substring(14, 18) + result.substring(19, 23) + result.substring(24); } else { return "#jdbc#" + UniqueId.getUniqueId(); } }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/209992e94df47f36845f9a0bbe112b76e9b5c0b5/Tds.java/buggy/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 16076, 17213, 461, 1435, 1216, 6483, 288, 3639, 309, 261, 3567, 559, 422, 7068, 8369, 13, 288, 5411, 368, 12139, 364, 7934, 28024, 2947, 6334, 5317, 35, 5411, 368, 7897, 16455, 1969, 1552, 486, 2865, 6269, 4041, 450, 23382, 16, 4872, 5411, 368, 4641, 6602, 4041, 450, 23382, 598, 279, 5866, 487, 326, 508, 18, 5411, 368, 7897, 467, 741, 486, 1240, 2006, 358, 16455, 1969, 467, 1703, 13496, 358, 1842, 333, 2777, 5411, 8056, 3480, 273, 1459, 18, 2640, 3406, 5621, 5411, 309, 16051, 10589, 18, 8837, 2932, 4803, 12887, 734, 10031, 3719, 288, 7734, 604, 394, 6483, 2932, 3976, 3668, 18, 225, 28938, 17012, 279, 563, 444, 1199, 1769, 5411, 289, 5411, 10842, 3597, 273, 3480, 18, 588, 13198, 5621, 5411, 309, 16051, 5453, 18, 4285, 10756, 288, 7734, 604, 394, 6483, 2932, 16342, 1404, 336, 4041, 5418, 508, 306, 12917, 734, 1435, 4279, 1769, 5411, 289, 5411, 727, 514, 563, 273, 3597, 18, 588, 780, 12, 21, 1769, 5411, 3480, 18, 4412, 5621, 5411, 3597, 18, 4412, 5621, 5411, 368, 12887, 734, 1435, 300, 315, 5292, 39, 3361, 5877, 40, 17, 6028, 2947, 17, 24, 2499, 42, 17, 38, 29, 7235, 17, 2733, 9060, 42, 9470, 5528, 25, 40, 26, 6, 5411, 368, 28466, 315, 78, 56, 3948, 6, 471, 1206, 326, 25523, 4014, 628, 326, 5866, 18, 225, 7897, 4041, 5411, 368, 12131, 1257, 316, 16455, 1969, 848, 1338, 506, 5196, 3949, 1525, 16, 1206, 326, 1122, 5411, 368, 1666, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 16076, 17213, 461, 1435, 1216, 6483, 288, 3639, 309, 261, 3567, 559, 422, 7068, 8369, 13, 288, 5411, 368, 12139, 364, 7934, 28024, 2947, 6334, 5317, 35, 5411, 368, 7897, 16455, 1969, 1552, 486, 2865, 6269, 4041, 450, 23382, 16, 4872, 5411, 368, 4641, 6602, 4041, 450, 23382, 598, 279, 5866, 487, 326, 508, 18, 5411, 368, 7897, 467, 741, 486, 1240, 2006, 358, 16455, 1969, 467, 1703, 13496, 358, 1842, 333, 2777, 5411, 8056, 3480, 273, 1459, 18, 2640, 3406, 5621, 5411, 309, 16051, 10589, 18, 8837, 2932, 4803, 12887, 734, 10031, 3719, 288, 7734, 604, 394, 6483, 2932, 3976, 3668, 18, 225, 28938, 17012, 279, 563, 444, 1199, 1769, 5411, 289, 5411, 10842, 3597, 2 ]
fireTableDataChanged();
fireTableStructureChanged();
public void setResultId(int resultId) { logger.debug("Setting resultid to "+resultId); this.resultId = resultId; from = 0; //FIXME try { loadData(); fireTableDataChanged(); //let the table compoment know it should redraw itself } catch (DBLayerException ex) { ex.printStackTrace(); } catch (RemoteException ex) { ex.printStackTrace(); } }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/945fad335099e96dc1cc69e3ea12d31734402007/OverviewTableModel.java/buggy/trunk/src/net/sf/plantlore/client/OverviewTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21582, 548, 12, 474, 563, 548, 13, 288, 3639, 1194, 18, 4148, 2932, 5568, 563, 350, 358, 13773, 2088, 548, 1769, 3639, 333, 18, 2088, 548, 273, 563, 548, 31, 3639, 628, 273, 374, 31, 3639, 368, 25810, 3639, 775, 288, 5411, 29422, 5621, 2398, 4452, 1388, 6999, 5033, 5621, 368, 1810, 326, 1014, 1161, 7970, 5055, 518, 1410, 16540, 6174, 3639, 289, 1044, 261, 2290, 4576, 503, 431, 13, 288, 5411, 431, 18, 1188, 6332, 5621, 3639, 289, 1044, 261, 5169, 503, 431, 13, 288, 5411, 431, 18, 1188, 6332, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21582, 548, 12, 474, 563, 548, 13, 288, 3639, 1194, 18, 4148, 2932, 5568, 563, 350, 358, 13773, 2088, 548, 1769, 3639, 333, 18, 2088, 548, 273, 563, 548, 31, 3639, 628, 273, 374, 31, 3639, 368, 25810, 3639, 775, 288, 5411, 29422, 5621, 2398, 4452, 1388, 6999, 5033, 5621, 368, 1810, 326, 1014, 1161, 7970, 5055, 518, 1410, 16540, 6174, 3639, 289, 1044, 261, 2290, 4576, 503, 431, 13, 288, 5411, 431, 18, 1188, 6332, 5621, 3639, 289, 1044, 261, 5169, 503, 431, 13, 288, 5411, 431, 18, 1188, 6332, 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 ]
case 6: this.Fix = Convert.toInt(currToken); break; case 7: this.numSat = Convert.toInt(currToken); break; case 8: try {this.HDOP = Common.parseDouble(currToken); } catch (NumberFormatException e) {} break; case 9: try {this.Alt = Common.parseDouble(currToken); } catch (NumberFormatException e) {} break;
case 6: this.Fix = Convert.toInt(currToken); interpreted = true; break; case 7: this.numSat = Convert.toInt(currToken); interpreted = true; break; case 8: try {this.HDOP = Common.parseDouble(currToken); interpreted = true; } catch (NumberFormatException e) {} break; case 9: try {this.Alt = Common.parseDouble(currToken); interpreted = true; } catch (NumberFormatException e) {} break;
public void examine(String NMEA){ int i, start, end; String latDeg="0", latMin="0", latNS="N"; String lonDeg="0", lonMin="0", lonEW="E"; String currToken; end = 0; //Vm.debug(NMEA); if (writeLog && (logFlag & LOGRAW) > 0){ try { logFile.write(NMEA); writeLog = false; } catch (IOException e) {} } while(true){ start = NMEA.indexOf("$GP", end); if (start == -1) return; end = NMEA.indexOf("*", start); if ((end == -1)||(end+3 >= NMEA.length())) return; //Vm.debug(NMEA.substring(start,end+3)); if ((end - start) < 15 || !checkSumOK(NMEA.substring(start,end+3))){ //Vm.debug("checksum wrong"); continue; } Extractor ex = new Extractor ("," + NMEA.substring(start,end), ",",",",0,true); currToken = ex.findNext(); if (currToken.equals("$GPGGA")){ //Vm.debug("In $GPGGA"); i = 0; while(ex.endOfSearch() != true){ currToken = ex.findNext(); i++; if (currToken.length()==0) continue; // sometimes there are 2 colons directly one after the other like ",," (e.g. loox) switch (i){ case 1: this.Time = currToken; break; case 2: try {latDeg = currToken.substring(0,2); } catch (IndexOutOfBoundsException e) {} try {latMin = currToken.substring(2,currToken.length()); } catch (IndexOutOfBoundsException e) {} break; case 3: latNS = currToken; break; case 4: try {lonDeg = currToken.substring(0,3); } catch (IndexOutOfBoundsException e) {} try {lonMin = currToken.substring(3,currToken.length()); } catch (IndexOutOfBoundsException e) {} break; case 5: lonEW = currToken; break; case 6: this.Fix = Convert.toInt(currToken); break; case 7: this.numSat = Convert.toInt(currToken); break; case 8: try {this.HDOP = Common.parseDouble(currToken); } catch (NumberFormatException e) {} break; case 9: try {this.Alt = Common.parseDouble(currToken); } catch (NumberFormatException e) {} break; } // switch } // while this.set(latNS, latDeg, latMin, "0", lonEW, lonDeg, lonMin, "0", CWPoint.DMM); } // if if (currToken.equals("$GPVTG")){ i = 0; while(ex.endOfSearch() != true){ currToken = ex.findNext(); i++; if (currToken.length()==0) continue; switch (i){ case 1: try { this.Bear =Common.parseDouble(currToken); } catch (NumberFormatException e) {} if (this.Bear > 360) Vm.debug("Error bear VTG"); break; case 7: try { this.Speed = Common.parseDouble(currToken); } catch (NumberFormatException e) {} break; } // switch } // while } // if if (currToken.equals("$GPRMC")){ //Vm.debug("In $GPRMC"); i = 0; String status = "V"; while(ex.endOfSearch() != true){ currToken = ex.findNext(); i++; if (currToken.length()==0) continue; //Vm.debug("zz: " + i); //Vm.debug(currToken); switch (i){ case 1: this.Time = currToken; break; case 2: status = currToken; if (status.equals("A")) this.Fix = 1; else this.Fix = 0; break; case 3: //Vm.debug("Here--->"); try {latDeg = currToken.substring(0,2); } catch (IndexOutOfBoundsException e) {} //Vm.debug(":" + latDeg); try {latMin = currToken.substring(2,currToken.length()); } catch (IndexOutOfBoundsException e) {} //Vm.debug(":" + latMin); break; case 4: latNS = currToken; break; case 5: try {lonDeg = currToken.substring(0,3); } catch (IndexOutOfBoundsException e) {} try {lonMin = currToken.substring(3,currToken.length()); } catch (IndexOutOfBoundsException e) {} break; case 6: lonEW = currToken; break; case 7: if (status.equals("A")){ this.Speed = Common.parseDouble(currToken)*1.854; } break; case 8: if (status.equals("A") && currToken.length()> 0){ this.Bear = Common.parseDouble(currToken); } break; case 9: if (status.equals("A") && currToken.length()> 0){ this.Date = currToken; } break; } // switch } // while if (status.equals("A")){ this.set(latNS, latDeg, latMin, "0", lonEW, lonDeg, lonMin, "0", CWPoint.DMM); } } // if //Vm.debug("End of examine"); } //while }
57191 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57191/14fba987d6890fd79fcd1f78d05d249ab1912b10/CWGPSPoint.java/buggy/trunk/src/CacheWolf/CWGPSPoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19707, 558, 12, 780, 423, 958, 37, 15329, 202, 202, 474, 277, 16, 787, 16, 679, 31, 202, 202, 780, 2516, 13283, 1546, 20, 3113, 2516, 2930, 1546, 20, 3113, 2516, 3156, 1546, 50, 14432, 3196, 202, 780, 4281, 13283, 1546, 20, 3113, 4281, 2930, 1546, 20, 3113, 4281, 7245, 1546, 41, 14432, 202, 202, 780, 4306, 1345, 31, 202, 202, 409, 273, 374, 31, 202, 202, 759, 22143, 18, 4148, 12, 50, 958, 37, 1769, 202, 202, 430, 261, 2626, 1343, 597, 261, 1330, 4678, 473, 2018, 10821, 13, 405, 374, 15329, 1082, 202, 698, 288, 9506, 202, 1330, 812, 18, 2626, 12, 50, 958, 37, 1769, 9506, 202, 2626, 1343, 273, 629, 31, 1082, 202, 97, 1044, 261, 14106, 425, 13, 2618, 202, 202, 97, 202, 202, 17523, 12, 3767, 15329, 1082, 202, 1937, 273, 423, 958, 37, 18, 31806, 2932, 8, 9681, 3113, 679, 1769, 26924, 202, 430, 261, 1937, 422, 300, 21, 13, 327, 31, 26924, 202, 409, 273, 423, 958, 37, 18, 31806, 2932, 14, 3113, 787, 1769, 26924, 202, 430, 14015, 409, 422, 300, 21, 14047, 96, 12, 409, 15, 23, 1545, 423, 958, 37, 18, 2469, 1435, 3719, 327, 31, 282, 25083, 202, 759, 22143, 18, 4148, 12, 50, 958, 37, 18, 28023, 12, 1937, 16, 409, 15, 23, 10019, 1082, 202, 430, 14015, 409, 300, 787, 13, 411, 4711, 747, 401, 1893, 3495, 3141, 12, 50, 958, 37, 18, 28023, 12, 1937, 16, 409, 15, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19707, 558, 12, 780, 423, 958, 37, 15329, 202, 202, 474, 277, 16, 787, 16, 679, 31, 202, 202, 780, 2516, 13283, 1546, 20, 3113, 2516, 2930, 1546, 20, 3113, 2516, 3156, 1546, 50, 14432, 3196, 202, 780, 4281, 13283, 1546, 20, 3113, 4281, 2930, 1546, 20, 3113, 4281, 7245, 1546, 41, 14432, 202, 202, 780, 4306, 1345, 31, 202, 202, 409, 273, 374, 31, 202, 202, 759, 22143, 18, 4148, 12, 50, 958, 37, 1769, 202, 202, 430, 261, 2626, 1343, 597, 261, 1330, 4678, 473, 2018, 10821, 13, 405, 374, 15329, 1082, 202, 698, 288, 9506, 202, 1330, 812, 18, 2626, 12, 50, 958, 37, 1769, 9506, 202, 2626, 1343, 273, 629, 31, 2 ]
return Integer.parseInt( DesignerConstants.fontSizes[i - 1][1] );
return Integer .parseInt( DesignerConstants.fontSizes[i - 1][1] );
private static int getSmallerFontSizeIntValue( DesignElementHandle handle ) { if ( !( handle instanceof ReportItemHandle ) ) { if ( handle instanceof ModuleHandle ) { // return 10. String size = (String) DesignerConstants.fontMap.get( DesignChoiceConstants.FONT_SIZE_MEDIUM ); return Integer.parseInt( size ) - 1; } if ( handle instanceof GroupHandle ) { handle = handle.getContainer( ); } } Object fontSizeValue = getModelFontSize( handle ); if ( fontSizeValue instanceof DimensionValue ) { int gParentFontSize = getFontSizeIntValue( handle.getContainer( ) ); int size = (int) CSSUtil.convertToPoint( fontSizeValue, gParentFontSize ) - 1; if ( size < 1 ) { return 1; } return size; } else if ( fontSizeValue instanceof String ) { String fontSize = (String) fontSizeValue; if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_LARGER ) ) { return getLargerFontSizeIntValue( handle.getContainer( ) ); } else if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_SMALLER ) ) { return getSmallerFontSizeIntValue( handle.getContainer( ) ); } else { for ( int i = DesignerConstants.fontSizes.length - 1; i > 0; i-- ) { if ( fontSize.equals( DesignerConstants.fontSizes[i][0] ) ) { return Integer.parseInt( DesignerConstants.fontSizes[i - 1][1] ); } } return Integer.parseInt( DesignerConstants.fontSizes[0][1] ); } } else { // return 10 -1. String size = (String) DesignerConstants.fontMap.get( DesignChoiceConstants.FONT_SIZE_MEDIUM ); return Integer.parseInt( size ) - 1; } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e2cfefeda592f2030e7f1600e05d1ce18b6d2faf/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, 1152, 760, 509, 1322, 81, 454, 264, 22688, 1702, 620, 12, 29703, 1046, 3259, 1640, 262, 202, 95, 202, 202, 430, 261, 401, 12, 1640, 1276, 8706, 1180, 3259, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 1640, 1276, 5924, 3259, 262, 1082, 202, 95, 9506, 202, 759, 327, 1728, 18, 9506, 202, 780, 963, 273, 261, 780, 13, 29703, 264, 2918, 18, 5776, 863, 18, 588, 12, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 11272, 9506, 202, 2463, 2144, 18, 2670, 1702, 12, 963, 262, 300, 404, 31, 1082, 202, 97, 1082, 202, 430, 261, 1640, 1276, 3756, 3259, 262, 1082, 202, 95, 9506, 202, 4110, 273, 1640, 18, 588, 2170, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 921, 16746, 620, 273, 7454, 22688, 12, 1640, 11272, 202, 202, 430, 261, 16746, 620, 1276, 13037, 620, 262, 202, 202, 95, 1082, 202, 474, 314, 3054, 22688, 273, 18776, 1225, 1702, 620, 12, 1640, 18, 588, 2170, 12, 262, 11272, 1082, 202, 474, 963, 273, 261, 474, 13, 6765, 1304, 18, 6283, 774, 2148, 12, 16746, 620, 16, 6862, 202, 75, 3054, 22688, 262, 300, 404, 31, 1082, 202, 430, 261, 963, 411, 404, 262, 1082, 202, 95, 9506, 202, 2463, 404, 31, 1082, 202, 97, 1082, 202, 2463, 963, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 16746, 620, 1276, 514, 262, 202, 202, 95, 1082, 202, 780, 16746, 273, 261, 780, 13, 16746, 620, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 1322, 81, 454, 264, 22688, 1702, 620, 12, 29703, 1046, 3259, 1640, 262, 202, 95, 202, 202, 430, 261, 401, 12, 1640, 1276, 8706, 1180, 3259, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 1640, 1276, 5924, 3259, 262, 1082, 202, 95, 9506, 202, 759, 327, 1728, 18, 9506, 202, 780, 963, 273, 261, 780, 13, 29703, 264, 2918, 18, 5776, 863, 18, 588, 12, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 11272, 9506, 202, 2463, 2144, 18, 2670, 1702, 12, 963, 262, 300, 404, 31, 1082, 202, 97, 1082, 202, 430, 261, 1640, 1276, 3756, 3259, 262, 1082, 202, 95, 9506, 202, 4110, 273, 1640, 18, 588, 2170, 12, 2 ]
public boolean isDoubleEscapeSequence() { return false; }
public boolean isDoubleEscapeSequence() { return false; }
public boolean isDoubleEscapeSequence() { return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e325016b29b8dde8e3ba0908ae34d55edb22c64f/Gap.java/clean/drjava/src/edu/rice/cs/drjava/Gap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 5265, 8448, 4021, 1435, 202, 202, 95, 1082, 202, 2463, 629, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 5265, 8448, 4021, 1435, 202, 202, 95, 1082, 202, 2463, 629, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
switch (alt60) {
switch (alt61) {
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token bvc=null; Token con=null; String op = null; String lc = null; String rvc = null; PatternDescr d = null; try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:872:17: ( opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= operator opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) (con= ('&'|'|')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )* )? opt_eol ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:872:17: opt_eol (fb= ID opt_eol ':' opt_eol )? f= ID opt_eol (op= operator opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) (con= ('&'|'|')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )* )? opt_eol { following.push(FOLLOW_opt_eol_in_constraint2220); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:873:17: (fb= ID opt_eol ':' opt_eol )? int alt56=2; alt56 = dfa56.predict(input); switch (alt56) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:873:19: fb= ID opt_eol ':' opt_eol { fb=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint2228); following.push(FOLLOW_opt_eol_in_constraint2230); opt_eol(); following.pop(); match(input,33,FOLLOW_33_in_constraint2232); following.push(FOLLOW_opt_eol_in_constraint2234); opt_eol(); following.pop(); } break; } f=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint2244); if ( fb != null ) { //System.err.println( "fb: " + fb.getText() ); //System.err.println( " f: " + f.getText() ); d = new FieldBindingDescr( f.getText(), fb.getText() ); //System.err.println( "fbd: " + d ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } FieldConstraintDescr fc = new FieldConstraintDescr(f.getText()); fc.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); following.push(FOLLOW_opt_eol_in_constraint2258); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:891:33: (op= operator opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) (con= ('&'|'|')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )* )? int alt60=2; int LA60_0 = input.LA(1); if ( (LA60_0>=57 && LA60_0<=66) ) { alt60=1; } else if ( LA60_0==EOL||LA60_0==15||(LA60_0>=24 && LA60_0<=25) ) { alt60=2; } else { NoViableAltException nvae = new NoViableAltException("891:33: (op= operator opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) (con= (\'&\'|\'|\')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )* )?", 60, 0, input); throw nvae; } switch (alt60) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:891:41: op= operator opt_eol (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) (con= ('&'|'|')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )* { following.push(FOLLOW_operator_in_constraint2264); op=operator(); following.pop(); following.push(FOLLOW_opt_eol_in_constraint2266); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:893:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) int alt57=4; switch ( input.LA(1) ) { case ID: int LA57_1 = input.LA(2); if ( LA57_1==18 ) { alt57=2; } else if ( LA57_1==EOL||LA57_1==15||(LA57_1>=24 && LA57_1<=25)||(LA57_1>=46 && LA57_1<=47) ) { alt57=1; } else { NoViableAltException nvae = new NoViableAltException("893:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 57, 1, input); throw nvae; } break; case INT: case BOOL: case STRING: case FLOAT: case 43: alt57=3; break; case 23: alt57=4; break; default: NoViableAltException nvae = new NoViableAltException("893:41: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 57, 0, input); throw nvae; } switch (alt57) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:893:49: bvc= ID { bvc=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint2284); VariableRestrictionDescr vd = new VariableRestrictionDescr(op, bvc.getText()); fc.addRestriction(vd); constraints.add(fc); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:904:49: lc= enum_constraint { following.push(FOLLOW_enum_constraint_in_constraint2309); lc=enum_constraint(); following.pop(); LiteralRestrictionDescr lrd = new LiteralRestrictionDescr(op, lc, true); fc.addRestriction(lrd); constraints.add(fc); } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:913:49: lc= literal_constraint { following.push(FOLLOW_literal_constraint_in_constraint2341); lc=literal_constraint(); following.pop(); LiteralRestrictionDescr lrd = new LiteralRestrictionDescr(op, lc); fc.addRestriction(lrd); constraints.add(fc); } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:921:49: rvc= retval_constraint { following.push(FOLLOW_retval_constraint_in_constraint2361); rvc=retval_constraint(); following.pop(); ReturnValueRestrictionDescr rvd = new ReturnValueRestrictionDescr(op, rvc); fc.addRestriction(rvd); constraints.add(fc); } break; } // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:932:41: (con= ('&'|'|')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) )* loop59: do { int alt59=2; int LA59_0 = input.LA(1); if ( (LA59_0>=46 && LA59_0<=47) ) { alt59=1; } switch (alt59) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:933:49: con= ('&'|'|')op= operator (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) { con=(Token)input.LT(1); if ( (input.LA(1)>=46 && input.LA(1)<=47) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_constraint2396); throw mse; } if (con.getText().equals("&") ) { fc.addRestriction(new RestrictionConnectiveDescr(RestrictionConnectiveDescr.AND)); } else { fc.addRestriction(new RestrictionConnectiveDescr(RestrictionConnectiveDescr.OR)); } following.push(FOLLOW_operator_in_constraint2418); op=operator(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:943:49: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint ) int alt58=4; switch ( input.LA(1) ) { case ID: int LA58_1 = input.LA(2); if ( LA58_1==18 ) { alt58=2; } else if ( LA58_1==EOL||LA58_1==15||(LA58_1>=24 && LA58_1<=25)||(LA58_1>=46 && LA58_1<=47) ) { alt58=1; } else { NoViableAltException nvae = new NoViableAltException("943:49: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 58, 1, input); throw nvae; } break; case INT: case BOOL: case STRING: case FLOAT: case 43: alt58=3; break; case 23: alt58=4; break; default: NoViableAltException nvae = new NoViableAltException("943:49: (bvc= ID | lc= enum_constraint | lc= literal_constraint | rvc= retval_constraint )", 58, 0, input); throw nvae; } switch (alt58) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:943:57: bvc= ID { bvc=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint2430); VariableRestrictionDescr vd = new VariableRestrictionDescr(op, bvc.getText()); fc.addRestriction(vd); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:949:57: lc= enum_constraint { following.push(FOLLOW_enum_constraint_in_constraint2458); lc=enum_constraint(); following.pop(); LiteralRestrictionDescr lrd = new LiteralRestrictionDescr(op, lc, true); fc.addRestriction(lrd); } break; case 3 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:956:57: lc= literal_constraint { following.push(FOLLOW_literal_constraint_in_constraint2493); lc=literal_constraint(); following.pop(); LiteralRestrictionDescr lrd = new LiteralRestrictionDescr(op, lc); fc.addRestriction(lrd); } break; case 4 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:962:57: rvc= retval_constraint { following.push(FOLLOW_retval_constraint_in_constraint2515); rvc=retval_constraint(); following.pop(); ReturnValueRestrictionDescr rvd = new ReturnValueRestrictionDescr(op, rvc); fc.addRestriction(rvd); } break; } } break; default : break loop59; } } while (true); } break; } following.push(FOLLOW_opt_eol_in_constraint2571); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/8c3be0baa8712893e2dea6fbb679cbb7e80de372/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 3155, 356, 33, 2011, 31, 3639, 514, 1061, 273, 446, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 540, 202, 202, 3234, 16198, 302, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 28, 9060, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 1599, 2153, 67, 30951, 3921, 2153, 67, 30951, 7851, 284, 33, 1599, 2153, 67, 30951, 261, 556, 33, 3726, 2153, 67, 30951, 261, 70, 4227, 33, 1599, 571, 9109, 33, 2792, 67, 13364, 571, 9109, 33, 7158, 67, 13364, 571, 436, 4227, 33, 5221, 67, 13364, 262, 261, 591, 33, 7707, 26045, 16637, 96, 6134, 556, 33, 3726, 261, 70, 4227, 33, 1599, 571, 9109, 33, 2792, 67, 13364, 571, 9109, 33, 7158, 67, 13364, 571, 436, 4227, 33, 5221, 67, 13364, 262, 8618, 7851, 2153, 67, 30951, 262, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 28, 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, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 324, 4227, 33, 2011, 31, 3639, 3155, 356, 33, 2011, 31, 3639, 514, 1061, 273, 446, 31, 3639, 514, 9109, 273, 446, 31, 3639, 514, 436, 4227, 273, 446, 31, 540, 202, 202, 3234, 16198, 302, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 28, 9060, 30, 4033, 30, 261, 2153, 67, 30951, 261, 19192, 33, 2 ]
for ( DesignElementHandle elementHandle = baseElement; elementHandle.getContainer( ) != null; elementHandle = getBindingHolder( elementHandle ).getContainer( ), level++ )
for ( DesignElementHandle elementHandle = baseElement; elementHandle .getContainer( ) != null; elementHandle = getBindingHolder( elementHandle ).getContainer( ), level++ )
public static int getBindingLevel( DesignElementHandle holder, DesignElementHandle baseElement ) { int level = 0; for ( DesignElementHandle elementHandle = baseElement; elementHandle.getContainer( ) != null; elementHandle = getBindingHolder( elementHandle ).getContainer( ), level++ ) { DesignElementHandle bindingHolder = getBindingHolder( elementHandle ); if ( bindingHolder == holder ) { return level; } if ( holder instanceof GroupHandle && bindingHolder == holder.getContainer( ) ) { return level; } } return -1; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/ca4edaffeaa16cb189cd6d5fe0b1d125ff3cca1a/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, 509, 29471, 2355, 12, 29703, 1046, 3259, 10438, 16, 1082, 202, 15478, 1046, 3259, 1026, 1046, 262, 202, 95, 202, 202, 474, 1801, 273, 374, 31, 202, 202, 1884, 261, 29703, 1046, 3259, 930, 3259, 273, 1026, 1046, 31, 930, 3259, 18, 588, 2170, 12, 262, 480, 446, 31, 930, 3259, 273, 29471, 6064, 12, 930, 3259, 262, 18, 588, 2170, 12, 262, 16, 1801, 9904, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 5085, 6064, 273, 29471, 6064, 12, 930, 3259, 11272, 1082, 202, 430, 261, 5085, 6064, 422, 10438, 262, 1082, 202, 95, 9506, 202, 2463, 1801, 31, 1082, 202, 97, 1082, 202, 430, 261, 10438, 1276, 3756, 3259, 6862, 202, 10, 10, 5085, 6064, 422, 10438, 18, 588, 2170, 12, 262, 262, 1082, 202, 95, 9506, 202, 2463, 1801, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 300, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 29471, 2355, 12, 29703, 1046, 3259, 10438, 16, 1082, 202, 15478, 1046, 3259, 1026, 1046, 262, 202, 95, 202, 202, 474, 1801, 273, 374, 31, 202, 202, 1884, 261, 29703, 1046, 3259, 930, 3259, 273, 1026, 1046, 31, 930, 3259, 18, 588, 2170, 12, 262, 480, 446, 31, 930, 3259, 273, 29471, 6064, 12, 930, 3259, 262, 18, 588, 2170, 12, 262, 16, 1801, 9904, 262, 202, 202, 95, 1082, 202, 15478, 1046, 3259, 5085, 6064, 273, 29471, 6064, 12, 930, 3259, 11272, 1082, 202, 430, 261, 5085, 6064, 422, 10438, 262, 1082, 202, 95, 9506, 202, 2463, 1801, 31, 1082, 202, 97, 1082, 202, 430, 261, 10438, 1276, 3756, 3259, 6862, 202, 10, 2 ]
db.desk.getDesktopManager().deiconifyFrame(w);
debugGui.desk.getDesktopManager().deiconifyFrame(w);
public void run() { JTextArea ta = w.textArea; try { if (line == -1) { w.setPosition(-1); if (db.currentWindow == w) { db.currentWindow = null; } } else { int loc = ta.getLineStartOffset(line-1); if (db.currentWindow != null && db.currentWindow != w) { db.currentWindow.setPosition(-1); } w.setPosition(loc); db.currentWindow = w; } } catch (BadLocationException exc) { // fix me } if (activate) { if (w.isIcon()) { db.desk.getDesktopManager().deiconifyFrame(w); } db.desk.getDesktopManager().activateFrame(w); try { w.show(); w.toFront(); // required for correct frame layering (JDK 1.4.1) w.setSelected(true); } catch (Exception exc) { } } }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/5655ee268837ed14ebcc1a8cefdd8319a5d667a7/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 804, 1528, 5484, 13561, 273, 341, 18, 955, 5484, 31, 3639, 775, 288, 5411, 309, 261, 1369, 422, 300, 21, 13, 288, 7734, 341, 18, 542, 2555, 19236, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 422, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 273, 446, 31, 7734, 289, 5411, 289, 469, 288, 7734, 509, 1515, 273, 13561, 18, 588, 1670, 1685, 2335, 12, 1369, 17, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 480, 446, 597, 1319, 18, 2972, 3829, 480, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 18, 542, 2555, 19236, 21, 1769, 7734, 289, 7734, 341, 18, 542, 2555, 12, 1829, 1769, 7734, 1319, 18, 2972, 3829, 273, 341, 31, 5411, 289, 3639, 289, 1044, 261, 6434, 2735, 503, 3533, 13, 288, 5411, 368, 2917, 1791, 3639, 289, 3639, 309, 261, 10014, 13, 288, 5411, 309, 261, 91, 18, 291, 5554, 10756, 288, 7734, 1198, 18070, 18, 5489, 79, 18, 588, 27583, 1318, 7675, 323, 3950, 1164, 3219, 12, 91, 1769, 5411, 289, 5411, 1319, 18, 5489, 79, 18, 588, 27583, 1318, 7675, 10014, 3219, 12, 91, 1769, 5411, 775, 288, 7734, 341, 18, 4500, 5621, 7734, 341, 18, 869, 9580, 5621, 225, 368, 1931, 364, 3434, 2623, 3018, 310, 261, 46, 3398, 404, 18, 24, 18, 21, 13, 7734, 341, 18, 542, 7416, 12, 3767, 1769, 5411, 289, 1044, 261, 503, 3533, 13, 288, 5411, 289, 3639, 289, 565, 289, 2, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 804, 1528, 5484, 13561, 273, 341, 18, 955, 5484, 31, 3639, 775, 288, 5411, 309, 261, 1369, 422, 300, 21, 13, 288, 7734, 341, 18, 542, 2555, 19236, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 422, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 273, 446, 31, 7734, 289, 5411, 289, 469, 288, 7734, 509, 1515, 273, 13561, 18, 588, 1670, 1685, 2335, 12, 1369, 17, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 480, 446, 597, 1319, 18, 2972, 3829, 480, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 18, 542, 2555, 19236, 21, 1769, 7734, 289, 7734, 341, 18, 542, 2555, 12, 1829, 1769, 7734, 1319, 18, 2 ]
TestUtil.createTable(con, "testtimestamp2",
TestUtil.createTable(con, "testtimezone",
protected void setUp() throws Exception { // We must change the default TZ before establishing the connection. saveTZ = TimeZone.getDefault(); TimeZone.setDefault(TimeZone.getTimeZone("GMT+01")); // Arbitary timezone that doesn't match our test timezones con = TestUtil.openDB(); TestUtil.createTable(con, "testtimestamp2", "seq int4, tstz timestamp with time zone, ts timestamp without time zone, t time without time zone, tz time with time zone, d date"); // This is not obvious, but the "gmt-3" timezone is actually 3 hours *ahead* of GMT // so will produce +03 timestamptz output con.createStatement().executeUpdate("set timezone = 'gmt-3'"); min73 = TestUtil.haveMinimumServerVersion(con, "7.3"); min74 = TestUtil.haveMinimumServerVersion(con, "7.4"); //System.err.println("++++++ TESTS START (" + getName() + ") ++++++"); }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/7c370a035da8d0a42c54708b82cfd548a200ffe0/TimezoneTest.java/buggy/org/postgresql/test/jdbc2/TimezoneTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 565, 288, 3639, 368, 1660, 1297, 2549, 326, 805, 399, 62, 1865, 18312, 310, 326, 1459, 18, 3639, 1923, 21647, 273, 16491, 18, 588, 1868, 5621, 3639, 16491, 18, 542, 1868, 12, 16760, 18, 588, 16760, 2932, 25315, 15, 1611, 7923, 1769, 368, 1201, 3682, 814, 6371, 716, 3302, 1404, 845, 3134, 1842, 25954, 3639, 356, 273, 7766, 1304, 18, 3190, 2290, 5621, 3639, 7766, 1304, 18, 2640, 1388, 12, 591, 16, 315, 3813, 12690, 3113, 11794, 315, 5436, 509, 24, 16, 268, 334, 94, 2858, 598, 813, 4157, 16, 3742, 2858, 2887, 813, 4157, 16, 268, 813, 2887, 813, 4157, 16, 6016, 813, 598, 813, 4157, 16, 302, 1509, 8863, 7734, 368, 1220, 353, 486, 28067, 16, 1496, 326, 315, 7714, 17, 23, 6, 6371, 353, 6013, 890, 7507, 380, 11617, 14, 434, 21706, 3639, 368, 1427, 903, 11402, 397, 4630, 17145, 301, 337, 94, 876, 3639, 356, 18, 2640, 3406, 7675, 8837, 1891, 2932, 542, 6371, 273, 296, 7714, 17, 23, 4970, 1769, 7734, 1131, 9036, 273, 7766, 1304, 18, 21516, 13042, 2081, 1444, 12, 591, 16, 315, 27, 18, 23, 8863, 3639, 1131, 5608, 273, 7766, 1304, 18, 21516, 13042, 2081, 1444, 12, 591, 16, 315, 27, 18, 24, 8863, 7734, 368, 3163, 18, 370, 18, 8222, 2932, 20934, 9904, 22130, 55, 10485, 7566, 397, 1723, 1435, 397, 9369, 965, 20934, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 565, 288, 3639, 368, 1660, 1297, 2549, 326, 805, 399, 62, 1865, 18312, 310, 326, 1459, 18, 3639, 1923, 21647, 273, 16491, 18, 588, 1868, 5621, 3639, 16491, 18, 542, 1868, 12, 16760, 18, 588, 16760, 2932, 25315, 15, 1611, 7923, 1769, 368, 1201, 3682, 814, 6371, 716, 3302, 1404, 845, 3134, 1842, 25954, 3639, 356, 273, 7766, 1304, 18, 3190, 2290, 5621, 3639, 7766, 1304, 18, 2640, 1388, 12, 591, 16, 315, 3813, 12690, 3113, 11794, 315, 5436, 509, 24, 16, 268, 334, 94, 2858, 598, 813, 4157, 16, 3742, 2858, 2887, 813, 4157, 16, 268, 813, 2887, 813, 4157, 16, 6016, 813, 598, 813, 4157, 16, 302, 1509, 8863, 7734, 2 ]
public static Border createLoweredBevelBorder ()
public static Border createLoweredBevelBorder()
public static Border createLoweredBevelBorder () { return new BevelBorder (BevelBorder.LOWERED); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/159638d634951eb718c5e3a0917ef516d5a44797/BorderFactory.java/buggy/core/src/classpath/javax/javax/swing/BorderFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 13525, 752, 4070, 329, 1919, 941, 8107, 1435, 225, 288, 565, 327, 394, 4823, 941, 8107, 261, 1919, 941, 8107, 18, 23085, 2056, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 13525, 752, 4070, 329, 1919, 941, 8107, 1435, 225, 288, 565, 327, 394, 4823, 941, 8107, 261, 1919, 941, 8107, 18, 23085, 2056, 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 ]
if (!rom.loadRom()) return;
if (!rom.loadRom()) return;
private void loadRom(File loc) { if (loc == null) { if (!rom.loadRom()) return; } else if (!rom.loadRom(loc)) return; //make sure spt names are read for other resets //SpriteEditor.initSptNames(rom.getPath()); resetModules(); mainWindow.setTitle(MainGUI.getDescription() + " " + MainGUI.getVersion() + " - " + rom.getPath()); addRecentLoad(rom.getPath()); refreshRecentLoads(); doBackup(); }
3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/418f9a1343a903d5280148d7e94a9e3e7e05db50/MainGUI.java/clean/src/net/starmen/pkhack/MainGUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 54, 362, 12, 812, 1515, 13, 565, 288, 3639, 309, 261, 1829, 422, 446, 13, 3639, 288, 5411, 309, 16051, 520, 18, 945, 54, 362, 10756, 327, 31, 3639, 289, 3639, 469, 309, 16051, 520, 18, 945, 54, 362, 12, 1829, 3719, 327, 31, 3639, 368, 6540, 3071, 272, 337, 1257, 854, 855, 364, 1308, 20063, 3639, 368, 3389, 796, 6946, 18, 2738, 55, 337, 1557, 12, 520, 18, 588, 743, 10663, 3639, 2715, 7782, 5621, 3639, 2774, 3829, 18, 542, 4247, 12, 6376, 43, 5370, 18, 588, 3291, 1435, 397, 315, 315, 5411, 397, 12740, 43, 5370, 18, 588, 1444, 1435, 397, 315, 300, 315, 397, 24137, 18, 588, 743, 10663, 3639, 527, 17076, 2563, 12, 520, 18, 588, 743, 10663, 3639, 4460, 17076, 7968, 5621, 3639, 741, 6248, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1262, 54, 362, 12, 812, 1515, 13, 565, 288, 3639, 309, 261, 1829, 422, 446, 13, 3639, 288, 5411, 309, 16051, 520, 18, 945, 54, 362, 10756, 327, 31, 3639, 289, 3639, 469, 309, 16051, 520, 18, 945, 54, 362, 12, 1829, 3719, 327, 31, 3639, 368, 6540, 3071, 272, 337, 1257, 854, 855, 364, 1308, 20063, 3639, 368, 3389, 796, 6946, 18, 2738, 55, 337, 1557, 12, 520, 18, 588, 743, 10663, 3639, 2715, 7782, 5621, 3639, 2774, 3829, 18, 542, 4247, 12, 6376, 43, 5370, 18, 588, 3291, 1435, 397, 315, 315, 5411, 397, 12740, 43, 5370, 18, 588, 1444, 1435, 397, 315, 300, 315, 397, 24137, 18, 588, 743, 10663, 3639, 527, 17076, 2 ]
this.taint = taint; }
this.taint = taint; }
public void setTaint(boolean taint) { this.taint = taint; }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/clean/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 29048, 12, 6494, 22664, 13, 288, 202, 202, 2211, 18, 88, 1598, 273, 22664, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 29048, 12, 6494, 22664, 13, 288, 202, 202, 2211, 18, 88, 1598, 273, 22664, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.numMapTasks = jd.getNumMapTasks(); this.numReduceTasks = jd.getNumReduceTasks();
this.numMapTasks = conf.getNumMapTasks(); this.numReduceTasks = conf.getNumReduceTasks();
public JobInProgress(String jobFile, JobTracker jobtracker, Configuration conf) throws IOException { String jobid = "job_" + jobtracker.createUniqueId(); String url = "http://" + jobtracker.getJobTrackerMachine() + ":" + jobtracker.getInfoPort() + "/jobdetails.jsp?jobid=" + jobid; this.conf = conf; this.jobtracker = jobtracker; this.profile = new JobProfile(jobid, jobFile, url); this.status = new JobStatus(jobid, 0.0f, 0.0f, JobStatus.PREP); this.startTime = System.currentTimeMillis(); this.localJobFile = new JobConf(conf).getLocalFile(JobTracker.SUBDIR, jobid + ".xml"); this.localJarFile = new JobConf(conf).getLocalFile(JobTracker.SUBDIR, jobid + ".jar"); FileSystem fs = FileSystem.get(conf); fs.copyToLocalFile(new File(jobFile), localJobFile); JobConf jd = new JobConf(localJobFile); String jarFile = jd.getJar(); if (jarFile != null) { fs.copyToLocalFile(new File(jarFile), localJarFile); jd.setJar(localJarFile.getCanonicalPath()); } this.numMapTasks = jd.getNumMapTasks(); this.numReduceTasks = jd.getNumReduceTasks(); // // If a jobFile is in the systemDir, we can delete it (and // its JAR) upon completion // File systemDir = jd.getSystemDir(); if (jobFile.startsWith(systemDir.getPath())) { this.deleteUponCompletion = jobFile; } }
49248 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49248/92bb9906eb1d7dd678549d685d85b5fc4d47590d/JobInProgress.java/clean/src/java/org/apache/hadoop/mapred/JobInProgress.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3956, 13434, 12, 780, 1719, 812, 16, 3956, 8135, 1719, 16543, 16, 4659, 2195, 13, 1216, 1860, 288, 3639, 514, 1719, 350, 273, 315, 4688, 9548, 397, 1719, 16543, 18, 2640, 24174, 5621, 3639, 514, 880, 273, 315, 2505, 14334, 397, 1719, 16543, 18, 588, 2278, 8135, 6981, 1435, 397, 6153, 397, 1719, 16543, 18, 588, 966, 2617, 1435, 397, 2206, 4688, 6395, 18, 24926, 35, 4688, 350, 1546, 397, 1719, 350, 31, 3639, 333, 18, 3923, 273, 2195, 31, 3639, 333, 18, 4688, 16543, 273, 1719, 16543, 31, 3639, 333, 18, 5040, 273, 394, 3956, 4029, 12, 4688, 350, 16, 1719, 812, 16, 880, 1769, 3639, 333, 18, 2327, 273, 394, 25852, 12, 4688, 350, 16, 374, 18, 20, 74, 16, 374, 18, 20, 74, 16, 25852, 18, 3670, 52, 1769, 3639, 333, 18, 1937, 950, 273, 2332, 18, 2972, 28512, 5621, 3639, 333, 18, 3729, 2278, 812, 273, 394, 3956, 3976, 12, 3923, 2934, 588, 2042, 812, 12, 2278, 8135, 18, 8362, 4537, 16, 1719, 350, 397, 3552, 2902, 8863, 3639, 333, 18, 3729, 10813, 812, 273, 394, 3956, 3976, 12, 3923, 2934, 588, 2042, 812, 12, 2278, 8135, 18, 8362, 4537, 16, 1719, 350, 397, 3552, 11930, 8863, 3639, 10931, 2662, 273, 10931, 18, 588, 12, 3923, 1769, 3639, 2662, 18, 3530, 774, 2042, 812, 12, 2704, 1387, 12, 4688, 812, 3631, 1191, 2278, 812, 1769, 3639, 3956, 3976, 19148, 273, 394, 3956, 3976, 12, 3729, 2278, 812, 1769, 3639, 514, 22588, 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, 3956, 13434, 12, 780, 1719, 812, 16, 3956, 8135, 1719, 16543, 16, 4659, 2195, 13, 1216, 1860, 288, 3639, 514, 1719, 350, 273, 315, 4688, 9548, 397, 1719, 16543, 18, 2640, 24174, 5621, 3639, 514, 880, 273, 315, 2505, 14334, 397, 1719, 16543, 18, 588, 2278, 8135, 6981, 1435, 397, 6153, 397, 1719, 16543, 18, 588, 966, 2617, 1435, 397, 2206, 4688, 6395, 18, 24926, 35, 4688, 350, 1546, 397, 1719, 350, 31, 3639, 333, 18, 3923, 273, 2195, 31, 3639, 333, 18, 4688, 16543, 273, 1719, 16543, 31, 3639, 333, 18, 5040, 273, 394, 3956, 4029, 12, 4688, 350, 16, 1719, 812, 16, 880, 1769, 3639, 333, 18, 2327, 273, 394, 25852, 12, 4688, 350, 16, 2 ]
throw new Error("Not implemented");
Thread currThread = Thread.currentThread(); if (currThread instanceof RMIIncomingThread) { RMIIncomingThread incomingThread = (RMIIncomingThread) currThread; return incomingThread.getClientHost(); } else { throw new ServerNotActiveException( "Unknown client host - current thread not instance of 'RMIIncomingThread'"); }
public static String getClientHost() throws ServerNotActiveException { throw new Error("Not implemented");}
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/e835c12a0e664d4b68ae8f0b19ddc7c28e3acf17/RemoteServer.java/buggy/libjava/java/rmi/server/RemoteServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 514, 7635, 2594, 1435, 1216, 3224, 1248, 3896, 503, 288, 202, 12849, 394, 1068, 2932, 1248, 8249, 8863, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 514, 7635, 2594, 1435, 1216, 3224, 1248, 3896, 503, 288, 202, 12849, 394, 1068, 2932, 1248, 8249, 8863, 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 ]
pn.requeueMessageItems(messages, 0, x, false, "NotConnectedException"); pn.requeueMessageItems(messages, i, messages.length-i, false, "NotConnectedException");
pn.requeueMessageItems(messages, 0, x, false, "WouldBlockException(1a)"); pn.requeueMessageItems(messages, i, messages.length-i, false, "WouldBlockException(1b)");
public void processOutgoingOrRequeue(MessageItem[] messages, PeerNode pn, boolean neverWaitForPacketNumber, boolean dontRequeue) { Logger.minor(this, "processOutgoingOrRequeue "+messages.length+" messages for "+pn+" ("+neverWaitForPacketNumber+")"); byte[][] messageData = new byte[messages.length][]; int[] alreadyReported = new int[messages.length]; MessageItem[] newMsgs = new MessageItem[messages.length]; int length = 1; int callbacksCount = 0; int x = 0; for(int i=0;i<messageData.length;i++) { MessageItem mi = messages[i]; if(mi.formatted) { try { byte[] buf = mi.getData(this, pn); KeyTracker kt = pn.getCurrentKeyTracker(); if(kt == null) { Logger.minor(this, "kt = null"); pn.requeueMessageItems(messages, i, messages.length-i, false, "kt = null"); return; } int packetNumber = kt.allocateOutgoingPacketNumberNeverBlock(); this.processOutgoingPreformatted(buf, 0, buf.length, pn.getCurrentKeyTracker(), packetNumber, mi.cb, mi.alreadyReportedBytes); if(mi.ctrCallback != null) mi.ctrCallback.sentBytes(buf.length + HEADERS_LENGTH_ONE_MESSAGE); } catch (NotConnectedException e) { Logger.minor(this, "Caught "+e+" while sending messages, requeueing"); // Requeue if(!dontRequeue) { pn.requeueMessageItems(messages, 0, x, false, "NotConnectedException"); pn.requeueMessageItems(messages, i, messages.length-i, false, "NotConnectedException"); } return; } catch (WouldBlockException e) { Logger.minor(this, "Caught "+e+" while sending messages, requeueing", e); // Requeue if(!dontRequeue) { pn.requeueMessageItems(messages, 0, x, false, "NotConnectedException"); pn.requeueMessageItems(messages, i, messages.length-i, false, "NotConnectedException"); } return; } catch (KeyChangedException e) { Logger.minor(this, "Caught "+e+" while sending messages, requeueing"); // Requeue if(!dontRequeue) { pn.requeueMessageItems(messages, 0, x, false, "NotConnectedException"); pn.requeueMessageItems(messages, i, messages.length-i, false, "NotConnectedException"); } return; } catch (Throwable e) { Logger.error(this, "Caught "+e+" while sending messages, requeueing", e); // Requeue if(!dontRequeue) { pn.requeueMessageItems(messages, 0, x, false, "NotConnectedException"); pn.requeueMessageItems(messages, i, messages.length-i, false, "NotConnectedException"); } return; } } else { byte[] data = mi.getData(this, pn); messageData[x] = data; newMsgs[x] = mi; alreadyReported[x] = mi.alreadyReportedBytes; x++; if(mi.cb != null) callbacksCount += mi.cb.length; Logger.minor(this, "Sending: "+mi+" length "+data.length+" cb "+mi.cb); length += (data.length + 2); } } if(x != messageData.length) { byte[][] newMessageData = new byte[x][]; System.arraycopy(messageData, 0, newMessageData, 0, x); messageData = newMessageData; } AsyncMessageCallback callbacks[] = new AsyncMessageCallback[callbacksCount]; x=0; int alreadyReportedBytes = 0; for(int i=0;i<messages.length;i++) { if(messages[i].formatted) continue; if(messages[i].cb != null) { alreadyReportedBytes += messages[i].alreadyReportedBytes; System.arraycopy(messages[i].cb, 0, callbacks, x, messages[i].cb.length); x += messages[i].cb.length; } } if(x != callbacksCount) throw new IllegalStateException(); if((length < node.usm.getMaxPacketSize()) && (messageData.length < 256)) { try { innerProcessOutgoing(messageData, 0, messageData.length, length, pn, neverWaitForPacketNumber, callbacks, alreadyReportedBytes); for(int i=0;i<messageData.length;i++) { MessageItem mi = newMsgs[i]; if(mi.ctrCallback != null) { mi.ctrCallback.sentBytes(messageData[i].length + 1 + (HEADERS_LENGTH_MINIMUM / messageData.length)); // FIXME rounding issues } } } catch (NotConnectedException e) { Logger.normal(this, "Caught "+e+" while sending messages, requeueing"); // Requeue if(!dontRequeue) pn.requeueMessageItems(messages, 0, messages.length, false, "NotConnectedException(2)"); return; } catch (WouldBlockException e) { Logger.minor(this, "Caught "+e+" while sending messages, requeueing", e); // Requeue if(!dontRequeue) pn.requeueMessageItems(messages, 0, messages.length, false, "WouldBlockException(2)"); return; } catch (Throwable e) { Logger.error(this, "Caught "+e+" while sending messages, requeueing", e); // Requeue if(!dontRequeue) pn.requeueMessageItems(messages, 0, messages.length, false, "Throwable(2)"); return; } } else { length = 56; int count = 0; int lastIndex = 0; alreadyReportedBytes = 0; for(int i=0;i<=messages.length;i++) { int thisLength; if(i == messages.length) thisLength = 0; else thisLength = (messageData[i].length + 2); int newLength = length + thisLength; if(thisLength > node.usm.getMaxPacketSize()) { Logger.error(this, "Message exceeds packet size: "+messages[i]); // Send the last lot, then send this } count++; if((newLength > node.usm.getMaxPacketSize()) || (count > 255) || (i == messages.length)) { // lastIndex up to the message right before this one // e.g. lastIndex = 0, i = 1, we just send message 0 if(lastIndex != i) { try { innerProcessOutgoing(messageData, lastIndex, i-lastIndex, length, pn, neverWaitForPacketNumber, callbacks, alreadyReportedBytes); for(int j=lastIndex;j<i;j++) { MessageItem mi = newMsgs[j]; if(mi.ctrCallback != null) { mi.ctrCallback.sentBytes(messageData[j].length + 1 + (HEADERS_LENGTH_MINIMUM / (i-lastIndex))); // FIXME rounding issues } } } catch (NotConnectedException e) { Logger.normal(this, "Caught "+e+" while sending messages, requeueing remaining messages"); // Requeue if(!dontRequeue) pn.requeueMessageItems(messages, lastIndex, messages.length - lastIndex, false, "NotConnectedException(3)"); return; } catch (WouldBlockException e) { Logger.minor(this, "Caught "+e+" while sending messages, requeueing remaining messages", e); // Requeue if(!dontRequeue) pn.requeueMessageItems(messages, lastIndex, messages.length - lastIndex, false, "WouldBlockException(3)"); return; } catch (Throwable e) { Logger.error(this, "Caught "+e+" while sending messages, requeueing remaining messages", e); // Requeue if(!dontRequeue) pn.requeueMessageItems(messages, lastIndex, messages.length - lastIndex, false, "Throwable(3)"); return; } } lastIndex = i; if(i != messageData.length) length = 1 + (messageData[i].length + 2); count = 0; } else { length = newLength; alreadyReportedBytes += alreadyReported[i]; } } } }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/504207c0e1330ada452a05a9933786ec8572e2aa/FNPPacketMangler.java/clean/src/freenet/node/FNPPacketMangler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 24866, 1162, 426, 4000, 12, 1079, 1180, 8526, 2743, 16, 10669, 907, 11059, 16, 1250, 5903, 29321, 6667, 1854, 16, 1250, 14046, 426, 4000, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 2567, 24866, 1162, 426, 4000, 13773, 6833, 18, 2469, 9078, 2743, 364, 13773, 7449, 9078, 7566, 15, 4644, 502, 29321, 6667, 1854, 9078, 2225, 1769, 3639, 1160, 63, 6362, 65, 883, 751, 273, 394, 1160, 63, 6833, 18, 2469, 6362, 15533, 3639, 509, 8526, 1818, 426, 1798, 273, 394, 509, 63, 6833, 18, 2469, 15533, 3639, 2350, 1180, 8526, 394, 17949, 273, 394, 2350, 1180, 63, 6833, 18, 2469, 15533, 3639, 509, 769, 273, 404, 31, 3639, 509, 6689, 1380, 273, 374, 31, 3639, 509, 619, 273, 374, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 2150, 751, 18, 2469, 31, 77, 27245, 288, 5411, 2350, 1180, 12837, 273, 2743, 63, 77, 15533, 5411, 309, 12, 9197, 18, 14897, 13, 288, 7734, 775, 288, 10792, 1160, 8526, 1681, 273, 12837, 18, 588, 751, 12, 2211, 16, 11059, 1769, 10792, 1929, 8135, 417, 88, 273, 11059, 18, 588, 3935, 653, 8135, 5621, 10792, 309, 12, 8629, 422, 446, 13, 288, 13491, 4242, 18, 17364, 12, 2211, 16, 315, 8629, 273, 446, 8863, 13491, 11059, 18, 3658, 1455, 1079, 3126, 12, 6833, 16, 277, 16, 2743, 18, 2469, 17, 77, 16, 629, 16, 315, 8629, 273, 446, 8863, 13491, 327, 31, 10792, 289, 10792, 509, 4414, 1854, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 24866, 1162, 426, 4000, 12, 1079, 1180, 8526, 2743, 16, 10669, 907, 11059, 16, 1250, 5903, 29321, 6667, 1854, 16, 1250, 14046, 426, 4000, 13, 288, 3639, 4242, 18, 17364, 12, 2211, 16, 315, 2567, 24866, 1162, 426, 4000, 13773, 6833, 18, 2469, 9078, 2743, 364, 13773, 7449, 9078, 7566, 15, 4644, 502, 29321, 6667, 1854, 9078, 2225, 1769, 3639, 1160, 63, 6362, 65, 883, 751, 273, 394, 1160, 63, 6833, 18, 2469, 6362, 15533, 3639, 509, 8526, 1818, 426, 1798, 273, 394, 509, 63, 6833, 18, 2469, 15533, 3639, 2350, 1180, 8526, 394, 17949, 273, 394, 2350, 1180, 63, 6833, 18, 2469, 15533, 3639, 509, 769, 273, 404, 31, 3639, 509, 6689, 1380, 273, 2 ]
if (last) System.out.println("Current mode is set to last");
if (last== ButtonRemoteListener.LAST_UPDATE) System.out.println("Current mode is set to last");
public static void main( String[] args ) throws IOException { String buttonName = "Phantom@gold-cs"; vrpn.ButtonRemote button = null; try { button = new vrpn.ButtonRemote(buttonName); } catch(InstantiationException e) { System.out.println("We couldn't connect to phantom " + buttonName + "."); System.out.println(e.getMessage()); return; } ButtonRemoteListener buttonListener = new ButtonRemoteListener(button); DataInputStream in = new DataInputStream(System.in); while(true) { System.out.println("\nActions:"); System.out.println("\tC -> check mode"); System.out.println("\tL -> set mode to last"); System.out.println("\tA -> set mode to all"); System.out.println("\tD -> display updates"); System.out.println("\tQ -> quit"); String s = in.readLine(); if (s.equalsIgnoreCase("q")) { System.exit(0); } if (s.equalsIgnoreCase("c")) { boolean last = buttonListener.getModeButtonUpdate(); if (last) System.out.println("Current mode is set to last"); else System.out.println("Current mode is set to all"); } if (s.equalsIgnoreCase("l")) { buttonListener.setModeLastButtonUpdate(); System.out.println("Mode set to last"); } if (s.equalsIgnoreCase("a")) { buttonListener.setModeAllButtonUpdates(); System.out.println("Mode set to all"); } if (s.equalsIgnoreCase("d")) { Vector updates = buttonListener.getButtonUpdate(); if (updates == null) { System.out.println("No updates received so far"); } else { for (int i=0; i<updates.size(); i++) { vrpn.ButtonRemote.ButtonUpdate u = (vrpn.ButtonRemote.ButtonUpdate)updates.elementAt(i); System.out.println( "\ttime: " + u.msg_time.getTime( ) + " button: " + u.button + " " + " state: " + u.state ); } } } } }
37212 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37212/9ae692227693da776d5bd011ec11810e315b9097/ButtonListenerTest.java/buggy/java_vrpn/test/ButtonListenerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 514, 8526, 833, 262, 1216, 1860, 202, 95, 202, 202, 780, 3568, 461, 273, 315, 3731, 16317, 36, 75, 1673, 17, 2143, 14432, 202, 202, 18090, 7449, 18, 3616, 5169, 3568, 273, 446, 31, 9506, 202, 698, 202, 202, 95, 1082, 202, 5391, 273, 394, 16612, 7449, 18, 3616, 5169, 12, 5391, 461, 1769, 202, 202, 97, 9506, 202, 14683, 12, 10675, 7072, 503, 425, 13, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 3218, 17991, 1404, 3077, 358, 25474, 315, 397, 3568, 461, 397, 4585, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 12, 73, 18, 24906, 10663, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 3616, 5169, 2223, 3568, 2223, 273, 394, 12569, 5169, 2223, 12, 5391, 1769, 9506, 202, 751, 4348, 316, 273, 394, 29382, 12, 3163, 18, 267, 1769, 9506, 202, 17523, 12, 3767, 13, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 31458, 82, 6100, 2773, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 31458, 88, 39, 317, 866, 1965, 8863, 1082, 202, 3163, 18, 659, 18, 8222, 31458, 88, 48, 317, 444, 1965, 358, 1142, 8863, 1082, 202, 3163, 18, 659, 18, 8222, 31458, 88, 37, 317, 444, 1965, 358, 777, 8863, 1082, 202, 3163, 18, 659, 18, 8222, 31458, 88, 40, 317, 2562, 4533, 8863, 1082, 202, 3163, 18, 659, 18, 8222, 31458, 88, 53, 317, 9706, 8863, 25083, 202, 780, 272, 273, 316, 18, 896, 1670, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 514, 8526, 833, 262, 1216, 1860, 202, 95, 202, 202, 780, 3568, 461, 273, 315, 3731, 16317, 36, 75, 1673, 17, 2143, 14432, 202, 202, 18090, 7449, 18, 3616, 5169, 3568, 273, 446, 31, 9506, 202, 698, 202, 202, 95, 1082, 202, 5391, 273, 394, 16612, 7449, 18, 3616, 5169, 12, 5391, 461, 1769, 202, 202, 97, 9506, 202, 14683, 12, 10675, 7072, 503, 425, 13, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 3218, 17991, 1404, 3077, 358, 25474, 315, 397, 3568, 461, 397, 4585, 1769, 1082, 202, 3163, 18, 659, 18, 8222, 12, 73, 18, 24906, 10663, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 3616, 2 ]
Hashtable tokenHash = new Hashtable(); final int maxFieldLength = 10000;
Hashtable tokenHash = new Hashtable(); final int maxFieldLength = 10000;
private void invertDocument(Document doc) throws IOException { Hashtable tokenHash = new Hashtable(); final int maxFieldLength = 10000; Analyzer analyzer = new StandardAnalyzer(); Enumeration fields = doc.fields(); while (fields.hasMoreElements()) { Field field = (Field) fields.nextElement(); String fieldName = field.name(); if (field.isIndexed()) { if (field.isTokenized()) { // un-tokenized field Reader reader; // find or make Reader if (field.readerValue() != null) reader = field.readerValue(); else if (field.stringValue() != null) reader = new StringReader(field.stringValue()); else throw new IllegalArgumentException ("field must have either String or Reader value"); int position = 0; // Tokenize field and add to postingTable TokenStream stream = analyzer.tokenStream(fieldName, reader); try { for (Token t = stream.next(); t != null; t = stream.next()) { position += (t.getPositionIncrement() - 1); position++; String name = t.termText(); Integer Count = (Integer)tokenHash.get(name); if (Count == null) { // not in there yet tokenHash.put(name, new Integer(1)); //first one } else { int count = Count.intValue(); tokenHash.put(name, new Integer (count+1)); } if (position > maxFieldLength) break; } } finally { stream.close(); } } } } Entry[] sortedHash = getSortedHashtableEntries(tokenHash); for (int ii = 0; ii < sortedHash.length && ii < 10; ii ++) { Entry currentEntry = sortedHash[ii]; message((ii + 1) + ":" + currentEntry.getKey() + " " + currentEntry.getValue()); } }
50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/2ee994898d3c2735b001051fedb15d78bf072770/LuceneMethods.java/buggy/sandbox/contributions/lucli/src/lucli/LuceneMethods.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9848, 2519, 12, 2519, 997, 13, 202, 202, 15069, 1860, 288, 202, 202, 5582, 14544, 1147, 2310, 273, 394, 18559, 5621, 202, 202, 6385, 509, 943, 974, 1782, 273, 12619, 31, 202, 202, 12803, 15116, 273, 394, 8263, 12803, 5621, 202, 202, 21847, 1466, 273, 997, 18, 2821, 5621, 202, 202, 17523, 261, 2821, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 974, 652, 273, 261, 974, 13, 1466, 18, 4285, 1046, 5621, 1082, 202, 780, 4289, 273, 652, 18, 529, 5621, 1082, 202, 430, 261, 1518, 18, 291, 15034, 10756, 288, 9506, 202, 430, 261, 1518, 18, 291, 1345, 1235, 10756, 288, 377, 368, 640, 17, 2316, 1235, 652, 6862, 202, 2514, 2949, 31, 3639, 368, 1104, 578, 1221, 5393, 6862, 202, 430, 261, 1518, 18, 10530, 620, 1435, 480, 446, 13, 25083, 202, 10530, 273, 652, 18, 10530, 620, 5621, 6862, 202, 12107, 309, 261, 1518, 18, 1080, 620, 1435, 480, 446, 13, 25083, 202, 10530, 273, 394, 26227, 12, 1518, 18, 1080, 620, 10663, 6862, 202, 12107, 25083, 202, 12849, 394, 2754, 6862, 1082, 202, 2932, 1518, 1297, 1240, 3344, 514, 578, 5393, 460, 8863, 6862, 202, 474, 1754, 273, 374, 31, 6862, 202, 759, 3155, 554, 652, 471, 527, 358, 1603, 310, 1388, 6862, 202, 1345, 1228, 1407, 273, 15116, 18, 2316, 1228, 12, 16163, 16, 2949, 1769, 6862, 202, 698, 288, 25083, 202, 1884, 261, 1345, 268, 273, 1407, 18, 4285, 5621, 268, 480, 446, 31, 268, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 9848, 2519, 12, 2519, 997, 13, 202, 202, 15069, 1860, 288, 202, 202, 5582, 14544, 1147, 2310, 273, 394, 18559, 5621, 202, 202, 6385, 509, 943, 974, 1782, 273, 12619, 31, 202, 202, 12803, 15116, 273, 394, 8263, 12803, 5621, 202, 202, 21847, 1466, 273, 997, 18, 2821, 5621, 202, 202, 17523, 261, 2821, 18, 5332, 7417, 3471, 10756, 288, 1082, 202, 974, 652, 273, 261, 974, 13, 1466, 18, 4285, 1046, 5621, 1082, 202, 780, 4289, 273, 652, 18, 529, 5621, 1082, 202, 430, 261, 1518, 18, 291, 15034, 10756, 288, 9506, 202, 430, 261, 1518, 18, 291, 1345, 1235, 10756, 288, 377, 368, 640, 17, 2316, 1235, 652, 6862, 202, 2514, 2949, 31, 2 ]
public void setReadonlyExpr(String readonlyExpr) { this.readonlyExpr = readonlyExpr; }
public void setReadonlyExpr(String readonlyExpr) { this.readonlyExpr = readonlyExpr; }
public void setReadonlyExpr(String readonlyExpr) { this.readonlyExpr = readonlyExpr; }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELTextareaTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextareaTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 918, 377, 29506, 3700, 4742, 12, 780, 17102, 4742, 13, 565, 288, 333, 18, 16365, 4742, 225, 273, 17102, 4742, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 918, 377, 29506, 3700, 4742, 12, 780, 17102, 4742, 13, 565, 288, 333, 18, 16365, 4742, 225, 273, 17102, 4742, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (idata.kind.equalsIgnoreCase("web") || idata.kind.equalsIgnoreCase("web-kunststoff"))
if (idata.kind.equalsIgnoreCase("web") || idata.kind.equalsIgnoreCase("web-kunststoff"))
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = packs.size(); handler.startAction ("Unpacking", npacks); udata = UninstallData.getInstance(); // Specific to the web installers if (idata.kind.equalsIgnoreCase("web") || idata.kind.equalsIgnoreCase("web-kunststoff")) { InputStream kin = getClass().getResourceAsStream("/res/WebInstallers.url"); BufferedReader kreader = new BufferedReader(new InputStreamReader(kin)); jarLocation = kreader.readLine(); } // We unpack the selected packs for (int i = 0; i < npacks; i++) { // We get the pack stream int n = idata.allPacks.indexOf(packs.get(i)); ObjectInputStream objIn = new ObjectInputStream(getPackAsStream(n)); // We unpack the files int nfiles = objIn.readInt(); handler.nextStep (((Pack) packs.get(i)).name, i+1, nfiles); for (int j = 0; j < nfiles; j++) { // We read the header PackFile pf = (PackFile) objIn.readObject(); if (OsConstraint.oneMatchesCurrentSystem(pf.osConstraints)) { // We translate & build the path String path = translatePath(pf.targetPath); File pathFile = new File(path); File dest = pathFile.getParentFile(); if (!dest.exists()) { if (! dest.mkdirs()) { handler.emitError("Error creating directories", "Could not create directory\n"+dest.getPath()); handler.stopAction (); return; } } // We add the path to the log, udata.addFile(path); handler.progress (j, path); //if this file exists and should not be overwritten, check //what to do if ((pathFile.exists ()) && (pf.override != PackFile.OVERRIDE_TRUE)) { boolean overwritefile = false; // don't overwrite file if the user said so if (pf.override != PackFile.OVERRIDE_FALSE) { if (pf.override == PackFile.OVERRIDE_TRUE) { overwritefile = true; } else if (pf.override == PackFile.OVERRIDE_UPDATE) { // check mtime of involved files // (this is not 100% perfect, because the already existing file might // still be modified but the new installed is just a bit newer; we would // need the creation time of the existing file or record with which mtime // it was installed...) overwritefile = (pathFile.lastModified() < pf.mtime); } else { int def_choice = -1; if (pf.override == PackFile.OVERRIDE_ASK_FALSE) def_choice = AbstractUIHandler.ANSWER_NO; if (pf.override == PackFile.OVERRIDE_ASK_TRUE) def_choice = AbstractUIHandler.ANSWER_YES; int answer = handler.askQuestion ( idata.langpack.getString ("InstallPanel.overwrite.title") + pathFile.getName (), idata.langpack.getString ("InstallPanel.overwrite.question") + pathFile.getAbsolutePath(), AbstractUIHandler.CHOICES_YES_NO, def_choice); overwritefile = (answer == AbstractUIHandler.ANSWER_YES); } } if (! overwritefile) { if (!pf.isBackReference()) objIn.skip(pf.length); continue; } } // We copy the file out = new FileOutputStream(pathFile); byte[] buffer = new byte[5120]; long bytesCopied = 0; ObjectInputStream pis = objIn; if (pf.isBackReference()) { InputStream is = getPackAsStream(pf.previousPackNumber); pis = new ObjectInputStream(is);//must wrap for blockdata use by objectstream (otherwise strange result) //skip on underlaying stream (for some reason not possible on ObjectStream) is.skip(pf.offsetInPreviousPack - 4); //but the stream header is now already read (== 4 bytes) } while (bytesCopied < pf.length) { int maxBytes = (pf.length - bytesCopied < buffer.length ? (int) (pf.length - bytesCopied) : buffer.length); int bytesInBuffer = pis.read(buffer, 0, maxBytes); if (bytesInBuffer == -1) throw new IOException("Unexpected end of stream"); out.write(buffer, 0, bytesInBuffer); bytesCopied += bytesInBuffer; } // Cleanings out.close(); if (pis != objIn) pis.close(); // Set file modification time if specified if (pf.mtime >= 0) pathFile.setLastModified (pf.mtime); // Empty dirs restoring String _n = pathFile.getName(); if (_n.startsWith("izpack-keepme") && _n.endsWith(".tmp")) pathFile.delete(); } else { if (!pf.isBackReference()) objIn.skip(pf.length); } } // Load information about parsable files int numParsables = objIn.readInt(); for (int k = 0; k < numParsables; k++) { ParsableFile pf = (ParsableFile) objIn.readObject(); pf.path = translatePath(pf.path); parsables.add(pf); } // Load information about executable files int numExecutables = objIn.readInt(); for (int k = 0; k < numExecutables; k++) { ExecutableFile ef = (ExecutableFile) objIn.readObject(); ef.path = translatePath(ef.path); if (null != ef.argList && !ef.argList.isEmpty()) { String arg = null; for (int j = 0; j < ef.argList.size(); j++) { arg = (String) ef.argList.get(j); arg = translatePath(arg); ef.argList.set(j, arg); } } executables.add(ef); if(ef.executionStage == ExecutableFile.UNINSTALL) { udata.addExecutable(ef); } } // Load information about updatechecks int numUpdateChecks = objIn.readInt(); for (int k = 0; k < numUpdateChecks; k++) { UpdateCheck uc = (UpdateCheck) objIn.readObject(); updatechecks.add (uc); } objIn.close(); } // We use the scripts parser ScriptParser parser = new ScriptParser(parsables, vs); parser.parseFiles(); // We use the file executor FileExecutor executor = new FileExecutor(executables); if (executor.executeFiles(ExecutableFile.POSTINSTALL, handler) != 0) handler.emitError ("File execution failed", "The installation was not completed"); // We put the uninstaller (it's not yet complete...) if (idata.info.getWriteUninstaller()) putUninstaller(); // update checks _after_ uninstaller was put, so we don't delete it performUpdateChecks (updatechecks); // The end :-) handler.stopAction(); } catch (Exception err) { // TODO: finer grained error handling with useful error messages handler.stopAction(); handler.emitError ("An error occured", err.toString()); err.printStackTrace (); } finally { instances.remove(instances.indexOf(this)); } }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/Unpacker.java/clean/src/lib/com/izforge/izpack/installer/Unpacker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 225, 288, 565, 3884, 18, 1289, 12, 2211, 1769, 565, 775, 565, 288, 1377, 368, 1377, 368, 10188, 291, 1012, 1377, 12942, 596, 273, 446, 31, 1377, 2407, 13249, 1538, 273, 394, 2407, 5621, 1377, 2407, 28743, 1538, 273, 394, 2407, 5621, 1377, 2407, 1089, 12366, 273, 394, 2407, 5621, 1377, 987, 2298, 87, 273, 612, 396, 18, 8109, 4420, 87, 31, 1377, 509, 1130, 22098, 273, 2298, 87, 18, 1467, 5621, 1377, 1838, 18, 1937, 1803, 7566, 23649, 310, 3113, 1130, 22098, 1769, 1377, 582, 892, 273, 1351, 5425, 751, 18, 588, 1442, 5621, 1377, 368, 23043, 358, 326, 3311, 3799, 414, 1377, 309, 261, 350, 396, 18, 9224, 18, 14963, 5556, 2932, 4875, 7923, 747, 3639, 612, 396, 18, 9224, 18, 14963, 5556, 2932, 4875, 17, 79, 23412, 334, 3674, 6, 3719, 1377, 288, 3639, 5037, 417, 267, 273, 2900, 7675, 588, 1420, 17052, 2932, 19, 455, 19, 4079, 6410, 414, 18, 718, 8863, 3639, 10633, 417, 10530, 273, 394, 10633, 12, 2704, 15322, 12, 15984, 10019, 3639, 7334, 2735, 273, 417, 10530, 18, 896, 1670, 5621, 1377, 289, 1377, 368, 1660, 6167, 326, 3170, 2298, 87, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1130, 22098, 31, 277, 27245, 1377, 288, 3639, 368, 1660, 336, 326, 2298, 1407, 3639, 509, 290, 273, 612, 396, 18, 454, 4420, 87, 18, 31806, 12, 2920, 87, 18, 588, 12, 77, 10019, 3639, 22726, 1081, 382, 6647, 273, 394, 22726, 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, 282, 1071, 918, 1086, 1435, 225, 288, 565, 3884, 18, 1289, 12, 2211, 1769, 565, 775, 565, 288, 1377, 368, 1377, 368, 10188, 291, 1012, 1377, 12942, 596, 273, 446, 31, 1377, 2407, 13249, 1538, 273, 394, 2407, 5621, 1377, 2407, 28743, 1538, 273, 394, 2407, 5621, 1377, 2407, 1089, 12366, 273, 394, 2407, 5621, 1377, 987, 2298, 87, 273, 612, 396, 18, 8109, 4420, 87, 31, 1377, 509, 1130, 22098, 273, 2298, 87, 18, 1467, 5621, 1377, 1838, 18, 1937, 1803, 7566, 23649, 310, 3113, 1130, 22098, 1769, 1377, 582, 892, 273, 1351, 5425, 751, 18, 588, 1442, 5621, 1377, 368, 23043, 358, 326, 3311, 3799, 414, 1377, 309, 261, 350, 396, 18, 9224, 18, 14963, 5556, 2932, 2 ]
} else { BinaryIdContentPair newPair = generateIdContentPair(object, bco); contentTable.put(object, newPair); object.write(this); newPair.getContent().finalize(); return newPair.getId();
public int processBinarySavable(Savable object) throws IOException { if (object == null) { return -1; } BinaryClassObject bco = classes.get(object.getClassTag().getName()); // is this class been looked at before? in tagTable? if (bco == null) { bco = new BinaryClassObject(); bco.alias = generateTag(); bco.nameFields = new HashMap<String, BinaryClassField>(); classes.put(object.getClassTag().getName(), bco); } // is object in contentTable? if (contentTable.get(object) != null) { return (contentTable.get(object).getId()); } else {// no, generate id and build id/content pair from it's conent BinaryIdContentPair newPair = generateIdContentPair(object, bco); contentTable.put(object, newPair); object.write(this); newPair.getContent().finalize(); return newPair.getId(); } }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/202ed4e817057ebf4f96d3e558d4978384c13760/BinaryExporter.java/buggy/src/com/jme/util/export/binary/BinaryExporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1207, 5905, 55, 842, 429, 12, 55, 842, 429, 733, 13, 1216, 1860, 288, 3639, 309, 261, 1612, 422, 446, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 3639, 7896, 797, 921, 324, 2894, 273, 3318, 18, 588, 12, 1612, 18, 588, 797, 1805, 7675, 17994, 10663, 3639, 368, 353, 333, 667, 2118, 27321, 622, 1865, 35, 316, 1047, 1388, 35, 3639, 309, 261, 70, 2894, 422, 446, 13, 288, 5411, 324, 2894, 273, 394, 7896, 797, 921, 5621, 5411, 324, 2894, 18, 4930, 273, 2103, 1805, 5621, 5411, 324, 2894, 18, 529, 2314, 273, 394, 4317, 32, 780, 16, 7896, 797, 974, 34, 5621, 5411, 3318, 18, 458, 12, 1612, 18, 588, 797, 1805, 7675, 17994, 9334, 324, 2894, 1769, 3639, 289, 3639, 368, 353, 733, 316, 913, 1388, 35, 3639, 309, 261, 1745, 1388, 18, 588, 12, 1612, 13, 480, 446, 13, 288, 5411, 327, 261, 1745, 1388, 18, 588, 12, 1612, 2934, 26321, 10663, 3639, 289, 469, 288, 759, 1158, 16, 2103, 612, 471, 1361, 612, 19, 1745, 3082, 628, 518, 1807, 356, 319, 5411, 7896, 548, 1350, 4154, 394, 4154, 273, 2103, 548, 1350, 4154, 12, 1612, 16, 324, 2894, 1769, 5411, 913, 1388, 18, 458, 12, 1612, 16, 394, 4154, 1769, 5411, 733, 18, 2626, 12, 2211, 1769, 5411, 394, 4154, 18, 588, 1350, 7675, 30343, 5621, 5411, 327, 394, 4154, 18, 26321, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1207, 5905, 55, 842, 429, 12, 55, 842, 429, 733, 13, 1216, 1860, 288, 3639, 309, 261, 1612, 422, 446, 13, 288, 5411, 327, 300, 21, 31, 3639, 289, 3639, 7896, 797, 921, 324, 2894, 273, 3318, 18, 588, 12, 1612, 18, 588, 797, 1805, 7675, 17994, 10663, 3639, 368, 353, 333, 667, 2118, 27321, 622, 1865, 35, 316, 1047, 1388, 35, 3639, 309, 261, 70, 2894, 422, 446, 13, 288, 5411, 324, 2894, 273, 394, 7896, 797, 921, 5621, 5411, 324, 2894, 18, 4930, 273, 2103, 1805, 5621, 5411, 324, 2894, 18, 529, 2314, 273, 394, 4317, 32, 780, 16, 7896, 797, 974, 34, 5621, 5411, 3318, 18, 458, 12, 1612, 18, 588, 797, 1805, 2 ]
void createModel() { m = new BeanTableDataModel() { public String getValue(String name) { return InstanceManager.reporterManagerInstance().getBySystemName(name).getCurrentReport().toString(); } public Manager getManager() { return InstanceManager.reporterManagerInstance(); } public NamedBean getBySystemName(String name) { return InstanceManager.reporterManagerInstance().getBySystemName(name);} public void clickOn(NamedBean t) { // don't do anything on click } public String getColumnName(int col) { if (col==VALUECOL) return "Report"; return super.getColumnName(col); } public Class getColumnClass(int col) { if (col==VALUECOL) return String.class; else return super.getColumnClass(col); } public void configureTable(JTable table) { // have to shut off autoResizeMode to get horizontal scroll to work (JavaSwing p 541) table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); // no columns hold buttons, so don't make any configure buttons calls } boolean matchPropertyName(java.beans.PropertyChangeEvent e) { return (e.getPropertyName().indexOf("Report")>=0); } public JButton configureButton() { this.log.error("configureButton should not have been called"); return null; } }; }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/f664c413dd182bb64a488dea62949d934bf0ddec/ReporterTableAction.java/buggy/jmri/jmrit/beantable/ReporterTableAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 225, 15552, 1435, 225, 288, 7734, 312, 225, 273, 225, 394, 225, 7704, 1388, 26349, 1435, 225, 288, 13491, 1071, 225, 514, 225, 2366, 12, 780, 225, 508, 13, 225, 288, 27573, 327, 225, 5180, 1318, 18, 266, 7988, 1318, 1442, 7675, 588, 858, 3163, 461, 12, 529, 2934, 588, 3935, 4820, 7675, 10492, 5621, 13491, 289, 13491, 1071, 225, 8558, 225, 14154, 1435, 225, 288, 225, 327, 225, 5180, 1318, 18, 266, 7988, 1318, 1442, 5621, 225, 289, 13491, 1071, 225, 9796, 3381, 225, 9979, 3163, 461, 12, 780, 225, 508, 13, 225, 288, 225, 327, 225, 5180, 1318, 18, 266, 7988, 1318, 1442, 7675, 588, 858, 3163, 461, 12, 529, 1769, 97, 13491, 1071, 225, 918, 225, 4682, 1398, 12, 7604, 3381, 225, 268, 13, 225, 288, 7682, 202, 759, 225, 2727, 1404, 225, 741, 225, 6967, 225, 603, 225, 4682, 13491, 289, 540, 202, 202, 482, 225, 514, 225, 20248, 12, 474, 225, 645, 13, 225, 288, 1171, 202, 202, 430, 225, 261, 1293, 631, 4051, 4935, 13, 225, 327, 225, 315, 4820, 14432, 1171, 202, 202, 2463, 225, 2240, 18, 588, 8516, 12, 1293, 1769, 1171, 202, 97, 540, 202, 202, 482, 225, 1659, 225, 6716, 797, 12, 474, 225, 645, 13, 225, 288, 540, 1082, 202, 430, 225, 261, 1293, 631, 4051, 4935, 13, 225, 327, 225, 514, 18, 1106, 31, 540, 1082, 202, 12107, 225, 327, 225, 2240, 18, 588, 1494, 797, 12, 1293, 1769, 1082, 3639, 289, 540, 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, 918, 225, 15552, 1435, 225, 288, 7734, 312, 225, 273, 225, 394, 225, 7704, 1388, 26349, 1435, 225, 288, 13491, 1071, 225, 514, 225, 2366, 12, 780, 225, 508, 13, 225, 288, 27573, 327, 225, 5180, 1318, 18, 266, 7988, 1318, 1442, 7675, 588, 858, 3163, 461, 12, 529, 2934, 588, 3935, 4820, 7675, 10492, 5621, 13491, 289, 13491, 1071, 225, 8558, 225, 14154, 1435, 225, 288, 225, 327, 225, 5180, 1318, 18, 266, 7988, 1318, 1442, 5621, 225, 289, 13491, 1071, 225, 9796, 3381, 225, 9979, 3163, 461, 12, 780, 225, 508, 13, 225, 288, 225, 327, 225, 5180, 1318, 18, 266, 7988, 1318, 1442, 7675, 588, 858, 3163, 461, 12, 529, 1769, 97, 13491, 1071, 225, 2 ]
for (int i = existingChildren.length; i < infos.length; i++) {
for (int i = 0; i < infos.length; i++) {
private void refreshAll() { Object[] infos = getSortedChildren(getRoot()); Control[] existingChildren = control.getChildren(); int reuseLength = Math.min(infos.length, existingChildren.length); // Update with the new elements to prevent flash for (int i = 0; i < reuseLength; i++) { ProgressInfoItem item = (ProgressInfoItem) existingChildren[i]; item.remap((JobTreeElement) infos[i]); item.setColor(i); } // Create new ones if required for (int i = existingChildren.length; i < infos.length; i++) { ProgressInfoItem item = createNewItem((JobTreeElement) infos[i]); item.setColor(i); } // Delete old ones if not for (int i = infos.length; i < existingChildren.length; i++) { existingChildren[i].dispose(); } control.layout(true); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/802b5b9d4fc9736a6decf93526045cccb8b3c0ca/DetailedProgressViewer.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/DetailedProgressViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4460, 1595, 1435, 288, 202, 202, 921, 8526, 10626, 273, 15175, 329, 4212, 12, 588, 2375, 10663, 202, 202, 3367, 8526, 2062, 4212, 273, 3325, 18, 588, 4212, 5621, 202, 202, 474, 11827, 1782, 273, 2361, 18, 1154, 12, 18227, 18, 2469, 16, 2062, 4212, 18, 2469, 1769, 202, 202, 759, 2315, 598, 326, 394, 2186, 358, 5309, 9563, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 11827, 1782, 31, 277, 27245, 288, 1082, 202, 5491, 966, 1180, 761, 273, 261, 5491, 966, 1180, 13, 2062, 4212, 63, 77, 15533, 1082, 202, 1726, 18, 266, 1458, 12443, 2278, 2471, 1046, 13, 10626, 63, 77, 19226, 1082, 202, 1726, 18, 542, 2957, 12, 77, 1769, 202, 202, 97, 202, 202, 759, 1788, 394, 5945, 309, 1931, 202, 202, 1884, 261, 474, 277, 273, 2062, 4212, 18, 2469, 31, 277, 411, 10626, 18, 2469, 31, 277, 27245, 288, 1082, 202, 5491, 966, 1180, 761, 273, 15291, 1180, 12443, 2278, 2471, 1046, 13, 10626, 63, 77, 19226, 1082, 202, 1726, 18, 542, 2957, 12, 77, 1769, 202, 202, 97, 202, 202, 759, 2504, 1592, 5945, 309, 486, 202, 202, 1884, 261, 474, 277, 273, 10626, 18, 2469, 31, 277, 411, 2062, 4212, 18, 2469, 31, 277, 27245, 288, 1082, 202, 11711, 4212, 63, 77, 8009, 2251, 4150, 5621, 202, 202, 97, 202, 202, 7098, 18, 6741, 12, 3767, 1769, 202, 97, 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, 225, 202, 1152, 918, 4460, 1595, 1435, 288, 202, 202, 921, 8526, 10626, 273, 15175, 329, 4212, 12, 588, 2375, 10663, 202, 202, 3367, 8526, 2062, 4212, 273, 3325, 18, 588, 4212, 5621, 202, 202, 474, 11827, 1782, 273, 2361, 18, 1154, 12, 18227, 18, 2469, 16, 2062, 4212, 18, 2469, 1769, 202, 202, 759, 2315, 598, 326, 394, 2186, 358, 5309, 9563, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 11827, 1782, 31, 277, 27245, 288, 1082, 202, 5491, 966, 1180, 761, 273, 261, 5491, 966, 1180, 13, 2062, 4212, 63, 77, 15533, 1082, 202, 1726, 18, 266, 1458, 12443, 2278, 2471, 1046, 13, 10626, 63, 77, 19226, 1082, 202, 1726, 18, 542, 2957, 12, 2 ]
Object result = null; StringBuffer errorMessage = null; int c; boolean l_endQuery = false; while (!l_endQuery) { c = stream.ReceiveChar();
public Object fastpath(int fnid, boolean resulttype, FastpathArg[] args) throws SQLException { // added Oct 7 1998 to give us thread safety synchronized (stream) { // send the function call try { // 70 is 'F' in ASCII. Note: don't use SendChar() here as it adds padding // that confuses the backend. The 0 terminates the command line. stream.SendInteger(70, 1); stream.SendInteger(0, 1); stream.SendInteger(fnid, 4); stream.SendInteger(args.length, 4); for (int i = 0;i < args.length;i++) args[i].send(stream); // This is needed, otherwise data can be lost stream.flush(); } catch (IOException ioe) { throw new PSQLException("postgresql.fp.send", new Integer(fnid), ioe); } // Now handle the result // We should get 'V' on sucess or 'E' on error. Anything else is treated // as an error. //int in = stream.ReceiveChar(); //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'"); //if (in!='V') { //if (in=='E') //throw new SQLException(stream.ReceiveString(conn.getEncoding())); //throw new SQLException("Fastpath: expected 'V' from backend, got "+((char)in)); //} // Now loop, reading the results Object result = null; // our result StringBuffer errorMessage = null; boolean loop = true; while (loop) { int in = stream.ReceiveChar(); //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'"); switch (in) { case 'V': break; //------------------------------ // Function returned properly // case 'G': int sz = stream.ReceiveIntegerR(4); //DriverManager.println("G: size="+sz); //debug // Return an Integer if if (resulttype) result = new Integer(stream.ReceiveIntegerR(sz)); else { byte buf[] = new byte[sz]; stream.Receive(buf, 0, sz); result = buf; } break; //------------------------------ // Error message returned case 'E': if ( errorMessage == null ) errorMessage = new StringBuffer(); errorMessage.append(stream.ReceiveString(conn.getEncoding())); break; //------------------------------ // Notice from backend case 'N': conn.addWarning(stream.ReceiveString(conn.getEncoding())); break; //------------------------------ // End of results // // Here we simply return res, which would contain the result // processed earlier. If no result, this already contains null case '0': //DriverManager.println("returning "+result); // return result; break; case 'Z': // cause the loop to exit loop = false; break; default: throw new PSQLException("postgresql.fp.protocol", new Character((char)in)); } } if ( errorMessage != null ) throw new PSQLException("postgresql.fp.error", errorMessage.toString()); return result; } }
46597 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46597/ef7d7910745cf2812007668138eaaf0a8e1d8d99/Fastpath.java/clean/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 14469, 12, 474, 2295, 350, 16, 1250, 563, 723, 16, 9545, 803, 4117, 8526, 833, 13, 1216, 6483, 202, 95, 202, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 202, 202, 22043, 261, 3256, 13, 202, 202, 95, 1082, 202, 759, 1366, 326, 445, 745, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 16647, 353, 296, 42, 11, 316, 11768, 18, 3609, 30, 2727, 1404, 999, 2479, 2156, 1435, 2674, 487, 518, 4831, 4992, 9506, 202, 759, 716, 2195, 6117, 326, 4221, 18, 1021, 374, 30559, 326, 1296, 980, 18, 9506, 202, 3256, 18, 3826, 4522, 12, 7301, 16, 404, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 20, 16, 404, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 4293, 350, 16, 1059, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 1968, 18, 2469, 16, 1059, 1769, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 77, 411, 833, 18, 2469, 31, 77, 27245, 6862, 202, 1968, 63, 77, 8009, 4661, 12, 3256, 1769, 9506, 202, 759, 1220, 353, 3577, 16, 3541, 501, 848, 506, 13557, 9506, 202, 3256, 18, 11330, 5621, 1082, 202, 97, 1082, 202, 14683, 261, 14106, 10847, 13, 1082, 202, 95, 9506, 202, 12849, 394, 453, 23116, 2932, 2767, 24330, 18, 7944, 18, 4661, 3113, 394, 2144, 12, 4293, 350, 3631, 10847, 1769, 1082, 202, 97, 1082, 202, 759, 4494, 1640, 326, 563, 1082, 202, 759, 1660, 1410, 336, 296, 58, 11, 603, 1597, 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, 1033, 14469, 12, 474, 2295, 350, 16, 1250, 563, 723, 16, 9545, 803, 4117, 8526, 833, 13, 1216, 6483, 202, 95, 202, 202, 759, 3096, 29482, 2371, 23673, 28, 358, 8492, 584, 2650, 24179, 202, 202, 22043, 261, 3256, 13, 202, 202, 95, 1082, 202, 759, 1366, 326, 445, 745, 1082, 202, 698, 1082, 202, 95, 9506, 202, 759, 16647, 353, 296, 42, 11, 316, 11768, 18, 3609, 30, 2727, 1404, 999, 2479, 2156, 1435, 2674, 487, 518, 4831, 4992, 9506, 202, 759, 716, 2195, 6117, 326, 4221, 18, 1021, 374, 30559, 326, 1296, 980, 18, 9506, 202, 3256, 18, 3826, 4522, 12, 7301, 16, 404, 1769, 9506, 202, 3256, 18, 3826, 4522, 12, 20, 16, 2 ]
if (stmt != null) { stmt.checkClosed(); }
private void checkClosed() throws SQLException { if (stmt != null) { stmt.checkClosed(); } if (isClosed) { throw new SQLException("Invalid state: ResultSet closed."); } }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/e36636808e819c852c554642ef8e720df0405e27/TdsResultSet.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 7395, 1435, 1216, 6483, 288, 3639, 309, 261, 10589, 480, 446, 13, 288, 5411, 3480, 18, 1893, 7395, 5621, 3639, 289, 3639, 309, 261, 291, 7395, 13, 288, 5411, 604, 394, 6483, 2932, 1941, 919, 30, 10842, 4375, 1199, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 7395, 1435, 1216, 6483, 288, 3639, 309, 261, 10589, 480, 446, 13, 288, 5411, 3480, 18, 1893, 7395, 5621, 3639, 289, 3639, 309, 261, 291, 7395, 13, 288, 5411, 604, 394, 6483, 2932, 1941, 919, 30, 10842, 4375, 1199, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 M_CLONE: return rbClone();
public RubyObject callIndexed(int index, RubyObject[] args) { switch (index) { case M_INSPECT: return inspect(); case M_TO_S: return to_s(); case M_FROZEN: return frozen(); case M_EQUAL: return equal(args[0]); case M_EQL: return eql(args[0]); case M_AREF: return aref(args); case M_ASET: return aset(args); case M_FIRST: return first(); case M_LAST: return last(); case M_CONCAT: return concat(args[0]); case M_APPEND: return append(args[0]); case M_PUSH: return push(args); case M_POP: return pop(); case M_SHIFT: return shift(); case M_UNSHIFT: return unshift(args); case M_EACH: return each(); case M_EACH_INDEX: return each_index(); case M_REVERSE_EACH: return reverse_each(); case M_LENGTH: return length(); case M_EMPTY_P: return empty_p(); case M_INDEX: return index(args[0]); case M_RINDEX: return rindex(args[0]); case M_INDICES: return indices(args); case M_REVERSE: return reverse(); case M_REVERSE_BANG: return reverse_bang(); case M_SORT: return sort(); case M_SORT_BANG: return sort_bang(); case M_COLLECT: return collect(); case M_COLLECT_BANG: return collect_bang(); case M_DELETE: return delete(args[0]); case M_DELETE_AT: return delete_at(args[0]); case M_DELETE_IF: return delete_if(); case M_REJECT_BANG: return reject_bang(); case M_REPLACE: return replace(args[0]); case M_CLEAR: return clear(); case M_INCLUDE_P: return include_p(args[0]); case M_CLONE: return rbClone(); } Asserts.assertNotReached(); return null; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/afb67c3765f6466c476317e6bb0c72f6593f05f3/RubyArray.java/clean/org/jruby/RubyArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 15034, 12, 474, 770, 16, 19817, 921, 8526, 833, 13, 288, 3639, 1620, 261, 1615, 13, 288, 3639, 648, 490, 67, 706, 23810, 1268, 30, 5411, 327, 5334, 5621, 3639, 648, 490, 67, 4296, 67, 55, 30, 5411, 327, 358, 67, 87, 5621, 3639, 648, 490, 67, 42, 1457, 62, 1157, 30, 5411, 327, 12810, 5621, 3639, 648, 490, 67, 12853, 30, 5411, 327, 3959, 12, 1968, 63, 20, 19226, 3639, 648, 490, 67, 41, 2024, 30, 5411, 327, 425, 1217, 12, 1968, 63, 20, 19226, 3639, 648, 490, 67, 9332, 42, 30, 5411, 327, 854, 74, 12, 1968, 1769, 3639, 648, 490, 67, 37, 4043, 30, 5411, 327, 487, 278, 12, 1968, 1769, 3639, 648, 490, 67, 15354, 30, 5411, 327, 1122, 5621, 3639, 648, 490, 67, 14378, 30, 5411, 327, 1142, 5621, 3639, 648, 490, 67, 2248, 14130, 30, 5411, 327, 3835, 12, 1968, 63, 20, 19226, 3639, 648, 490, 67, 24176, 30, 5411, 327, 714, 12, 1968, 63, 20, 19226, 3639, 648, 490, 67, 30348, 30, 5411, 327, 1817, 12, 1968, 1769, 3639, 648, 490, 67, 30374, 30, 5411, 327, 1843, 5621, 3639, 648, 490, 67, 23191, 30, 5411, 327, 4654, 5621, 3639, 648, 490, 67, 2124, 23191, 30, 5411, 327, 15131, 12, 1968, 1769, 3639, 648, 490, 67, 41, 18133, 30, 5411, 327, 1517, 5621, 3639, 648, 490, 67, 41, 18133, 67, 9199, 30, 5411, 327, 1517, 67, 1615, 5621, 3639, 648, 490, 67, 862, 28489, 67, 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, 19817, 921, 745, 15034, 12, 474, 770, 16, 19817, 921, 8526, 833, 13, 288, 3639, 1620, 261, 1615, 13, 288, 3639, 648, 490, 67, 706, 23810, 1268, 30, 5411, 327, 5334, 5621, 3639, 648, 490, 67, 4296, 67, 55, 30, 5411, 327, 358, 67, 87, 5621, 3639, 648, 490, 67, 42, 1457, 62, 1157, 30, 5411, 327, 12810, 5621, 3639, 648, 490, 67, 12853, 30, 5411, 327, 3959, 12, 1968, 63, 20, 19226, 3639, 648, 490, 67, 41, 2024, 30, 5411, 327, 425, 1217, 12, 1968, 63, 20, 19226, 3639, 648, 490, 67, 9332, 42, 30, 5411, 327, 854, 74, 12, 1968, 1769, 3639, 648, 490, 67, 37, 4043, 30, 5411, 327, 487, 278, 12, 1968, 1769, 2 ]
case TypePackage.STOCK_SERIES__FORMAT_SPECIFIER: return getFormatSpecifier();
public Object eGet(EStructuralFeature eFeature, boolean resolve) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.STOCK_SERIES__VISIBLE: return isVisible() ? Boolean.TRUE : Boolean.FALSE; case TypePackage.STOCK_SERIES__LABEL: return getLabel(); case TypePackage.STOCK_SERIES__DATA_DEFINITION: return getDataDefinition(); case TypePackage.STOCK_SERIES__SERIES_IDENTIFIER: return getSeriesIdentifier(); case TypePackage.STOCK_SERIES__DATA_POINT: return getDataPoint(); case TypePackage.STOCK_SERIES__DATA_SET: return getDataSet(); case TypePackage.STOCK_SERIES__FORMAT_SPECIFIER: return getFormatSpecifier(); case TypePackage.STOCK_SERIES__LABEL_POSITION: return getLabelPosition(); case TypePackage.STOCK_SERIES__STACKED: return isStacked() ? Boolean.TRUE : Boolean.FALSE; case TypePackage.STOCK_SERIES__TRIGGERS: return getTriggers(); case TypePackage.STOCK_SERIES__TRANSLUCENT: return isTranslucent() ? Boolean.TRUE : Boolean.FALSE; case TypePackage.STOCK_SERIES__FILL: return getFill(); case TypePackage.STOCK_SERIES__LINE_ATTRIBUTES: return getLineAttributes(); } return eDynamicGet(eFeature, resolve); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/StockSeriesImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/StockSeriesImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 15952, 12, 41, 14372, 4595, 425, 4595, 16, 1250, 2245, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 29588, 30, 7734, 327, 20453, 1435, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 13545, 30, 7734, 327, 11237, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 327, 4303, 1852, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 327, 336, 6485, 3004, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 8941, 30, 7734, 327, 4303, 2148, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 4043, 30, 7734, 327, 4303, 694, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 7254, 67, 13847, 10591, 30, 7734, 327, 10959, 21416, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 13545, 67, 15258, 30, 7734, 327, 11237, 2555, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 21971, 2056, 30, 7734, 327, 353, 2624, 329, 1435, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 6566, 27399, 55, 30, 7734, 327, 336, 15114, 5621, 5411, 648, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 15952, 12, 41, 14372, 4595, 425, 4595, 16, 1250, 2245, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 29588, 30, 7734, 327, 20453, 1435, 692, 3411, 18, 18724, 294, 3411, 18, 21053, 31, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 13545, 30, 7734, 327, 11237, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 327, 4303, 1852, 5621, 5411, 648, 1412, 2261, 18, 31487, 3507, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 327, 336, 6485, 3004, 5621, 5411, 648, 1412, 2261, 2 ]
charMap.put("agrave", "\u00E0"); charMap.put("aacute", "\u00E1"); charMap.put("acirc", "\u00E2"); charMap.put("atilde", "\u00E3"); charMap.put("auml", "\u00E4"); charMap.put("aring", "\u00E5"); charMap.put("aelig", "\u00E6"); charMap.put("ccedil", "\u00E7"); charMap.put("egrave", "\u00E8"); charMap.put("eacute", "\u00E9"); charMap.put("ecirc", "\u00EA"); charMap.put("euml", "\u00EB"); charMap.put("igrave", "\u00EC"); charMap.put("iacute", "\u00ED"); charMap.put("icirc", "\u00EE"); charMap.put("iuml", "\u00EF");
charMap.put("agrave", "\u00E0"); charMap.put("aacute", "\u00E1"); charMap.put("acirc", "\u00E2"); charMap.put("atilde", "\u00E3"); charMap.put("auml", "\u00E4"); charMap.put("aring", "\u00E5"); charMap.put("aelig", "\u00E6"); charMap.put("ccedil", "\u00E7"); charMap.put("egrave", "\u00E8"); charMap.put("eacute", "\u00E9"); charMap.put("ecirc", "\u00EA"); charMap.put("euml", "\u00EB"); charMap.put("igrave", "\u00EC"); charMap.put("iacute", "\u00ED"); charMap.put("icirc", "\u00EE"); charMap.put("iuml", "\u00EF");
private final void initEntityTable() { for (int index = 11; index < 32; index++) charMap.put("#0" + index, String.valueOf((char) index)); for (int index = 32; index < 128; index++) charMap.put("#" + index, String.valueOf((char) index)); for (int index = 128; index < 256; index++) charMap.put("#" + index, String.valueOf((char) index)); // una buona tabella qui // http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references charMap.put("#09", "\t"); charMap.put("#10", "\n"); charMap.put("#13", "\r"); charMap.put("#60", "<"); charMap.put("#62", ">"); charMap.put("lt", "<"); charMap.put("gt", ">"); charMap.put("amp", "&"); charMap.put("nbsp", " "); charMap.put("quot", "\""); charMap.put("iexcl", "\u00A1"); charMap.put("cent", "\u00A2"); charMap.put("pound", "\u00A3"); charMap.put("curren", "\u00A4"); charMap.put("yen", "\u00A5"); charMap.put("brvbar", "\u00A6"); charMap.put("sect", "\u00A7"); charMap.put("uml", "\u00A8"); charMap.put("copy", "\u00A9"); charMap.put("ordf", "\u00AA"); charMap.put("laquo", "\u00AB"); charMap.put("not", "\u00AC"); charMap.put("shy", "\u00AD"); charMap.put("reg", "\u00AE"); charMap.put("macr", "\u00AF"); charMap.put("deg", "\u00B0"); charMap.put("plusmn", "\u00B1"); charMap.put("sup2", "\u00B2"); charMap.put("sup3", "\u00B3"); charMap.put("acute", "\u00B4"); charMap.put("micro", "\u00B5"); charMap.put("para", "\u00B6"); charMap.put("middot", "\u00B7"); charMap.put("cedil", "\u00B8"); charMap.put("sup1", "\u00B9"); charMap.put("ordm", "\u00BA"); charMap.put("raquo", "\u00BB"); charMap.put("frac14", "\u00BC"); charMap.put("frac12", "\u00BD"); charMap.put("frac34", "\u00BE"); charMap.put("iquest", "\u00BF"); charMap.put("Agrave", "\u00C0"); charMap.put("Aacute", "\u00C1"); charMap.put("Acirc", "\u00C2"); charMap.put("Atilde", "\u00C3"); charMap.put("Auml", "\u00C4"); charMap.put("Aring", "\u00C5"); charMap.put("AElig", "\u00C6"); charMap.put("Ccedil", "\u00C7"); charMap.put("Egrave", "\u00C8"); charMap.put("Eacute", "\u00C9"); charMap.put("Ecirc", "\u00CA"); charMap.put("Euml", "\u00CB"); charMap.put("Igrave", "\u00CC"); charMap.put("Iacute", "\u00CD"); charMap.put("Icirc", "\u00CE"); charMap.put("Iuml", "\u00CF"); charMap.put("ETH", "\u00D0"); charMap.put("Ntilde", "\u00D1"); charMap.put("Ograve", "\u00D2"); charMap.put("Oacute", "\u00D3"); charMap.put("Ocirc", "\u00D4"); charMap.put("Otilde", "\u00D5"); charMap.put("Ouml", "\u00D6"); charMap.put("times", "\u00D7"); charMap.put("Oslash", "\u00D8"); charMap.put("Ugrave", "\u00D9"); charMap.put("Uacute", "\u00DA"); charMap.put("Ucirc", "\u00DB"); charMap.put("Uuml", "\u00DC"); charMap.put("Yacute", "\u00DD"); charMap.put("THORN", "\u00DE"); charMap.put("szlig", "\u00DF"); charMap.put("agrave", "\u00E0"); charMap.put("aacute", "\u00E1"); charMap.put("acirc", "\u00E2"); charMap.put("atilde", "\u00E3"); charMap.put("auml", "\u00E4"); charMap.put("aring", "\u00E5"); charMap.put("aelig", "\u00E6"); charMap.put("ccedil", "\u00E7"); charMap.put("egrave", "\u00E8"); charMap.put("eacute", "\u00E9"); charMap.put("ecirc", "\u00EA"); charMap.put("euml", "\u00EB"); charMap.put("igrave", "\u00EC"); charMap.put("iacute", "\u00ED"); charMap.put("icirc", "\u00EE"); charMap.put("iuml", "\u00EF"); charMap.put("eth", "\u00F0"); charMap.put("ntilde", "\u00F1"); charMap.put("ograve", "\u00F2"); charMap.put("oacute", "\u00F3"); charMap.put("ocirc", "\u00F4"); charMap.put("otilde", "\u00F5"); charMap.put("ouml", "\u00F6"); charMap.put("divid", "\u00F7"); charMap.put("oslash", "\u00F8"); charMap.put("ugrave", "\u00F9"); charMap.put("uacute", "\u00FA"); charMap.put("ucirc", "\u00FB"); charMap.put("uuml", "\u00FC"); charMap.put("yacute", "\u00FD"); charMap.put("thorn", "\u00FE"); charMap.put("yuml", "\u00FF"); charMap.put("euro", "\u0080"); }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/ba37857b1181bceef527ce8c220b1ab1adb59841/OnlyText.java/buggy/src/java/org/apache/james/transport/mailets/OnlyText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 1208, 1943, 1388, 1435, 288, 202, 202, 1884, 261, 474, 770, 273, 4648, 31, 770, 411, 3847, 31, 770, 27245, 1149, 863, 18, 458, 2932, 7, 20, 6, 397, 770, 16, 514, 18, 1132, 951, 12443, 3001, 13, 770, 10019, 202, 202, 1884, 261, 474, 770, 273, 3847, 31, 770, 411, 8038, 31, 770, 27245, 1149, 863, 18, 458, 2932, 17133, 397, 770, 16, 514, 18, 1132, 951, 12443, 3001, 13, 770, 10019, 202, 202, 1884, 261, 474, 770, 273, 8038, 31, 770, 411, 8303, 31, 770, 27245, 1149, 863, 18, 458, 2932, 17133, 397, 770, 16, 514, 18, 1132, 951, 12443, 3001, 13, 770, 10019, 9506, 202, 759, 28842, 25666, 265, 69, 268, 873, 11821, 225, 719, 77, 202, 202, 759, 1062, 2207, 275, 18, 11999, 13744, 18, 3341, 19, 13044, 19, 682, 67, 792, 67, 4201, 67, 464, 67, 4870, 67, 11560, 67, 1096, 67, 14353, 9506, 202, 3001, 863, 18, 458, 2932, 7, 5908, 3113, 1548, 88, 8863, 202, 202, 3001, 863, 18, 458, 2932, 7, 2163, 3113, 1548, 82, 8863, 202, 202, 3001, 863, 18, 458, 2932, 7, 3437, 3113, 1548, 86, 8863, 202, 202, 3001, 863, 18, 458, 2932, 7, 4848, 3113, 3532, 8863, 202, 202, 3001, 863, 18, 458, 2932, 7, 8898, 3113, 14675, 1769, 202, 202, 3001, 863, 18, 458, 2932, 5618, 3113, 3532, 8863, 202, 202, 3001, 863, 18, 458, 2932, 4521, 3113, 14675, 1769, 202, 202, 3001, 863, 18, 458, 2932, 931, 3113, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 1208, 1943, 1388, 1435, 288, 202, 202, 1884, 261, 474, 770, 273, 4648, 31, 770, 411, 3847, 31, 770, 27245, 1149, 863, 18, 458, 2932, 7, 20, 6, 397, 770, 16, 514, 18, 1132, 951, 12443, 3001, 13, 770, 10019, 202, 202, 1884, 261, 474, 770, 273, 3847, 31, 770, 411, 8038, 31, 770, 27245, 1149, 863, 18, 458, 2932, 17133, 397, 770, 16, 514, 18, 1132, 951, 12443, 3001, 13, 770, 10019, 202, 202, 1884, 261, 474, 770, 273, 8038, 31, 770, 411, 8303, 31, 770, 27245, 1149, 863, 18, 458, 2932, 17133, 397, 770, 16, 514, 18, 1132, 951, 12443, 3001, 13, 770, 10019, 9506, 202, 759, 28842, 25666, 265, 69, 268, 2 ]
Activity i) { assert nowSet_.contains(i); nowSet_.add(i); }
Activity i) { }
public void notifyActivitySpawn(Activity a, Activity i) { assert nowSet_.contains(i); nowSet_.add(i); }
1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/ee02c6868949b2ade69b622bc3c5303f97584866/Clock_c.java/buggy/x10.runtime/src/x10/runtime/Clock_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 5066, 6193, 3389, 9533, 12, 6193, 279, 16, 4766, 5411, 9621, 277, 13, 288, 7734, 1815, 2037, 694, 27799, 12298, 12, 77, 1769, 7734, 2037, 694, 27799, 1289, 12, 77, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 5066, 6193, 3389, 9533, 12, 6193, 279, 16, 4766, 5411, 9621, 277, 13, 288, 7734, 1815, 2037, 694, 27799, 12298, 12, 77, 1769, 7734, 2037, 694, 27799, 1289, 12, 77, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
encBuff.append( getConnection() == null ? "" : getConnection().toString());
encBuff.append(getConnection() == null ? "" : getConnection() .toString());
public String toString() { StringBuffer encBuff = new StringBuffer(); //Encode single attributes encBuff.append(getVersion() == null ? "" : getVersion().toString()); encBuff.append(getOrigin() == null ? "" : getOrigin().toString()); encBuff.append( getSessionName() == null ? "" : getSessionName().toString()); encBuff.append(getInfo() == null ? "" : getInfo().toString()); //Encode attribute vectors try { encBuff.append(getURI() == null ? "" : getURI().toString()); encBuff.append(encodeVector(getEmails(true))); encBuff.append(encodeVector(getPhones(true))); encBuff.append( getConnection() == null ? "" : getConnection().toString()); encBuff.append(encodeVector(getBandwidths(true))); encBuff.append(encodeVector(getTimeDescriptions(true))); encBuff.append(encodeVector(getZoneAdjustments(true))); encBuff.append(getKey() == null ? "" : getKey().toString()); encBuff.append(encodeVector(getAttributes(true))); encBuff.append(encodeVector(getMediaDescriptions(true))); //adds the final crlf } catch (SdpException exc) { //add exception handling if necessary } return encBuff.toString(); }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/3a05e2397e3d61f9113b673f501b3459c8fdcc70/SessionDescriptionImpl.java/buggy/src/gov/nist/javax/sdp/SessionDescriptionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 780, 1892, 2446, 10642, 273, 394, 6674, 5621, 202, 202, 759, 5509, 2202, 1677, 202, 202, 1331, 10642, 18, 6923, 12, 588, 1444, 1435, 422, 446, 692, 1408, 294, 8343, 7675, 10492, 10663, 202, 202, 1331, 10642, 18, 6923, 12, 588, 7571, 1435, 422, 446, 692, 1408, 294, 336, 7571, 7675, 10492, 10663, 202, 202, 1331, 10642, 18, 6923, 12, 1082, 202, 588, 2157, 461, 1435, 422, 446, 692, 1408, 294, 7183, 461, 7675, 10492, 10663, 202, 202, 1331, 10642, 18, 6923, 12, 588, 966, 1435, 422, 446, 692, 1408, 294, 17142, 7675, 10492, 10663, 202, 202, 759, 5509, 1566, 10046, 202, 202, 698, 288, 1082, 202, 1331, 10642, 18, 6923, 12, 588, 3098, 1435, 422, 446, 692, 1408, 294, 21375, 7675, 10492, 10663, 1082, 202, 1331, 10642, 18, 6923, 12, 3015, 5018, 12, 588, 26614, 12, 3767, 3719, 1769, 1082, 202, 1331, 10642, 18, 6923, 12, 3015, 5018, 12, 588, 3731, 5322, 12, 3767, 3719, 1769, 1082, 202, 1331, 10642, 18, 6923, 12, 9506, 202, 588, 1952, 1435, 422, 446, 692, 1408, 294, 6742, 7675, 10492, 10663, 1082, 202, 1331, 10642, 18, 6923, 12, 3015, 5018, 12, 588, 14231, 17043, 12, 3767, 3719, 1769, 1082, 202, 1331, 10642, 18, 6923, 12, 3015, 5018, 12, 588, 950, 16844, 12, 3767, 3719, 1769, 1082, 202, 1331, 10642, 18, 6923, 12, 3015, 5018, 12, 588, 4226, 10952, 1346, 12, 3767, 3719, 1769, 1082, 202, 1331, 10642, 18, 6923, 12, 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, 514, 1762, 1435, 288, 202, 202, 780, 1892, 2446, 10642, 273, 394, 6674, 5621, 202, 202, 759, 5509, 2202, 1677, 202, 202, 1331, 10642, 18, 6923, 12, 588, 1444, 1435, 422, 446, 692, 1408, 294, 8343, 7675, 10492, 10663, 202, 202, 1331, 10642, 18, 6923, 12, 588, 7571, 1435, 422, 446, 692, 1408, 294, 336, 7571, 7675, 10492, 10663, 202, 202, 1331, 10642, 18, 6923, 12, 1082, 202, 588, 2157, 461, 1435, 422, 446, 692, 1408, 294, 7183, 461, 7675, 10492, 10663, 202, 202, 1331, 10642, 18, 6923, 12, 588, 966, 1435, 422, 446, 692, 1408, 294, 17142, 7675, 10492, 10663, 202, 202, 759, 5509, 1566, 10046, 202, 202, 698, 288, 1082, 202, 1331, 10642, 18, 2 ]
sb.append("\n");
sb.append("\n");
public String toString() { StringBuffer sb = new StringBuffer( "PrivateKeyEntry: number of elements in certificate chain is "); sb.append(Integer.toString(chain.length)); sb.append("\n"); for (int i = 0; i < chain.length; i++) { sb.append(chain[i].toString()); sb.append("\n"); } return sb.toString(); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/KeyStore.java/buggy/modules/security/src/main/java/common/java/security/KeyStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1762, 1435, 288, 5411, 6674, 2393, 273, 394, 6674, 12, 10792, 315, 10824, 1622, 30, 1300, 434, 2186, 316, 4944, 2687, 353, 315, 1769, 5411, 2393, 18, 6923, 12, 4522, 18, 10492, 12, 5639, 18, 2469, 10019, 5411, 2393, 18, 6923, 31458, 82, 8863, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2687, 18, 2469, 31, 277, 27245, 288, 7734, 2393, 18, 6923, 12, 5639, 63, 77, 8009, 10492, 10663, 7734, 2393, 18, 6923, 31458, 82, 8863, 5411, 289, 5411, 327, 2393, 18, 10492, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 1762, 1435, 288, 5411, 6674, 2393, 273, 394, 6674, 12, 10792, 315, 10824, 1622, 30, 1300, 434, 2186, 316, 4944, 2687, 353, 315, 1769, 5411, 2393, 18, 6923, 12, 4522, 18, 10492, 12, 5639, 18, 2469, 10019, 5411, 2393, 18, 6923, 31458, 82, 8863, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2687, 18, 2469, 31, 277, 27245, 288, 7734, 2393, 18, 6923, 12, 5639, 63, 77, 8009, 10492, 10663, 7734, 2393, 18, 6923, 31458, 82, 8863, 5411, 289, 5411, 327, 2393, 18, 10492, 5621, 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 ]
if (jj_scan_token(THROW)) return true; if (jj_3R_83()) return true;
if (jj_scan_token(BREAK)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_363()) jj_scanpos = xsp;
final private boolean jj_3R_187() { if (jj_scan_token(THROW)) return true; if (jj_3R_83()) return true; if (jj_scan_token(SEMICOLON)) return true; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/3afd4630754ba5d6642f3e8a1c9aa5162eff7e9f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 2643, 27, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 2455, 11226, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10261, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1090, 22972, 1741, 673, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 2643, 27, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 2455, 11226, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 10261, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 1090, 22972, 1741, 673, 3719, 327, 638, 31, 565, 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, -100, -100, -100 ]
return ( transferSource instanceof IDesignElement && ( (IDesignElement) transferSource ).getDefn( ) .getName( ) .equals( ReportDesignConstants.PARAMETER_GROUP_ELEMENT ) );
return ( transferSource instanceof IDesignElement && ( (IDesignElement) transferSource ) .getDefn( ).getName( ).equals( ReportDesignConstants.PARAMETER_GROUP_ELEMENT ) );
public static boolean isParameterGroup( Object transferSource ) { return ( transferSource instanceof IDesignElement && ( (IDesignElement) transferSource ).getDefn( ) .getName( ) .equals( ReportDesignConstants.PARAMETER_GROUP_ELEMENT ) ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/fa0d9b868dc450072bbb03258594a18bbc5f2012/DEUtil.java/clean/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, 1250, 353, 19094, 12, 1033, 7412, 1830, 262, 202, 95, 202, 202, 2463, 261, 7412, 1830, 1276, 1599, 281, 724, 1046, 597, 261, 261, 734, 281, 724, 1046, 13, 7412, 1830, 262, 18, 588, 3262, 82, 12, 262, 9506, 202, 18, 17994, 12, 262, 9506, 202, 18, 14963, 12, 8706, 15478, 2918, 18, 9819, 67, 8468, 67, 10976, 262, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 353, 19094, 12, 1033, 7412, 1830, 262, 202, 95, 202, 202, 2463, 261, 7412, 1830, 1276, 1599, 281, 724, 1046, 597, 261, 261, 734, 281, 724, 1046, 13, 7412, 1830, 262, 18, 588, 3262, 82, 12, 262, 9506, 202, 18, 17994, 12, 262, 9506, 202, 18, 14963, 12, 8706, 15478, 2918, 18, 9819, 67, 8468, 67, 10976, 262, 11272, 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 ]
public void testGetAntLogAsElement() {
public void testGetAntLogAsElement() throws Exception {
public void testGetAntLogAsElement() { try { Element buildLogElement = new Element("build"); File logFile = new File("_tempAntLog14.xml"); BufferedWriter bw1 = new BufferedWriter(new FileWriter(logFile)); bw1.write("<?xml:stylesheet type=\"text/xsl\" href=\"log.xsl\"?><build></build>"); bw1.flush(); bw1.close(); File logFile2 = new File("_tempAntLog141.xml"); BufferedWriter bw2 = new BufferedWriter(new FileWriter(logFile2)); bw2.write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?><?xml:stylesheet type=\"text/xsl\" href=\"log.xsl\"?><build></build>"); bw2.flush(); bw2.close(); AntBuilder builder = new AntBuilder(); assertEquals(buildLogElement.toString(), builder.getAntLogAsElement(logFile).toString()); assertEquals(buildLogElement.toString(), builder.getAntLogAsElement(logFile2).toString()); } catch (IOException ioe) { ioe.printStackTrace(); } }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/343c29c1e1a18b8ae94b988474dcde2e92f3d6cc/AntBuilderTest.java/clean/main/test/net/sourceforge/cruisecontrol/builders/AntBuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 14925, 1343, 1463, 1046, 1435, 1216, 1185, 288, 3639, 775, 288, 5411, 3010, 1361, 1343, 1046, 273, 394, 3010, 2932, 3510, 8863, 5411, 1387, 20169, 273, 394, 1387, 2932, 67, 5814, 14925, 1343, 3461, 18, 2902, 8863, 5411, 22490, 12986, 21, 273, 394, 22490, 12, 2704, 24639, 12, 1330, 812, 10019, 5411, 12986, 21, 18, 2626, 2932, 12880, 2902, 30, 19403, 618, 5189, 955, 19, 30903, 2412, 3897, 5189, 1330, 18, 30903, 2412, 35, 4438, 3510, 4695, 3510, 2984, 1769, 5411, 12986, 21, 18, 11330, 5621, 5411, 12986, 21, 18, 4412, 5621, 5411, 1387, 20169, 22, 273, 394, 1387, 2932, 67, 5814, 14925, 1343, 3461, 21, 18, 2902, 8863, 5411, 22490, 12986, 22, 273, 394, 22490, 12, 2704, 24639, 12, 1330, 812, 22, 10019, 5411, 12986, 22, 18, 2626, 2932, 12880, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 5189, 5159, 17, 28, 2412, 692, 30935, 2902, 30, 19403, 618, 5189, 955, 19, 30903, 2412, 3897, 5189, 1330, 18, 30903, 2412, 35, 4438, 3510, 4695, 3510, 2984, 1769, 5411, 12986, 22, 18, 11330, 5621, 5411, 12986, 22, 18, 4412, 5621, 5411, 18830, 1263, 2089, 273, 394, 18830, 1263, 5621, 5411, 1815, 8867, 12, 3510, 1343, 1046, 18, 10492, 9334, 2089, 18, 588, 14925, 1343, 1463, 1046, 12, 1330, 812, 2934, 10492, 10663, 5411, 1815, 8867, 12, 3510, 1343, 1046, 18, 10492, 9334, 2089, 18, 588, 14925, 1343, 1463, 1046, 12, 1330, 812, 22, 2934, 10492, 10663, 3639, 289, 1044, 261, 14106, 10847, 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, 967, 14925, 1343, 1463, 1046, 1435, 1216, 1185, 288, 3639, 775, 288, 5411, 3010, 1361, 1343, 1046, 273, 394, 3010, 2932, 3510, 8863, 5411, 1387, 20169, 273, 394, 1387, 2932, 67, 5814, 14925, 1343, 3461, 18, 2902, 8863, 5411, 22490, 12986, 21, 273, 394, 22490, 12, 2704, 24639, 12, 1330, 812, 10019, 5411, 12986, 21, 18, 2626, 2932, 12880, 2902, 30, 19403, 618, 5189, 955, 19, 30903, 2412, 3897, 5189, 1330, 18, 30903, 2412, 35, 4438, 3510, 4695, 3510, 2984, 1769, 5411, 12986, 21, 18, 11330, 5621, 5411, 12986, 21, 18, 4412, 5621, 5411, 1387, 20169, 22, 273, 394, 1387, 2932, 67, 5814, 14925, 1343, 3461, 21, 18, 2902, 8863, 5411, 22490, 12986, 22, 273, 2 ]
public final Class getCategory()
public Class getCategory()
public final Class getCategory() { return JobHoldUntil.class; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/JobHoldUntil.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/JobHoldUntil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1659, 19110, 1435, 225, 288, 565, 327, 3956, 20586, 9716, 18, 1106, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1659, 19110, 1435, 225, 288, 565, 327, 3956, 20586, 9716, 18, 1106, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("--------------------------------");
if (! (data[1] instanceof Number)) { throw new PainterException("setdash: wrong arguments"); } ArrayList list = (ArrayList) data[0]; if (list.size() == 0) { return; } float[] dashpattern = new float[list.size()]; for (int i = 0; i < dashpattern.length; i++) { dashpattern[i] = ( (Number) list.get(i)).floatValue(); } float dashoffset = ( (Number) data[1]).floatValue(); if (oldStroke instanceof BasicStroke) { newStroke = new BasicStroke( ( (BasicStroke) oldStroke).getLineWidth(), ( (BasicStroke) oldStroke).getEndCap(), ( (BasicStroke) oldStroke).getLineJoin(), ( (BasicStroke) oldStroke).getMiterLimit(), dashpattern, dashoffset); } else { newStroke = new BasicStroke(1.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, dashpattern, dashoffset); } context.pencil.graphics.setStroke(newStroke);
public void execute(PAContext context) throws PainterException { Enumeration enumx = context.operands.elements(); System.out.println("-------------Stack--------------"); while (enumx.hasMoreElements()) { System.out.println(enumx.nextElement()); } System.out.println("--------------------------------"); }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/e841a8d80b54d639e4e53a6a4fbdd96bb4c9ec7e/PAContext.java/clean/itext/src/com/lowagie/text/pdf/codec/postscript/PAContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 13864, 2792, 92, 273, 819, 18, 4063, 5708, 18, 6274, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 16982, 2624, 17908, 8863, 3639, 1323, 261, 7924, 92, 18, 5332, 7417, 3471, 10756, 288, 1850, 2332, 18, 659, 18, 8222, 12, 7924, 92, 18, 4285, 1046, 10663, 3639, 289, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 3588, 3719, 288, 604, 394, 453, 11606, 503, 2932, 542, 21817, 30, 7194, 1775, 8863, 289, 225, 2407, 666, 273, 261, 19558, 13, 501, 63, 20, 15533, 225, 309, 261, 1098, 18, 1467, 1435, 422, 374, 13, 288, 327, 31, 289, 1431, 8526, 12558, 4951, 273, 394, 1431, 63, 1098, 18, 1467, 1435, 15533, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12558, 4951, 18, 2469, 31, 277, 27245, 288, 12558, 4951, 63, 77, 65, 273, 261, 261, 1854, 13, 666, 18, 588, 12, 77, 13, 2934, 5659, 620, 5621, 289, 1431, 12558, 3348, 273, 261, 261, 1854, 13, 501, 63, 21, 65, 2934, 5659, 620, 5621, 309, 261, 1673, 14602, 1276, 7651, 14602, 13, 288, 394, 14602, 273, 394, 7651, 14602, 12, 261, 261, 8252, 14602, 13, 1592, 14602, 2934, 588, 1670, 2384, 9334, 261, 261, 8252, 14602, 13, 1592, 14602, 2934, 588, 1638, 4664, 9334, 261, 261, 8252, 14602, 13, 1592, 14602, 2934, 588, 1670, 4572, 9334, 261, 261, 8252, 14602, 13, 1592, 14602, 2934, 588, 49, 2165, 3039, 9334, 12558, 4951, 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, 4202, 1071, 918, 1836, 12, 4066, 1042, 819, 13, 1216, 453, 11606, 503, 288, 3639, 13864, 2792, 92, 273, 819, 18, 4063, 5708, 18, 6274, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 16982, 2624, 17908, 8863, 3639, 1323, 261, 7924, 92, 18, 5332, 7417, 3471, 10756, 288, 1850, 2332, 18, 659, 18, 8222, 12, 7924, 92, 18, 4285, 1046, 10663, 3639, 289, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 3588, 3719, 288, 604, 394, 453, 11606, 503, 2932, 542, 21817, 30, 7194, 1775, 8863, 289, 225, 2407, 666, 273, 261, 19558, 13, 501, 63, 20, 15533, 225, 309, 261, 1098, 18, 1467, 1435, 422, 374, 13, 288, 327, 31, 289, 1431, 8526, 12558, 4951, 273, 394, 2 ]