rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
if (!haveMinimumServerVersion("7.1")) { isolationLevelSQL = getIsolationLevelSQL(); } else { isolationLevelSQL = "SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL "; switch (isolationLevel) { case java.sql.Connection.TRANSACTION_READ_COMMITTED: isolationLevelSQL += "READ COMMITTED"; break; case java.sql.Connection.TRANSACTION_SERIALIZABLE: isolationLevelSQL += "SERIALIZABLE"; break; default: throw new PSQLException("postgresql.con.isolevel", new Integer(isolationLevel)); } } ExecSQL(isolationLevelSQL); }
if (!haveMinimumServerVersion("7.1")) { isolationLevelSQL = getIsolationLevelSQL(); } else { isolationLevelSQL = "SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL "; switch (isolationLevel) { case java.sql.Connection.TRANSACTION_READ_COMMITTED: isolationLevelSQL += "READ COMMITTED"; break; case java.sql.Connection.TRANSACTION_SERIALIZABLE: isolationLevelSQL += "SERIALIZABLE"; break; default: throw new PSQLException("postgresql.con.isolevel", new Integer(isolationLevel)); } } ExecSQL(isolationLevelSQL); }
public void setTransactionIsolation(int level) throws SQLException { //In 7.1 and later versions of the server it is possible using //the "set session" command to set this once for all future txns //however in 7.0 and prior versions it is necessary to set it in //each transaction, thus adding complexity below. //When we decide to drop support for servers older than 7.1 //this can be simplified isolationLevel = level; String isolationLevelSQL; if (!haveMinimumServerVersion("7.1")) { isolationLevelSQL = getIsolationLevelSQL(); } else { isolationLevelSQL = "SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL "; switch (isolationLevel) { case java.sql.Connection.TRANSACTION_READ_COMMITTED: isolationLevelSQL += "READ COMMITTED"; break; case java.sql.Connection.TRANSACTION_SERIALIZABLE: isolationLevelSQL += "SERIALIZABLE"; break; default: throw new PSQLException("postgresql.con.isolevel", new Integer(isolationLevel)); } } ExecSQL(isolationLevelSQL); }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/e25c93c7eb4a9a1a50b771cc33448b9d3519f403/Connection.java/clean/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3342, 22982, 12, 474, 1801, 13, 1216, 6483, 202, 95, 202, 202, 759, 382, 2371, 18, 21, 471, 5137, 5244, 434, 326, 1438, 518, 353, 3323, 1450, 202, 202, 759, 5787, 315, 542, 1339, 6, 1296, 358, 444, 333, 3647, 364, 777, 3563, 2229, 2387, 202, 202, 759, 13606, 6084, 316, 2371, 18, 20, 471, 6432, 5244, 518, 353, 4573, 358, 444, 518, 316, 202, 202, 759, 13798, 2492, 16, 12493, 6534, 21610, 5712, 18, 202, 202, 759, 9434, 732, 16288, 358, 3640, 2865, 364, 7084, 12156, 2353, 2371, 18, 21, 202, 202, 759, 2211, 848, 506, 20482, 202, 202, 291, 12255, 2355, 273, 1801, 31, 202, 202, 780, 25155, 2355, 3997, 31, 202, 202, 430, 16051, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 6, 3719, 202, 202, 95, 1082, 202, 291, 12255, 2355, 3997, 273, 14279, 12255, 2355, 3997, 5621, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 291, 12255, 2355, 3997, 273, 315, 4043, 10307, 27517, 5511, 28919, 5355, 24896, 4437, 1741, 2689, 15080, 13636, 1082, 202, 9610, 261, 291, 12255, 2355, 13, 1082, 202, 95, 9506, 202, 3593, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 6949, 67, 18658, 6404, 30, 6862, 202, 291, 12255, 2355, 3997, 1011, 315, 6949, 5423, 6068, 6404, 14432, 6862, 202, 8820, 31, 9506, 202, 3593, 2252, 18, 4669, 18, 1952, 18, 22364, 67, 2123, 15154, 2782, 30, 6862, 202, 291, 12255, 2355, 3997, 1011, 315, 2123, 15154, 2782, 14432, 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, 444, 3342, 22982, 12, 474, 1801, 13, 1216, 6483, 202, 95, 202, 202, 759, 382, 2371, 18, 21, 471, 5137, 5244, 434, 326, 1438, 518, 353, 3323, 1450, 202, 202, 759, 5787, 315, 542, 1339, 6, 1296, 358, 444, 333, 3647, 364, 777, 3563, 2229, 2387, 202, 202, 759, 13606, 6084, 316, 2371, 18, 20, 471, 6432, 5244, 518, 353, 4573, 358, 444, 518, 316, 202, 202, 759, 13798, 2492, 16, 12493, 6534, 21610, 5712, 18, 202, 202, 759, 9434, 732, 16288, 358, 3640, 2865, 364, 7084, 12156, 2353, 2371, 18, 21, 202, 202, 759, 2211, 848, 506, 20482, 202, 202, 291, 12255, 2355, 273, 1801, 31, 202, 202, 780, 25155, 2355, 3997, 31, 202, 2 ]
public void stateChanged(ChangeEvent event) { }
public void stateChanged(ChangeEvent event) { }
public void stateChanged(ChangeEvent event) { // TODO } // stateChanged()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JMenuItem.java/clean/core/src/classpath/javax/javax/swing/JMenuItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 919, 5033, 12, 20930, 871, 13, 288, 1082, 202, 759, 2660, 202, 202, 97, 368, 919, 5033, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3196, 202, 482, 918, 919, 5033, 12, 20930, 871, 13, 288, 1082, 202, 759, 2660, 202, 202, 97, 368, 919, 5033, 1435, 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 init(ICommonContentExtensionSite aConfig) {
public void init(ICommonContentExtensionSite aSite) {
public void init(ICommonContentExtensionSite aConfig) { }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/f4e2806288b1526af5c580fce418c44482ab466f/TestLabelProvider.java/clean/tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/extension/TestLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1208, 12, 45, 6517, 1350, 3625, 4956, 279, 809, 13, 288, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 918, 1208, 12, 45, 6517, 1350, 3625, 4956, 279, 809, 13, 288, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return Status.OK_STATUS; }
return Status.OK_STATUS; }
public IStatus runInUIThread(IProgressMonitor monitor) { if (singleton == null) return Status.CANCEL_STATUS; if (ProgressManagerUtil.rescheduleIfModalShellOpen(this)) return Status.CANCEL_STATUS; singleton.open(); return Status.OK_STATUS; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/6a99206e054ff86f865b73dd5a4799c2a23d3d2e/BlockedJobsDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/BlockedJobsDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 24487, 422, 446, 13, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 430, 261, 5491, 1318, 1304, 18, 455, 2847, 2047, 20191, 13220, 3678, 12, 2211, 3719, 25083, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 202, 24487, 18, 3190, 5621, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 467, 1482, 1086, 382, 57, 1285, 76, 896, 12, 45, 5491, 7187, 6438, 13, 288, 9506, 202, 430, 261, 24487, 422, 446, 13, 6862, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 9506, 202, 430, 261, 5491, 1318, 1304, 18, 455, 2847, 2047, 20191, 13220, 3678, 12, 2211, 3719, 25083, 202, 2463, 2685, 18, 25268, 67, 8608, 31, 6862, 202, 24487, 18, 3190, 5621, 9506, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
bindingList = null;
bindingList = null;
public void commitDataBinding( ) { dsHandle = null; bindingList = null; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/0fa56890544eb04b05d480e9d9db91985c45602e/ReportDataServiceProvider.java/buggy/chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ReportDataServiceProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3294, 751, 5250, 12, 262, 202, 95, 202, 202, 2377, 3259, 273, 446, 31, 202, 202, 7374, 682, 273, 446, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3294, 751, 5250, 12, 262, 202, 95, 202, 202, 2377, 3259, 273, 446, 31, 202, 202, 7374, 682, 273, 446, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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.data = d; this.parts = new HashMap(); this.bucketfactory = ctx.getBucketFactory(); try { this.parseMultiPartData(); } catch (IOException ioe) { }
this.data = null; this.parts = null; this.bucketfactory = null;
public HTTPRequest(URI uri, Bucket d, ToadletContext ctx) { this.uri = uri; this.headers = ctx.getHeaders(); this.parseRequestParameters(uri.getRawQuery(), true, false); this.data = d; this.parts = new HashMap(); this.bucketfactory = ctx.getBucketFactory(); try { this.parseMultiPartData(); } catch (IOException ioe) { } }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/1c876261ab73159d57a26624667ec7bf7acd15b8/HTTPRequest.java/buggy/src/freenet/clients/http/HTTPRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 25238, 12, 3098, 2003, 16, 7408, 302, 16, 2974, 361, 1810, 1042, 1103, 13, 288, 202, 202, 2211, 18, 1650, 273, 2003, 31, 202, 202, 2211, 18, 2485, 273, 1103, 18, 588, 3121, 5621, 202, 202, 2211, 18, 2670, 691, 2402, 12, 1650, 18, 588, 4809, 1138, 9334, 638, 16, 629, 1769, 202, 202, 2211, 18, 892, 273, 302, 31, 202, 202, 2211, 18, 6019, 273, 394, 4317, 5621, 202, 202, 2211, 18, 7242, 6848, 273, 1103, 18, 588, 4103, 1733, 5621, 202, 202, 698, 288, 1082, 202, 2211, 18, 2670, 5002, 1988, 751, 5621, 202, 202, 97, 1044, 261, 14106, 10847, 13, 288, 6862, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 25238, 12, 3098, 2003, 16, 7408, 302, 16, 2974, 361, 1810, 1042, 1103, 13, 288, 202, 202, 2211, 18, 1650, 273, 2003, 31, 202, 202, 2211, 18, 2485, 273, 1103, 18, 588, 3121, 5621, 202, 202, 2211, 18, 2670, 691, 2402, 12, 1650, 18, 588, 4809, 1138, 9334, 638, 16, 629, 1769, 202, 202, 2211, 18, 892, 273, 302, 31, 202, 202, 2211, 18, 6019, 273, 394, 4317, 5621, 202, 202, 2211, 18, 7242, 6848, 273, 1103, 18, 588, 4103, 1733, 5621, 202, 202, 698, 288, 1082, 202, 2211, 18, 2670, 5002, 1988, 751, 5621, 202, 202, 97, 1044, 261, 14106, 10847, 13, 288, 6862, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
URL newurl = new URL( baseURL, jarname );
URL newurl = new URL( codeBaseURL, jarname );
public void addJar( URL baseURL, String jarname ) { try { URL newurl = new URL( baseURL, jarname ); addURL( newurl ); } catch ( MalformedURLException e ) { Main.kjas_err( "bad url creation: " + e, e ); throw new IllegalArgumentException( jarname ); } }
45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/fa3b3ee38caa72e311a2058a30def08bbe086e38/KJASAppletClassLoader.java/clean/khtml/java/org/kde/kjas/server/KJASAppletClassLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 10813, 12, 1976, 17480, 16, 514, 7334, 529, 262, 565, 288, 3639, 775, 3639, 288, 5411, 1976, 394, 718, 273, 394, 1976, 12, 981, 29064, 16, 7334, 529, 11272, 5411, 527, 1785, 12, 394, 718, 11272, 3639, 289, 3639, 1044, 261, 20710, 425, 262, 3639, 288, 5411, 12740, 18, 79, 78, 345, 67, 370, 12, 315, 8759, 880, 6710, 30, 315, 397, 425, 16, 425, 11272, 5411, 604, 394, 2754, 12, 7334, 529, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 10813, 12, 1976, 17480, 16, 514, 7334, 529, 262, 565, 288, 3639, 775, 3639, 288, 5411, 1976, 394, 718, 273, 394, 1976, 12, 981, 29064, 16, 7334, 529, 11272, 5411, 527, 1785, 12, 394, 718, 11272, 3639, 289, 3639, 1044, 261, 20710, 425, 262, 3639, 288, 5411, 12740, 18, 79, 78, 345, 67, 370, 12, 315, 8759, 880, 6710, 30, 315, 397, 425, 16, 425, 11272, 5411, 604, 394, 2754, 12, 7334, 529, 11272, 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 ]
String output = formatValue( value );
String output = formatValue(value);
public int doStartTag() throws JspException { // Look up the requested bean (if necessary) if (ignore) { if (RequestUtils.lookup(pageContext, name, scope) == null) return (SKIP_BODY); // Nothing to output } // Look up the requested property value Object value = RequestUtils.lookup(pageContext, name, property, scope); if (value == null) return (SKIP_BODY); // Nothing to output // Convert value to the String with some formatting String output = formatValue( value ); // Print this property value to our output writer, suitably filtered if (filter) ResponseUtils.write(pageContext, ResponseUtils.filter(output)); else ResponseUtils.write(pageContext, output); // Continue processing this page return (SKIP_BODY); }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/c9a845480735aab19b705fecbd1367484021faad/WriteTag.java/buggy/src/share/org/apache/struts/taglib/bean/WriteTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 368, 10176, 731, 326, 3764, 3931, 261, 430, 4573, 13, 3639, 309, 261, 6185, 13, 288, 5411, 309, 261, 691, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 2146, 13, 422, 446, 13, 7734, 327, 261, 22589, 67, 16691, 1769, 225, 368, 13389, 358, 876, 3639, 289, 3639, 368, 10176, 731, 326, 3764, 1272, 460, 3639, 1033, 460, 273, 5411, 1567, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 1272, 16, 2146, 1769, 3639, 309, 261, 1132, 422, 446, 13, 5411, 327, 261, 22589, 67, 16691, 1769, 225, 368, 13389, 358, 876, 3639, 368, 4037, 460, 358, 326, 514, 598, 2690, 10407, 3639, 514, 876, 273, 740, 620, 12, 1132, 1769, 3639, 368, 3038, 333, 1272, 460, 358, 3134, 876, 2633, 16, 1597, 305, 6906, 5105, 3639, 309, 261, 2188, 13, 5411, 2306, 1989, 18, 2626, 12, 2433, 1042, 16, 2306, 1989, 18, 2188, 12, 2844, 10019, 3639, 469, 5411, 2306, 1989, 18, 2626, 12, 2433, 1042, 16, 876, 1769, 3639, 368, 16773, 4929, 333, 1363, 3639, 327, 261, 22589, 67, 16691, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 368, 10176, 731, 326, 3764, 3931, 261, 430, 4573, 13, 3639, 309, 261, 6185, 13, 288, 5411, 309, 261, 691, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 2146, 13, 422, 446, 13, 7734, 327, 261, 22589, 67, 16691, 1769, 225, 368, 13389, 358, 876, 3639, 289, 3639, 368, 10176, 731, 326, 3764, 1272, 460, 3639, 1033, 460, 273, 5411, 1567, 1989, 18, 8664, 12, 2433, 1042, 16, 508, 16, 1272, 16, 2146, 1769, 3639, 309, 261, 1132, 422, 446, 13, 5411, 327, 261, 22589, 67, 16691, 1769, 225, 368, 13389, 358, 876, 3639, 368, 4037, 460, 358, 326, 514, 598, 2690, 10407, 3639, 514, 876, 273, 740, 2 ]
catch (Exception e)
else
static private Properties loadPropertiesFile( final String resourceName, Properties defaults) throws IOException { // This static method should eventually be moved to a thread-specific class // so that we can cache the ContextClassLoader and bottleneck all properties file // loading throughout Xalan. Properties props = new Properties(defaults); InputStream is = null; BufferedInputStream bis = null; Class accessControllerClass = null; try { try { try { // This Class was introduced in JDK 1.2. With the re-architecture of // security mechanism ( starting in JDK 1.2 ), we have option of // giving privileges to certain part of code using doPrivileged block. // In JDK1.1.X applications won't be having security manager and if // there is security manager ( in applets ), code need to be signed // and trusted for having access to resources. accessControllerClass = Utils.ClassForName("java.security.AccessController"); // If we are here means user is using JDK >= 1.2. // Using doPrivileged to be able to read property file without opening // up secured container permissions like J2EE container is = ( InputStream) java .security .AccessController .doPrivileged( new java .security .PrivilegedAction() { public Object run() { try { java.lang.reflect.Method getCCL = Thread.class.getMethod( "getContextClassLoader", NO_CLASSES); if (getCCL != null) { ClassLoader contextClassLoader = (ClassLoader) getCCL.invoke( Thread.currentThread(), NO_OBJS); return ( contextClassLoader.getResourceAsStream( PROP_DIR + resourceName)); } } catch (Exception e) { } return null; } }); } catch (ClassNotFoundException e) { //User may be using older JDK ( JDK <1.2 ). Allow him/her to use it. // But don't try to use doPrivileged try { java.lang.reflect.Method getCCL = Thread.class.getMethod( "getContextClassLoader", NO_CLASSES); if (getCCL != null) { ClassLoader contextClassLoader = (ClassLoader) getCCL.invoke( Thread.currentThread(), NO_OBJS); is = contextClassLoader.getResourceAsStream( PROP_DIR + resourceName); } } catch (Exception exception) { } } } catch (Exception e) { } if (is == null) { if (accessControllerClass != null) { is = ( InputStream) java .security .AccessController .doPrivileged( new java .security .PrivilegedAction() { public Object run() { return OutputPropertiesFactory .class .getResourceAsStream( resourceName); } }); } else { // User may be using older JDK ( JDK < 1.2 ) is = OutputPropertiesFactory.class.getResourceAsStream( resourceName); } } bis = new BufferedInputStream(is); props.load(bis); } catch (IOException ioe) { if (defaults == null) { throw ioe; } else { throw new WrappedRuntimeException( XMLMessages.createXMLMessage( XMLErrorResources.ER_COULD_NOT_LOAD_RESOURCE, new Object[] { resourceName }), ioe); //"Could not load '"+resourceName+"' (check CLASSPATH), now using just the defaults ", ioe); } } catch (SecurityException se) { // Repeat IOException handling for sandbox/applet case -sc if (defaults == null) { throw se; } else { throw new WrappedRuntimeException( XMLMessages.createXMLMessage( XMLErrorResources.ER_COULD_NOT_LOAD_RESOURCE, new Object[] { resourceName }), se); //"Could not load '"+resourceName+"' (check CLASSPATH, applet security), now using just the defaults ", se); } } finally { if (bis != null) { bis.close(); } if (is != null) { is.close(); } } // Note that we're working at the HashTable level here, // and not at the Properties level! This is important // because we don't want to modify the default properties. // NB: If fixupPropertyString ends up changing the property // name or value, we need to remove the old key and re-add // with the new key and value. However, then our Enumeration // could lose its place in the HashTable. So, we first // clone the HashTable and enumerate over that since the // clone will not change. When we migrate to Collections, // this code should be revisited and cleaned up to use // an Iterator which may (or may not) alleviate the need for // the clone. Many thanks to Padraig O'hIceadha // <padraig@gradient.ie> for finding this problem. Bugzilla 2000. Enumeration keys = ((Properties) props.clone()).keys(); while (keys.hasMoreElements()) { String key = (String) keys.nextElement(); // Now check if the given key was specified as a // System property. If so, the system property // overides the default value in the propery file. String value = null; try { value = System.getProperty(key); } catch (SecurityException se) { // No-op for sandbox/applet case, leave null -sc } if (value == null) value = (String) props.get(key); String newKey = fixupPropertyString(key, true); String newValue = null; try { newValue = System.getProperty(newKey); } catch (SecurityException se) { // No-op for sandbox/applet case, leave null -sc } if (newValue == null) newValue = fixupPropertyString(value, false); else newValue = fixupPropertyString(newValue, false); if (key != newKey || value != newValue) { props.remove(key); props.put(newKey, newValue); } } return props; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/5e6c26b2a64456524660b6e5b8ba64780065feac/OutputPropertiesFactory.java/buggy/src/org/apache/xml/serializer/OutputPropertiesFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3238, 6183, 1262, 2297, 812, 12, 3639, 727, 514, 9546, 16, 3639, 6183, 3467, 13, 3639, 1216, 1860, 565, 288, 3639, 368, 1220, 760, 707, 1410, 18011, 506, 10456, 358, 279, 2650, 17, 12524, 667, 3639, 368, 1427, 716, 732, 848, 1247, 326, 1772, 7805, 471, 2512, 28445, 777, 1790, 585, 3639, 368, 7153, 3059, 659, 1139, 4316, 18, 3639, 6183, 3458, 273, 394, 6183, 12, 7606, 1769, 3639, 5037, 353, 273, 446, 31, 3639, 24742, 17771, 273, 446, 31, 3639, 1659, 2006, 2933, 797, 273, 446, 31, 3639, 775, 3639, 288, 5411, 775, 5411, 288, 7734, 775, 7734, 288, 10792, 368, 1220, 1659, 1703, 26339, 316, 24387, 404, 18, 22, 18, 3423, 326, 283, 17, 991, 18123, 434, 10792, 368, 4373, 12860, 261, 5023, 316, 24387, 404, 18, 22, 262, 16, 732, 1240, 1456, 434, 10792, 368, 21057, 19583, 358, 8626, 1087, 434, 981, 1450, 23473, 1203, 18, 10792, 368, 657, 24387, 21, 18, 21, 18, 60, 12165, 8462, 1404, 506, 7999, 4373, 3301, 471, 309, 10792, 368, 1915, 353, 4373, 3301, 261, 316, 513, 20773, 262, 16, 981, 1608, 358, 506, 6726, 10792, 368, 471, 13179, 364, 7999, 2006, 358, 2703, 18, 10792, 2006, 2933, 797, 273, 13491, 6091, 18, 797, 1290, 461, 2932, 6290, 18, 7462, 18, 1862, 2933, 8863, 10792, 368, 971, 732, 854, 2674, 4696, 729, 353, 1450, 24387, 1545, 404, 18, 22, 18, 10792, 368, 11637, 23473, 358, 506, 7752, 358, 855, 1272, 585, 2887, 10890, 10792, 368, 731, 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, 3238, 6183, 1262, 2297, 812, 12, 3639, 727, 514, 9546, 16, 3639, 6183, 3467, 13, 3639, 1216, 1860, 565, 288, 3639, 368, 1220, 760, 707, 1410, 18011, 506, 10456, 358, 279, 2650, 17, 12524, 667, 3639, 368, 1427, 716, 732, 848, 1247, 326, 1772, 7805, 471, 2512, 28445, 777, 1790, 585, 3639, 368, 7153, 3059, 659, 1139, 4316, 18, 3639, 6183, 3458, 273, 394, 6183, 12, 7606, 1769, 3639, 5037, 353, 273, 446, 31, 3639, 24742, 17771, 273, 446, 31, 3639, 1659, 2006, 2933, 797, 273, 446, 31, 3639, 775, 3639, 288, 5411, 775, 5411, 288, 7734, 775, 7734, 288, 10792, 368, 1220, 1659, 1703, 26339, 316, 24387, 404, 18, 22, 18, 3423, 326, 283, 17, 991, 2 ]
return new ToHitData(ToHitData.IMPOSSIBLE, "Charge action not found");
return new ToHitData(ToHitData.IMPOSSIBLE, "Charge action not found in movment path");
public static ToHitData toHitCharge(Game game, int attackerId, int targetId, MovementData md) { final Entity ae = game.getEntity(attackerId); final Entity te = game.getEntity(targetId); Coords chargeSrc = ae.getPosition(); MovementData.Step chargeStep = null; // let's just check this if (!md.contains(MovementData.STEP_CHARGE)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Charge action not found"); } // no jumping if (md.contains(MovementData.STEP_START_JUMP)) { return new ToHitData(ToHitData.IMPOSSIBLE, "No jumping allowed while charging"); } // no backwards if (md.contains(MovementData.STEP_BACKWARDS)) { return new ToHitData(ToHitData.IMPOSSIBLE, "No backwards movement allowed while charging"); } // determine last valid step compile(game, attackerId, md); for (final Enumeration i = md.getSteps(); i.hasMoreElements();) { final MovementData.Step step = (MovementData.Step)i.nextElement(); if (step.getMovementType() == Entity.MOVE_ILLEGAL) { break; } else { if (step.getType() == MovementData.STEP_CHARGE) { chargeStep = step; } else { chargeSrc = step.getPosition(); } } } if (chargeStep == null) { return new ToHitData(ToHitData.IMPOSSIBLE, "Could not determine last valid step"); } // need to reach target if (!te.getPosition().equals(chargeStep.getPosition())) { return new ToHitData(ToHitData.IMPOSSIBLE, "Could not reach target with movement"); } // target must have moved already if (te.ready) { return new ToHitData(ToHitData.IMPOSSIBLE, "Target must be done with movement"); } return toHitCharge(game, attackerId, targetId, chargeSrc); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/d1334634a383f140fc81d54ae347b3b9abbfea2d/Compute.java/clean/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 2974, 13616, 751, 358, 13616, 17649, 12, 12496, 7920, 16, 509, 13843, 264, 548, 16, 509, 27729, 16, 490, 26140, 751, 3481, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 4558, 484, 264, 548, 1769, 3639, 727, 3887, 6489, 273, 7920, 18, 588, 1943, 12, 3299, 548, 1769, 3639, 10320, 87, 13765, 7740, 273, 14221, 18, 588, 2555, 5621, 3639, 490, 26140, 751, 18, 4160, 13765, 4160, 273, 446, 31, 7734, 368, 2231, 1807, 2537, 866, 333, 3639, 309, 16051, 1264, 18, 12298, 12, 49, 26140, 751, 18, 26951, 67, 7305, 7113, 3719, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 315, 17649, 1301, 486, 1392, 316, 5730, 475, 589, 8863, 3639, 289, 7734, 368, 1158, 525, 379, 1382, 3639, 309, 261, 1264, 18, 12298, 12, 49, 26140, 751, 18, 26951, 67, 7570, 67, 46, 23942, 3719, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 315, 2279, 525, 379, 1382, 2935, 1323, 1149, 1998, 8863, 3639, 289, 7734, 368, 1158, 12727, 3639, 309, 261, 1264, 18, 12298, 12, 49, 26140, 751, 18, 26951, 67, 8720, 16777, 3948, 3719, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 315, 2279, 12727, 26017, 2935, 1323, 1149, 1998, 8863, 3639, 289, 7734, 368, 4199, 1142, 923, 2235, 3639, 4074, 12, 13957, 16, 13843, 264, 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, 2974, 13616, 751, 358, 13616, 17649, 12, 12496, 7920, 16, 509, 13843, 264, 548, 16, 509, 27729, 16, 490, 26140, 751, 3481, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 4558, 484, 264, 548, 1769, 3639, 727, 3887, 6489, 273, 7920, 18, 588, 1943, 12, 3299, 548, 1769, 3639, 10320, 87, 13765, 7740, 273, 14221, 18, 588, 2555, 5621, 3639, 490, 26140, 751, 18, 4160, 13765, 4160, 273, 446, 31, 7734, 368, 2231, 1807, 2537, 866, 333, 3639, 309, 16051, 1264, 18, 12298, 12, 49, 26140, 751, 18, 26951, 67, 7305, 7113, 3719, 288, 5411, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 315, 2 ]
public void testCallableRegisterOutParameter3() throws Exception { Statement stmt = con.createStatement(); stmt.execute("create procedure #rop3 @data int OUTPUT as\r\n " + "begin\r\n" + "set @data = null\r\n" + "end"); stmt.close(); CallableStatement cstmt = con.prepareCall("{call #rop3(?)}"); cstmt.registerOutParameter(1, Types.INTEGER); cstmt.execute(); cstmt.getInt(1); assertTrue(cstmt.wasNull()); cstmt.close(); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/b24a947d9e4f7e5ceb52d0435be1952757dabe97/CallableStatementTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/CallableStatementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 11452, 3996, 1182, 1662, 23, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 2640, 12131, 468, 1764, 23, 632, 892, 509, 11550, 487, 64, 86, 64, 82, 315, 5397, 397, 315, 10086, 64, 86, 64, 82, 6, 5397, 397, 315, 542, 632, 892, 273, 446, 64, 86, 64, 82, 6, 5397, 397, 315, 409, 8863, 3639, 3480, 18, 4412, 5621, 7734, 10464, 3406, 276, 10589, 273, 356, 18, 9366, 1477, 2932, 95, 1991, 468, 1764, 23, 3680, 23778, 1769, 3639, 276, 10589, 18, 4861, 1182, 1662, 12, 21, 16, 7658, 18, 14217, 1769, 3639, 276, 10589, 18, 8837, 5621, 3639, 276, 10589, 18, 588, 1702, 12, 21, 1769, 3639, 1815, 5510, 12, 71, 10589, 18, 17416, 2041, 10663, 3639, 276, 10589, 18, 4412, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11452, 3996, 1182, 1662, 23, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 2640, 12131, 468, 1764, 23, 632, 892, 509, 11550, 487, 64, 86, 64, 82, 315, 5397, 397, 315, 10086, 64, 86, 64, 82, 6, 5397, 397, 315, 542, 632, 892, 273, 446, 64, 86, 64, 82, 6, 5397, 397, 315, 409, 8863, 3639, 3480, 18, 4412, 5621, 7734, 10464, 3406, 276, 10589, 273, 356, 18, 9366, 1477, 2932, 95, 1991, 468, 1764, 23, 3680, 23778, 1769, 3639, 276, 10589, 18, 4861, 1182, 1662, 12, 21, 16, 7658, 18, 14217, 1769, 3639, 276, 10589, 18, 8837, 5621, 3639, 276, 10589, 18, 588, 1702, 2 ]
this.brace_position_for_enum_constant = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION);
this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION);
public void set(Map settings) { final Object alignmentForArgumentsInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_allocation_expression = Integer.parseInt((String) alignmentForArgumentsInAllocationExpressionOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT); if (alignmentForArgumentsInEnumConstantOption != null) { try { this.alignment_for_arguments_in_enum_constant = Integer.parseInt((String) alignmentForArgumentsInEnumConstantOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInExplicitConstructorCallOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL); if (alignmentForArgumentsInExplicitConstructorCallOption != null) { try { this.alignment_for_arguments_in_explicit_constructor_call = Integer.parseInt((String) alignmentForArgumentsInExplicitConstructorCallOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION); if (alignmentForArgumentsInMethodInvocationOption != null) { try { this.alignment_for_arguments_in_method_invocation = Integer.parseInt((String) alignmentForArgumentsInMethodInvocationOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForArgumentsInQualifiedAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION); if (alignmentForArgumentsInQualifiedAllocationExpressionOption != null) { try { this.alignment_for_arguments_in_qualified_allocation_expression = Integer.parseInt((String) alignmentForArgumentsInQualifiedAllocationExpressionOption); } catch (NumberFormatException e) { this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForAssignmentOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ASSIGNMENT); if (alignmentForAssignmentOption != null) { try { this.alignment_for_assignment = Integer.parseInt((String) alignmentForAssignmentOption); } catch (NumberFormatException e) { this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; } catch (ClassCastException e) { this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; } } final Object alignmentForBinaryExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION); if (alignmentForBinaryExpressionOption != null) { try { this.alignment_for_binary_expression = Integer.parseInt((String) alignmentForBinaryExpressionOption); } catch (NumberFormatException e) { this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForCompactIfOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); if (alignmentForCompactIfOption != null) { try { this.alignment_for_compact_if = Integer.parseInt((String) alignmentForCompactIfOption); } catch (NumberFormatException e) { this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; } catch (ClassCastException e) { this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; } } final Object alignmentForConditionalExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION); if (alignmentForConditionalExpressionOption != null) { try { this.alignment_for_conditional_expression = Integer.parseInt((String) alignmentForConditionalExpressionOption); } catch (NumberFormatException e) { this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; } catch (ClassCastException e) { this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; } } final Object alignmentForEnumConstantsOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS); if (alignmentForEnumConstantsOption != null) { try { this.alignment_for_enum_constants = Integer.parseInt((String) alignmentForEnumConstantsOption); } catch (NumberFormatException e) { this.alignment_for_enum_constants = Alignment.NONE; } catch (ClassCastException e) { this.alignment_for_enum_constants = Alignment.NONE; } } final Object alignmentForExpressionsInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER); if (alignmentForExpressionsInArrayInitializerOption != null) { try { this.alignment_for_expressions_in_array_initializer = Integer.parseInt((String) alignmentForExpressionsInArrayInitializerOption); } catch (NumberFormatException e) { this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForMultipleFieldsOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS); if (alignmentForMultipleFieldsOption != null) { try { this.alignment_for_multiple_fields = Integer.parseInt((String) alignmentForMultipleFieldsOption); } catch (NumberFormatException e) { this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForParametersInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION); if (alignmentForParametersInConstructorDeclarationOption != null) { try { this.alignment_for_parameters_in_constructor_declaration = Integer.parseInt((String) alignmentForParametersInConstructorDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } catch (ClassCastException e) { this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForParametersInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION); if (alignmentForParametersInMethodDeclarationOption != null) { try { this.alignment_for_parameters_in_method_declaration = Integer.parseInt((String) alignmentForParametersInMethodDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForSelectorInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION); if (alignmentForSelectorInMethodInvocationOption != null) { try { this.alignment_for_selector_in_method_invocation = Integer.parseInt((String) alignmentForSelectorInMethodInvocationOption); } catch (NumberFormatException e) { this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForSuperclassInTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION); if (alignmentForSuperclassInTypeDeclarationOption != null) { try { this.alignment_for_superclass_in_type_declaration = Integer.parseInt((String) alignmentForSuperclassInTypeDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForSuperinterfacesInEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION); if (alignmentForSuperinterfacesInEnumDeclarationOption != null) { try { this.alignment_for_superinterfaces_in_enum_declaration = Integer.parseInt((String) alignmentForSuperinterfacesInEnumDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForSuperinterfacesInTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION); if (alignmentForSuperinterfacesInTypeDeclarationOption != null) { try { this.alignment_for_superinterfaces_in_type_declaration = Integer.parseInt((String) alignmentForSuperinterfacesInTypeDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } catch(ClassCastException e) { this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; } } final Object alignmentForThrowsClauseInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION); if (alignmentForThrowsClauseInConstructorDeclarationOption != null) { try { this.alignment_for_throws_clause_in_constructor_declaration = Integer.parseInt((String) alignmentForThrowsClauseInConstructorDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignmentForThrowsClauseInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION); if (alignmentForThrowsClauseInMethodDeclarationOption != null) { try { this.alignment_for_throws_clause_in_method_declaration = Integer.parseInt((String) alignmentForThrowsClauseInMethodDeclarationOption); } catch (NumberFormatException e) { this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; } catch(ClassCastException e) { this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; } } final Object alignTypeMembersOnColumnsOption = settings.get(CodeFormatterConstants.FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS); if (alignTypeMembersOnColumnsOption != null) { this.align_type_members_on_columns = CodeFormatterConstants.TRUE.equals(alignTypeMembersOnColumnsOption); } final Object bracePositionForArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER); if (bracePositionForArrayInitializerOption != null) { try { this.brace_position_for_array_initializer = (String) bracePositionForArrayInitializerOption; } catch(ClassCastException e) { this.brace_position_for_array_initializer = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForBlockOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK); if (bracePositionForBlockOption != null) { try { this.brace_position_for_block = (String) bracePositionForBlockOption; } catch(ClassCastException e) { this.brace_position_for_block = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForBlockInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE); if (bracePositionForBlockInCaseOption != null) { try { this.brace_position_for_block_in_case = (String) bracePositionForBlockInCaseOption; } catch(ClassCastException e) { this.brace_position_for_block_in_case = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION); if (bracePositionForConstructorDeclarationOption != null) { try { this.brace_position_for_constructor_declaration = (String) bracePositionForConstructorDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_constructor_declaration = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT); if (bracePositionForEnumConstantOption != null) { try { this.brace_position_for_enum_constant = (String) bracePositionForEnumConstantOption; } catch(ClassCastException e) { this.brace_position_for_enum_constant = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION); if (bracePositionForEnumDeclarationOption != null) { try { this.brace_position_for_enum_declaration = (String) bracePositionForEnumDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_enum_declaration = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION); if (bracePositionForMethodDeclarationOption != null) { try { this.brace_position_for_method_declaration = (String) bracePositionForMethodDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_method_declaration = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH); if (bracePositionForSwitchOption != null) { try { this.brace_position_for_switch = (String) bracePositionForSwitchOption; } catch(ClassCastException e) { this.brace_position_for_switch = CodeFormatterConstants.END_OF_LINE; } } final Object bracePositionForTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION); if (bracePositionForTypeDeclarationOption != null) { try { this.brace_position_for_type_declaration = (String) bracePositionForTypeDeclarationOption; } catch(ClassCastException e) { this.brace_position_for_type_declaration = CodeFormatterConstants.END_OF_LINE; } } final Object continuationIndentationOption = settings.get(CodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION); if (continuationIndentationOption != null) { try { this.continuation_indentation = Integer.parseInt((String) continuationIndentationOption); } catch (NumberFormatException e) { this.continuation_indentation = 2; } catch(ClassCastException e) { this.continuation_indentation = 2; } } final Object continuationIndentationForArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER); if (continuationIndentationForArrayInitializerOption != null) { try { this.continuation_indentation_for_array_initializer = Integer.parseInt((String) continuationIndentationForArrayInitializerOption); } catch (NumberFormatException e) { this.continuation_indentation_for_array_initializer = 2; } catch(ClassCastException e) { this.continuation_indentation_for_array_initializer = 2; } }// final Object blankLinesAfterImportsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_IMPORTS);// if (blankLinesAfterImportsOption != null) {// try {// this.blank_lines_after_imports = Integer.parseInt((String) blankLinesAfterImportsOption);// } catch (NumberFormatException e) {// this.blank_lines_after_imports = 0;// } catch(ClassCastException e) {// this.blank_lines_after_imports = 0;// }// }// final Object blankLinesAfterPackageOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_PACKAGE);// if (blankLinesAfterPackageOption != null) {// try {// this.blank_lines_after_package = Integer.parseInt((String) blankLinesAfterPackageOption);// } catch (NumberFormatException e) {// this.blank_lines_after_package = 0;// } catch(ClassCastException e) {// this.blank_lines_after_package = 0;// }// }// final Object blankLinesBeforeFieldOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIELD);// if (blankLinesBeforeFieldOption != null) {// try {// this.blank_lines_before_field = Integer.parseInt((String) blankLinesBeforeFieldOption);// } catch (NumberFormatException e) {// this.blank_lines_before_field = 0;// } catch(ClassCastException e) {// this.blank_lines_before_field = 0;// }// }// final Object blankLinesBeforeFirstClassBodyDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION);// if (blankLinesBeforeFirstClassBodyDeclarationOption != null) {// try {// this.blank_lines_before_first_class_body_declaration = Integer.parseInt((String) blankLinesBeforeFirstClassBodyDeclarationOption);// } catch (NumberFormatException e) {// this.blank_lines_before_first_class_body_declaration = 0;// } catch(ClassCastException e) {// this.blank_lines_before_first_class_body_declaration = 0;// }// }// final Object blankLinesBeforeImportsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS);// if (blankLinesBeforeImportsOption != null) {// try {// this.blank_lines_before_imports = Integer.parseInt((String) blankLinesBeforeImportsOption);// } catch (NumberFormatException e) {// this.blank_lines_before_imports = 0;// } catch(ClassCastException e) {// this.blank_lines_before_imports = 0;// }// }// final Object blankLinesBeforeMemberTypeOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE);// if (blankLinesBeforeMemberTypeOption != null) {// try {// this.blank_lines_before_member_type = Integer.parseInt((String) blankLinesBeforeMemberTypeOption);// } catch (NumberFormatException e) {// this.blank_lines_before_member_type = 0;// } catch(ClassCastException e) {// this.blank_lines_before_member_type = 0;// }// }// final Object blankLinesBeforeMethodOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD);// if (blankLinesBeforeMethodOption != null) {// try {// this.blank_lines_before_method = Integer.parseInt((String) blankLinesBeforeMethodOption);// } catch (NumberFormatException e) {// this.blank_lines_before_method = 0;// } catch(ClassCastException e) {// this.blank_lines_before_method = 0;// }// }// final Object blankLinesBeforeNewChunkOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK);// if (blankLinesBeforeNewChunkOption != null) {// try {// this.blank_lines_before_new_chunk = Integer.parseInt((String) blankLinesBeforeNewChunkOption);// } catch (NumberFormatException e) {// this.blank_lines_before_new_chunk = 0;// } catch(ClassCastException e) {// this.blank_lines_before_new_chunk = 0;// }// }// final Object blankLinesBeforePackageOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE);// if (blankLinesBeforePackageOption != null) {// try {// this.blank_lines_before_package = Integer.parseInt((String) blankLinesBeforePackageOption);// } catch (NumberFormatException e) {// this.blank_lines_before_package = 0;// } catch(ClassCastException e) {// this.blank_lines_before_package = 0;// }// }// final Object blankLinesBetweenTypeDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS);// if (blankLinesBetweenTypeDeclarationsOption != null) {// try {// this.blank_lines_between_type_declarations = Integer.parseInt((String) blankLinesBetweenTypeDeclarationsOption);// } catch (NumberFormatException e) {// this.blank_lines_between_type_declarations = 0;// } catch(ClassCastException e) {// this.blank_lines_between_type_declarations = 0;// }// }// final Object blankLinesAtBeginningOfMethodBodyOption = settings.get(CodeFormatterConstants.FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY);// if (blankLinesAtBeginningOfMethodBodyOption != null) {// try {// this.blank_lines_at_beginning_of_method_body = Integer.parseInt((String) blankLinesAtBeginningOfMethodBodyOption);// } catch (NumberFormatException e) {// this.blank_lines_at_beginning_of_method_body = 0;// } catch(ClassCastException e) {// this.blank_lines_at_beginning_of_method_body = 0;// }// }// final Object commentClearBlankLinesOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES);// if (commentClearBlankLinesOption != null) {// this.comment_clear_blank_lines = CodeFormatterConstants.TRUE.equals(commentClearBlankLinesOption);// }// final Object commentFormatOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT);// if (commentFormatOption != null) {// this.comment_format = CodeFormatterConstants.TRUE.equals(commentFormatOption);// }// final Object commentFormatHeaderOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER);// if (commentFormatHeaderOption != null) {// this.comment_format_header = CodeFormatterConstants.TRUE.equals(commentFormatHeaderOption);// }// final Object commentFormatHtmlOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML);// if (commentFormatHtmlOption != null) {// this.comment_format_html = CodeFormatterConstants.TRUE.equals(commentFormatHtmlOption);// }// final Object commentFormatSourceOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE);// if (commentFormatSourceOption != null) {// this.comment_format_source = CodeFormatterConstants.TRUE.equals(commentFormatSourceOption);// }// final Object commentLineLengthOption = settings.get(CodeFormatterConstants.FORMATTER_COMMENT_LINE_LENGTH);// if (commentLineLengthOption != null) {// try {// this.comment_line_length = Integer.parseInt((String) commentLineLengthOption);// } catch (NumberFormatException e) {// this.comment_line_length = 80;// } catch(ClassCastException e) {// this.comment_line_length = 80;// }// } final Object indentStatementsCompareToBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK); if (indentStatementsCompareToBlockOption != null) { this.indent_statements_compare_to_block = CodeFormatterConstants.TRUE.equals(indentStatementsCompareToBlockOption); } final Object indentStatementsCompareToBodyOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY); if (indentStatementsCompareToBodyOption != null) { this.indent_statements_compare_to_body = CodeFormatterConstants.TRUE.equals(indentStatementsCompareToBodyOption); } final Object indentBodyDeclarationsCompareToEnumConstantHeaderOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER); if (indentBodyDeclarationsCompareToEnumConstantHeaderOption != null) { this.indent_body_declarations_compare_to_enum_constant_header = CodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumConstantHeaderOption); } final Object indentBodyDeclarationsCompareToEnumDeclarationHeaderOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER); if (indentBodyDeclarationsCompareToEnumDeclarationHeaderOption != null) { this.indent_body_declarations_compare_to_enum_declaration_header = CodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumDeclarationHeaderOption); } final Object indentBodyDeclarationsCompareToTypeHeaderOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_TYPE_HEADER); if (indentBodyDeclarationsCompareToTypeHeaderOption != null) { this.indent_body_declarations_compare_to_type_header = CodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToTypeHeaderOption); } final Object indentBreaksCompareToCasesOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES); if (indentBreaksCompareToCasesOption != null) { this.indent_breaks_compare_to_cases = CodeFormatterConstants.TRUE.equals(indentBreaksCompareToCasesOption); } final Object indentEmptyLinesOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES); if (indentEmptyLinesOption != null) { this.indent_empty_lines = CodeFormatterConstants.TRUE.equals(indentEmptyLinesOption); } final Object indentSwitchstatementsCompareToCasesOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES); if (indentSwitchstatementsCompareToCasesOption != null) { this.indent_switchstatements_compare_to_cases = CodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToCasesOption); } final Object indentSwitchstatementsCompareToSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH); if (indentSwitchstatementsCompareToSwitchOption != null) { this.indent_switchstatements_compare_to_switch = CodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToSwitchOption); } final Object indentationSizeOption = settings.get(CodeFormatterConstants.FORMATTER_INDENTATION_SIZE); if (indentationSizeOption != null) { try { this.indentation_size = Integer.parseInt((String) indentationSizeOption); } catch (NumberFormatException e) { this.indentation_size = 4; } catch(ClassCastException e) { this.indentation_size = 4; } }// final Object insertNewLineAfterOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertNewLineAfterOpeningBraceInArrayInitializerOption != null) {// this.insert_new_line_after_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertNewLineAfterOpeningBraceInArrayInitializerOption);// }// final Object insertNewLineAtEndOfFileIfMissingOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING);// if (insertNewLineAtEndOfFileIfMissingOption != null) {// this.insert_new_line_at_end_of_file_if_missing = CCorePlugin.INSERT.equals(insertNewLineAtEndOfFileIfMissingOption);// }// final Object insertNewLineBeforeCatchInTryStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT);// if (insertNewLineBeforeCatchInTryStatementOption != null) {// this.insert_new_line_before_catch_in_try_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeCatchInTryStatementOption);// }// final Object insertNewLineBeforeClosingBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER);// if (insertNewLineBeforeClosingBraceInArrayInitializerOption != null) {// this.insert_new_line_before_closing_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertNewLineBeforeClosingBraceInArrayInitializerOption);// }// final Object insertNewLineBeforeElseInIfStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT);// if (insertNewLineBeforeElseInIfStatementOption != null) {// this.insert_new_line_before_else_in_if_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeElseInIfStatementOption);// }// final Object insertNewLineBeforeFinallyInTryStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT);// if (insertNewLineBeforeFinallyInTryStatementOption != null) {// this.insert_new_line_before_finally_in_try_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeFinallyInTryStatementOption);// }// final Object insertNewLineBeforeWhileInDoStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT);// if (insertNewLineBeforeWhileInDoStatementOption != null) {// this.insert_new_line_before_while_in_do_statement = CCorePlugin.INSERT.equals(insertNewLineBeforeWhileInDoStatementOption);// }// final Object insertNewLineInEmptyBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK);// if (insertNewLineInEmptyBlockOption != null) {// this.insert_new_line_in_empty_block = CCorePlugin.INSERT.equals(insertNewLineInEmptyBlockOption);// }// final Object insertNewLineInEmptyEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT);// if (insertNewLineInEmptyEnumConstantOption != null) {// this.insert_new_line_in_empty_enum_constant = CCorePlugin.INSERT.equals(insertNewLineInEmptyEnumConstantOption);// }// final Object insertNewLineInEmptyEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION);// if (insertNewLineInEmptyEnumDeclarationOption != null) {// this.insert_new_line_in_empty_enum_declaration = CCorePlugin.INSERT.equals(insertNewLineInEmptyEnumDeclarationOption);// }// final Object insertNewLineInEmptyMethodBodyOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY);// if (insertNewLineInEmptyMethodBodyOption != null) {// this.insert_new_line_in_empty_method_body = CCorePlugin.INSERT.equals(insertNewLineInEmptyMethodBodyOption);// }// final Object insertNewLineInEmptyTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION);// if (insertNewLineInEmptyTypeDeclarationOption != null) {// this.insert_new_line_in_empty_type_declaration = CCorePlugin.INSERT.equals(insertNewLineInEmptyTypeDeclarationOption);// }// final Object insertSpaceAfterAndInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER);// if (insertSpaceAfterAndInWildcardOption != null) {// this.insert_space_after_and_in_type_parameter = CCorePlugin.INSERT.equals(insertSpaceAfterAndInWildcardOption);// }// final Object insertSpaceAfterAssignmentOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR);// if (insertSpaceAfterAssignmentOperatorOption != null) {// this.insert_space_after_assignment_operator = CCorePlugin.INSERT.equals(insertSpaceAfterAssignmentOperatorOption);// }// final Object insertSpaceAfterBinaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR);// if (insertSpaceAfterBinaryOperatorOption != null) {// this.insert_space_after_binary_operator = CCorePlugin.INSERT.equals(insertSpaceAfterBinaryOperatorOption);// }// final Object insertSpaceAfterClosingAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterClosingAngleBracketInTypeArgumentsOption != null) {// this.insert_space_after_closing_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceAfterClosingAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceAfterClosingAngleBracketInTypeParametersOption != null) {// this.insert_space_after_closing_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeParametersOption);// }// final Object insertSpaceAfterClosingParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST);// if (insertSpaceAfterClosingParenInCastOption != null) {// this.insert_space_after_closing_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceAfterClosingParenInCastOption);// }// final Object insertSpaceAfterClosingBraceInBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK);// if (insertSpaceAfterClosingBraceInBlockOption != null) {// this.insert_space_after_closing_brace_in_block = CCorePlugin.INSERT.equals(insertSpaceAfterClosingBraceInBlockOption);// }// final Object insertSpaceAfterColonInAssertOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT);// if (insertSpaceAfterColonInAssertOption != null) {// this.insert_space_after_colon_in_assert = CCorePlugin.INSERT.equals(insertSpaceAfterColonInAssertOption);// }// final Object insertSpaceAfterColonInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE);// if (insertSpaceAfterColonInCaseOption != null) {// this.insert_space_after_colon_in_case = CCorePlugin.INSERT.equals(insertSpaceAfterColonInCaseOption);// }// final Object insertSpaceAfterColonInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL);// if (insertSpaceAfterColonInConditionalOption != null) {// this.insert_space_after_colon_in_conditional = CCorePlugin.INSERT.equals(insertSpaceAfterColonInConditionalOption);// }// final Object insertSpaceAfterColonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR);// if (insertSpaceAfterColonInForOption != null) {// this.insert_space_after_colon_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterColonInForOption);// }// final Object insertSpaceAfterColonInLabeledStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT);// if (insertSpaceAfterColonInLabeledStatementOption != null) {// this.insert_space_after_colon_in_labeled_statement = CCorePlugin.INSERT.equals(insertSpaceAfterColonInLabeledStatementOption);// }// final Object insertSpaceAfterCommaInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION);// if (insertSpaceAfterCommaInAllocationExpressionOption != null) {// this.insert_space_after_comma_in_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInAllocationExpressionOption);// }// final Object insertSpaceAfterCommaInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER);// if (insertSpaceAfterCommaInArrayInitializerOption != null) {// this.insert_space_after_comma_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInArrayInitializerOption);// }// final Object insertSpaceAfterCommaInConstructorDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS);// if (insertSpaceAfterCommaInConstructorDeclarationParametersOption != null) {// this.insert_space_after_comma_in_constructor_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationParametersOption);// }// final Object insertSpaceAfterCommaInConstructorDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS);// if (insertSpaceAfterCommaInConstructorDeclarationThrowsOption != null) {// this.insert_space_after_comma_in_constructor_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationThrowsOption);// }// final Object insertSpaceAfterCommaInEnumConstantArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS);// if (insertSpaceAfterCommaInEnumConstantArgumentsOption != null) {// this.insert_space_after_comma_in_enum_constant_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInEnumConstantArgumentsOption);// }// final Object insertSpaceAfterCommaInEnumDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS);// if (insertSpaceAfterCommaInEnumDeclarationsOption != null) {// this.insert_space_after_comma_in_enum_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInEnumDeclarationsOption);// }// final Object insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS);// if (insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption != null) {// this.insert_space_after_comma_in_explicit_constructor_call_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption);// }// final Object insertSpaceAfterCommaInForIncrementsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS);// if (insertSpaceAfterCommaInForIncrementsOption != null) {// this.insert_space_after_comma_in_for_increments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInForIncrementsOption);// }// final Object insertSpaceAfterCommaInForInitsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS);// if (insertSpaceAfterCommaInForInitsOption != null) {// this.insert_space_after_comma_in_for_inits = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInForInitsOption);// }// final Object insertSpaceAfterCommaInMethodInvocationArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS);// if (insertSpaceAfterCommaInMethodInvocationArgumentsOption != null) {// this.insert_space_after_comma_in_method_invocation_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodInvocationArgumentsOption);// }// final Object insertSpaceAfterCommaInMethodDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS);// if (insertSpaceAfterCommaInMethodDeclarationParametersOption != null) {// this.insert_space_after_comma_in_method_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationParametersOption);// }// final Object insertSpaceAfterCommaInMethodDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS);// if (insertSpaceAfterCommaInMethodDeclarationThrowsOption != null) {// this.insert_space_after_comma_in_method_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationThrowsOption);// }// final Object insertSpaceAfterCommaInMultipleFieldDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS);// if (insertSpaceAfterCommaInMultipleFieldDeclarationsOption != null) {// this.insert_space_after_comma_in_multiple_field_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMultipleFieldDeclarationsOption);// }// final Object insertSpaceAfterCommaInMultipleLocalDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS);// if (insertSpaceAfterCommaInMultipleLocalDeclarationsOption != null) {// this.insert_space_after_comma_in_multiple_local_declarations = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInMultipleLocalDeclarationsOption);// }// final Object insertSpaceAfterCommaInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceAfterCommaInParameterizedTypeReferenceOption != null) {// this.insert_space_after_comma_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInParameterizedTypeReferenceOption);// }// final Object insertSpaceAfterCommaInSuperinterfacesOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES);// if (insertSpaceAfterCommaInSuperinterfacesOption != null) {// this.insert_space_after_comma_in_superinterfaces = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInSuperinterfacesOption);// }// final Object insertSpaceAfterCommaInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterCommaInTypeArgumentsOption != null) {// this.insert_space_after_comma_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInTypeArgumentsOption);// }// final Object insertSpaceAfterCommaInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS);// if (insertSpaceAfterCommaInTypeParametersOption != null) {// this.insert_space_after_comma_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterCommaInTypeParametersOption);// }// final Object insertSpaceAfterEllipsisOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS);// if (insertSpaceAfterEllipsisOption != null) {// this.insert_space_after_ellipsis = CCorePlugin.INSERT.equals(insertSpaceAfterEllipsisOption);// }// final Object insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption != null) {// this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption);// }// final Object insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption != null) {// this.insert_space_after_opening_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceAfterOpeningAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceAfterOpeningAngleBracketInTypeParametersOption != null) {// this.insert_space_after_opening_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeParametersOption);// }// final Object insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption != null) {// this.insert_space_after_opening_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceAfterOpeningBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceAfterOpeningBracketInArrayReferenceOption != null) {// this.insert_space_after_opening_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBracketInArrayReferenceOption);// }// final Object insertSpaceAfterOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceAfterOpeningBraceInArrayInitializerOption != null) {// this.insert_space_after_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningBraceInArrayInitializerOption);// }// final Object insertSpaceAfterOpeningParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST);// if (insertSpaceAfterOpeningParenInCastOption != null) {// this.insert_space_after_opening_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInCastOption);// }// final Object insertSpaceAfterOpeningParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH);// if (insertSpaceAfterOpeningParenInCatchOption != null) {// this.insert_space_after_opening_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInCatchOption);// }// final Object insertSpaceAfterOpeningParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceAfterOpeningParenInConstructorDeclarationOption != null) {// this.insert_space_after_opening_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInConstructorDeclarationOption);// }// final Object insertSpaceAfterOpeningParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceAfterOpeningParenInEnumConstantOption != null) {// this.insert_space_after_opening_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInEnumConstantOption);// }// final Object insertSpaceAfterOpeningParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR);// if (insertSpaceAfterOpeningParenInForOption != null) {// this.insert_space_after_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInForOption);// }// final Object insertSpaceAfterOpeningParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF);// if (insertSpaceAfterOpeningParenInIfOption != null) {// this.insert_space_after_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInIfOption);// }// final Object insertSpaceAfterOpeningParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceAfterOpeningParenInMethodDeclarationOption != null) {// this.insert_space_after_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInMethodDeclarationOption);// }// final Object insertSpaceAfterOpeningParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceAfterOpeningParenInMethodInvocationOption != null) {// this.insert_space_after_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInMethodInvocationOption);// }// final Object insertSpaceAfterOpeningParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceAfterOpeningParenInParenthesizedExpressionOption != null) {// this.insert_space_after_opening_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInParenthesizedExpressionOption);// }// final Object insertSpaceAfterOpeningParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH);// if (insertSpaceAfterOpeningParenInSwitchOption != null) {// this.insert_space_after_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInSwitchOption);// }// final Object insertSpaceAfterOpeningParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceAfterOpeningParenInSynchronizedOption != null) {// this.insert_space_after_opening_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInSynchronizedOption);// }// final Object insertSpaceAfterOpeningParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE);// if (insertSpaceAfterOpeningParenInWhileOption != null) {// this.insert_space_after_opening_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceAfterOpeningParenInWhileOption);// }// final Object insertSpaceAfterPostfixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR);// if (insertSpaceAfterPostfixOperatorOption != null) {// this.insert_space_after_postfix_operator = CCorePlugin.INSERT.equals(insertSpaceAfterPostfixOperatorOption);// }// final Object insertSpaceAfterPrefixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR);// if (insertSpaceAfterPrefixOperatorOption != null) {// this.insert_space_after_prefix_operator = CCorePlugin.INSERT.equals(insertSpaceAfterPrefixOperatorOption);// }// final Object insertSpaceAfterQuestionInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL);// if (insertSpaceAfterQuestionInConditionalOption != null) {// this.insert_space_after_question_in_conditional = CCorePlugin.INSERT.equals(insertSpaceAfterQuestionInConditionalOption);// }// final Object insertSpaceAfterQuestionInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD);// if (insertSpaceAfterQuestionInWildcardOption != null) {// this.insert_space_after_question_in_wilcard = CCorePlugin.INSERT.equals(insertSpaceAfterQuestionInWildcardOption);// }// final Object insertSpaceAfterSemicolonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR);// if (insertSpaceAfterSemicolonInForOption != null) {// this.insert_space_after_semicolon_in_for = CCorePlugin.INSERT.equals(insertSpaceAfterSemicolonInForOption);// }// final Object insertSpaceAfterUnaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR);// if (insertSpaceAfterUnaryOperatorOption != null) {// this.insert_space_after_unary_operator = CCorePlugin.INSERT.equals(insertSpaceAfterUnaryOperatorOption);// }// final Object insertSpaceBeforeAndInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER);// if (insertSpaceBeforeAndInWildcardOption != null) {// this.insert_space_before_and_in_type_parameter = CCorePlugin.INSERT.equals(insertSpaceBeforeAndInWildcardOption);// }// final Object insertSpaceBeforeAssignmentOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR);// if (insertSpaceBeforeAssignmentOperatorOption != null) {// this.insert_space_before_assignment_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeAssignmentOperatorOption);// }// final Object insertSpaceBeforeBinaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR);// if (insertSpaceBeforeBinaryOperatorOption != null) {// this.insert_space_before_binary_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeBinaryOperatorOption);// }// final Object insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption != null) {// this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption != null) {// this.insert_space_before_closing_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption);// }// final Object insertSpaceBeforeClosingAngleBracketInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeClosingAngleBracketInTypeParametersOption != null) {// this.insert_space_before_closing_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeParametersOption);// }// final Object insertSpaceBeforeClosingBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeClosingBraceInArrayInitializerOption != null) {// this.insert_space_before_closing_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBraceInArrayInitializerOption);// }// final Object insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption != null) {// this.insert_space_before_closing_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceBeforeClosingBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceBeforeClosingBracketInArrayReferenceOption != null) {// this.insert_space_before_closing_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingBracketInArrayReferenceOption);// }// final Object insertSpaceBeforeClosingParenInCastOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST);// if (insertSpaceBeforeClosingParenInCastOption != null) {// this.insert_space_before_closing_paren_in_cast = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInCastOption);// }// final Object insertSpaceBeforeClosingParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH);// if (insertSpaceBeforeClosingParenInCatchOption != null) {// this.insert_space_before_closing_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInCatchOption);// }// final Object insertSpaceBeforeClosingParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeClosingParenInConstructorDeclarationOption != null) {// this.insert_space_before_closing_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInConstructorDeclarationOption);// }// final Object insertSpaceBeforeClosingParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceBeforeClosingParenInEnumConstantOption != null) {// this.insert_space_before_closing_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInEnumConstantOption);// }// final Object insertSpaceBeforeClosingParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR);// if (insertSpaceBeforeClosingParenInForOption != null) {// this.insert_space_before_closing_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInForOption);// }// final Object insertSpaceBeforeClosingParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF);// if (insertSpaceBeforeClosingParenInIfOption != null) {// this.insert_space_before_closing_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInIfOption);// }// final Object insertSpaceBeforeClosingParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceBeforeClosingParenInMethodDeclarationOption != null) {// this.insert_space_before_closing_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInMethodDeclarationOption);// }// final Object insertSpaceBeforeClosingParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceBeforeClosingParenInMethodInvocationOption != null) {// this.insert_space_before_closing_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInMethodInvocationOption);// }// final Object insertSpaceBeforeClosingParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceBeforeClosingParenInParenthesizedExpressionOption != null) {// this.insert_space_before_closing_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInParenthesizedExpressionOption);// }// final Object insertSpaceBeforeClosingParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH);// if (insertSpaceBeforeClosingParenInSwitchOption != null) {// this.insert_space_before_closing_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInSwitchOption);// }// final Object insertSpaceBeforeClosingParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceBeforeClosingParenInSynchronizedOption != null) {// this.insert_space_before_closing_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInSynchronizedOption);// }// final Object insertSpaceBeforeClosingParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE);// if (insertSpaceBeforeClosingParenInWhileOption != null) {// this.insert_space_before_closing_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceBeforeClosingParenInWhileOption);// }// final Object insertSpaceBeforeColonInAssertOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT);// if (insertSpaceBeforeColonInAssertOption != null) {// this.insert_space_before_colon_in_assert = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInAssertOption);// }// final Object insertSpaceBeforeColonInCaseOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE);// if (insertSpaceBeforeColonInCaseOption != null) {// this.insert_space_before_colon_in_case = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInCaseOption);// }// final Object insertSpaceBeforeColonInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL);// if (insertSpaceBeforeColonInConditionalOption != null) {// this.insert_space_before_colon_in_conditional = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInConditionalOption);// }// final Object insertSpaceBeforeColonInDefaultOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT);// if (insertSpaceBeforeColonInDefaultOption != null) {// this.insert_space_before_colon_in_default = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInDefaultOption);// }// final Object insertSpaceBeforeColonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR);// if (insertSpaceBeforeColonInForOption != null) {// this.insert_space_before_colon_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInForOption);// }// final Object insertSpaceBeforeColonInLabeledStatementOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT);// if (insertSpaceBeforeColonInLabeledStatementOption != null) {// this.insert_space_before_colon_in_labeled_statement = CCorePlugin.INSERT.equals(insertSpaceBeforeColonInLabeledStatementOption);// }// final Object insertSpaceBeforeCommaInAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeCommaInAllocationExpressionOption != null) {// this.insert_space_before_comma_in_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInAllocationExpressionOption);// }// final Object insertSpaceBeforeCommaInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeCommaInArrayInitializerOption != null) {// this.insert_space_before_comma_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInArrayInitializerOption);// }// final Object insertSpaceBeforeCommaInConstructorDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS);// if (insertSpaceBeforeCommaInConstructorDeclarationParametersOption != null) {// this.insert_space_before_comma_in_constructor_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationParametersOption);// }// final Object insertSpaceBeforeCommaInConstructorDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS);// if (insertSpaceBeforeCommaInConstructorDeclarationThrowsOption != null) {// this.insert_space_before_comma_in_constructor_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationThrowsOption);// }// final Object insertSpaceBeforeCommaInEnumConstantArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS);// if (insertSpaceBeforeCommaInEnumConstantArgumentsOption != null) {// this.insert_space_before_comma_in_enum_constant_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInEnumConstantArgumentsOption);// }// final Object insertSpaceBeforeCommaInEnumDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS);// if (insertSpaceBeforeCommaInEnumDeclarationsOption != null) {// this.insert_space_before_comma_in_enum_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInEnumDeclarationsOption);// }// final Object insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS);// if (insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption != null) {// this.insert_space_before_comma_in_explicit_constructor_call_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption);// }// final Object insertSpaceBeforeCommaInForIncrementsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS);// if (insertSpaceBeforeCommaInForIncrementsOption != null) {// this.insert_space_before_comma_in_for_increments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInForIncrementsOption);// }// final Object insertSpaceBeforeCommaInForInitsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS);// if (insertSpaceBeforeCommaInForInitsOption != null) {// this.insert_space_before_comma_in_for_inits = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInForInitsOption);// }// final Object insertSpaceBeforeCommaInMethodInvocationArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS);// if (insertSpaceBeforeCommaInMethodInvocationArgumentsOption != null) {// this.insert_space_before_comma_in_method_invocation_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodInvocationArgumentsOption);// }// final Object insertSpaceBeforeCommaInMethodDeclarationParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS);// if (insertSpaceBeforeCommaInMethodDeclarationParametersOption != null) {// this.insert_space_before_comma_in_method_declaration_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationParametersOption);// }// final Object insertSpaceBeforeCommaInMethodDeclarationThrowsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS);// if (insertSpaceBeforeCommaInMethodDeclarationThrowsOption != null) {// this.insert_space_before_comma_in_method_declaration_throws = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationThrowsOption);// }// final Object insertSpaceBeforeCommaInMultipleFieldDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS);// if (insertSpaceBeforeCommaInMultipleFieldDeclarationsOption != null) {// this.insert_space_before_comma_in_multiple_field_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMultipleFieldDeclarationsOption);// }// final Object insertSpaceBeforeCommaInMultipleLocalDeclarationsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS);// if (insertSpaceBeforeCommaInMultipleLocalDeclarationsOption != null) {// this.insert_space_before_comma_in_multiple_local_declarations = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInMultipleLocalDeclarationsOption);// }// final Object insertSpaceBeforeCommaInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeCommaInParameterizedTypeReferenceOption != null) {// this.insert_space_before_comma_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeCommaInSuperinterfacesOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES);// if (insertSpaceBeforeCommaInSuperinterfacesOption != null) {// this.insert_space_before_comma_in_superinterfaces = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInSuperinterfacesOption);// }// final Object insertSpaceBeforeCommaInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeCommaInTypeArgumentsOption != null) {// this.insert_space_before_comma_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInTypeArgumentsOption);// }// final Object insertSpaceBeforeCommaInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeCommaInTypeParametersOption != null) {// this.insert_space_before_comma_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeCommaInTypeParametersOption);// }// final Object insertSpaceBeforeEllipsisOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS);// if (insertSpaceBeforeEllipsisOption != null) {// this.insert_space_before_ellipsis = CCorePlugin.INSERT.equals(insertSpaceBeforeEllipsisOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE);// if (insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption != null) {// this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS);// if (insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption != null) {// this.insert_space_before_opening_angle_bracket_in_type_arguments = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption);// }// final Object insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS);// if (insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption != null) {// this.insert_space_before_opening_angle_bracket_in_type_parameters = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption);// }// final Object insertSpaceBeforeOpeningBraceInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER);// if (insertSpaceBeforeOpeningBraceInArrayInitializerOption != null) {// this.insert_space_before_opening_brace_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInArrayInitializerOption);// }// final Object insertSpaceBeforeOpeningBraceInBlockOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK);// if (insertSpaceBeforeOpeningBraceInBlockOption != null) {// this.insert_space_before_opening_brace_in_block = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInBlockOption);// }// final Object insertSpaceBeforeOpeningBraceInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeOpeningBraceInConstructorDeclarationOption != null) {// this.insert_space_before_opening_brace_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInConstructorDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInEnumDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION);// if (insertSpaceBeforeOpeningBraceInEnumDeclarationOption != null) {// this.insert_space_before_opening_brace_in_enum_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT);// if (insertSpaceBeforeOpeningBraceInEnumConstantOption != null) {// this.insert_space_before_opening_brace_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumConstantOption);// }// final Object insertSpaceBeforeOpeningBraceInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION);// if (insertSpaceBeforeOpeningBraceInMethodDeclarationOption != null) {// this.insert_space_before_opening_brace_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInMethodDeclarationOption);// }// final Object insertSpaceBeforeOpeningBraceInTypeDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION);// if (insertSpaceBeforeOpeningBraceInTypeDeclarationOption != null) {// this.insert_space_before_opening_brace_in_type_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInTypeDeclarationOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption != null) {// this.insert_space_before_opening_bracket_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE);// if (insertSpaceBeforeOpeningBracketInArrayReferenceOption != null) {// this.insert_space_before_opening_bracket_in_array_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayReferenceOption);// }// final Object insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE);// if (insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption != null) {// this.insert_space_before_opening_bracket_in_array_type_reference = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption);// }// final Object insertSpaceBeforeOpeningParenInCatchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH);// if (insertSpaceBeforeOpeningParenInCatchOption != null) {// this.insert_space_before_opening_paren_in_catch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInCatchOption);// }// final Object insertSpaceBeforeOpeningParenInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBeforeOpeningParenInConstructorDeclarationOption != null) {// this.insert_space_before_opening_paren_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInConstructorDeclarationOption);// }// final Object insertSpaceBeforeOpeningParenInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT);// if (insertSpaceBeforeOpeningParenInEnumConstantOption != null) {// this.insert_space_before_opening_paren_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInEnumConstantOption);// }// final Object insertSpaceBeforeOpeningParenInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR);// if (insertSpaceBeforeOpeningParenInForOption != null) {// this.insert_space_before_opening_paren_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInForOption);// }// final Object insertSpaceBeforeOpeningParenInIfOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF);// if (insertSpaceBeforeOpeningParenInIfOption != null) {// this.insert_space_before_opening_paren_in_if = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInIfOption);// }// final Object insertSpaceBeforeOpeningParenInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION);// if (insertSpaceBeforeOpeningParenInMethodInvocationOption != null) {// this.insert_space_before_opening_paren_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodInvocationOption);// }// final Object insertSpaceBeforeOpeningParenInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION);// if (insertSpaceBeforeOpeningParenInMethodDeclarationOption != null) {// this.insert_space_before_opening_paren_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInMethodDeclarationOption);// }// final Object insertSpaceBeforeOpeningParenInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH);// if (insertSpaceBeforeOpeningParenInSwitchOption != null) {// this.insert_space_before_opening_paren_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSwitchOption);// }// final Object insertSpaceBeforeOpeningBraceInSwitchOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH);// if (insertSpaceBeforeOpeningBraceInSwitchOption != null) {// this.insert_space_before_opening_brace_in_switch = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningBraceInSwitchOption);// }// final Object insertSpaceBeforeOpeningParenInSynchronizedOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED);// if (insertSpaceBeforeOpeningParenInSynchronizedOption != null) {// this.insert_space_before_opening_paren_in_synchronized = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInSynchronizedOption);// }// final Object insertSpaceBeforeOpeningParenInParenthesizedExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION);// if (insertSpaceBeforeOpeningParenInParenthesizedExpressionOption != null) {// this.insert_space_before_opening_paren_in_parenthesized_expression = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInParenthesizedExpressionOption);// }// final Object insertSpaceBeforeOpeningParenInWhileOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE);// if (insertSpaceBeforeOpeningParenInWhileOption != null) {// this.insert_space_before_opening_paren_in_while = CCorePlugin.INSERT.equals(insertSpaceBeforeOpeningParenInWhileOption);// }// final Object insertSpaceBeforeParenthesizedExpressionInReturnOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN);// if (insertSpaceBeforeParenthesizedExpressionInReturnOption != null) {// this.insert_space_before_parenthesized_expression_in_return = CCorePlugin.INSERT.equals(insertSpaceBeforeParenthesizedExpressionInReturnOption);// }// final Object insertSpaceBeforePostfixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR);// if (insertSpaceBeforePostfixOperatorOption != null) {// this.insert_space_before_postfix_operator = CCorePlugin.INSERT.equals(insertSpaceBeforePostfixOperatorOption);// }// final Object insertSpaceBeforePrefixOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR);// if (insertSpaceBeforePrefixOperatorOption != null) {// this.insert_space_before_prefix_operator = CCorePlugin.INSERT.equals(insertSpaceBeforePrefixOperatorOption);// }// final Object insertSpaceBeforeQuestionInConditionalOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL);// if (insertSpaceBeforeQuestionInConditionalOption != null) {// this.insert_space_before_question_in_conditional = CCorePlugin.INSERT.equals(insertSpaceBeforeQuestionInConditionalOption);// }// final Object insertSpaceBeforeQuestionInWildcardOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD);// if (insertSpaceBeforeQuestionInWildcardOption != null) {// this.insert_space_before_question_in_wilcard = CCorePlugin.INSERT.equals(insertSpaceBeforeQuestionInWildcardOption);// }// final Object insertSpaceBeforeSemicolonOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON);// if (insertSpaceBeforeSemicolonOption != null) {// this.insert_space_before_semicolon = CCorePlugin.INSERT.equals(insertSpaceBeforeSemicolonOption);// }// final Object insertSpaceBeforeSemicolonInForOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR);// if (insertSpaceBeforeSemicolonInForOption != null) {// this.insert_space_before_semicolon_in_for = CCorePlugin.INSERT.equals(insertSpaceBeforeSemicolonInForOption);// }// final Object insertSpaceBeforeUnaryOperatorOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR);// if (insertSpaceBeforeUnaryOperatorOption != null) {// this.insert_space_before_unary_operator = CCorePlugin.INSERT.equals(insertSpaceBeforeUnaryOperatorOption);// }// final Object insertSpaceBetweenBracketsInArrayTypeReferenceOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE);// if (insertSpaceBetweenBracketsInArrayTypeReferenceOption != null) {// this.insert_space_between_brackets_in_array_type_reference = CCorePlugin.INSERT.equals(insertSpaceBetweenBracketsInArrayTypeReferenceOption);// }// final Object insertSpaceBetweenEmptyBracesInArrayInitializerOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER);// if (insertSpaceBetweenEmptyBracesInArrayInitializerOption != null) {// this.insert_space_between_empty_braces_in_array_initializer = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyBracesInArrayInitializerOption);// }// final Object insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION);// if (insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption != null) {// this.insert_space_between_empty_brackets_in_array_allocation_expression = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption);// }// final Object insertSpaceBetweenEmptyParensInConstructorDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION);// if (insertSpaceBetweenEmptyParensInConstructorDeclarationOption != null) {// this.insert_space_between_empty_parens_in_constructor_declaration = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInConstructorDeclarationOption);// }// final Object insertSpaceBetweenEmptyParensInEnumConstantOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT);// if (insertSpaceBetweenEmptyParensInEnumConstantOption != null) {// this.insert_space_between_empty_parens_in_enum_constant = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInEnumConstantOption);// }// final Object insertSpaceBetweenEmptyParensInMethodDeclarationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION);// if (insertSpaceBetweenEmptyParensInMethodDeclarationOption != null) {// this.insert_space_between_empty_parens_in_method_declaration = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInMethodDeclarationOption);// }// final Object insertSpaceBetweenEmptyParensInMethodInvocationOption = settings.get(CodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION);// if (insertSpaceBetweenEmptyParensInMethodInvocationOption != null) {// this.insert_space_between_empty_parens_in_method_invocation = CCorePlugin.INSERT.equals(insertSpaceBetweenEmptyParensInMethodInvocationOption);// }// final Object compactElseIfOption = settings.get(CodeFormatterConstants.FORMATTER_COMPACT_ELSE_IF);// if (compactElseIfOption != null) {// this.compact_else_if = CodeFormatterConstants.TRUE.equals(compactElseIfOption);// }// final Object keepGuardianClauseOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE);// if (keepGuardianClauseOnOneLineOption != null) {// this.keep_guardian_clause_on_one_line = CodeFormatterConstants.TRUE.equals(keepGuardianClauseOnOneLineOption);// }// final Object keepElseStatementOnSameLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE);// if (keepElseStatementOnSameLineOption != null) {// this.keep_else_statement_on_same_line = CodeFormatterConstants.TRUE.equals(keepElseStatementOnSameLineOption);// }// final Object keepEmptyArrayInitializerOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE);// if (keepEmptyArrayInitializerOnOneLineOption != null) {// this.keep_empty_array_initializer_on_one_line = CodeFormatterConstants.TRUE.equals(keepEmptyArrayInitializerOnOneLineOption);// }// final Object keepSimpleIfOnOneLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE);// if (keepSimpleIfOnOneLineOption != null) {// this.keep_simple_if_on_one_line = CodeFormatterConstants.TRUE.equals(keepSimpleIfOnOneLineOption);// }// final Object keepThenStatementOnSameLineOption = settings.get(CodeFormatterConstants.FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE);// if (keepThenStatementOnSameLineOption != null) {// this.keep_then_statement_on_same_line = CodeFormatterConstants.TRUE.equals(keepThenStatementOnSameLineOption);// }// final Object numberOfEmptyLinesToPreserveOption = settings.get(CodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE);// if (numberOfEmptyLinesToPreserveOption != null) {// try {// this.number_of_empty_lines_to_preserve = Integer.parseInt((String) numberOfEmptyLinesToPreserveOption);// } catch (NumberFormatException e) {// this.number_of_empty_lines_to_preserve = 0;// } catch(ClassCastException e) {// this.number_of_empty_lines_to_preserve = 0;// }// }// final Object putEmptyStatementOnNewLineOption = settings.get(CodeFormatterConstants.FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE);// if (putEmptyStatementOnNewLineOption != null) {// this.put_empty_statement_on_new_line = CodeFormatterConstants.TRUE.equals(putEmptyStatementOnNewLineOption);// } final Object tabSizeOption = settings.get(CodeFormatterConstants.FORMATTER_TAB_SIZE); if (tabSizeOption != null) { try { this.tab_size = Integer.parseInt((String) tabSizeOption); } catch (NumberFormatException e) { this.tab_size = 4; } catch(ClassCastException e) { this.tab_size = 4; } } final Object useTabsOnlyForLeadingIndentationsOption = settings.get(CodeFormatterConstants.FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS); if (useTabsOnlyForLeadingIndentationsOption != null) { this.use_tabs_only_for_leading_indentations = CodeFormatterConstants.TRUE.equals(useTabsOnlyForLeadingIndentationsOption); } final Object pageWidthOption = settings.get(CodeFormatterConstants.FORMATTER_LINE_SPLIT); if (pageWidthOption != null) { try { this.page_width = Integer.parseInt((String) pageWidthOption); } catch (NumberFormatException e) { this.page_width = 80; } catch(ClassCastException e) { this.page_width = 80; } } final Object useTabOption = settings.get(CodeFormatterConstants.FORMATTER_TAB_CHAR); if (useTabOption != null) { if (CCorePlugin.TAB.equals(useTabOption)) { this.tab_char = TAB; } else if (CCorePlugin.SPACE.equals(useTabOption)) { this.tab_char = SPACE; } else { this.tab_char = MIXED; } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0482b3954404fd528d629e737114a70d018a10db/DefaultCodeFormatterOptions.java/buggy/core/org.eclipse.cdt.core/src/org/eclipse/cdt/internal/formatter/DefaultCodeFormatterOptions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 12, 863, 1947, 13, 288, 202, 202, 6385, 1033, 8710, 1290, 4628, 382, 17353, 2300, 1895, 273, 1947, 18, 588, 12, 1085, 5074, 2918, 18, 7254, 2560, 67, 26439, 3212, 67, 7473, 67, 18311, 55, 67, 706, 67, 1013, 15277, 67, 19111, 1769, 202, 202, 430, 261, 14409, 1290, 4628, 382, 17353, 2300, 1895, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 2144, 18, 2670, 1702, 12443, 780, 13, 8710, 1290, 4628, 382, 17353, 2300, 1895, 1769, 1082, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 17804, 18, 49, 67, 4208, 4066, 1268, 67, 17482, 31, 1082, 202, 97, 1044, 261, 797, 22768, 425, 13, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 17804, 18, 49, 67, 4208, 4066, 1268, 67, 17482, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 6385, 1033, 8710, 1290, 4628, 382, 3572, 6902, 1895, 273, 1947, 18, 588, 12, 1085, 5074, 2918, 18, 7254, 2560, 67, 26439, 3212, 67, 7473, 67, 18311, 55, 67, 706, 67, 16509, 67, 25878, 1769, 202, 202, 430, 261, 14409, 1290, 4628, 382, 3572, 6902, 1895, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 7924, 67, 14384, 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, 444, 12, 863, 1947, 13, 288, 202, 202, 6385, 1033, 8710, 1290, 4628, 382, 17353, 2300, 1895, 273, 1947, 18, 588, 12, 1085, 5074, 2918, 18, 7254, 2560, 67, 26439, 3212, 67, 7473, 67, 18311, 55, 67, 706, 67, 1013, 15277, 67, 19111, 1769, 202, 202, 430, 261, 14409, 1290, 4628, 382, 17353, 2300, 1895, 480, 446, 13, 288, 1082, 202, 698, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 67, 29299, 67, 8692, 273, 2144, 18, 2670, 1702, 12443, 780, 13, 8710, 1290, 4628, 382, 17353, 2300, 1895, 1769, 1082, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 2211, 18, 14409, 67, 1884, 67, 7099, 67, 267, 2 ]
public static Agent startAgent(double d, Node[] nodes, String nodeName, long lifeTime) {
public static Agent startAgent(double d, Node[] nodes, long lifeTime) {
public static Agent startAgent(double d, Node[] nodes, String nodeName, long lifeTime) { Agent agent = null; Object[] args = new Object[3]; args[0] = new Double(d); args[1] = nodes; args[2] = new Long(lifeTime); try { if ("ibis".equals(System.getProperty("proactive.rmi"))) { System.out.println(" USING IBIS"); agent = (Agent) ProActive.newActive(Agent.class.getName(), args, NodeFactory.getNode(nodeName), null, new ForwarderIbisMetaObjectFactory()); } else { System.out.println(" USING RMI"); agent = (Agent) ProActive.newActive(Agent.class.getName(), args, NodeFactory.getNode(nodeName), null, new ForwarderMetaObjectFactory()); } } catch (Exception e) { e.printStackTrace(); } // agent.initialize(s); // agent.start(); return agent; }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/c171c3550f70b496c1228bbed45f5f8feea45a9c/Bench.java/clean/src/modelisation/forwarder/Bench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 8669, 787, 3630, 12, 9056, 302, 16, 2029, 8526, 2199, 16, 514, 7553, 16, 3639, 1525, 17140, 950, 13, 288, 3639, 8669, 4040, 273, 446, 31, 3639, 1033, 8526, 833, 273, 394, 1033, 63, 23, 15533, 3639, 833, 63, 20, 65, 273, 394, 3698, 12, 72, 1769, 3639, 833, 63, 21, 65, 273, 2199, 31, 3639, 833, 63, 22, 65, 273, 394, 3407, 12, 10256, 73, 950, 1769, 3639, 775, 288, 5411, 309, 7566, 495, 291, 9654, 14963, 12, 3163, 18, 588, 1396, 2932, 685, 3535, 18, 8864, 77, 6, 20349, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 11836, 1360, 23450, 5127, 8863, 7734, 4040, 273, 261, 3630, 13, 1186, 3896, 18, 2704, 3896, 12, 3630, 18, 1106, 18, 17994, 9334, 13491, 833, 16, 2029, 1733, 18, 588, 907, 12, 2159, 461, 3631, 446, 16, 13491, 394, 2457, 20099, 45, 70, 291, 2781, 921, 1733, 10663, 5411, 289, 469, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 11836, 1360, 534, 7492, 8863, 7734, 4040, 273, 261, 3630, 13, 1186, 3896, 18, 2704, 3896, 12, 3630, 18, 1106, 18, 17994, 9334, 13491, 833, 16, 2029, 1733, 18, 588, 907, 12, 2159, 461, 3631, 446, 16, 13491, 394, 2457, 20099, 2781, 921, 1733, 10663, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 3639, 289, 3639, 368, 282, 4040, 18, 11160, 12, 87, 1769, 3639, 368, 282, 4040, 18, 1937, 5621, 3639, 327, 4040, 31, 565, 289, 2, 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, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 8669, 787, 3630, 12, 9056, 302, 16, 2029, 8526, 2199, 16, 514, 7553, 16, 3639, 1525, 17140, 950, 13, 288, 3639, 8669, 4040, 273, 446, 31, 3639, 1033, 8526, 833, 273, 394, 1033, 63, 23, 15533, 3639, 833, 63, 20, 65, 273, 394, 3698, 12, 72, 1769, 3639, 833, 63, 21, 65, 273, 2199, 31, 3639, 833, 63, 22, 65, 273, 394, 3407, 12, 10256, 73, 950, 1769, 3639, 775, 288, 5411, 309, 7566, 495, 291, 9654, 14963, 12, 3163, 18, 588, 1396, 2932, 685, 3535, 18, 8864, 77, 6, 20349, 288, 7734, 2332, 18, 659, 18, 8222, 2932, 11836, 1360, 23450, 5127, 8863, 7734, 4040, 273, 261, 3630, 13, 1186, 3896, 18, 2704, 3896, 12, 2 ]
finalDegreeWorkProposalHeader.setDegreeCode(proposal.getScheduleing().getExecutionDegrees().iterator().next()
finalDegreeWorkProposalHeader.setDegreeCode(executionDegree
public List run(Integer teacherOID) throws FenixServiceException, ExcepcaoPersistencia { List finalDegreeWorkProposalHeaders = new ArrayList(); IPersistentFinalDegreeWork persistentFinalDegreeWork = persistentSupport .getIPersistentFinalDegreeWork(); List finalDegreeWorkProposals = persistentFinalDegreeWork .readFinalDegreeWorkProposalsByTeacher(teacherOID); if (finalDegreeWorkProposals != null) { finalDegreeWorkProposalHeaders = new ArrayList(); for (int i = 0; i < finalDegreeWorkProposals.size(); i++) { Proposal proposal = (Proposal) finalDegreeWorkProposals.get(i); if (proposal != null) { FinalDegreeWorkProposalHeader finalDegreeWorkProposalHeader = new FinalDegreeWorkProposalHeader(); finalDegreeWorkProposalHeader.setIdInternal(proposal.getIdInternal()); finalDegreeWorkProposalHeader.setExecutionDegreeOID(proposal.getScheduleing().getExecutionDegrees().iterator().next() .getIdInternal()); finalDegreeWorkProposalHeader.setTitle(proposal.getTitle()); finalDegreeWorkProposalHeader.setExecutionYear(proposal.getScheduleing().getExecutionDegrees().iterator().next() .getExecutionYear().getYear()); finalDegreeWorkProposalHeader.setProposalNumber(proposal.getProposalNumber()); if (proposal.getOrientator() != null) { finalDegreeWorkProposalHeader.setOrientatorOID(proposal.getOrientator() .getIdInternal()); finalDegreeWorkProposalHeader.setOrientatorName(proposal.getOrientator() .getPerson().getNome()); } if (proposal.getCoorientator() != null) { finalDegreeWorkProposalHeader.setCoorientatorOID(proposal.getCoorientator() .getIdInternal()); finalDegreeWorkProposalHeader.setCoorientatorName(proposal.getCoorientator() .getPerson().getNome()); } finalDegreeWorkProposalHeader.setCompanyLink(proposal.getCompanionName()); finalDegreeWorkProposalHeader.setDegreeCode(proposal.getScheduleing().getExecutionDegrees().iterator().next() .getDegreeCurricularPlan().getDegree().getSigla()); Scheduleing scheduleing = persistentFinalDegreeWork .readFinalDegreeWorkScheduleing(proposal.getScheduleing().getExecutionDegrees().iterator().next() .getIdInternal()); if (scheduleing != null && scheduleing.getStartOfProposalPeriod() != null && scheduleing.getEndOfProposalPeriod() != null && scheduleing.getStartOfProposalPeriod().before( Calendar.getInstance().getTime()) && scheduleing.getEndOfProposalPeriod().after( Calendar.getInstance().getTime())) { finalDegreeWorkProposalHeader.setEditable(new Boolean(true)); } else { finalDegreeWorkProposalHeader.setEditable(new Boolean(false)); } if (proposal.getGroupProposals() != null && !proposal.getGroupProposals().isEmpty()) { finalDegreeWorkProposalHeader.setGroupProposals(new ArrayList()); for (int j = 0; j < proposal.getGroupProposals().size(); j++) { GroupProposal groupProposal = proposal.getGroupProposals().get(j); if (groupProposal != null) { InfoGroupProposal infoGroupProposal = new InfoGroupProposal(); infoGroupProposal.setIdInternal(groupProposal.getIdInternal()); infoGroupProposal.setOrderOfPreference(groupProposal .getOrderOfPreference()); Group group = groupProposal.getFinalDegreeDegreeWorkGroup(); if (group != null) { InfoGroup infoGroup = new InfoGroup(); infoGroup.setIdInternal(group.getIdInternal()); if (group.getGroupStudents() != null) { infoGroup.setGroupStudents(new ArrayList()); for (int k = 0; k < group.getGroupStudents().size(); k++) { GroupStudent groupStudent = group.getGroupStudents().get(k); if (groupStudent != null) { InfoGroupStudent infoGroupStudent = new InfoGroupStudent(); infoGroupStudent.setIdInternal(groupStudent .getIdInternal()); infoGroupStudent .setFinalDegreeDegreeWorkGroup(infoGroup); Student student = groupStudent.getStudent(); if (student != null) { InfoStudent infoStudent = new InfoStudent(); infoStudent.setIdInternal(student.getIdInternal()); infoStudent.setNumber(student.getNumber()); Person person = student.getPerson(); if (person != null) { InfoPerson infoPerson = new InfoPerson(); infoPerson.setIdInternal(person.getIdInternal()); infoPerson.setUsername(person.getUsername()); infoPerson.setNome(person.getNome()); infoPerson.setEmail(person.getEmail()); infoPerson.setTelefone(person.getTelefone()); infoStudent.setInfoPerson(infoPerson); } infoGroupStudent.setStudent(infoStudent); } infoGroup.getGroupStudents().add(infoGroupStudent); } } } infoGroupProposal.setInfoGroup(infoGroup); if (proposal.getGroupAttributedByTeacher() != null && proposal.getGroupAttributedByTeacher().getIdInternal() .equals(group.getIdInternal())) { finalDegreeWorkProposalHeader .setGroupAttributedByTeacher(infoGroup); } finalDegreeWorkProposalHeader.getGroupProposals().add( infoGroupProposal); } } } } finalDegreeWorkProposalHeaders.add(finalDegreeWorkProposalHeader); } } } return finalDegreeWorkProposalHeaders; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/d2aa85e526a191c23e60c320b2f85b81fda5c8e6/ReadFinalDegreeWorkProposalHeadersByTeacher.java/clean/src/net/sourceforge/fenixedu/applicationTier/Servico/teacher/finalDegreeWork/ReadFinalDegreeWorkProposalHeadersByTeacher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 1086, 12, 4522, 6489, 27779, 12945, 13, 1216, 478, 275, 697, 15133, 16, 1312, 311, 2436, 6033, 12771, 28115, 288, 202, 202, 682, 727, 22885, 2421, 14592, 3121, 273, 394, 2407, 5621, 202, 202, 2579, 6572, 7951, 22885, 2421, 9195, 7951, 22885, 2421, 273, 9195, 6289, 9506, 202, 18, 588, 2579, 6572, 7951, 22885, 2421, 5621, 202, 202, 682, 727, 22885, 2421, 626, 22536, 273, 9195, 7951, 22885, 2421, 9506, 202, 18, 896, 7951, 22885, 2421, 626, 22536, 858, 56, 13798, 264, 12, 736, 27779, 12945, 1769, 202, 202, 430, 261, 6385, 22885, 2421, 626, 22536, 480, 446, 13, 288, 1082, 202, 6385, 22885, 2421, 14592, 3121, 273, 394, 2407, 5621, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 727, 22885, 2421, 626, 22536, 18, 1467, 5621, 277, 27245, 288, 9506, 202, 14592, 14708, 273, 261, 14592, 13, 727, 22885, 2421, 626, 22536, 18, 588, 12, 77, 1769, 9506, 202, 430, 261, 685, 8016, 480, 446, 13, 288, 6862, 202, 7951, 22885, 2421, 14592, 1864, 727, 22885, 2421, 14592, 1864, 273, 394, 16269, 22885, 2421, 14592, 1864, 5621, 6862, 202, 6385, 22885, 2421, 14592, 1864, 18, 542, 548, 3061, 12, 685, 8016, 18, 26321, 3061, 10663, 6862, 202, 6385, 22885, 2421, 14592, 1864, 18, 542, 3210, 22885, 12945, 12, 685, 8016, 18, 588, 6061, 310, 7675, 588, 3210, 24400, 7675, 9838, 7675, 4285, 1435, 6862, 1082, 202, 18, 26321, 3061, 10663, 6862, 202, 6385, 22885, 2421, 14592, 1864, 18, 542, 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, 987, 1086, 12, 4522, 6489, 27779, 12945, 13, 1216, 478, 275, 697, 15133, 16, 1312, 311, 2436, 6033, 12771, 28115, 288, 202, 202, 682, 727, 22885, 2421, 14592, 3121, 273, 394, 2407, 5621, 202, 202, 2579, 6572, 7951, 22885, 2421, 9195, 7951, 22885, 2421, 273, 9195, 6289, 9506, 202, 18, 588, 2579, 6572, 7951, 22885, 2421, 5621, 202, 202, 682, 727, 22885, 2421, 626, 22536, 273, 9195, 7951, 22885, 2421, 9506, 202, 18, 896, 7951, 22885, 2421, 626, 22536, 858, 56, 13798, 264, 12, 736, 27779, 12945, 1769, 202, 202, 430, 261, 6385, 22885, 2421, 626, 22536, 480, 446, 13, 288, 1082, 202, 6385, 22885, 2421, 14592, 3121, 273, 394, 2407, 5621, 1082, 202, 1884, 261, 2 ]
}else
} else
public void onFailure(FetchException e, ClientGetter state) { int errorCode = e.getMode(); if(!state.getURI().equals(revocationURI)){ this.cg = state; cg.cancel(); if(errorCode == FetchException.DATA_NOT_FOUND || errorCode == FetchException.ROUTE_NOT_FOUND || errorCode == FetchException.PERMANENT_REDIRECT || errorCode == FetchException.REJECTED_OVERLOAD){ Logger.normal(this, "Rescheduling new request"); maybeUpdate(); }else Logger.error(this, "Canceling fetch : "+ e.getMessage()); }else{ synchronized(this) { if(errorCode == FetchException.DATA_NOT_FOUND){ revocationDNFCounter++; } // Start it again if(this.finalCheck) { if(revocationDNFCounter < 3) queueFetchRevocation(1000); else notifyAll(); } else { boolean pause = (revocationDNFCounter == 3); if(pause) revocationDNFCounter = 0; queueFetchRevocation(pause ? 60*60*1000 : 5000); } } } }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/cd7564dd94d86425478cc20b8abb29c357946324/NodeUpdater.java/buggy/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27748, 12, 5005, 503, 425, 16, 2445, 8461, 919, 13, 288, 202, 202, 474, 12079, 273, 425, 18, 588, 2309, 5621, 9506, 202, 430, 12, 5, 2019, 18, 588, 3098, 7675, 14963, 12, 9083, 4431, 3098, 3719, 95, 9506, 202, 2211, 18, 26275, 273, 919, 31, 25083, 202, 26275, 18, 10996, 5621, 1082, 202, 430, 12, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 30334, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 3194, 9560, 2222, 67, 25103, 747, 6862, 202, 27754, 422, 8065, 503, 18, 862, 5304, 2056, 67, 12959, 7783, 15329, 6862, 9506, 202, 3328, 18, 6130, 12, 2211, 16, 315, 607, 13252, 394, 590, 8863, 9506, 202, 19133, 1891, 5621, 1082, 202, 97, 12107, 9506, 202, 3328, 18, 1636, 12, 2211, 16, 315, 6691, 310, 2158, 294, 13773, 425, 18, 24906, 10663, 202, 202, 97, 12107, 95, 1082, 202, 22043, 12, 2211, 13, 288, 9506, 202, 430, 12, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 15329, 6862, 202, 9083, 4431, 8609, 4488, 2096, 9904, 31, 9506, 202, 97, 9506, 202, 759, 3603, 518, 3382, 9506, 202, 430, 12, 2211, 18, 6385, 1564, 13, 288, 6862, 202, 430, 12, 9083, 4431, 8609, 4488, 2096, 411, 890, 13, 25083, 202, 4000, 5005, 28691, 12, 18088, 1769, 6862, 202, 12107, 25083, 202, 12336, 1595, 5621, 9506, 202, 97, 469, 288, 6862, 202, 6494, 11722, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27748, 12, 5005, 503, 425, 16, 2445, 8461, 919, 13, 288, 202, 202, 474, 12079, 273, 425, 18, 588, 2309, 5621, 9506, 202, 430, 12, 5, 2019, 18, 588, 3098, 7675, 14963, 12, 9083, 4431, 3098, 3719, 95, 9506, 202, 2211, 18, 26275, 273, 919, 31, 25083, 202, 26275, 18, 10996, 5621, 1082, 202, 430, 12, 27754, 422, 8065, 503, 18, 4883, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 30334, 67, 4400, 67, 9294, 747, 6862, 202, 27754, 422, 8065, 503, 18, 3194, 9560, 2222, 67, 25103, 747, 6862, 202, 27754, 422, 8065, 503, 18, 862, 5304, 2056, 67, 12959, 7783, 15329, 6862, 9506, 202, 3328, 18, 6130, 12, 2211, 2 ]
fetchdirection = direction;
switch(direction) { case ResultSet.FETCH_FORWARD: case ResultSet.FETCH_REVERSE: case ResultSet.FETCH_UNKNOWN: fetchdirection = direction; break; default: throw new PSQLException("postgresql.res.badfetchdirection", null, new Integer(direction)); }
public void setFetchDirection(int direction) throws SQLException { fetchdirection = direction; }
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/63188602de66fe5edda0a5bd745b1f19e18bb672/AbstractJdbc2Statement.java/buggy/org/postgresql/jdbc2/AbstractJdbc2Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5005, 8212, 12, 474, 4068, 13, 1216, 6483, 202, 95, 202, 202, 5754, 9855, 273, 4068, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 444, 5005, 8212, 12, 474, 4068, 13, 1216, 6483, 202, 95, 202, 202, 5754, 9855, 273, 4068, 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 ]
return (ResourceBundle) rbc.newInstance();
r = (ResourceBundle) rbc.newInstance();
private static final ResourceBundle trySomeGetBundle (String bundleName, String stopHere) { Class rbc; while (true) { try { rbc = Class.forName(bundleName); try { return (ResourceBundle) rbc.newInstance(); } catch (IllegalAccessException ex) { // Fall through } catch (InstantiationException ex) { // Fall through } return null; } catch (ClassNotFoundException ex) { if (bundleName.compareTo(stopHere) == 0) return null; else { int last = bundleName.lastIndexOf('_'); // No more underscores? if (last == -1) return null; // Loop around, testing this new shorter name. bundleName = bundleName.substring(0, last); } } } }
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/d41dfd6cc95692f13ca6dde18e9717679c00595d/ResourceBundle.java/clean/libjava/java/util/ResourceBundle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 727, 19198, 775, 17358, 967, 3405, 261, 780, 20052, 16, 6862, 1082, 202, 780, 2132, 26715, 13, 565, 288, 1377, 1659, 7138, 71, 31, 1377, 1323, 261, 3767, 13, 202, 95, 202, 225, 775, 3196, 565, 288, 202, 1377, 7138, 71, 273, 1659, 18, 1884, 461, 12, 9991, 461, 1769, 202, 1377, 775, 3196, 202, 95, 1082, 225, 327, 261, 18731, 13, 7138, 71, 18, 2704, 1442, 5621, 202, 202, 97, 202, 1377, 1044, 261, 12195, 9773, 431, 13, 202, 202, 95, 1082, 225, 368, 23647, 3059, 202, 202, 97, 202, 1377, 1044, 261, 10675, 7072, 503, 431, 13, 202, 202, 95, 1082, 225, 368, 23647, 3059, 202, 202, 97, 202, 1377, 327, 446, 31, 202, 565, 289, 202, 225, 1044, 261, 797, 3990, 431, 13, 202, 565, 288, 202, 1377, 309, 261, 9991, 461, 18, 9877, 774, 12, 5681, 26715, 13, 422, 374, 13, 202, 202, 2463, 446, 31, 202, 1377, 469, 202, 202, 95, 1082, 225, 509, 1142, 273, 20052, 18, 2722, 31985, 2668, 4623, 1769, 1082, 26924, 225, 368, 2631, 1898, 24714, 35, 1082, 225, 309, 261, 2722, 422, 300, 21, 13, 1082, 565, 327, 446, 31, 1082, 26924, 225, 368, 9720, 6740, 16, 7769, 333, 394, 19623, 508, 18, 1082, 225, 20052, 273, 20052, 18, 28023, 12, 20, 16, 1142, 1769, 202, 202, 97, 202, 565, 289, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 727, 19198, 775, 17358, 967, 3405, 261, 780, 20052, 16, 6862, 1082, 202, 780, 2132, 26715, 13, 565, 288, 1377, 1659, 7138, 71, 31, 1377, 1323, 261, 3767, 13, 202, 95, 202, 225, 775, 3196, 565, 288, 202, 1377, 7138, 71, 273, 1659, 18, 1884, 461, 12, 9991, 461, 1769, 202, 1377, 775, 3196, 202, 95, 1082, 225, 327, 261, 18731, 13, 7138, 71, 18, 2704, 1442, 5621, 202, 202, 97, 202, 1377, 1044, 261, 12195, 9773, 431, 13, 202, 202, 95, 1082, 225, 368, 23647, 3059, 202, 202, 97, 202, 1377, 1044, 261, 10675, 7072, 503, 431, 13, 202, 202, 95, 1082, 225, 368, 23647, 3059, 202, 202, 97, 202, 1377, 327, 446, 31, 202, 2 ]
paintThumbnail( g2, photo, col*columnWidth, row*rowHeight, selection.contains( photo ) );
if ( photo != null ) { paintThumbnail( g2, photo, col*columnWidth, row*rowHeight, selection.contains( photo ) ); }
public void paint( Graphics g ) { super.paint( g ); Graphics2D g2 = (Graphics2D) g; Rectangle clipRect = g.getClipBounds(); Dimension compSize = getSize(); // columnCount = (int)(compSize.getWidth()/columnWidth); int photoCount = 0; if ( photoCollection != null ) { photoCount = photoCollection.getPhotoCount(); } // Determine the grid size based on couln & row count columnsToPaint = columnCount; // if columnCount is not specified determine it based on row count if ( columnCount < 0 ) { if ( rowCount > 0 ) { columnsToPaint = photoCount / rowCount; if ( columnsToPaint * rowCount < photoCount ) { columnsToPaint++; } } else { columnsToPaint = (int) ( compSize.getWidth()/columnWidth ); } } int col = 0; int row = 0; Rectangle thumbRect = new Rectangle(); for ( int i = 0; i < photoCount; i++ ) { thumbRect.setBounds(col*columnWidth, row*rowHeight, columnWidth, rowHeight ); if ( thumbRect.intersects( clipRect ) ) { PhotoInfo photo = photoCollection.getPhoto( i ); paintThumbnail( g2, photo, col*columnWidth, row*rowHeight, selection.contains( photo ) ); } col++; if ( col >= columnsToPaint ) { row++; col = 0; } } // Paint the selection rectangle if needed if ( dragSelectionRect != null ) { Stroke prevStroke = g2.getStroke(); Color prevColor = g2.getColor(); g2.setStroke( new BasicStroke( 1.0f) ); g2.setColor( Color.BLACK ); g2.draw( dragSelectionRect ); g2.setColor( prevColor ); g2.setStroke( prevStroke ); lastDragSelectionRect = dragSelectionRect; } }
50360 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50360/cb2f0bd71479ba42dd02fe37aff6b74fb6ddd347/PhotoCollectionThumbView.java/buggy/src/main/java/org/photovault/swingui/PhotoCollectionThumbView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 16830, 314, 262, 288, 3639, 2240, 18, 84, 1598, 12, 314, 11272, 3639, 16830, 22, 40, 314, 22, 273, 261, 17558, 22, 40, 13, 314, 31, 3639, 13264, 6807, 6120, 273, 314, 18, 588, 15339, 5694, 5621, 3639, 13037, 1161, 1225, 273, 9950, 5621, 3639, 368, 22429, 273, 261, 474, 21433, 2919, 1225, 18, 588, 2384, 1435, 19, 2827, 2384, 1769, 7734, 509, 10701, 1380, 273, 374, 31, 3639, 309, 261, 10701, 2532, 480, 446, 262, 288, 5411, 10701, 1380, 273, 10701, 2532, 18, 588, 19934, 1380, 5621, 3639, 289, 3639, 368, 10229, 326, 3068, 963, 2511, 603, 276, 1003, 82, 473, 1027, 1056, 3639, 2168, 774, 12699, 273, 22429, 31, 3639, 368, 309, 22429, 353, 486, 1269, 4199, 518, 2511, 603, 1027, 1056, 3639, 309, 261, 22429, 411, 374, 262, 288, 5411, 309, 261, 14888, 405, 374, 262, 288, 7734, 2168, 774, 12699, 273, 10701, 1380, 342, 14888, 31, 7734, 309, 261, 2168, 774, 12699, 380, 14888, 411, 10701, 1380, 262, 288, 10792, 2168, 774, 12699, 9904, 31, 7734, 289, 5411, 289, 469, 288, 7734, 2168, 774, 12699, 273, 261, 474, 13, 261, 1161, 1225, 18, 588, 2384, 1435, 19, 2827, 2384, 11272, 5411, 289, 3639, 289, 7734, 509, 645, 273, 374, 31, 3639, 509, 1027, 273, 374, 31, 3639, 13264, 11156, 6120, 273, 394, 13264, 5621, 7734, 364, 261, 509, 277, 273, 374, 31, 277, 411, 10701, 1380, 31, 277, 9904, 262, 288, 5411, 11156, 6120, 18, 542, 5694, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 16830, 314, 262, 288, 3639, 2240, 18, 84, 1598, 12, 314, 11272, 3639, 16830, 22, 40, 314, 22, 273, 261, 17558, 22, 40, 13, 314, 31, 3639, 13264, 6807, 6120, 273, 314, 18, 588, 15339, 5694, 5621, 3639, 13037, 1161, 1225, 273, 9950, 5621, 3639, 368, 22429, 273, 261, 474, 21433, 2919, 1225, 18, 588, 2384, 1435, 19, 2827, 2384, 1769, 7734, 509, 10701, 1380, 273, 374, 31, 3639, 309, 261, 10701, 2532, 480, 446, 262, 288, 5411, 10701, 1380, 273, 10701, 2532, 18, 588, 19934, 1380, 5621, 3639, 289, 3639, 368, 10229, 326, 3068, 963, 2511, 603, 276, 1003, 82, 473, 1027, 1056, 3639, 2168, 774, 12699, 273, 22429, 31, 3639, 368, 309, 2 ]
assertTrue("Found 2 mappings", table.getMappings(user, domain).size() == 2);
assertTrue("Found 2 mappings", table.getMappings(user, domain).size() == 2);
public void testGetMappings() throws ErrorMappingException { assertTrue("Found 2 mappings", table.getMappings(user, domain).size() == 2); }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/cdf461da104075fc63b16694d717da331b69ddde/XMLVirtualUserTableTest.java/buggy/trunk/src/test/org/apache/james/vut/XMLVirtualUserTableTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 7742, 1435, 1216, 1068, 3233, 503, 288, 565, 1815, 5510, 2932, 2043, 576, 7990, 3113, 1014, 18, 588, 7742, 12, 1355, 16, 2461, 2934, 1467, 1435, 422, 576, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1842, 967, 7742, 1435, 1216, 1068, 3233, 503, 288, 565, 1815, 5510, 2932, 2043, 576, 7990, 3113, 1014, 18, 588, 7742, 12, 1355, 16, 2461, 2934, 1467, 1435, 422, 576, 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 ]
a = new RepositoryTaskAttribute(BugzillaReportElement.OP_SYS);
a = BugzillaRepositoryUtil.makeNewAttribute(BugzillaReportElement.OP_SYS);
public static void setupNewBugAttributes(String repositoryUrl, Proxy proxySettings, String userName, String password, NewBugzillaReport newReport, String characterEncoding) throws IOException, KeyManagementException, LoginException, NoSuchAlgorithmException { newReport.removeAllAttributes(); AbstractRepositoryTaskAttribute a = new RepositoryTaskAttribute(BugzillaReportElement.PRODUCT); List<String> optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getProducts(); Collections.sort(optionValues); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(newReport.getProduct()); newReport.addAttribute(BugzillaReportElement.PRODUCT, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.BUG_STATUS); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getStatusValues(); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(BUG_STATUS_NEW); newReport.addAttribute(BugzillaReportElement.BUG_STATUS, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.VERSION); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getVersions(newReport.getProduct()); Collections.sort(optionValues); for (String option : optionValues) { a.addOptionValue(option, option); } if (optionValues != null && optionValues.size() > 0) { a.setValue(optionValues.get(optionValues.size() - 1)); } newReport.addAttribute(BugzillaReportElement.VERSION, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.COMPONENT); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getComponents(newReport.getProduct()); Collections.sort(optionValues); for (String option : optionValues) { a.addOptionValue(option, option); } newReport.addAttribute(BugzillaReportElement.COMPONENT, a); a = new RepositoryTaskAttribute(BugzillaReportElement.REP_PLATFORM); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getPlatforms(); Collections.sort(optionValues); for (String option : optionValues) { a.addOptionValue(option, option); } newReport.addAttribute(BugzillaReportElement.REP_PLATFORM, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.OP_SYS); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getOSs(); for (String option : optionValues) { a.addOptionValue(option, option); } newReport.addAttribute(BugzillaReportElement.OP_SYS, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.PRIORITY); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getPriorities(); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(optionValues.get((optionValues.size() / 2))); newReport.addAttribute(BugzillaReportElement.PRIORITY, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.BUG_SEVERITY); optionValues = BugzillaPlugin.getDefault().getRepositoryConfiguration(repositoryUrl, proxySettings, userName, password, characterEncoding).getSeverities(); for (String option : optionValues) { a.addOptionValue(option, option); } a.setValue(optionValues.get((optionValues.size() / 2))); newReport.addAttribute(BugzillaReportElement.BUG_SEVERITY, a); // attributes.put(a.getName(), a); // a = new // RepositoryTaskAttribute(BugzillaReportElement.TARGET_MILESTONE); // optionValues = // BugzillaPlugin.getDefault().getProductConfiguration(serverUrl).getTargetMilestones( // newReport.getProduct()); // for (String option : optionValues) { // a.addOptionValue(option, option); // } // if(optionValues.size() > 0) { // // new bug posts will fail if target_milestone element is included // // and there are no milestones on the server // newReport.addAttribute(BugzillaReportElement.TARGET_MILESTONE, a); // } a = new RepositoryTaskAttribute(BugzillaReportElement.ASSIGNED_TO); a.setValue(""); newReport.addAttribute(BugzillaReportElement.ASSIGNED_TO, a); // attributes.put(a.getName(), a); a = new RepositoryTaskAttribute(BugzillaReportElement.BUG_FILE_LOC); a.setValue("http://"); a.setHidden(false); newReport.addAttribute(BugzillaReportElement.BUG_FILE_LOC, a); // attributes.put(a.getName(), a); // newReport.attributes = attributes; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d6adf902ecafbef942349464348e4435750dd099/BugzillaRepositoryUtil.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 3875, 1908, 19865, 2498, 12, 780, 3352, 1489, 16, 7659, 2889, 2628, 16, 514, 12065, 16, 1082, 202, 780, 2201, 16, 1166, 19865, 15990, 4820, 394, 4820, 16, 514, 3351, 4705, 13, 1216, 1860, 16, 1929, 10998, 503, 16, 11744, 503, 16, 17684, 288, 202, 202, 2704, 4820, 18, 4479, 1595, 2498, 5621, 202, 202, 7469, 3305, 2174, 1499, 279, 273, 394, 6281, 2174, 1499, 12, 19865, 15990, 4820, 1046, 18, 25883, 1769, 202, 202, 682, 32, 780, 34, 1456, 1972, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 3305, 1750, 12, 9071, 1489, 16, 2889, 2628, 16, 9506, 202, 1355, 461, 16, 2201, 16, 3351, 4705, 2934, 588, 13344, 5621, 202, 202, 15150, 18, 3804, 12, 3482, 1972, 1769, 202, 202, 1884, 261, 780, 1456, 294, 1456, 1972, 13, 288, 1082, 202, 69, 18, 1289, 13366, 12, 3482, 16, 1456, 1769, 202, 202, 97, 202, 202, 69, 18, 542, 620, 12, 2704, 4820, 18, 588, 4133, 10663, 202, 202, 2704, 4820, 18, 1289, 1499, 12, 19865, 15990, 4820, 1046, 18, 25883, 16, 279, 1769, 202, 202, 759, 1677, 18, 458, 12, 69, 18, 17994, 9334, 279, 1769, 202, 202, 69, 273, 394, 6281, 2174, 1499, 12, 19865, 15990, 4820, 1046, 18, 4827, 67, 8608, 1769, 202, 202, 3482, 1972, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 3305, 1750, 12, 9071, 1489, 16, 2889, 2628, 16, 12065, 16, 9506, 202, 3664, 16, 3351, 4705, 2934, 588, 1482, 1972, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 3875, 1908, 19865, 2498, 12, 780, 3352, 1489, 16, 7659, 2889, 2628, 16, 514, 12065, 16, 1082, 202, 780, 2201, 16, 1166, 19865, 15990, 4820, 394, 4820, 16, 514, 3351, 4705, 13, 1216, 1860, 16, 1929, 10998, 503, 16, 11744, 503, 16, 17684, 288, 202, 202, 2704, 4820, 18, 4479, 1595, 2498, 5621, 202, 202, 7469, 3305, 2174, 1499, 279, 273, 394, 6281, 2174, 1499, 12, 19865, 15990, 4820, 1046, 18, 25883, 1769, 202, 202, 682, 32, 780, 34, 1456, 1972, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 3305, 1750, 12, 9071, 1489, 16, 2889, 2628, 16, 9506, 202, 1355, 461, 16, 2201, 16, 3351, 4705, 2934, 588, 13344, 5621, 202, 202, 2 ]
public void accept(MemberVisitor visitor) {
public final void accept(MemberVisitor visitor) {
public void accept(MemberVisitor visitor) { }
13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/615094576784f8eacf0891411a5b25d98778892b/Root.java/clean/src/org/jedit/ruby/ast/Root.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 2791, 12, 4419, 7413, 8000, 13, 288, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 2791, 12, 4419, 7413, 8000, 13, 288, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void mMULTI_LINE_COMMENT() throws RecognitionException { try { int type = MULTI_LINE_COMMENT; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:17: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:22: ( options {greedy=false; } : . )* loop14: do { int alt14=2; int LA14_0 = input.LA(1); if ( LA14_0=='*' ) { int LA14_1 = input.LA(2); if ( LA14_1=='/' ) { alt14=2; } else if ( (LA14_1>='\u0000' && LA14_1<='.')||(LA14_1>='0' && LA14_1<='\uFFFE') ) { alt14=1; } } else if ( (LA14_0>='\u0000' && LA14_0<=')')||(LA14_0>='+' && LA14_0<='\uFFFE') ) { alt14=1; } switch (alt14) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:805:48: . { matchAny(); } break; default : break loop14; } } while (true); match("*/"); channel=99; } 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/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/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, 26588, 67, 5997, 67, 12200, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 27125, 67, 5997, 67, 12200, 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, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 4033, 30, 261, 1173, 4035, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 14609, 2473, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 4033, 30, 1173, 4035, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 14609, 2473, 5411, 288, 5411, 845, 2932, 19, 7388, 1769, 2398, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 3787, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 5411, 2798, 3461, 30, 5411, 741, 288, 7734, 509, 3770, 3461, 33, 22, 31, 7734, 509, 2928, 3461, 67, 20, 273, 810, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 26588, 67, 5997, 67, 12200, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 27125, 67, 5997, 67, 12200, 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, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 3672, 25, 30, 4033, 30, 261, 1173, 4035, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 14609, 2473, 262, 5411, 368, 385, 5581, 15298, 2 ]
return 32;
return NAME_SIZE;
public int getMaxColumnNameLength() throws SQLException { return 32; }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/62da2fa0e1cb3cf1df8d633f785e391c35477f7e/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 8516, 1782, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 3847, 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, 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, 225, 202, 482, 509, 7288, 8516, 1782, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 3847, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if( jars == null ) { throw new MojoExecutionException( "WebObjects lib folder is missing. Maybe WebObjects isn't installed." );
if (jars == null) { throw new MojoExecutionException("WebObjects lib folder is missing. Maybe WebObjects isn't installed.");
public void execute() throws MojoExecutionException, MojoFailureException { initializeEmbedder(); File[] jars = WebobjectsUtils.getWebobjectsJars( locator ); if( jars == null ) { throw new MojoExecutionException( "WebObjects lib folder is missing. Maybe WebObjects isn't installed." ); } for( int i = 0; i < jars.length; i++ ) { Properties properties = fillProperties( jars[i] ); if( !executeInstallFile( properties ) ) { getLog().warn( "Cannot import the following jar: " + jars[i].getName() ); } } }
2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/24da5e85af5a5436d87052b0eb6b01bb40e0457c/BootstrapMojo.java/clean/maven2/maven-wobootstrap-plugin/src/main/java/org/objectstyle/woproject/maven2/wobootstrap/BootstrapMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 18780, 16, 15931, 14389, 202, 95, 202, 202, 11160, 9538, 765, 5621, 202, 202, 812, 8526, 28838, 273, 1660, 1075, 489, 87, 1989, 18, 588, 3218, 1075, 489, 87, 46, 5913, 12, 8871, 11272, 202, 202, 430, 12, 28838, 422, 446, 262, 202, 202, 95, 1082, 202, 12849, 394, 18780, 12, 315, 4079, 4710, 2561, 3009, 353, 3315, 18, 14024, 2999, 4710, 5177, 1404, 5876, 1199, 11272, 202, 202, 97, 202, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 28838, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 2297, 1790, 273, 3636, 2297, 12, 28838, 63, 77, 65, 11272, 1082, 202, 430, 12, 401, 8837, 6410, 812, 12, 1790, 262, 262, 1082, 202, 95, 9506, 202, 588, 1343, 7675, 8935, 12, 315, 4515, 1930, 326, 3751, 7334, 30, 315, 397, 28838, 63, 77, 8009, 17994, 1435, 11272, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 18780, 16, 15931, 14389, 202, 95, 202, 202, 11160, 9538, 765, 5621, 202, 202, 812, 8526, 28838, 273, 1660, 1075, 489, 87, 1989, 18, 588, 3218, 1075, 489, 87, 46, 5913, 12, 8871, 11272, 202, 202, 430, 12, 28838, 422, 446, 262, 202, 202, 95, 1082, 202, 12849, 394, 18780, 12, 315, 4079, 4710, 2561, 3009, 353, 3315, 18, 14024, 2999, 4710, 5177, 1404, 5876, 1199, 11272, 202, 202, 97, 202, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 28838, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 2297, 1790, 273, 3636, 2297, 12, 28838, 63, 77, 65, 11272, 1082, 202, 430, 12, 401, 8837, 6410, 812, 2 ]
if (!initialized) initializeListMap();
if (!initialized) initializeListMap();
static protected Class getListClass(Class sipHdrClass) { if (!initialized) initializeListMap(); return (Class) headerListTable.get(sipHdrClass); }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/ListMap.java/buggy/src/gov/nist/javax/sip/message/ListMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 4750, 1659, 10033, 797, 12, 797, 10341, 14659, 797, 13, 288, 7734, 309, 16051, 13227, 13, 4046, 682, 863, 5621, 202, 202, 2463, 261, 797, 13, 1446, 682, 1388, 18, 588, 12, 28477, 14659, 797, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3845, 4750, 1659, 10033, 797, 12, 797, 10341, 14659, 797, 13, 288, 7734, 309, 16051, 13227, 13, 4046, 682, 863, 5621, 202, 202, 2463, 261, 797, 13, 1446, 682, 1388, 18, 588, 12, 28477, 14659, 797, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
runtime.getGlobalVariables().set("$.", RubyFixnum.newFixnum(runtime, currentLineNumber));
getRuntime().getGlobalVariables().set("$.", getRuntime().newFixnum(currentLineNumber));
public RubyString internalGets(IRubyObject[] args) { if (currentFile == null && !nextArgsFile()) { return RubyString.nilString(runtime); } RubyString line = (RubyString)currentFile.callMethod("gets", args); while (line.isNil()) { currentFile.callMethod("close"); if (! nextArgsFile()) { currentFile = null; return line; } line = (RubyString) currentFile.callMethod("gets", args); } currentLineNumber++; runtime.getGlobalVariables().set("$.", RubyFixnum.newFixnum(runtime, currentLineNumber)); return line; }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyArgsFile.java/buggy/src/org/jruby/RubyArgsFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 2713, 3002, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 2972, 812, 422, 446, 597, 401, 4285, 2615, 812, 10756, 288, 5411, 327, 19817, 780, 18, 20154, 780, 12, 9448, 1769, 3639, 289, 7734, 19817, 780, 980, 273, 261, 54, 10340, 780, 13, 2972, 812, 18, 1991, 1305, 2932, 14665, 3113, 833, 1769, 7734, 1323, 261, 1369, 18, 291, 12616, 10756, 288, 5411, 22650, 18, 1991, 1305, 2932, 4412, 8863, 5411, 309, 16051, 1024, 2615, 812, 10756, 288, 7734, 22650, 273, 446, 31, 7734, 327, 980, 31, 540, 202, 97, 5411, 980, 273, 261, 54, 10340, 780, 13, 22650, 18, 1991, 1305, 2932, 14665, 3113, 833, 1769, 3639, 289, 7734, 22325, 1854, 9904, 31, 3639, 18814, 7675, 588, 5160, 6158, 7675, 542, 2932, 8, 1199, 16, 18814, 7675, 2704, 8585, 2107, 12, 2972, 31063, 10019, 7734, 327, 980, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 780, 2713, 3002, 12, 7937, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 2972, 812, 422, 446, 597, 401, 4285, 2615, 812, 10756, 288, 5411, 327, 19817, 780, 18, 20154, 780, 12, 9448, 1769, 3639, 289, 7734, 19817, 780, 980, 273, 261, 54, 10340, 780, 13, 2972, 812, 18, 1991, 1305, 2932, 14665, 3113, 833, 1769, 7734, 1323, 261, 1369, 18, 291, 12616, 10756, 288, 5411, 22650, 18, 1991, 1305, 2932, 4412, 8863, 5411, 309, 16051, 1024, 2615, 812, 10756, 288, 7734, 22650, 273, 446, 31, 7734, 327, 980, 31, 540, 202, 97, 5411, 980, 273, 261, 54, 10340, 780, 13, 22650, 18, 1991, 1305, 2932, 14665, 3113, 833, 1769, 3639, 289, 7734, 22325, 1854, 2 ]
following.push(FOLLOW_predicate_in_constraints1395);
following.push(FOLLOW_predicate_in_constraints1360);
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:439:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:439:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1387); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:440:17: ( constraint[constraints] | predicate[constraints] ) int alt40=2; int LA40_0 = input.LA(1); if ( LA40_0==EOL ) { alt40=1; } else if ( LA40_0==ID ) { int LA40_2 = input.LA(2); if ( LA40_2==29 ) { int LA40_3 = input.LA(3); if ( LA40_3==ID ) { int LA40_8 = input.LA(4); if ( LA40_8==46 ) { alt40=2; } else if ( LA40_8==EOL||(LA40_8>=21 && LA40_8<=22)||LA40_8==37||(LA40_8>=39 && LA40_8<=45) ) { alt40=1; } else { NoViableAltException nvae = new NoViableAltException("440:17: ( constraint[constraints] | predicate[constraints] )", 40, 8, input); throw nvae; } } else if ( LA40_3==EOL ) { alt40=1; } else { NoViableAltException nvae = new NoViableAltException("440:17: ( constraint[constraints] | predicate[constraints] )", 40, 3, input); throw nvae; } } else if ( LA40_2==EOL||(LA40_2>=21 && LA40_2<=22)||LA40_2==37||(LA40_2>=39 && LA40_2<=45) ) { alt40=1; } else { NoViableAltException nvae = new NoViableAltException("440:17: ( constraint[constraints] | predicate[constraints] )", 40, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("440:17: ( constraint[constraints] | predicate[constraints] )", 40, 0, input); throw nvae; } switch (alt40) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:440:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1392); constraint(constraints); following.pop(); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:440:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1395); predicate(constraints); following.pop(); } break; } // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:441:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop42: do { int alt42=2; alt42 = dfa42.predict(input); switch (alt42) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:441:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1403); opt_eol(); following.pop(); match(input,21,FOLLOW_21_in_constraints1405); following.push(FOLLOW_opt_eol_in_constraints1407); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:441:39: ( constraint[constraints] | predicate[constraints] ) int alt41=2; int LA41_0 = input.LA(1); if ( LA41_0==EOL ) { alt41=1; } else if ( LA41_0==ID ) { int LA41_2 = input.LA(2); if ( LA41_2==29 ) { int LA41_3 = input.LA(3); if ( LA41_3==ID ) { int LA41_8 = input.LA(4); if ( LA41_8==46 ) { alt41=2; } else if ( LA41_8==EOL||(LA41_8>=21 && LA41_8<=22)||LA41_8==37||(LA41_8>=39 && LA41_8<=45) ) { alt41=1; } else { NoViableAltException nvae = new NoViableAltException("441:39: ( constraint[constraints] | predicate[constraints] )", 41, 8, input); throw nvae; } } else if ( LA41_3==EOL ) { alt41=1; } else { NoViableAltException nvae = new NoViableAltException("441:39: ( constraint[constraints] | predicate[constraints] )", 41, 3, input); throw nvae; } } else if ( LA41_2==EOL||(LA41_2>=21 && LA41_2<=22)||LA41_2==37||(LA41_2>=39 && LA41_2<=45) ) { alt41=1; } else { NoViableAltException nvae = new NoViableAltException("441:39: ( constraint[constraints] | predicate[constraints] )", 41, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("441:39: ( constraint[constraints] | predicate[constraints] )", 41, 0, input); throw nvae; } switch (alt41) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:441:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1410); constraint(constraints); following.pop(); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:441:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1413); predicate(constraints); following.pop(); } break; } } break; default : break loop42; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1421); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/61acd40072560afada3f7897673309e5b51b402d/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 31, 1171, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 5520, 30, 4033, 30, 261, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 5520, 30, 4033, 30, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 5411, 288, 5411, 3751, 18, 6206, 12, 29890, 67, 3838, 67, 30951, 67, 267, 67, 11967, 3437, 11035, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 6334, 20, 30, 4033, 30, 261, 4954, 63, 11967, 65, 571, 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, 6237, 1435, 1216, 9539, 288, 6647, 987, 6237, 31, 1171, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 24, 5520, 30, 4033, 30, 261, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 261, 2153, 67, 30951, 3316, 2153, 67, 30951, 261, 4954, 63, 11967, 65, 571, 5641, 63, 11967, 65, 262, 8618, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 2 ]
if (WebBrowser.getBrowserBinary().endsWith("IeEmbed.exe") && jvmVendor.startsWith("Sun"))
if (WebBrowser.getBrowserBinary().endsWith("IeEmbed.exe") && jvmVendor.startsWith("Sun"))
public void run() { // create native browser process try { if (WebBrowser.getBrowserBinary() == null) { setBrowsersInitFailReason("BrowserBinary not set"); WebBrowser.trace("browserBinary not set, system exit"); return; } String jvmVendor = System.getProperty("java.vm.vendor"); if (WebBrowser.getBrowserBinary().endsWith("IeEmbed.exe") && jvmVendor.startsWith("Sun")) WebBrowserUtil.nativeSetEnv(); final String cmd = WebBrowser.getBrowserBinary() + " -port=" + messenger.getPort(); WebBrowser.trace("Executing " + cmd); AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws IOException { nativeBrowser = Runtime.getRuntime().exec(cmd); new StreamGobbler(nativeBrowser.getErrorStream()).start(); new StreamGobbler(nativeBrowser.getInputStream()).start(); return null; } } ); } catch (PrivilegedActionException e) { setBrowsersInitFailReason("Can't find native browser"); System.out.println("Can't execute native browser. Error message is: " + e.getCause().getMessage()); return; } // create socket client and connect to socket server try { AccessController.doPrivileged( new PrivilegedExceptionAction() { public Object run() throws Exception { messenger.connect(); return null; } } ); } catch (PrivilegedActionException e) { System.out.println("Can't connect to native browser. Error " + "message is: " + e.getCause().getMessage()); setBrowsersInitFailReason("Can't connect to native browser"); return; } // main event loop while (true) { try { Thread.sleep(1); } catch (Exception e) { } try { int exitValue = nativeBrowser.exitValue(); WebBrowser.trace("Native browser died."); return; } catch (IllegalThreadStateException e) { } try { processEvents(); } catch (Exception e) { WebBrowser.trace("Exception occured when processEvent: " + e.getMessage()); return; } try { messenger.portListening(); processIncomingMessage(messenger.getMessage()); } catch (Exception e) { WebBrowser.trace("Exception occured when portListening: " + e.getMessage()); return; } } }
46042 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46042/5e198f3499faac1658906407b277733b132facbe/NativeEventThread.java/clean/src/jdic/src/share/classes/org/jdesktop/jdic/browser/NativeEventThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 368, 752, 6448, 4748, 1207, 3639, 775, 288, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 1435, 422, 446, 13, 288, 1171, 15268, 13221, 2570, 3754, 8385, 2932, 9132, 5905, 486, 444, 8863, 7734, 2999, 9132, 18, 5129, 2932, 11213, 5905, 486, 444, 16, 2619, 2427, 8863, 7734, 327, 31, 5411, 289, 1171, 514, 13555, 14786, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 3489, 18, 10645, 8863, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 7675, 5839, 1190, 2932, 45, 73, 9538, 18, 14880, 7923, 597, 13555, 14786, 18, 17514, 1190, 2932, 29636, 6, 3719, 7734, 2999, 9132, 1304, 18, 13635, 694, 3491, 5621, 5411, 727, 514, 1797, 273, 2999, 9132, 18, 588, 9132, 5905, 1435, 397, 315, 300, 655, 1546, 397, 31086, 18, 588, 2617, 5621, 5411, 2999, 9132, 18, 5129, 2932, 22134, 315, 397, 1797, 1769, 5411, 25556, 18, 2896, 18845, 12, 7734, 394, 17747, 503, 1803, 1435, 288, 10792, 1071, 1033, 1086, 1435, 1216, 1860, 288, 13491, 6448, 9132, 273, 2509, 18, 588, 5576, 7675, 4177, 12, 4172, 1769, 13491, 394, 3961, 43, 947, 70, 749, 12, 13635, 9132, 18, 588, 668, 1228, 1435, 2934, 1937, 5621, 13491, 394, 3961, 43, 947, 70, 749, 12, 13635, 9132, 18, 588, 4348, 1435, 2934, 1937, 5621, 13491, 327, 446, 31, 10792, 289, 7734, 289, 5411, 11272, 3639, 289, 1044, 261, 18845, 1803, 503, 425, 13, 288, 5411, 15268, 13221, 2570, 3754, 8385, 2932, 2568, 1404, 1104, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 368, 752, 6448, 4748, 1207, 3639, 775, 288, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 1435, 422, 446, 13, 288, 1171, 15268, 13221, 2570, 3754, 8385, 2932, 9132, 5905, 486, 444, 8863, 7734, 2999, 9132, 18, 5129, 2932, 11213, 5905, 486, 444, 16, 2619, 2427, 8863, 7734, 327, 31, 5411, 289, 1171, 514, 13555, 14786, 273, 2332, 18, 588, 1396, 2932, 6290, 18, 3489, 18, 10645, 8863, 5411, 309, 261, 4079, 9132, 18, 588, 9132, 5905, 7675, 5839, 1190, 2932, 45, 73, 9538, 18, 14880, 7923, 597, 13555, 14786, 18, 17514, 1190, 2932, 29636, 6, 3719, 7734, 2999, 9132, 1304, 18, 13635, 694, 3491, 5621, 5411, 727, 514, 1797, 273, 2 ]
final IBindingService parentBindingService = (IBindingService) serviceLocator .getService(IBindingService.class); final IBindingService bindingService = new SlaveBindingService( parentBindingService); serviceLocator.registerService(IBindingService.class, bindingService);
private void initializeDefaultServices() { final Expression defaultExpression = new ActivePartExpression( multiPageEditor); final IHandlerService parentService = (IHandlerService) serviceLocator .getService(IHandlerService.class); final IHandlerService slave = new NestableHandlerService(parentService, defaultExpression); serviceLocator.registerService(IHandlerService.class, slave); final IContextService parentContext = (IContextService) serviceLocator .getService(IContextService.class); final IContextService context = new NestableContextService( parentContext, defaultExpression); serviceLocator.registerService(IContextService.class, context); final ICommandService parentCommandService = (ICommandService) serviceLocator .getService(ICommandService.class); final ICommandService commandService = new SlaveCommandService( parentCommandService); serviceLocator.registerService(ICommandService.class, commandService); final IBindingService parentBindingService = (IBindingService) serviceLocator .getService(IBindingService.class); final IBindingService bindingService = new SlaveBindingService( parentBindingService); serviceLocator.registerService(IBindingService.class, bindingService); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/b18d96c6b93d4e490a07a29b17e88a3f748216f2/MultiPageEditorSite.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4046, 1868, 5676, 1435, 288, 202, 202, 6385, 5371, 805, 2300, 273, 394, 8857, 1988, 2300, 12, 9506, 202, 7027, 1964, 6946, 1769, 202, 202, 6385, 467, 1503, 1179, 982, 1179, 273, 261, 45, 1503, 1179, 13, 13580, 9506, 202, 18, 588, 1179, 12, 45, 1503, 1179, 18, 1106, 1769, 202, 202, 6385, 467, 1503, 1179, 11735, 273, 394, 423, 395, 429, 1503, 1179, 12, 2938, 1179, 16, 9506, 202, 1886, 2300, 1769, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 1503, 1179, 18, 1106, 16, 11735, 1769, 202, 202, 6385, 467, 1042, 1179, 982, 1042, 273, 261, 45, 1042, 1179, 13, 13580, 9506, 202, 18, 588, 1179, 12, 45, 1042, 1179, 18, 1106, 1769, 202, 202, 6385, 467, 1042, 1179, 819, 273, 394, 423, 395, 429, 1042, 1179, 12, 9506, 202, 2938, 1042, 16, 805, 2300, 1769, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 1042, 1179, 18, 1106, 16, 819, 1769, 202, 202, 6385, 467, 2189, 1179, 982, 2189, 1179, 273, 261, 45, 2189, 1179, 13, 13580, 9506, 202, 18, 588, 1179, 12, 45, 2189, 1179, 18, 1106, 1769, 202, 202, 6385, 467, 2189, 1179, 1296, 1179, 273, 394, 9708, 836, 2189, 1179, 12, 9506, 202, 2938, 2189, 1179, 1769, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 2189, 1179, 18, 1106, 16, 1296, 1179, 1769, 202, 202, 6385, 467, 5250, 1179, 982, 5250, 1179, 273, 261, 45, 5250, 1179, 13, 13580, 9506, 202, 18, 588, 1179, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 4046, 1868, 5676, 1435, 288, 202, 202, 6385, 5371, 805, 2300, 273, 394, 8857, 1988, 2300, 12, 9506, 202, 7027, 1964, 6946, 1769, 202, 202, 6385, 467, 1503, 1179, 982, 1179, 273, 261, 45, 1503, 1179, 13, 13580, 9506, 202, 18, 588, 1179, 12, 45, 1503, 1179, 18, 1106, 1769, 202, 202, 6385, 467, 1503, 1179, 11735, 273, 394, 423, 395, 429, 1503, 1179, 12, 2938, 1179, 16, 9506, 202, 1886, 2300, 1769, 202, 202, 3278, 5786, 18, 4861, 1179, 12, 45, 1503, 1179, 18, 1106, 16, 11735, 1769, 202, 202, 6385, 467, 1042, 1179, 982, 1042, 273, 261, 45, 1042, 1179, 13, 13580, 9506, 202, 18, 588, 1179, 12, 45, 1042, 1179, 18, 1106, 2 ]
assertXpathValuesEqual(controlXpath, document, testXpath, document);
assertXpathValuesEqual(controlXpath, document, testXpath, document, null);
public static void assertXpathValuesEqual(String controlXpath, String testXpath, Document document) throws XpathException { assertXpathValuesEqual(controlXpath, document, testXpath, document); }
8367 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8367/3bdd3a3b81be7d5eb7106026472d1d5494de51aa/XMLAssert.java/buggy/xmlunit/src/java/org/custommonkey/xmlunit/XMLAssert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1815, 28137, 1972, 5812, 12, 780, 3325, 28137, 16, 514, 1842, 28137, 16, 565, 4319, 1668, 13, 3639, 1216, 1139, 803, 503, 288, 3639, 1815, 28137, 1972, 5812, 12, 7098, 28137, 16, 1668, 16, 1842, 28137, 16, 1668, 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, 918, 1815, 28137, 1972, 5812, 12, 780, 3325, 28137, 16, 514, 1842, 28137, 16, 565, 4319, 1668, 13, 3639, 1216, 1139, 803, 503, 288, 3639, 1815, 28137, 1972, 5812, 12, 7098, 28137, 16, 1668, 16, 1842, 28137, 16, 1668, 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 ]
public Scriptable newArray(Scriptable scope, Object[] elements) { Scriptable result = new NativeArray(elements);
public Scriptable newArray(Scriptable scope, int length) { Scriptable result = new NativeArray(length);
public Scriptable newArray(Scriptable scope, Object[] elements) { Scriptable result = new NativeArray(elements); newArrayHelper(scope, result); return result; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/032b7f4436573637adbecdd4a87a1f7f49395249/Context.java/buggy/js/rhino/org/mozilla/javascript/Context.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 22780, 11653, 12, 3651, 429, 2146, 16, 1033, 8526, 2186, 13, 288, 3639, 22780, 563, 273, 394, 16717, 1076, 12, 6274, 1769, 3639, 11653, 2276, 12, 4887, 16, 563, 1769, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 22780, 11653, 12, 3651, 429, 2146, 16, 1033, 8526, 2186, 13, 288, 3639, 22780, 563, 273, 394, 16717, 1076, 12, 6274, 1769, 3639, 11653, 2276, 12, 4887, 16, 563, 1769, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected ClassContext getClassContext() {
public ClassContext getClassContext() {
protected ClassContext getClassContext() { return classContext; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/c28f7dd71b11947333677b687b762c522b1556a7/BytecodeScanningDetector.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/BytecodeScanningDetector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1659, 1042, 2900, 1042, 1435, 288, 202, 202, 2463, 667, 1042, 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, 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, 225, 202, 1117, 1659, 1042, 2900, 1042, 1435, 288, 202, 202, 2463, 667, 1042, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return this.width;
return persistentBFC.width;
public int getWidth() { return this.width; //return master.width - master.totalHorizontalPadding(); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/ea25c36d8670e0a2297b9a25e4765c46f98952c5/BlockFormattingContext.java/buggy/src/java/org/xhtmlrenderer/layout/BlockFormattingContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8557, 1435, 288, 3639, 327, 9195, 38, 4488, 18, 2819, 31, 3639, 368, 2463, 4171, 18, 2819, 300, 4171, 18, 4963, 14457, 9485, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8557, 1435, 288, 3639, 327, 9195, 38, 4488, 18, 2819, 31, 3639, 368, 2463, 4171, 18, 2819, 300, 4171, 18, 4963, 14457, 9485, 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 ]
public void reconvert() {
public void reconvert() {
public void reconvert() { if (im == null) throw new UnsupportedOperationException(); im.reconvert(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/InputContext.java/buggy/core/src/classpath/java/java/awt/im/InputContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 283, 6283, 1435, 288, 202, 202, 430, 261, 381, 422, 446, 13, 1082, 202, 12849, 394, 13172, 5621, 202, 202, 381, 18, 266, 6283, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 283, 6283, 1435, 288, 202, 202, 430, 261, 381, 422, 446, 13, 1082, 202, 12849, 394, 13172, 5621, 202, 202, 381, 18, 266, 6283, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
buf.append(value);
buf.append(quote(value, columnType));
private String generateInlineForAnsi( String alias, List columnNames, List columnTypes, List valueList) { final StringBuffer buf = new StringBuffer(); buf.append("SELECT * FROM (VALUES"); for (int i = 0; i < valueList.size(); i++) { if (i > 0) { buf.append(", "); } String[] values = (String[]) valueList.get(i); buf.append("("); for (int j = 0; j < values.length; j++) { String value = values[j]; if (j > 0) { buf.append(", "); } final String columnType = (String) columnTypes.get(j); if (value == null) { buf.append("NULL"); } else if (columnType.equals("String")) { buf.append(quoteString(value)); } else { buf.append(value); } } buf.append(")"); } buf.append(") AS "); quoteIdentifier(alias, buf); buf.append(" ("); for (int j = 0; j < columnNames.size(); j++) { final String columnName = (String) columnNames.get(j); if (j > 0) { buf.append(", "); } quoteIdentifier(columnName, buf); } buf.append(")"); return buf.toString(); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/862d816cabb78e4c3d2dbf970a221c126e735e3f/SqlQuery.java/buggy/src/main/mondrian/rolap/sql/SqlQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 514, 2103, 10870, 1290, 979, 7722, 12, 7734, 514, 2308, 16, 987, 19975, 16, 7734, 987, 1057, 2016, 16, 987, 460, 682, 13, 288, 5411, 727, 6674, 1681, 273, 394, 6674, 5621, 5411, 1681, 18, 6923, 2932, 4803, 380, 4571, 261, 16386, 8863, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 460, 682, 18, 1467, 5621, 277, 27245, 288, 7734, 309, 261, 77, 405, 374, 13, 288, 10792, 1681, 18, 6923, 2932, 16, 315, 1769, 7734, 289, 7734, 514, 8526, 924, 273, 261, 780, 63, 5717, 225, 460, 682, 18, 588, 12, 77, 1769, 7734, 1681, 18, 6923, 2932, 2932, 1769, 7734, 364, 261, 474, 525, 273, 374, 31, 525, 411, 924, 18, 2469, 31, 525, 27245, 288, 10792, 514, 460, 273, 924, 63, 78, 15533, 10792, 309, 261, 78, 405, 374, 13, 288, 13491, 1681, 18, 6923, 2932, 16, 315, 1769, 10792, 289, 10792, 727, 514, 27280, 273, 261, 780, 13, 1057, 2016, 18, 588, 12, 78, 1769, 10792, 309, 261, 1132, 422, 446, 13, 288, 13491, 1681, 18, 6923, 2932, 8560, 8863, 10792, 289, 469, 309, 261, 2827, 559, 18, 14963, 2932, 780, 6, 3719, 288, 13491, 1681, 18, 6923, 12, 6889, 780, 12, 1132, 10019, 10792, 289, 469, 288, 13491, 1681, 18, 6923, 12, 6889, 12, 1132, 16, 27280, 10019, 10792, 289, 7734, 289, 7734, 1681, 18, 6923, 2932, 2225, 1769, 5411, 289, 5411, 1681, 18, 6923, 2932, 13, 5355, 315, 1769, 5411, 19257, 12, 4930, 16, 1681, 1769, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 514, 2103, 10870, 1290, 979, 7722, 12, 7734, 514, 2308, 16, 987, 19975, 16, 7734, 987, 1057, 2016, 16, 987, 460, 682, 13, 288, 5411, 727, 6674, 1681, 273, 394, 6674, 5621, 5411, 1681, 18, 6923, 2932, 4803, 380, 4571, 261, 16386, 8863, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 460, 682, 18, 1467, 5621, 277, 27245, 288, 7734, 309, 261, 77, 405, 374, 13, 288, 10792, 1681, 18, 6923, 2932, 16, 315, 1769, 7734, 289, 7734, 514, 8526, 924, 273, 261, 780, 63, 5717, 225, 460, 682, 18, 588, 12, 77, 1769, 7734, 1681, 18, 6923, 2932, 2932, 1769, 7734, 364, 261, 474, 525, 273, 374, 31, 525, 411, 924, 18, 2469, 31, 2 ]
public final ResourceHandle getResourceHandle( )
public ResourceHandle getResourceHandle( )
public final ResourceHandle getResourceHandle( ) { return rh; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/536b54a46b25aa99e427a2fbd8217e09108c905a/RunTimeContext.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/RunTimeContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 2591, 3259, 5070, 3259, 12, 262, 202, 95, 202, 202, 2463, 6259, 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, 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, 225, 202, 482, 727, 2591, 3259, 5070, 3259, 12, 262, 202, 95, 202, 202, 2463, 6259, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.AllocAvgPx getAllocAvgPx() throws FieldNotFound { org.quickfix.field.AllocAvgPx value = new org.quickfix.field.AllocAvgPx();
public quickfix.field.AllocAvgPx getAllocAvgPx() throws FieldNotFound { quickfix.field.AllocAvgPx value = new quickfix.field.AllocAvgPx();
public org.quickfix.field.AllocAvgPx getAllocAvgPx() throws FieldNotFound { org.quickfix.field.AllocAvgPx value = new org.quickfix.field.AllocAvgPx(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationReport.java/clean/src/java/src/quickfix/fix44/AllocationReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8763, 22823, 21776, 336, 8763, 22823, 21776, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8763, 22823, 21776, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8763, 22823, 21776, 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, 8763, 22823, 21776, 336, 8763, 22823, 21776, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8763, 22823, 21776, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8763, 22823, 21776, 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 ]
break loop48;
break loop49;
public String dotted_name() throws RecognitionException { String name = null; Token id=null; name = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1256:3: (id= ID ( ( '.' ID )=> '.' id= ID )* ( ( '[' ']' )=> '[' ']' )* ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1256:3: id= ID ( ( '.' ID )=> '.' id= ID )* ( ( '[' ']' )=> '[' ']' )* { id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_dotted_name3125); if (failed) return name; if ( backtracking==0 ) { name=id.getText(); } // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1256:32: ( ( '.' ID )=> '.' id= ID )* loop47: do { int alt47=2; int LA47_0 = input.LA(1); if ( (LA47_0==33) ) { alt47=1; } switch (alt47) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1256:34: ( '.' ID )=> '.' id= ID { match(input,33,FOLLOW_33_in_dotted_name3131); if (failed) return name; id=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_dotted_name3135); if (failed) return name; if ( backtracking==0 ) { name = name + "." + id.getText(); } } break; default : break loop47; } } while (true); // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1256:85: ( ( '[' ']' )=> '[' ']' )* loop48: do { int alt48=2; int LA48_0 = input.LA(1); if ( (LA48_0==LEFT_SQUARE) ) { alt48=1; } switch (alt48) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1256:87: ( '[' ']' )=> '[' ']' { match(input,LEFT_SQUARE,FOLLOW_LEFT_SQUARE_in_dotted_name3144); if (failed) return name; match(input,RIGHT_SQUARE,FOLLOW_RIGHT_SQUARE_in_dotted_name3146); if (failed) return name; if ( backtracking==0 ) { name = name + "[]"; } } break; default : break loop48; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return name; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f28aebf2f687a31e4e9c59db745d1344bea3d924/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 20965, 67, 529, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 3639, 3155, 612, 33, 2011, 31, 1171, 202, 202, 529, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 4313, 30, 23, 30, 261, 350, 33, 1599, 261, 261, 2611, 1599, 13216, 2611, 612, 33, 1599, 8618, 261, 261, 8375, 8641, 13216, 8375, 8641, 8618, 262, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 4313, 30, 23, 30, 612, 33, 1599, 261, 261, 2611, 1599, 13216, 2611, 612, 33, 1599, 8618, 261, 261, 8375, 8641, 13216, 8375, 8641, 8618, 5411, 288, 5411, 612, 28657, 1345, 13, 2630, 18, 12050, 12, 21, 1769, 5411, 845, 12, 2630, 16, 734, 16, 29890, 67, 734, 67, 267, 67, 9811, 2344, 67, 529, 23, 18473, 1769, 309, 261, 7307, 13, 327, 508, 31, 5411, 309, 261, 6888, 631, 20, 262, 288, 9079, 508, 33, 350, 18, 588, 1528, 5621, 2398, 289, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 4313, 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, 20965, 67, 529, 1435, 1216, 9539, 288, 6647, 514, 508, 273, 446, 31, 3639, 3155, 612, 33, 2011, 31, 1171, 202, 202, 529, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 2138, 4313, 30, 23, 30, 261, 350, 33, 1599, 261, 261, 2611, 1599, 13216, 2611, 612, 33, 1599, 8618, 261, 261, 8375, 8641, 13216, 8375, 8641, 8618, 262, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 2 ]
Driver.debug("storesMixedCaseQuotedIdentifiers " + false);
if (Driver.logDebug) Driver.debug("storesMixedCaseQuotedIdentifiers " + false);
public boolean storesMixedCaseQuotedIdentifiers() throws SQLException { Driver.debug("storesMixedCaseQuotedIdentifiers " + false); return false; }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/b465f5307f9f5506beb1edbcc0fb56eed7c29c12/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 9064, 19846, 2449, 15919, 12745, 1435, 1216, 6483, 202, 95, 202, 202, 4668, 18, 4148, 2932, 19632, 19846, 2449, 15919, 12745, 315, 397, 629, 1769, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 202, 482, 1250, 9064, 19846, 2449, 15919, 12745, 1435, 1216, 6483, 202, 95, 202, 202, 4668, 18, 4148, 2932, 19632, 19846, 2449, 15919, 12745, 315, 397, 629, 1769, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
printNode(response);
public void testGetUser() throws Exception { // Setup testharness User testData = new User("tomcat"); testData.setEnabled(true); Mock userDAO = new Mock(UserDAO.class); // because we can't extend MockObjectTestCase we create new instances for once(), eq() and returnValue() InvokeOnceMatcher once = new InvokeOnceMatcher(); IsEqual eq = new IsEqual("tomcat"); ReturnStub returnValue = new ReturnStub(testData); userDAO.expects(once).method("getUser").with(eq).will(returnValue); UserManager service = (UserManager) getContext().getBean("userManager"); service.setUserDAO((UserDAO)userDAO.proxy()); // invoke webservice Document response = invokeService("UserWebService", "/org/appfuse/service/getUser.xml"); printNode(response); // verify result userDAO.verify(); addNamespace("service","http://service.appfuse.org"); addNamespace("model","http://model.appfuse.org"); assertValid("//service:getUserResponse/service:out[model:username=\"tomcat\"]",response); assertValid("//service:getUserResponse/service:out[model:enabled=\"true\"]",response); }
30015 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/30015/da7d0a07fc2ce1a835eb405cde87f8508c1a9d89/UserWebServiceTest.java/buggy/extras/xfire/test/service/org/appfuse/service/UserWebServiceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 1299, 1435, 1216, 1185, 288, 3639, 368, 10939, 1842, 76, 1303, 403, 540, 2177, 1842, 751, 273, 394, 2177, 2932, 3599, 2574, 8863, 3639, 1842, 751, 18, 542, 1526, 12, 3767, 1769, 3639, 7867, 729, 18485, 273, 394, 7867, 12, 1299, 18485, 18, 1106, 1769, 7734, 368, 2724, 732, 848, 1404, 2133, 7867, 921, 4709, 2449, 732, 752, 394, 3884, 364, 3647, 9334, 7555, 1435, 471, 7750, 1435, 3639, 14373, 12212, 6286, 3647, 273, 394, 14373, 12212, 6286, 5621, 3639, 2585, 5812, 7555, 273, 394, 2585, 5812, 2932, 3599, 2574, 8863, 3639, 2000, 11974, 7750, 273, 394, 2000, 11974, 12, 3813, 751, 1769, 3639, 729, 18485, 18, 12339, 87, 12, 8243, 2934, 2039, 2932, 588, 1299, 20387, 1918, 12, 11253, 2934, 20194, 12, 2463, 620, 1769, 7734, 2177, 1318, 1156, 273, 261, 1299, 1318, 13, 6474, 7675, 588, 3381, 2932, 1355, 1318, 8863, 3639, 1156, 18, 542, 1299, 18485, 12443, 1299, 18485, 13, 1355, 18485, 18, 5656, 10663, 7734, 368, 4356, 732, 20015, 3639, 4319, 766, 273, 5411, 4356, 1179, 2932, 1299, 31946, 3113, 2206, 3341, 19, 2910, 74, 1202, 19, 3278, 19, 588, 1299, 18, 2902, 8863, 7734, 368, 3929, 563, 3639, 729, 18485, 18, 8705, 5621, 3639, 527, 3402, 2932, 3278, 15937, 2505, 2207, 3278, 18, 2910, 74, 1202, 18, 3341, 8863, 3639, 527, 3402, 2932, 2284, 15937, 2505, 2207, 2284, 18, 2910, 74, 1202, 18, 3341, 8863, 3639, 1815, 1556, 2932, 759, 3278, 30, 588, 1299, 1064, 19, 3278, 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, 1299, 1435, 1216, 1185, 288, 3639, 368, 10939, 1842, 76, 1303, 403, 540, 2177, 1842, 751, 273, 394, 2177, 2932, 3599, 2574, 8863, 3639, 1842, 751, 18, 542, 1526, 12, 3767, 1769, 3639, 7867, 729, 18485, 273, 394, 7867, 12, 1299, 18485, 18, 1106, 1769, 7734, 368, 2724, 732, 848, 1404, 2133, 7867, 921, 4709, 2449, 732, 752, 394, 3884, 364, 3647, 9334, 7555, 1435, 471, 7750, 1435, 3639, 14373, 12212, 6286, 3647, 273, 394, 14373, 12212, 6286, 5621, 3639, 2585, 5812, 7555, 273, 394, 2585, 5812, 2932, 3599, 2574, 8863, 3639, 2000, 11974, 7750, 273, 394, 2000, 11974, 12, 3813, 751, 1769, 3639, 729, 18485, 18, 12339, 87, 12, 8243, 2934, 2039, 2932, 2 ]
_listenerList = new HashSet(); Object target = propPanel.getTarget(); if (target == null) { return ; } if (!(target instanceof MModelElement)) { System.out.println(getClass().toString() + ": cannot build listener for " + target.getClass().toString()); return; } addListeners(((MModelElement) target).getModel());
targetChanged();
public UMLThirdPartyEventListener(PropPanel propPanel, java.util.List pairList) { // Set up the instance variables _propPanel = propPanel; _pairList = pairList; // Create a new list of listeners (must do this even if have no target, // so removeListeners will still work). _listenerList = new HashSet(); // Get the owning model. The target associated with the propPanel // should always be a MModelElement (if its not null), but we double // check. Its possible it doesn't have a model, so we'll listen for one // being added. Object target = propPanel.getTarget(); // Quietly stop here if we have no target if (target == null) { return ; } // Complain if the target is not a model element if (!(target instanceof MModelElement)) { System.out.println(getClass().toString() + ": cannot build listener for " + target.getClass().toString()); return; } // Add listeners to everything relevant in the model addListeners(((MModelElement) target).getModel()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/2ffc41c35924c630f69de91c01f6b9455942fc8c/UMLThirdPartyEventListener.java/clean/src_new/org/argouml/uml/ui/UMLThirdPartyEventListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 587, 1495, 31918, 7375, 12, 4658, 5537, 1377, 2270, 5537, 16, 4766, 1377, 2252, 18, 1367, 18, 682, 3082, 682, 13, 288, 3639, 368, 1000, 731, 326, 791, 3152, 3639, 389, 5986, 5537, 273, 2270, 5537, 31, 3639, 389, 6017, 682, 225, 273, 3082, 682, 31, 3639, 368, 1788, 279, 394, 666, 434, 4679, 261, 11926, 741, 333, 5456, 309, 1240, 1158, 1018, 16, 3639, 368, 1427, 1206, 5583, 903, 4859, 1440, 2934, 3639, 389, 12757, 682, 273, 394, 6847, 5621, 3639, 368, 968, 326, 25022, 938, 18, 1021, 1018, 3627, 598, 326, 2270, 5537, 3639, 368, 1410, 3712, 506, 279, 490, 1488, 1046, 261, 430, 2097, 486, 446, 3631, 1496, 732, 1645, 3639, 368, 866, 18, 29517, 3323, 518, 3302, 1404, 1240, 279, 938, 16, 1427, 732, 5614, 6514, 364, 1245, 3639, 368, 3832, 3096, 18, 3639, 1033, 1018, 273, 2270, 5537, 18, 588, 2326, 5621, 3639, 368, 4783, 6213, 715, 2132, 2674, 309, 732, 1240, 1158, 1018, 3639, 309, 261, 3299, 422, 446, 13, 288, 5411, 327, 274, 3639, 289, 3639, 368, 1286, 7446, 309, 326, 1018, 353, 486, 279, 938, 930, 3639, 309, 16051, 12, 3299, 1276, 490, 1488, 1046, 3719, 288, 5411, 2332, 18, 659, 18, 8222, 12, 588, 797, 7675, 10492, 1435, 397, 1171, 9079, 6398, 2780, 1361, 2991, 364, 315, 397, 1171, 9079, 1018, 18, 588, 797, 7675, 10492, 10663, 5411, 327, 31, 3639, 289, 3639, 368, 1436, 4679, 358, 7756, 9368, 316, 326, 938, 3639, 527, 5583, 12443, 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, 587, 1495, 31918, 7375, 12, 4658, 5537, 1377, 2270, 5537, 16, 4766, 1377, 2252, 18, 1367, 18, 682, 3082, 682, 13, 288, 3639, 368, 1000, 731, 326, 791, 3152, 3639, 389, 5986, 5537, 273, 2270, 5537, 31, 3639, 389, 6017, 682, 225, 273, 3082, 682, 31, 3639, 368, 1788, 279, 394, 666, 434, 4679, 261, 11926, 741, 333, 5456, 309, 1240, 1158, 1018, 16, 3639, 368, 1427, 1206, 5583, 903, 4859, 1440, 2934, 3639, 389, 12757, 682, 273, 394, 6847, 5621, 3639, 368, 968, 326, 25022, 938, 18, 1021, 1018, 3627, 598, 326, 2270, 5537, 3639, 368, 1410, 3712, 506, 279, 490, 1488, 1046, 261, 430, 2097, 486, 446, 3631, 1496, 732, 1645, 3639, 368, 866, 18, 2 ]
return RubyBoolean.newBoolean(runtime, Modifier.isPublic(javaClass.getModifiers()));
return getRuntime().newBoolean(Modifier.isPublic(javaClass.getModifiers()));
public RubyBoolean public_p() { return RubyBoolean.newBoolean(runtime, Modifier.isPublic(javaClass.getModifiers())); }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/870e1da9b41bfdbae259e1fc5f18fc8b76686998/JavaClass.java/buggy/src/org/jruby/javasupport/JavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 1071, 67, 84, 1435, 288, 3639, 327, 18814, 7675, 2704, 5507, 12, 9829, 18, 291, 4782, 12, 6290, 797, 18, 588, 11948, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 19817, 5507, 1071, 67, 84, 1435, 288, 3639, 327, 18814, 7675, 2704, 5507, 12, 9829, 18, 291, 4782, 12, 6290, 797, 18, 588, 11948, 1435, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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("Num arcs : " + successorCount); System.out.println("Avg arcs : " + ((float) successorCount / getNumNodes()));
public void dumpStatistics() { int successorCount = 0; System.out.println("Num nodes : " + getNumNodes()); for (Iterator i = grammarNodes.iterator(); i.hasNext();) { GrammarNode node = (GrammarNode) i.next(); successorCount += node.getSuccessors().length; } System.out.println("Num arcs : " + successorCount); System.out.println("Avg arcs : " + ((float) successorCount / getNumNodes())); }
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/e159cae0ac153e14888c3bac8f4df4a5cfe66e5e/Grammar.java/buggy/sphinx4/edu/cmu/sphinx/linguist/language/grammar/Grammar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4657, 8569, 1435, 288, 3639, 509, 19532, 1380, 273, 374, 31, 3639, 2332, 18, 659, 18, 8222, 2932, 2578, 2199, 294, 315, 397, 11187, 3205, 10663, 3639, 364, 261, 3198, 277, 273, 6473, 3205, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 27809, 907, 756, 273, 261, 18576, 907, 13, 277, 18, 4285, 5621, 5411, 19532, 1380, 1011, 756, 18, 588, 4510, 1383, 7675, 2469, 31, 3639, 289, 3639, 2332, 18, 659, 18, 8222, 2932, 2578, 21569, 225, 294, 315, 397, 19532, 1380, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 22823, 21569, 225, 294, 315, 7734, 397, 14015, 5659, 13, 19532, 1380, 342, 11187, 3205, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4657, 8569, 1435, 288, 3639, 509, 19532, 1380, 273, 374, 31, 3639, 2332, 18, 659, 18, 8222, 2932, 2578, 2199, 294, 315, 397, 11187, 3205, 10663, 3639, 364, 261, 3198, 277, 273, 6473, 3205, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 5411, 27809, 907, 756, 273, 261, 18576, 907, 13, 277, 18, 4285, 5621, 5411, 19532, 1380, 1011, 756, 18, 588, 4510, 1383, 7675, 2469, 31, 3639, 289, 3639, 2332, 18, 659, 18, 8222, 2932, 2578, 21569, 225, 294, 315, 397, 19532, 1380, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 22823, 21569, 225, 294, 315, 7734, 397, 14015, 5659, 13, 19532, 1380, 342, 11187, 3205, 1435, 10019, 565, 289, 2, -100, -100, -100 ]
pcclass.setClassSkillString(value);
final StringTokenizer aTok = new StringTokenizer(value, "|"); int skillCount = 0; if (value.indexOf('|') >= 0) { try { skillCount = Integer.parseInt(aTok.nextToken()); } catch (NumberFormatException e) { Logging.errorPrint("Import error: Expected first value of " + "SKILLLIST token with a | to be a number"); return false; } } final List<String> skillChoices = new ArrayList<String>(); while (aTok.hasMoreTokens()) { skillChoices.add(aTok.nextToken()); } if (skillChoices.size() > 0) { pcclass.setClassSkillChoices(skillCount, skillChoices); }
public boolean parse(PCClass pcclass, String value, int level) { pcclass.setClassSkillString(value); return true; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/cc414c372c7503968a595d31613b89fb2950a441/SkilllistToken.java/clean/code/src/java/plugin/lsttokens/pcclass/SkilllistToken.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1109, 12, 3513, 797, 293, 952, 459, 16, 514, 460, 16, 509, 1801, 13, 288, 202, 202, 84, 952, 459, 18, 542, 797, 9030, 780, 12, 1132, 1769, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1109, 12, 3513, 797, 293, 952, 459, 16, 514, 460, 16, 509, 1801, 13, 288, 202, 202, 84, 952, 459, 18, 542, 797, 9030, 780, 12, 1132, 1769, 202, 202, 2463, 638, 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 ]
if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; }
if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; }
final private boolean jj_3_29() { if (jj_scan_token(LBRACKET)) return true; if (jj_scan_token(RBRACKET)) return true; return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 3238, 1250, 10684, 67, 23, 67, 5540, 1435, 288, 3639, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 48, 21217, 3719, 327, 638, 31, 3639, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 54, 21217, 3719, 327, 638, 31, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 3238, 1250, 10684, 67, 23, 67, 5540, 1435, 288, 3639, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 48, 21217, 3719, 327, 638, 31, 3639, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 54, 21217, 3719, 327, 638, 31, 3639, 327, 629, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
mSourceName = aSourceClass.getName();
mSourceClass = aSourceClass;
public LocalizedMessage(int aLineNo, int aColNo, String aBundle, String aKey, Object[] aArgs, SeverityLevel aSeverityLevel, Class aSourceClass) { mLineNo = aLineNo; mColNo = aColNo; mKey = aKey; mArgs = aArgs; mBundle = aBundle; mSeverityLevel = aSeverityLevel; mSourceName = aSourceClass.getName(); }
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/f517396b25d09ef8498793de4303a1c1b7499ea8/LocalizedMessage.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/api/LocalizedMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3566, 1235, 1079, 12, 474, 279, 1670, 2279, 16, 18701, 509, 279, 914, 2279, 16, 18701, 514, 279, 3405, 16, 18701, 514, 279, 653, 16, 18701, 1033, 8526, 279, 2615, 16, 18701, 23760, 2355, 279, 21630, 2355, 16, 18701, 1659, 29563, 797, 13, 565, 288, 3639, 312, 1670, 2279, 273, 279, 1670, 2279, 31, 3639, 312, 914, 2279, 273, 279, 914, 2279, 31, 3639, 312, 653, 273, 279, 653, 31, 3639, 312, 2615, 273, 279, 2615, 31, 3639, 312, 3405, 273, 279, 3405, 31, 3639, 312, 21630, 2355, 273, 279, 21630, 2355, 31, 3639, 312, 1830, 797, 273, 29563, 797, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3566, 1235, 1079, 12, 474, 279, 1670, 2279, 16, 18701, 509, 279, 914, 2279, 16, 18701, 514, 279, 3405, 16, 18701, 514, 279, 653, 16, 18701, 1033, 8526, 279, 2615, 16, 18701, 23760, 2355, 279, 21630, 2355, 16, 18701, 1659, 29563, 797, 13, 565, 288, 3639, 312, 1670, 2279, 273, 279, 1670, 2279, 31, 3639, 312, 914, 2279, 273, 279, 914, 2279, 31, 3639, 312, 653, 273, 279, 653, 31, 3639, 312, 2615, 273, 279, 2615, 31, 3639, 312, 3405, 273, 279, 3405, 31, 3639, 312, 21630, 2355, 273, 279, 21630, 2355, 31, 3639, 312, 1830, 797, 273, 29563, 797, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static BugzillaReportSubmitForm makeNewBugPost2(TaskRepository repository, NewBugModel model) { BugzillaReportSubmitForm form = new BugzillaReportSubmitForm(); form.setPrefix(BugzillaReportSubmitForm.FORM_PREFIX_BUG_218); form.setPrefix2(BugzillaReportSubmitForm.FORM_PREFIX_BUG_220); form.setPostfix(BugzillaReportSubmitForm.FORM_POSTFIX_216); form.setPostfix2(BugzillaReportSubmitForm.FORM_POSTFIX_218); setURL(form, repository, POST_BUG_CGI); // go through all of the attributes and add them to // the bug post Iterator<Attribute> itr = model.getAttributes().iterator(); while (itr.hasNext()) { Attribute a = itr.next(); if (a != null && a.getParameterName() != null && a.getParameterName().compareTo("") != 0 && !a.isHidden()) { String key = a.getName(); String value = null; // get the values from the attribute if (key.equalsIgnoreCase("OS")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Version")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Severity")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Platform")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Component")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Priority")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Target Milestone")) { value = a.getValue(); } else if (key.equalsIgnoreCase("URL")) { value = a.getValue(); } else if (key.equalsIgnoreCase("Assign To") || key.equalsIgnoreCase("Assigned To")) { value = a.getValue(); } // add the attribute to the bug post if (value == null) value = ""; form.add(a.getParameterName(), value); } else if (a != null && a.getParameterName() != null && a.getParameterName().compareTo("") != 0 && a.isHidden()) { // we have a hidden attribute, add it to the // posting form.add(a.getParameterName(), a.getValue()); } } // add the summary to the bug post form.add("short_desc", model.getSummary()); BugzillaServerVersion bugzillaServerVersion = IBugzillaConstants.BugzillaServerVersion.fromString(repository.getVersion()); if (bugzillaServerVersion != null && bugzillaServerVersion.compareTo(BugzillaServerVersion.SERVER_220) >= 0) {// if (repository.getVersion().equals(BugzillaServerVersion.SERVER_220.toString())) { form.add("bug_status", "NEW"); } String formattedDescription = formatTextToLineWrap(model.getDescription(), repository); model.setDescription(formattedDescription); if (model.getDescription().length() != 0) { // add the new comment to the bug post if there // is some text in // it form.add("comment", model.getDescription()); } return form; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2e572c6e48f7be2a6439bb565ee3990323af8431/BugzillaReportSubmitForm.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaReportSubmitForm.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 282, 760, 282, 16907, 15990, 4820, 11620, 1204, 282, 1221, 1908, 19865, 3349, 22, 12, 2174, 3305, 282, 3352, 16, 282, 1166, 19865, 1488, 282, 938, 13, 282, 288, 202, 202, 19865, 15990, 4820, 11620, 1204, 282, 646, 282, 273, 282, 394, 282, 16907, 15990, 4820, 11620, 1204, 5621, 202, 202, 687, 18, 542, 2244, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 6307, 67, 4827, 67, 22, 2643, 1769, 202, 202, 687, 18, 542, 2244, 22, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 6307, 67, 4827, 67, 27246, 1769, 202, 202, 687, 18, 542, 24505, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 3798, 4563, 67, 22, 2313, 1769, 202, 202, 687, 18, 542, 24505, 22, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 3798, 4563, 67, 22, 2643, 1769, 202, 202, 542, 1785, 12, 687, 16, 282, 3352, 16, 282, 5485, 67, 4827, 67, 39, 13797, 1769, 202, 202, 759, 282, 1960, 282, 3059, 282, 777, 282, 434, 282, 326, 282, 1677, 282, 471, 282, 527, 282, 2182, 282, 358, 202, 202, 759, 282, 326, 282, 7934, 282, 1603, 202, 202, 3198, 32, 1499, 34, 282, 11176, 282, 273, 282, 938, 18, 588, 2498, 7675, 9838, 5621, 202, 202, 17523, 282, 261, 305, 86, 18, 5332, 2134, 10756, 282, 288, 1082, 202, 1499, 282, 279, 282, 273, 282, 11176, 18, 4285, 5621, 1082, 202, 430, 282, 261, 69, 282, 480, 282, 446, 282, 597, 282, 279, 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, 482, 282, 760, 282, 16907, 15990, 4820, 11620, 1204, 282, 1221, 1908, 19865, 3349, 22, 12, 2174, 3305, 282, 3352, 16, 282, 1166, 19865, 1488, 282, 938, 13, 282, 288, 202, 202, 19865, 15990, 4820, 11620, 1204, 282, 646, 282, 273, 282, 394, 282, 16907, 15990, 4820, 11620, 1204, 5621, 202, 202, 687, 18, 542, 2244, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 6307, 67, 4827, 67, 22, 2643, 1769, 202, 202, 687, 18, 542, 2244, 22, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 6307, 67, 4827, 67, 27246, 1769, 202, 202, 687, 18, 542, 24505, 12, 19865, 15990, 4820, 11620, 1204, 18, 4983, 67, 3798, 4563, 67, 22, 2313, 1769, 202, 202, 2 ]
if (!GalleryRemote._().properties.getBooleanProperty(PreferenceNames.SUPPRESS_WARNING_IM)) {
if (!GalleryRemote._().properties.getBooleanProperty(PreferenceNames.SUPPRESS_WARNING_IM, false)) {
static void stopUsingIM() { useIM = false; if (!GalleryRemote._().properties.getBooleanProperty(PreferenceNames.SUPPRESS_WARNING_IM)) { if (GalleryRemote._().getMainFrame() != null && GalleryRemote._().getMainFrame().isVisible()) { UrlMessageDialog md = new UrlMessageDialog( GRI18n.getString(MODULE, "warningTextIM"), GRI18n.getString(MODULE, "warningUrlIM"), GRI18n.getString(MODULE, "warningUrlTextIM") ); if (md.dontShow()) { GalleryRemote._().properties.setBooleanProperty(PreferenceNames.SUPPRESS_WARNING_IM, true); } } else { deferredStopUsingIM = true; } } }
9402 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9402/5eaee01c449188cf087fc4850700732caebcd03f/ImageUtils.java/clean/com/gallery/GalleryRemote/util/ImageUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 918, 2132, 7736, 3445, 1435, 288, 202, 202, 1202, 3445, 273, 629, 31, 202, 202, 430, 16051, 18511, 5169, 6315, 7675, 4738, 18, 588, 5507, 1396, 12, 9624, 1557, 18, 13272, 22526, 67, 9511, 67, 3445, 3719, 288, 1082, 202, 430, 261, 18511, 5169, 6315, 7675, 588, 6376, 3219, 1435, 480, 446, 6862, 202, 10, 10, 31398, 5169, 6315, 7675, 588, 6376, 3219, 7675, 291, 6207, 10756, 288, 9506, 202, 1489, 1079, 6353, 3481, 273, 394, 6816, 1079, 6353, 12, 25083, 202, 43, 2259, 2643, 82, 18, 588, 780, 12, 12194, 16, 315, 8551, 1528, 3445, 6, 3631, 25083, 202, 43, 2259, 2643, 82, 18, 588, 780, 12, 12194, 16, 315, 8551, 1489, 3445, 6, 3631, 25083, 202, 43, 2259, 2643, 82, 18, 588, 780, 12, 12194, 16, 315, 8551, 1489, 1528, 3445, 7923, 9506, 202, 1769, 9506, 202, 430, 261, 1264, 18, 72, 1580, 5706, 10756, 288, 6862, 202, 18511, 5169, 6315, 7675, 4738, 18, 542, 5507, 1396, 12, 9624, 1557, 18, 13272, 22526, 67, 9511, 67, 3445, 16, 638, 1769, 9506, 202, 97, 1082, 202, 97, 469, 288, 9506, 202, 26622, 4947, 7736, 3445, 273, 638, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 918, 2132, 7736, 3445, 1435, 288, 202, 202, 1202, 3445, 273, 629, 31, 202, 202, 430, 16051, 18511, 5169, 6315, 7675, 4738, 18, 588, 5507, 1396, 12, 9624, 1557, 18, 13272, 22526, 67, 9511, 67, 3445, 3719, 288, 1082, 202, 430, 261, 18511, 5169, 6315, 7675, 588, 6376, 3219, 1435, 480, 446, 6862, 202, 10, 10, 31398, 5169, 6315, 7675, 588, 6376, 3219, 7675, 291, 6207, 10756, 288, 9506, 202, 1489, 1079, 6353, 3481, 273, 394, 6816, 1079, 6353, 12, 25083, 202, 43, 2259, 2643, 82, 18, 588, 780, 12, 12194, 16, 315, 8551, 1528, 3445, 6, 3631, 25083, 202, 43, 2259, 2643, 82, 18, 588, 780, 12, 12194, 16, 315, 8551, 1489, 3445, 6, 3631, 2 ]
case HAT: return ConsumeItemRequest.EQUIP_HAT; case WEAPON: return ConsumeItemRequest.EQUIP_WEAPON; case OFFHAND: return ConsumeItemRequest.EQUIP_OFFHAND; case SHIRT: return ConsumeItemRequest.EQUIP_SHIRT; case PANTS: return ConsumeItemRequest.EQUIP_PANTS; case ACCESSORY1: case ACCESSORY2: case ACCESSORY3: return ConsumeItemRequest.EQUIP_ACCESSORY; case FAMILIAR: return ConsumeItemRequest.EQUIP_FAMILIAR; default: return -1;
case HAT: return ConsumeItemRequest.EQUIP_HAT; case WEAPON: return ConsumeItemRequest.EQUIP_WEAPON; case OFFHAND: return ConsumeItemRequest.EQUIP_OFFHAND; case SHIRT: return ConsumeItemRequest.EQUIP_SHIRT; case PANTS: return ConsumeItemRequest.EQUIP_PANTS; case ACCESSORY1: case ACCESSORY2: case ACCESSORY3: return ConsumeItemRequest.EQUIP_ACCESSORY; case FAMILIAR: return ConsumeItemRequest.EQUIP_FAMILIAR; default: return -1;
private static int equipmentTypeToConsumeFilter( int equipmentType ) { switch ( equipmentType ) { case HAT: return ConsumeItemRequest.EQUIP_HAT; case WEAPON: return ConsumeItemRequest.EQUIP_WEAPON; case OFFHAND: return ConsumeItemRequest.EQUIP_OFFHAND; case SHIRT: return ConsumeItemRequest.EQUIP_SHIRT; case PANTS: return ConsumeItemRequest.EQUIP_PANTS; case ACCESSORY1: case ACCESSORY2: case ACCESSORY3: return ConsumeItemRequest.EQUIP_ACCESSORY; case FAMILIAR: return ConsumeItemRequest.EQUIP_FAMILIAR; default: return -1; } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/eb8203b0add11024f00f9d7ed2ad7b2b63269aab/KoLCharacter.java/buggy/src/net/sourceforge/kolmafia/KoLCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 1298, 11568, 559, 774, 19253, 1586, 12, 509, 1298, 11568, 559, 262, 202, 95, 202, 202, 9610, 261, 1298, 11568, 559, 262, 202, 202, 95, 1082, 202, 3593, 670, 789, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 44, 789, 31, 1082, 202, 3593, 13880, 2203, 673, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 6950, 2203, 673, 31, 1082, 202, 3593, 17511, 12346, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 8797, 12346, 31, 1082, 202, 3593, 6122, 7937, 56, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 2664, 7937, 56, 31, 1082, 202, 3593, 453, 6856, 55, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 52, 6856, 55, 31, 1082, 202, 3593, 13255, 3964, 21, 30, 1082, 202, 3593, 13255, 3964, 22, 30, 1082, 202, 3593, 13255, 3964, 23, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 13204, 3964, 31, 1082, 202, 3593, 478, 2192, 45, 2053, 985, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 2046, 7492, 2053, 985, 31, 1082, 202, 1886, 30, 9506, 202, 2463, 300, 21, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 509, 1298, 11568, 559, 774, 19253, 1586, 12, 509, 1298, 11568, 559, 262, 202, 95, 202, 202, 9610, 261, 1298, 11568, 559, 262, 202, 202, 95, 1082, 202, 3593, 670, 789, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 44, 789, 31, 1082, 202, 3593, 13880, 2203, 673, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 6950, 2203, 673, 31, 1082, 202, 3593, 17511, 12346, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 8797, 12346, 31, 1082, 202, 3593, 6122, 7937, 56, 30, 9506, 202, 2463, 20418, 1180, 691, 18, 41, 3500, 2579, 67, 2664, 7937, 56, 31, 1082, 202, 3593, 453, 6856, 2 ]
if(uploadFrom != null && uploadFrom.equalsIgnoreCase("disk")) { fromDisk = true;
if(uploadFrom == null || uploadFrom.equalsIgnoreCase("direct")) { uploadFromType = UPLOAD_FROM_DIRECT; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("disk")) { uploadFromType = UPLOAD_FROM_DISK;
public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); uri = new FreenetURI(fs.get("URI")); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } contentType = fs.get("Metadata.ContentType"); String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below fproxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if(priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS || priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String uploadFrom = fs.get("UploadFrom"); if(uploadFrom != null && uploadFrom.equalsIgnoreCase("disk")) { fromDisk = true; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing field Filename", identifier); File f = new File(filename); if(!(f.exists() && f.isFile() && f.canRead())) throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, null, identifier); dataLength = f.length(); FileBucket fileBucket = new FileBucket(f, true, false, false, false); this.bucket = fileBucket; this.origFilename = f; } else { fromDisk = false; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; } dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if(persistenceString == null || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/5f6cd14357e2fd98f1b8e460aa78526429387ea0/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 1650, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 9334, 2756, 1769, 202, 202, 97, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 5160, 6, 3631, 629, 1769, 202, 202, 780, 11561, 780, 273, 2662, 18, 588, 2932, 30594, 8863, 202, 202, 430, 12, 16629, 8807, 780, 422, 446, 13, 1082, 202, 16629, 8807, 273, 374, 31, 202, 202, 12107, 288, 1082, 202, 698, 288, 9506, 202, 16629, 8807, 273, 2144, 18, 2670, 1702, 12, 16629, 8807, 780, 16, 1728, 1769, 1082, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3589, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 1650, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 202, 202, 2 ]
if(pageIndex != currentPage)
if(pageIndex == currentPage + 1)
public int print(Graphics _gfx, PageFormat pageFormat, int pageIndex) throws PrinterException { lineList.clear(); currentLine = 0; if(pageIndex != currentPage) { if(end) { view.getStatus().setMessage(null); return NO_SUCH_PAGE; } currentPageStart = currentPhysicalLine; currentPage = pageIndex; } else { currentPhysicalLine = currentPageStart; // show the message in both the view's status bar, and the // I/O progress monitor Object[] args = new Object[] { new Integer(pageIndex + 1) }; String message = jEdit.getProperty("view.status.print",args); view.getStatus().setMessage(message); setStatus(message); } Graphics2D gfx = (Graphics2D)_gfx; gfx.setFont(font); double pageX = pageFormat.getImageableX(); double pageY = pageFormat.getImageableY(); double pageWidth = pageFormat.getImageableWidth(); double pageHeight = pageFormat.getImageableHeight(); if(header) { double headerHeight = paintHeader(gfx,pageX,pageY,pageWidth); pageY += headerHeight * 2; pageHeight -= headerHeight * 2; } if(footer) { double footerHeight = paintFooter(gfx,pageX,pageY,pageWidth, pageHeight,pageIndex); pageHeight -= footerHeight * 2; } FontRenderContext frc = gfx.getFontRenderContext(); double lineNumberWidth; //{{{ determine line number width if(lineNumbers) { // the +1's ensure that 99 gets 3 digits, 103 gets 4 digits, // and so on. int lineNumberDigits = (int)Math.ceil(Math.log(buffer.getLineCount() + 1) / Math.log(10)) + 1; // now that we know how many chars there are, get the width. char[] chars = new char[lineNumberDigits]; for(int i = 0; i < chars.length; i++) chars[i] = ' '; lineNumberWidth = font.getStringBounds(chars, 0,lineNumberDigits,frc).getWidth(); } else lineNumberWidth = 0.0; //}}} //{{{ calculate tab size int tabSize = jEdit.getIntegerProperty("print.tabSize",8); char[] chars = new char[tabSize]; for(int i = 0; i < chars.length; i++) chars[i] = ' '; double tabWidth = font.getStringBounds(chars, 0,tabSize,frc).getWidth(); PrintTabExpander e = new PrintTabExpander(tabWidth); //}}} Segment seg = new Segment(); double y = 0.0; lm = font.getLineMetrics("gGyYX",frc);print_loop: for(;;) { //{{{ get line text if(currentLine == lineList.size()) { lineList.add(new Integer(currentPhysicalLine + 1)); buffer.getLineText(currentPhysicalLine,seg); softWrap.init(seg,styles,frc,e,lineList, (float)(pageWidth - lineNumberWidth)); buffer.markTokens(currentPhysicalLine,softWrap); currentPhysicalLine++; if(lineList.size() == currentLine + 1) lineList.add(null); } //}}} y += lm.getHeight(); if(y >= pageHeight) break print_loop; Object obj = lineList.get(currentLine++); if(obj instanceof Integer) { //{{{ paint line number if(lineNumbers) { gfx.setFont(font); gfx.setColor(lineNumberColor); gfx.drawString(String.valueOf(obj), (float)pageX,(float)(pageY + y)); } //}}} obj = lineList.get(currentLine++); } if(obj != null) { Chunk line = (Chunk)obj; Chunk.paintChunkList(seg,line,gfx, (float)(pageX + lineNumberWidth), (float)(pageY + y), Color.white,false); } if(currentPhysicalLine == buffer.getLineCount() && currentLine == lineList.size()) { end = true; break print_loop; } } return PAGE_EXISTS; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/d4d5c2a08dd1d075c67f221caef1281dc598586f/BufferPrintable.java/clean/org/gjt/sp/jedit/print/BufferPrintable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1172, 12, 17558, 389, 75, 19595, 16, 3460, 1630, 1363, 1630, 16, 509, 1363, 1016, 13, 202, 202, 15069, 2301, 2761, 503, 202, 95, 202, 202, 1369, 682, 18, 8507, 5621, 202, 202, 2972, 1670, 273, 374, 31, 202, 202, 430, 12, 2433, 1016, 480, 15117, 13, 202, 202, 95, 1082, 202, 430, 12, 409, 13, 1082, 202, 95, 9506, 202, 1945, 18, 588, 1482, 7675, 542, 1079, 12, 2011, 1769, 9506, 202, 2463, 3741, 67, 19958, 67, 11219, 31, 1082, 202, 97, 1082, 202, 2972, 1964, 1685, 273, 783, 18136, 1670, 31, 1082, 202, 2972, 1964, 273, 1363, 1016, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2972, 18136, 1670, 273, 15117, 1685, 31, 1082, 202, 759, 2405, 326, 883, 316, 3937, 326, 1476, 1807, 1267, 4653, 16, 471, 326, 1082, 202, 759, 467, 19, 51, 4007, 6438, 1082, 202, 921, 8526, 833, 273, 394, 1033, 8526, 288, 394, 2144, 12, 2433, 1016, 397, 404, 13, 289, 31, 1082, 202, 780, 883, 273, 525, 4666, 18, 588, 1396, 2932, 1945, 18, 2327, 18, 1188, 3113, 1968, 1769, 1082, 202, 1945, 18, 588, 1482, 7675, 542, 1079, 12, 2150, 1769, 1082, 202, 542, 1482, 12, 2150, 1769, 202, 202, 97, 202, 202, 17558, 22, 40, 30940, 273, 261, 17558, 22, 40, 13, 67, 75, 19595, 31, 202, 202, 75, 19595, 18, 542, 5711, 12, 5776, 1769, 202, 202, 9056, 23613, 273, 1363, 1630, 18, 588, 2040, 429, 60, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1172, 12, 17558, 389, 75, 19595, 16, 3460, 1630, 1363, 1630, 16, 509, 1363, 1016, 13, 202, 202, 15069, 2301, 2761, 503, 202, 95, 202, 202, 1369, 682, 18, 8507, 5621, 202, 202, 2972, 1670, 273, 374, 31, 202, 202, 430, 12, 2433, 1016, 480, 15117, 13, 202, 202, 95, 1082, 202, 430, 12, 409, 13, 1082, 202, 95, 9506, 202, 1945, 18, 588, 1482, 7675, 542, 1079, 12, 2011, 1769, 9506, 202, 2463, 3741, 67, 19958, 67, 11219, 31, 1082, 202, 97, 1082, 202, 2972, 1964, 1685, 273, 783, 18136, 1670, 31, 1082, 202, 2972, 1964, 273, 1363, 1016, 31, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 2972, 18136, 1670, 2 ]
assertEquals(1.0539, ret.get(5), 0.0001); assertEquals(0.6804, ret.get(6), 0.0001); assertEquals(0.0000, ret.get(7), 0.0001); assertEquals(0.0000, ret.get(8), 0.0001);
assertEquals(3.5341, ret.get(8), 0.0001); assertEquals(2.4142, ret.get(9), 0.0001); assertEquals(1.6096, ret.get(10), 0.0001); assertEquals(1.0539, ret.get(11), 0.0001);
public void testDan81() throws CDKException { IMolecule mol = new Molecule(); IAtom a1 = mol.getBuilder().newAtom("C"); a1.setPoint2d(new Point2d(0.0, 1.5)); mol.addAtom(a1); IAtom a2 = mol.getBuilder().newAtom("C"); a2.setPoint2d(new Point2d(0.0, 0.0)); mol.addAtom(a2); IAtom a3 = mol.getBuilder().newAtom("C"); a3.setPoint2d(new Point2d(-1.4265847744427305, -0.46352549156242084)); mol.addAtom(a3); IAtom a4 = mol.getBuilder().newAtom("C"); a4.setPoint2d(new Point2d(-2.3082626528814396, 0.7500000000000002)); mol.addAtom(a4); IAtom a5 = mol.getBuilder().newAtom("S"); a5.setPoint2d(new Point2d(-1.42658477444273, 1.9635254915624212)); mol.addAtom(a5); IBond b1 = mol.getBuilder().newBond(a2, a1, 2.0); mol.addBond(b1); IBond b2 = mol.getBuilder().newBond(a3, a2, 1.0); mol.addBond(b2); IBond b3 = mol.getBuilder().newBond(a4, a3, 2.0); mol.addBond(b3); IBond b4 = mol.getBuilder().newBond(a5, a4, 1.0); mol.addBond(b4); IBond b5 = mol.getBuilder().newBond(a5, a1, 1.0); mol.addBond(b5); ChiPathDescriptor desc = new ChiPathDescriptor(); DoubleArrayResult ret = (DoubleArrayResult) desc.calculate(mol).getValue(); assertEquals(1.2500, ret.get(0), 0.0001); assertEquals(0.8839, ret.get(1), 0.0001); assertEquals(0.0000, ret.get(2), 0.0001); assertEquals(0.0000, ret.get(3), 0.0001); assertEquals(1.0539, ret.get(5), 0.0001); assertEquals(0.6804, ret.get(6), 0.0001); assertEquals(0.0000, ret.get(7), 0.0001); assertEquals(0.0000, ret.get(8), 0.0001); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/3f56b88128b2f44b1a2c3cdd9bb0ea9a61fb6da0/ChiPathDescriptorTest.java/clean/src/org/openscience/cdk/test/qsar/descriptors/molecular/ChiPathDescriptorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 40, 304, 11861, 1435, 1216, 24570, 288, 3639, 6246, 10545, 12629, 273, 394, 490, 10545, 5621, 3639, 8831, 279, 21, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 39, 8863, 3639, 279, 21, 18, 542, 2148, 22, 72, 12, 2704, 4686, 22, 72, 12, 20, 18, 20, 16, 404, 18, 25, 10019, 3639, 12629, 18, 1289, 3641, 12, 69, 21, 1769, 3639, 8831, 279, 22, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 39, 8863, 3639, 279, 22, 18, 542, 2148, 22, 72, 12, 2704, 4686, 22, 72, 12, 20, 18, 20, 16, 374, 18, 20, 10019, 3639, 12629, 18, 1289, 3641, 12, 69, 22, 1769, 3639, 8831, 279, 23, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 39, 8863, 3639, 279, 23, 18, 542, 2148, 22, 72, 12, 2704, 4686, 22, 72, 19236, 21, 18, 24, 30281, 5193, 4700, 6334, 24, 5324, 5082, 25, 16, 300, 20, 18, 24, 4449, 25, 2947, 7616, 28946, 3247, 3462, 5193, 10019, 3639, 12629, 18, 1289, 3641, 12, 69, 23, 1769, 3639, 8831, 279, 24, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 39, 8863, 3639, 279, 24, 18, 542, 2148, 22, 72, 12, 2704, 4686, 22, 72, 19236, 22, 18, 5082, 28, 5558, 5558, 9401, 5482, 3461, 5520, 26, 16, 374, 18, 5877, 12648, 2787, 3103, 10019, 3639, 12629, 18, 1289, 3641, 12, 69, 24, 1769, 3639, 8831, 279, 25, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 55, 8863, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 40, 304, 11861, 1435, 1216, 24570, 288, 3639, 6246, 10545, 12629, 273, 394, 490, 10545, 5621, 3639, 8831, 279, 21, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 39, 8863, 3639, 279, 21, 18, 542, 2148, 22, 72, 12, 2704, 4686, 22, 72, 12, 20, 18, 20, 16, 404, 18, 25, 10019, 3639, 12629, 18, 1289, 3641, 12, 69, 21, 1769, 3639, 8831, 279, 22, 273, 12629, 18, 588, 1263, 7675, 2704, 3641, 2932, 39, 8863, 3639, 279, 22, 18, 542, 2148, 22, 72, 12, 2704, 4686, 22, 72, 12, 20, 18, 20, 16, 374, 18, 20, 10019, 3639, 12629, 18, 1289, 3641, 12, 69, 22, 1769, 3639, 8831, 279, 23, 273, 12629, 18, 2 ]
assertTrue(rs.getBlob(1) == null); assertTrue(rs.wasNull());
assertTrue(rs2.getBlob(1) == null); assertTrue(rs2.wasNull());
public void testBlobSetNull7() throws Exception { Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #blobsetnull7 (id NUMERIC IDENTITY, data IMAGE, " + "CONSTRAINT pk_blobsetnull7 PRIMARY KEY CLUSTERED (id))"); stmt.close(); stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs = stmt.executeQuery("SELECT id, data FROM #blobsetnull7"); rs.moveToInsertRow(); // Test ResultSet.updateBlob() rs.updateBlob(2, null); rs.insertRow(); stmt.close(); rs.close(); Statement stmt2 = con.createStatement(); ResultSet rs2 = stmt2.executeQuery("SELECT data FROM #blobsetnull7"); assertTrue(rs2.next()); // Test ResultSet.getBinaryStream() assertTrue(rs.getBinaryStream(1) == null); assertTrue(rs.wasNull()); // Test ResultSet.getBlob() assertTrue(rs.getBlob(1) == null); assertTrue(rs.wasNull()); // Test ResultSet.getBytes() assertTrue(rs.getBytes(1) == null); assertTrue(rs.wasNull()); // Test ResultSet.getObject() assertTrue(rs.getObject(1) == null); assertTrue(rs.wasNull()); assertTrue(!rs2.next()); stmt2.close(); rs2.close(); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/c48c25bb38a5ee111490064c0098957f3dea379b/LOBTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/LOBTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 9405, 694, 2041, 27, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 10721, 542, 2011, 27, 261, 350, 31288, 1599, 11101, 16, 501, 10757, 16, 315, 5397, 397, 315, 15199, 2365, 67, 10721, 542, 2011, 27, 20058, 5311, 14934, 23069, 2056, 261, 350, 30743, 1769, 3639, 3480, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 12, 13198, 18, 2399, 67, 2312, 14555, 67, 26753, 16325, 16, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 1769, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 2932, 4803, 612, 16, 501, 4571, 468, 10721, 542, 2011, 27, 8863, 3639, 3597, 18, 8501, 774, 4600, 1999, 5621, 3639, 368, 7766, 10842, 18, 2725, 9405, 1435, 3639, 3597, 18, 2725, 9405, 12, 22, 16, 446, 1769, 3639, 3597, 18, 6387, 1999, 5621, 3639, 3480, 18, 4412, 5621, 3639, 3597, 18, 4412, 5621, 3639, 8056, 3480, 22, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 3597, 22, 273, 3480, 22, 18, 8837, 1138, 2932, 4803, 501, 4571, 468, 10721, 542, 2011, 27, 8863, 3639, 1815, 5510, 12, 5453, 22, 18, 4285, 10663, 3639, 368, 7766, 10842, 18, 588, 5905, 1228, 1435, 3639, 1815, 5510, 12, 5453, 18, 588, 5905, 1228, 12, 21, 13, 422, 446, 1769, 3639, 1815, 5510, 12, 5453, 18, 17416, 2041, 10663, 3639, 368, 7766, 10842, 18, 588, 9405, 1435, 3639, 1815, 5510, 12, 5453, 18, 588, 9405, 12, 21, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 9405, 694, 2041, 27, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 10721, 542, 2011, 27, 261, 350, 31288, 1599, 11101, 16, 501, 10757, 16, 315, 5397, 397, 315, 15199, 2365, 67, 10721, 542, 2011, 27, 20058, 5311, 14934, 23069, 2056, 261, 350, 30743, 1769, 3639, 3480, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 12, 13198, 18, 2399, 67, 2312, 14555, 67, 26753, 16325, 16, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 1769, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 2932, 4803, 612, 16, 501, 4571, 468, 10721, 542, 2011, 27, 8863, 3639, 3597, 18, 8501, 774, 2 ]
throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier);
throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier, global);
public ClientGetMessage(SimpleFieldSet fs) throws MessageInvalidException { short defaultPriority; clientToken = fs.get("ClientToken"); global = Fields.stringToBool(fs.get("Global"), false); ignoreDS = Fields.stringToBool(fs.get("IgnoreDS"), false); dsOnly = Fields.stringToBool(fs.get("DSOnly"), false); identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { uri = new FreenetURI(fs.get("URI")); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } String returnTypeString = fs.get("ReturnType"); returnType = parseReturnType(returnTypeString); if(returnType == RETURN_TYPE_DIRECT) { diskFile = null; tempFile = null; // default just below FProxy defaultPriority = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else if(returnType == RETURN_TYPE_NONE) { diskFile = null; tempFile = null; defaultPriority = RequestStarter.PREFETCH_PRIORITY_CLASS; } else if(returnType == RETURN_TYPE_DISK) { defaultPriority = RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing Filename", identifier); diskFile = new File(filename); String tempFilename = fs.get("TempFilename"); if(tempFilename == null) tempFilename = filename + ".freenet-tmp"; tempFile = new File(tempFilename); if(!diskFile.getAbsoluteFile().getParentFile().equals(tempFile.getAbsoluteFile().getParentFile())) throw new MessageInvalidException(ProtocolErrorMessage.FILENAME_AND_TEMP_FILENAME_MUST_BE_IN_SAME_DIR, null, identifier); if(diskFile.exists()) throw new MessageInvalidException(ProtocolErrorMessage.DISK_TARGET_EXISTS, null, identifier); try { if(!(tempFile.createNewFile() || (tempFile.exists() && tempFile.canRead() && tempFile.canWrite()))) throw new MessageInvalidException(ProtocolErrorMessage.COULD_NOT_CREATE_FILE, "Could not create temp file "+tempFile, identifier); } catch (IOException e) { throw new MessageInvalidException(ProtocolErrorMessage.COULD_NOT_CREATE_FILE, e.getMessage(), identifier); } } else throw new MessageInvalidException(ProtocolErrorMessage.MESSAGE_PARSE_ERROR, "Unknown return-type", identifier); String maxSizeString = fs.get("MaxSize"); if(maxSizeString == null) // default to unlimited maxSize = Long.MAX_VALUE; else { try { maxSize = Long.parseLong(maxSizeString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } String maxTempSizeString = fs.get("MaxTempSize"); if(maxTempSizeString == null) // default to unlimited maxTempSize = Long.MAX_VALUE; else { try { maxTempSize = Long.parseLong(maxTempSizeString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "max retries="+maxRetries); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = defaultPriority; } else { try { priorityClass = Short.parseShort(priorityString, 10); if((priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS) || (priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS)) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String persistenceString = fs.get("Persistence"); if((persistenceString == null) || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } if(global && (persistenceType == ClientRequest.PERSIST_CONNECTION)) { throw new MessageInvalidException(ProtocolErrorMessage.NOT_SUPPORTED, "Global requests must be persistent", identifier); } }
50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/ClientGetMessage.java/clean/src/freenet/node/fcp/ClientGetMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 967, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 6620, 805, 8183, 31, 202, 202, 2625, 1345, 273, 2662, 18, 588, 2932, 1227, 1345, 8863, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 5160, 6, 3631, 629, 1769, 202, 202, 6185, 3948, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3777, 3948, 6, 3631, 629, 1769, 202, 202, 2377, 3386, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3948, 3386, 6, 3631, 629, 1769, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 1650, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 9334, 2756, 1769, 202, 202, 97, 202, 202, 780, 11561, 780, 273, 2662, 18, 588, 2932, 30594, 8863, 202, 202, 430, 12, 16629, 8807, 780, 422, 446, 13, 1082, 202, 16629, 8807, 273, 374, 31, 202, 202, 12107, 288, 1082, 202, 698, 288, 9506, 202, 16629, 8807, 273, 2144, 18, 2670, 1702, 12, 16629, 8807, 780, 16, 1728, 1769, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 967, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 6620, 805, 8183, 31, 202, 202, 2625, 1345, 273, 2662, 18, 588, 2932, 1227, 1345, 8863, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 5160, 6, 3631, 629, 1769, 202, 202, 6185, 3948, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3777, 3948, 6, 3631, 629, 1769, 202, 202, 2377, 3386, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 3948, 3386, 6, 3631, 629, 1769, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 2 ]
reference.setBad();
public static void resolve(SemanticReference reference){ String role = reference.getRole(); SemanticNode sourceNode = reference.getSourceNode(); SModel model = sourceNode.getModel(); String packageName = sourceNode.getClass().getPackage().getName(); Class cls = sourceNode.getClass(); SemanticNode oldTarget = reference.getTargetNode(); reference.setBad(); while (cls != SemanticNode.class) { try { String className = cls.getName(); className = className.substring(className.lastIndexOf('.') + 1); //if method exists but can't resolve we'll mark our reference as a bad one Class resolveClass = Class.forName(packageName+".resolve.Resolver", true, ClassLoaderManager.getInstance().getClassLoader()); model.setLoading(true); boolean success = (Boolean)resolveClass.getMethod("resolveForRole"+role+"In"+className, SemanticReference.class, Class.class).invoke(null, reference, cls); model.setLoading(false); if (success) { reference.setGood(); reference.setResolveInfo(null); reference.setTargetClassResolveInfo((String)null); } else { reference.setBad(); } return; } catch (NullPointerException e) { model.setLoading(false); return; } catch (Exception e) { model.setLoading(false); } cls = cls.getSuperclass(); } reference.setGood(); reference.setResolveInfo(null); }
14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/fbb1b92cd192e8ce7e4334c33514f1f3d5a4fc23/Resolver.java/buggy/source/jetbrains/mps/resolve/Resolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2245, 12, 13185, 9941, 2404, 2114, 15329, 565, 514, 2478, 225, 273, 2114, 18, 588, 2996, 5621, 565, 24747, 907, 26799, 273, 2114, 18, 588, 1830, 907, 5621, 565, 348, 1488, 938, 273, 26799, 18, 588, 1488, 5621, 565, 514, 9929, 273, 26799, 18, 588, 797, 7675, 588, 2261, 7675, 17994, 5621, 565, 1659, 2028, 273, 26799, 18, 588, 797, 5621, 565, 24747, 907, 1592, 2326, 273, 2114, 18, 588, 2326, 907, 5621, 3639, 1323, 261, 6429, 480, 24747, 907, 18, 1106, 13, 288, 1377, 775, 288, 3639, 514, 2658, 273, 2028, 18, 17994, 5621, 3639, 2658, 273, 2658, 18, 28023, 12, 12434, 18, 2722, 31985, 2668, 1093, 13, 397, 404, 1769, 3639, 368, 430, 707, 1704, 1496, 848, 1404, 2245, 732, 5614, 2267, 3134, 2114, 487, 279, 5570, 1245, 3639, 1659, 2245, 797, 273, 1659, 18, 1884, 461, 12, 5610, 461, 9078, 18, 10828, 18, 4301, 3113, 638, 16, 9403, 1318, 18, 588, 1442, 7675, 588, 7805, 10663, 3639, 938, 18, 542, 10515, 12, 3767, 1769, 3639, 1250, 2216, 273, 261, 5507, 13, 10828, 797, 18, 588, 1305, 2932, 10828, 1290, 2996, 6, 15, 4615, 9078, 382, 6, 15, 12434, 16, 24747, 2404, 18, 1106, 16, 1659, 18, 1106, 2934, 14407, 12, 2011, 16, 2114, 16, 2028, 1769, 3639, 938, 18, 542, 10515, 12, 5743, 1769, 3639, 309, 261, 4768, 13, 288, 1850, 2114, 18, 542, 18195, 5621, 1850, 2114, 18, 542, 8460, 966, 12, 2011, 1769, 1850, 2114, 18, 542, 2326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2245, 12, 13185, 9941, 2404, 2114, 15329, 565, 514, 2478, 225, 273, 2114, 18, 588, 2996, 5621, 565, 24747, 907, 26799, 273, 2114, 18, 588, 1830, 907, 5621, 565, 348, 1488, 938, 273, 26799, 18, 588, 1488, 5621, 565, 514, 9929, 273, 26799, 18, 588, 797, 7675, 588, 2261, 7675, 17994, 5621, 565, 1659, 2028, 273, 26799, 18, 588, 797, 5621, 565, 24747, 907, 1592, 2326, 273, 2114, 18, 588, 2326, 907, 5621, 3639, 1323, 261, 6429, 480, 24747, 907, 18, 1106, 13, 288, 1377, 775, 288, 3639, 514, 2658, 273, 2028, 18, 17994, 5621, 3639, 2658, 273, 2658, 18, 28023, 12, 12434, 18, 2722, 31985, 2668, 1093, 13, 397, 404, 1769, 3639, 368, 430, 2 ]
"@Property hello = \"hello\"\n" +
"String hello = \"hello\"\n" +
public void testReloadingClasses() throws Exception { final GroovyClassLoader cl = new GroovyClassLoader(getClass().getClassLoader()); cl.setShouldRecompile(Boolean.TRUE); cl.setResourceLoader( new GroovyResourceLoader() { public URL loadGroovySource(String filename) throws MalformedURLException { filename = filename.replace('.', '/') + ".groovy"; return cl.getResource(filename); } } ); File file = new File(cl.getResource("org/codehaus/groovy/grails/commons/TestReload.groovy").getFile()); FileWriter fw = new FileWriter(file); try { fw.write( "package org.codehaus.groovy.grails.commons;\n" + "class TestReload { \n" + "@Property hello = \"hello\"\n" + "}"); fw.close(); Class groovyClass = cl.loadClass("org.codehaus.groovy.grails.commons.TestReload",true,false); GroovyObject go = (GroovyObject)groovyClass.newInstance(); assertEquals("hello", go.getProperty("hello")); // wait a second Thread.sleep(1000); // change class fw = new FileWriter(file); fw.write( "package org.codehaus.groovy.grails.commons;\n" + "class TestReload { \n" + "@Property hello = \"goodbye\"\n" + "}"); fw.close(); // reload groovyClass = cl.loadClass("org.codehaus.groovy.grails.commons.TestReload",true,false); go = (GroovyObject)groovyClass.newInstance(); assertEquals("goodbye", go.getProperty("hello")); } finally { fw.close(); } }
28089 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28089/6c70911e98a037e9497c0c2c91dabe6dffa481c8/ClassReloadingTests.java/buggy/test/commons/org/codehaus/groovy/grails/commons/ClassReloadingTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 13013, 310, 4818, 1435, 1216, 1185, 288, 202, 202, 6385, 20841, 7805, 927, 273, 394, 20841, 7805, 12, 588, 797, 7675, 588, 7805, 10663, 202, 202, 830, 18, 542, 14309, 426, 11100, 12, 5507, 18, 18724, 1769, 202, 202, 830, 18, 542, 1420, 2886, 12, 394, 20841, 1420, 2886, 1435, 288, 1082, 202, 482, 1976, 1262, 43, 12859, 1830, 12, 780, 1544, 13, 1216, 20710, 288, 9506, 202, 3459, 273, 1544, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 75, 12859, 14432, 9506, 202, 2463, 927, 18, 588, 1420, 12, 3459, 1769, 1082, 202, 97, 25083, 202, 97, 202, 1769, 25083, 202, 812, 585, 273, 394, 1387, 12, 830, 18, 588, 1420, 2932, 3341, 19, 710, 3395, 407, 19, 75, 12859, 19, 2752, 14573, 19, 6054, 87, 19, 4709, 13013, 18, 75, 12859, 20387, 29925, 10663, 9506, 202, 812, 2289, 7600, 273, 394, 24639, 12, 768, 1769, 202, 202, 698, 288, 1082, 202, 11966, 18, 2626, 12, 225, 315, 5610, 2358, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 6054, 87, 9747, 82, 6, 397, 25083, 202, 6, 1106, 7766, 13013, 288, 521, 82, 6, 397, 6862, 1082, 202, 6, 36, 1396, 19439, 273, 1239, 23711, 31670, 82, 6, 397, 25083, 202, 6, 1532, 1769, 6862, 202, 11966, 18, 4412, 5621, 25083, 202, 797, 24955, 797, 273, 927, 18, 945, 797, 2932, 3341, 18, 710, 3395, 407, 18, 75, 12859, 18, 2752, 14573, 18, 6054, 87, 18, 4709, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 13013, 310, 4818, 1435, 1216, 1185, 288, 202, 202, 6385, 20841, 7805, 927, 273, 394, 20841, 7805, 12, 588, 797, 7675, 588, 7805, 10663, 202, 202, 830, 18, 542, 14309, 426, 11100, 12, 5507, 18, 18724, 1769, 202, 202, 830, 18, 542, 1420, 2886, 12, 394, 20841, 1420, 2886, 1435, 288, 1082, 202, 482, 1976, 1262, 43, 12859, 1830, 12, 780, 1544, 13, 1216, 20710, 288, 9506, 202, 3459, 273, 1544, 18, 2079, 2668, 1093, 16, 2023, 13, 397, 3552, 75, 12859, 14432, 9506, 202, 2463, 927, 18, 588, 1420, 12, 3459, 1769, 1082, 202, 97, 25083, 202, 97, 202, 1769, 25083, 202, 812, 585, 273, 394, 1387, 12, 830, 18, 588, 1420, 2932, 2 ]
public void handleMapChange(IObservableMap source, MapDiff diff) {
public void handleMapChange(MapChangeEvent event) { MapDiff diff = event.diff;
public void handleMapChange(IObservableMap source, MapDiff diff) { for (Iterator it = diff.getAddedKeys().iterator(); it.hasNext();) { Object addedKey = it.next(); addMapping(addedKey, diff.getNewValue(addedKey)); } for (Iterator it = diff.getChangedKeys().iterator(); it.hasNext();) { Object changedKey = it.next(); removeMapping(changedKey, diff.getOldValue(changedKey)); addMapping(changedKey, diff.getNewValue(changedKey)); } for (Iterator it = diff.getRemovedKeys().iterator(); it.hasNext();) { Object removedKey = it.next(); removeMapping(removedKey, diff.getOldValue(removedKey)); } fireMapChange(diff); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/6aecdb31231a8602dbf72944625703c440949c78/BidirectionalMap.java/buggy/bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/map/BidirectionalMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1640, 863, 3043, 12, 4294, 3745, 863, 1084, 16, 1635, 5938, 3122, 13, 288, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 8602, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3096, 653, 273, 518, 18, 4285, 5621, 9506, 202, 1289, 3233, 12, 9665, 653, 16, 3122, 18, 588, 1908, 620, 12, 9665, 653, 10019, 1082, 202, 97, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 5033, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3550, 653, 273, 518, 18, 4285, 5621, 9506, 202, 4479, 3233, 12, 6703, 653, 16, 3122, 18, 588, 7617, 620, 12, 6703, 653, 10019, 9506, 202, 1289, 3233, 12, 6703, 653, 16, 3122, 18, 588, 1908, 620, 12, 6703, 653, 10019, 1082, 202, 97, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 10026, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3723, 653, 273, 518, 18, 4285, 5621, 9506, 202, 4479, 3233, 12, 14923, 653, 16, 3122, 18, 588, 7617, 620, 12, 14923, 653, 10019, 1082, 202, 97, 1082, 202, 12179, 863, 3043, 12, 5413, 1769, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1640, 863, 3043, 12, 4294, 3745, 863, 1084, 16, 1635, 5938, 3122, 13, 288, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 8602, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3096, 653, 273, 518, 18, 4285, 5621, 9506, 202, 1289, 3233, 12, 9665, 653, 16, 3122, 18, 588, 1908, 620, 12, 9665, 653, 10019, 1082, 202, 97, 1082, 202, 1884, 261, 3198, 518, 273, 3122, 18, 588, 5033, 2396, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 921, 3550, 653, 273, 518, 18, 4285, 5621, 9506, 202, 4479, 3233, 12, 6703, 653, 16, 3122, 18, 588, 7617, 620, 12, 6703, 653, 10019, 2 ]
case ts.TRY: {
case TokenStream.TRY: {
private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; int tt; int lastExprType = 0; // For wellTerminated. 0 to avoid warning. tt = ts.getToken(); switch(tt) { case ts.IF: { skipsemi = true; source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); Object ifFalse = null; if (ts.matchToken(ts.ELSE)) { source.append((char)ts.RC); source.append((char)ts.ELSE); source.append((char)ts.LC); source.append((char)ts.EOL); ifFalse = statement(ts, source); } source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createIf(cond, ifTrue, ifFalse, lineno); break; } case ts.SWITCH: { skipsemi = true; source.append((char)ts.SWITCH); pn = nf.createSwitch(ts.getLineno()); Object cur_case = null; // to kill warning Object case_statements; mustMatchToken(ts, ts.LP, "msg.no.paren.switch"); source.append((char)ts.LP); nf.addChildToBack(pn, expr(ts, source, false)); mustMatchToken(ts, ts.RP, "msg.no.paren.after.switch"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.switch"); source.append((char)ts.LC); source.append((char)ts.EOL); while ((tt = ts.getToken()) != ts.RC && tt != ts.EOF) { switch(tt) { case ts.CASE: source.append((char)ts.CASE); cur_case = nf.createUnary(ts.CASE, expr(ts, source, false)); source.append((char)ts.COLON); source.append((char)ts.EOL); break; case ts.DEFAULT: cur_case = nf.createLeaf(ts.DEFAULT); source.append((char)ts.DEFAULT); source.append((char)ts.COLON); source.append((char)ts.EOL); // XXX check that there isn't more than one default break; default: reportError(ts, "msg.bad.switch"); break; } mustMatchToken(ts, ts.COLON, "msg.no.colon.case"); case_statements = nf.createLeaf(TokenStream.BLOCK); while ((tt = ts.peekToken()) != ts.RC && tt != ts.CASE && tt != ts.DEFAULT && tt != ts.EOF) { nf.addChildToBack(case_statements, statement(ts, source)); } // assert cur_case nf.addChildToBack(cur_case, case_statements); nf.addChildToBack(pn, cur_case); } source.append((char)ts.RC); source.append((char)ts.EOL); break; } case ts.WHILE: { skipsemi = true; source.append((char)ts.WHILE); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWhile(cond, body, lineno); break; } case ts.DO: { source.append((char)ts.DO); source.append((char)ts.LC); source.append((char)ts.EOL); int lineno = ts.getLineno(); Object body = statement(ts, source); source.append((char)ts.RC); mustMatchToken(ts, ts.WHILE, "msg.no.while.do"); source.append((char)ts.WHILE); Object cond = condition(ts, source); pn = nf.createDoWhile(body, cond, lineno); break; } case ts.FOR: { skipsemi = true; source.append((char)ts.FOR); int lineno = ts.getLineno(); Object init; // Node init is also foo in 'foo in Object' Object cond; // Node cond is also object in 'foo in Object' Object incr = null; // to kill warning Object body; mustMatchToken(ts, ts.LP, "msg.no.paren.for"); source.append((char)ts.LP); tt = ts.peekToken(); if (tt == ts.SEMI) { init = nf.createLeaf(ts.VOID); } else { if (tt == ts.VAR) { // set init to a var list or initial ts.getToken(); // throw away the 'var' token init = variables(ts, source, true); } else { init = expr(ts, source, true); } } tt = ts.peekToken(); if (tt == ts.RELOP && ts.getOp() == ts.IN) { ts.matchToken(ts.RELOP); source.append((char)ts.IN); // 'cond' is the object over which we're iterating cond = expr(ts, source, false); } else { // ordinary for loop mustMatchToken(ts, ts.SEMI, "msg.no.semi.for"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.SEMI) { // no loop condition cond = nf.createLeaf(ts.VOID); } else { cond = expr(ts, source, false); } mustMatchToken(ts, ts.SEMI, "msg.no.semi.for.cond"); source.append((char)ts.SEMI); if (ts.peekToken() == ts.RP) { incr = nf.createLeaf(ts.VOID); } else { incr = expr(ts, source, false); } } mustMatchToken(ts, ts.RP, "msg.no.paren.for.ctrl"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); if (incr == null) { // cond could be null if 'in obj' got eaten by the init node. pn = nf.createForIn(init, cond, body, lineno); } else { pn = nf.createFor(init, cond, incr, body, lineno); } break; } case ts.TRY: { int lineno = ts.getLineno(); Object tryblock; Object catchblocks = null; Object finallyblock = null; skipsemi = true; source.append((char)ts.TRY); source.append((char)ts.LC); source.append((char)ts.EOL); tryblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); catchblocks = nf.createLeaf(TokenStream.BLOCK); boolean sawDefaultCatch = false; int peek = ts.peekToken(); if (peek == ts.CATCH) { while (ts.matchToken(ts.CATCH)) { if (sawDefaultCatch) { reportError(ts, "msg.catch.unreachable"); } source.append((char)ts.CATCH); mustMatchToken(ts, ts.LP, "msg.no.paren.catch"); source.append((char)ts.LP); mustMatchToken(ts, ts.NAME, "msg.bad.catchcond"); String varName = ts.getString(); source.addString(ts.NAME, varName); Object catchCond = null; if (ts.matchToken(ts.IF)) { source.append((char)ts.IF); catchCond = expr(ts, source, false); } else { sawDefaultCatch = true; } mustMatchToken(ts, ts.RP, "msg.bad.catchcond"); source.append((char)ts.RP); mustMatchToken(ts, ts.LC, "msg.no.brace.catchblock"); source.append((char)ts.LC); source.append((char)ts.EOL); nf.addChildToBack(catchblocks, nf.createCatch(varName, catchCond, statements(ts, source), ts.getLineno())); mustMatchToken(ts, ts.RC, "msg.no.brace.after.body"); source.append((char)ts.RC); source.append((char)ts.EOL); } } else if (peek != ts.FINALLY) { mustMatchToken(ts, ts.FINALLY, "msg.try.no.catchfinally"); } if (ts.matchToken(ts.FINALLY)) { source.append((char)ts.FINALLY); source.append((char)ts.LC); source.append((char)ts.EOL); finallyblock = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); } pn = nf.createTryCatchFinally(tryblock, catchblocks, finallyblock, lineno); break; } case ts.THROW: { int lineno = ts.getLineno(); source.append((char)ts.THROW); pn = nf.createThrow(expr(ts, source, false), lineno); if (lineno == ts.getLineno()) wellTerminated(ts, ts.ERROR); break; } case ts.BREAK: { int lineno = ts.getLineno(); source.append((char)ts.BREAK); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createBreak(label, lineno); break; } case ts.CONTINUE: { int lineno = ts.getLineno(); source.append((char)ts.CONTINUE); // matchLabel only matches if there is one String label = matchLabel(ts); if (label != null) { source.addString(ts.NAME, label); } pn = nf.createContinue(label, lineno); break; } case ts.WITH: { skipsemi = true; source.append((char)ts.WITH); int lineno = ts.getLineno(); mustMatchToken(ts, ts.LP, "msg.no.paren.with"); source.append((char)ts.LP); Object obj = expr(ts, source, false); mustMatchToken(ts, ts.RP, "msg.no.paren.after.with"); source.append((char)ts.RP); source.append((char)ts.LC); source.append((char)ts.EOL); Object body = statement(ts, source); source.append((char)ts.RC); source.append((char)ts.EOL); pn = nf.createWith(obj, body, lineno); break; } case ts.VAR: { int lineno = ts.getLineno(); pn = variables(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); break; } case ts.RETURN: { Object retExpr = null; int lineno = 0; source.append((char)ts.RETURN); // bail if we're not in a (toplevel) function if ((ts.flags & ts.TSF_FUNCTION) == 0) reportError(ts, "msg.bad.return"); /* This is ugly, but we don't want to require a semicolon. */ ts.flags |= ts.TSF_REGEXP; tt = ts.peekTokenSameLine(); ts.flags &= ~ts.TSF_REGEXP; if (tt != ts.EOF && tt != ts.EOL && tt != ts.SEMI && tt != ts.RC) { lineno = ts.getLineno(); retExpr = expr(ts, source, false); if (ts.getLineno() == lineno) wellTerminated(ts, ts.ERROR); ts.flags |= ts.TSF_RETURN_EXPR; } else { ts.flags |= ts.TSF_RETURN_VOID; } // XXX ASSERT pn pn = nf.createReturn(retExpr, lineno); break; } case ts.LC: skipsemi = true; pn = statements(ts, source); mustMatchToken(ts, ts.RC, "msg.no.brace.block"); break; case ts.ERROR: // Fall thru, to have a node for error recovery to work on case ts.EOL: case ts.SEMI: pn = nf.createLeaf(ts.VOID); skipsemi = true; break; default: { lastExprType = tt; int tokenno = ts.getTokenno(); ts.ungetToken(tt); int lineno = ts.getLineno(); pn = expr(ts, source, false); if (ts.peekToken() == ts.COLON) { /* check that the last thing the tokenizer returned was a * NAME and that only one token was consumed. */ if (lastExprType != ts.NAME || (ts.getTokenno() != tokenno)) reportError(ts, "msg.bad.label"); ts.getToken(); // eat the COLON /* in the C source, the label is associated with the * statement that follows: * nf.addChildToBack(pn, statement(ts)); */ String name = ts.getString(); pn = nf.createLabel(name, lineno); // depend on decompiling lookahead to guess that that // last name was a label. source.append((char)ts.COLON); source.append((char)ts.EOL); return pn; } if (lastExprType == ts.FUNCTION) nf.setFunctionExpressionStatement(pn); pn = nf.createExprStatement(pn, lineno); /* * Check explicitly against (multi-line) function * statement. * lastExprEndLine is a hack to fix an * automatic semicolon insertion problem with function * expressions; the ts.getLineno() == lineno check was * firing after a function definition even though the * next statement was on a new line, because * speculative getToken calls advanced the line number * even when they didn't succeed. */ if (ts.getLineno() == lineno || (lastExprType == ts.FUNCTION && ts.getLineno() == lastExprEndLine)) { wellTerminated(ts, lastExprType); } break; } } ts.matchToken(ts.SEMI); if (!skipsemi) { source.append((char)ts.SEMI); source.append((char)ts.EOL); } return pn; }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/40ff06028a06e98171197c83b9b067a0c12f72ae/Parser.java/buggy/js/rhino/org/mozilla/javascript/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2488, 307, 9197, 273, 638, 31, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5501, 1769, 5411, 509, 7586, 273, 3742, 18, 588, 48, 267, 5764, 5621, 5411, 1033, 6941, 273, 2269, 12, 3428, 16, 1084, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 5411, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 5842, 1769, 5411, 1033, 309, 5510, 273, 3021, 12, 3428, 16, 1084, 1769, 5411, 1033, 309, 8381, 273, 446, 31, 5411, 309, 261, 3428, 18, 1916, 1345, 12, 3428, 18, 2247, 1090, 3719, 288, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 11529, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 2247, 1090, 1769, 7734, 1084, 18, 6923, 12443, 3001, 13, 3428, 18, 13394, 1769, 7734, 1084, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3021, 2276, 12, 1345, 1228, 3742, 16, 4998, 1084, 13, 3639, 1216, 1860, 16, 11905, 503, 565, 288, 3639, 1033, 11059, 273, 446, 31, 3639, 368, 971, 2488, 307, 9197, 422, 638, 16, 2727, 1404, 527, 3174, 7492, 397, 19995, 358, 1084, 622, 326, 3639, 368, 679, 434, 333, 610, 475, 18, 225, 2457, 11360, 6317, 16, 11083, 19, 7473, 5527, 18, 3639, 1250, 2488, 307, 9197, 273, 629, 31, 3639, 509, 3574, 31, 3639, 509, 1142, 4742, 559, 273, 374, 31, 225, 368, 2457, 5492, 21888, 18, 225, 374, 358, 4543, 3436, 18, 3639, 3574, 273, 3742, 18, 588, 1345, 5621, 3639, 1620, 12, 748, 13, 288, 3639, 648, 3742, 18, 5501, 30, 288, 5411, 2 ]
boolean validAccount = false; do { accDialog.show(); if (accDialog.okClicked()) { accInfo = accDialog.getAccount(); if (listview.contains(accInfo.getAccountName())) { JOptionPane.showMessageDialog(mainWindow, "An account with the name [" + accInfo.getAccountName() + "] already exists", "Account already exists...", JOptionPane.ERROR_MESSAGE); } else { validAccount = true; } } } while (!validAccount && accDialog.okClicked());
boolean validAccount = false; do { accDialog.show(); if (accDialog.okClicked()) { accInfo = accDialog.getAccount(); if (listview.contains(accInfo.getAccountName())) { JOptionPane.showMessageDialog(mainWindow, "An account with the name [" + accInfo.getAccountName() + "] already exists", "Account already exists...", JOptionPane.ERROR_MESSAGE); } else { validAccount = true; } } } while (!validAccount && accDialog.okClicked());
public void addAccount() throws IllegalBlockSizeException, BadPaddingException, IOException { DefaultListModel listview = (DefaultListModel) mainWindow.getAccountsListview().getModel(); //Initialise the AccountDialog AccountInformation accInfo = new AccountInformation(); AccountDialog accDialog = new AccountDialog(accInfo, mainWindow, "Add Account", true); accDialog.pack(); accDialog.setLocationRelativeTo(mainWindow); //Keep looping until the user provides a non-existant account or they hit cancel boolean validAccount = false; do { accDialog.show(); if (accDialog.okClicked()) { accInfo = accDialog.getAccount(); if (listview.contains(accInfo.getAccountName())) { JOptionPane.showMessageDialog(mainWindow, "An account with the name [" + accInfo.getAccountName() + "] already exists", "Account already exists...", JOptionPane.ERROR_MESSAGE); } else { validAccount = true; } } } while (!validAccount && accDialog.okClicked()); //If the user press OK then save the new account to the database if (accDialog.okClicked()) { database.deleteAccount(accInfo.getAccountName()); database.addAccount(accInfo); database.save(); } }
4885 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4885/7658a64d8d9247ec7ae37c33ca4475ec6df9c41a/DatabaseActions.java/clean/src/com/_17od/upm/gui/DatabaseActions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 3032, 1435, 1216, 2141, 22506, 503, 16, 6107, 9485, 503, 16, 1860, 288, 9506, 202, 1868, 682, 1488, 666, 1945, 273, 261, 1868, 682, 1488, 13, 2774, 3829, 18, 588, 13971, 682, 1945, 7675, 588, 1488, 5621, 202, 202, 759, 4435, 784, 326, 6590, 6353, 202, 202, 3032, 5369, 4078, 966, 273, 394, 6590, 5369, 5621, 202, 202, 3032, 6353, 4078, 6353, 273, 394, 6590, 6353, 12, 8981, 966, 16, 2774, 3829, 16, 315, 986, 6590, 3113, 638, 1769, 202, 202, 8981, 6353, 18, 2920, 5621, 202, 202, 8981, 6353, 18, 542, 2735, 8574, 774, 12, 5254, 3829, 1769, 202, 202, 759, 11523, 25004, 3180, 326, 729, 8121, 279, 1661, 17, 7398, 970, 2236, 578, 2898, 6800, 3755, 202, 202, 6494, 923, 3032, 273, 629, 31, 202, 202, 2896, 288, 1082, 202, 8981, 6353, 18, 4500, 5621, 1082, 202, 430, 261, 8981, 6353, 18, 601, 27633, 10756, 288, 9506, 202, 8981, 966, 273, 4078, 6353, 18, 588, 3032, 5621, 9506, 202, 430, 261, 1098, 1945, 18, 12298, 12, 8981, 966, 18, 588, 14498, 1435, 3719, 288, 6862, 202, 46, 1895, 8485, 18, 4500, 1079, 6353, 12, 5254, 3829, 16, 315, 979, 2236, 598, 326, 508, 8247, 397, 4078, 966, 18, 588, 14498, 1435, 397, 9850, 1818, 1704, 3113, 315, 3032, 1818, 1704, 7070, 16, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 9506, 202, 97, 469, 288, 6862, 202, 877, 3032, 273, 638, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 3032, 1435, 1216, 2141, 22506, 503, 16, 6107, 9485, 503, 16, 1860, 288, 9506, 202, 1868, 682, 1488, 666, 1945, 273, 261, 1868, 682, 1488, 13, 2774, 3829, 18, 588, 13971, 682, 1945, 7675, 588, 1488, 5621, 202, 202, 759, 4435, 784, 326, 6590, 6353, 202, 202, 3032, 5369, 4078, 966, 273, 394, 6590, 5369, 5621, 202, 202, 3032, 6353, 4078, 6353, 273, 394, 6590, 6353, 12, 8981, 966, 16, 2774, 3829, 16, 315, 986, 6590, 3113, 638, 1769, 202, 202, 8981, 6353, 18, 2920, 5621, 202, 202, 8981, 6353, 18, 542, 2735, 8574, 774, 12, 5254, 3829, 1769, 202, 202, 759, 11523, 25004, 3180, 326, 729, 8121, 279, 1661, 17, 7398, 970, 2236, 2 ]
fTextTools = new CTextTools();
fTextTools = new CTextTools(getPreferenceStore(), CCorePlugin.getDefault().getPluginPreferences());
public CTextTools getTextTools() { if (fTextTools == null) fTextTools = new CTextTools(); return fTextTools; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c4df8f4e6fb3b2e2a2654c31b66085d55dbc1e51/CUIPlugin.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/CUIPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 385, 1528, 10348, 6701, 10348, 1435, 288, 202, 202, 430, 261, 74, 1528, 10348, 422, 446, 13, 1082, 202, 74, 1528, 10348, 273, 394, 385, 1528, 10348, 5621, 202, 202, 2463, 284, 1528, 10348, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 385, 1528, 10348, 6701, 10348, 1435, 288, 202, 202, 430, 261, 74, 1528, 10348, 422, 446, 13, 1082, 202, 74, 1528, 10348, 273, 394, 385, 1528, 10348, 5621, 202, 202, 2463, 284, 1528, 10348, 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 ]
objectClass.defineMethod("respond_to?", CallbackFactory.getMethod(RubyObject.class, "respond_to", RubyObject.class));
objectClass.defineMethod("respond_to?", CallbackFactory.getOptMethod(RubyObject.class, "respond_to"));
public static void createObjectClass(RubyModule objectClass) { objectClass.defineMethod("==", CallbackFactory.getMethod(RubyObject.class, "equal", RubyObject.class)); objectClass.defineMethod("=~", CallbackFactory.getFalseMethod()); objectClass.defineMethod("clone", CallbackFactory.getMethod(RubyObject.class, "rbClone")); objectClass.defineMethod("dup", CallbackFactory.getMethod(RubyObject.class, "dup")); objectClass.defineMethod("eql?", CallbackFactory.getMethod(RubyObject.class, "equal", RubyObject.class)); objectClass.defineMethod("respond_to?", CallbackFactory.getMethod(RubyObject.class, "respond_to", RubyObject.class)); objectClass.defineMethod("extend", CallbackFactory.getOptMethod(RubyObject.class, "extend")); objectClass.defineMethod("freeze", CallbackFactory.getMethod(RubyObject.class, "freeze")); objectClass.defineMethod("frozen?", CallbackFactory.getMethod(RubyObject.class, "frozen")); objectClass.defineMethod("id", CallbackFactory.getMethod(RubyObject.class, "id")); objectClass.defineMethod("hash", CallbackFactory.getMethod(RubyObject.class, "id")); objectClass.defineMethod("__id__", CallbackFactory.getMethod(RubyObject.class, "id")); objectClass.defineMethod("inspect", CallbackFactory.getMethod(RubyObject.class, "inspect")); objectClass.defineMethod("instance_eval", CallbackFactory.getOptMethod(RubyObject.class, "instance_eval")); objectClass.defineMethod("instance_of?", CallbackFactory.getMethod(RubyObject.class, "instance_of", RubyModule.class)); objectClass.defineMethod("instance_variables", CallbackFactory.getMethod(RubyObject.class, "instance_variables")); objectClass.defineMethod("is_a?", CallbackFactory.getMethod(RubyObject.class, "kind_of", RubyModule.class)); objectClass.defineMethod("kind_of?", CallbackFactory.getMethod(RubyObject.class, "kind_of", RubyModule.class)); objectClass.defineMethod("method", CallbackFactory.getMethod(RubyObject.class, "method", RubyObject.class)); objectClass.defineMethod("methods", CallbackFactory.getMethod(RubyObject.class, "methods")); objectClass.defineMethod("nil?", CallbackFactory.getFalseMethod()); objectClass.defineMethod("private_methods", CallbackFactory.getMethod(RubyObject.class, "private_methods")); objectClass.defineMethod("protected_methods", CallbackFactory.getMethod(RubyObject.class, "protected_methods")); objectClass.defineMethod("public_methods", CallbackFactory.getMethod(RubyObject.class, "methods")); objectClass.defineMethod("send", CallbackFactory.getOptMethod(RubyObject.class, "send", RubyObject.class)); objectClass.defineMethod("__send__", CallbackFactory.getOptMethod(RubyObject.class, "send", RubyObject.class)); objectClass.defineMethod("taint", CallbackFactory.getMethod(RubyObject.class, "taint")); objectClass.defineMethod("tainted?", CallbackFactory.getMethod(RubyObject.class, "tainted")); objectClass.defineMethod("to_a", CallbackFactory.getMethod(RubyObject.class, "to_a")); objectClass.defineMethod("to_s", CallbackFactory.getMethod(RubyObject.class, "to_s")); objectClass.defineMethod("type", CallbackFactory.getMethod(RubyObject.class, "type")); objectClass.defineMethod("untaint", CallbackFactory.getMethod(RubyObject.class, "untaint")); objectClass.defineAlias("===", "=="); objectClass.defineAlias("class", "type"); objectClass.defineAlias("equal?", "=="); Ruby ruby = objectClass.getRuby(); ruby.defineGlobalFunction("method_missing", CallbackFactory.getOptMethod(RubyObject.class, "method_missing", RubyObject.class)); }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/6076c5ab87d25a488469aa1a32f1d2c9c9e470b2/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 17109, 797, 12, 54, 10340, 3120, 23992, 13, 288, 3639, 23992, 18, 11255, 1305, 2932, 631, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 9729, 3113, 19817, 921, 18, 1106, 10019, 3639, 23992, 18, 11255, 1305, 2932, 33, 98, 3113, 8444, 1733, 18, 588, 8381, 1305, 10663, 3639, 23992, 18, 11255, 1305, 2932, 14056, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 6731, 10930, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 26427, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 26427, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 73, 1217, 35, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 9729, 3113, 19817, 921, 18, 1106, 10019, 3639, 23992, 18, 11255, 1305, 2932, 17863, 67, 869, 35, 3113, 8444, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 17863, 67, 869, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 14313, 3113, 8444, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 14313, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 29631, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 29631, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 28138, 35, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 28138, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 350, 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, 17109, 797, 12, 54, 10340, 3120, 23992, 13, 288, 3639, 23992, 18, 11255, 1305, 2932, 631, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 9729, 3113, 19817, 921, 18, 1106, 10019, 3639, 23992, 18, 11255, 1305, 2932, 33, 98, 3113, 8444, 1733, 18, 588, 8381, 1305, 10663, 3639, 23992, 18, 11255, 1305, 2932, 14056, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 6731, 10930, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 26427, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 921, 18, 1106, 16, 315, 26427, 7923, 1769, 3639, 23992, 18, 11255, 1305, 2932, 73, 1217, 35, 3113, 8444, 1733, 18, 2 ]
return IDREFDatatypeValidator.IDREF_STORE; }
return IDREFDatatypeValidator.IDREF_STORE; }
public int getDatatypeState(){ return IDREFDatatypeValidator.IDREF_STORE; }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/f2b9ad84920b2015a53c9a67b4dfb5460fa0465e/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 509, 565, 24211, 6361, 1119, 1435, 95, 5411, 327, 1599, 10771, 20228, 5126, 18, 734, 10771, 67, 13651, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 1071, 509, 565, 24211, 6361, 1119, 1435, 95, 5411, 327, 1599, 10771, 20228, 5126, 18, 734, 10771, 67, 13651, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public TreePath getSelectionPath() {
public TreePath getSelectionPath() {
public TreePath getSelectionPath() { return null; // TODO } // getSelectionPath()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/DefaultTreeSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeSelectionModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4902, 743, 23204, 743, 1435, 288, 202, 202, 2463, 446, 31, 368, 2660, 202, 97, 368, 23204, 743, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4902, 743, 23204, 743, 1435, 288, 202, 202, 2463, 446, 31, 368, 2660, 202, 97, 368, 23204, 743, 1435, 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 ]
String[] args = { pluginName }; jEdit.pluginError(path, "plugin-error.dep-plugin.broken",args); ok = false;
if(!optional) { String[] args = { pluginName }; jEdit.pluginError(path, "plugin-error.dep-plugin.broken",args); ok = false; }
public boolean checkDependencies() { if(plugin == null) return true; int i = 0; boolean ok = true; String name = plugin.getClassName(); String dep; while((dep = jEdit.getProperty("plugin." + name + ".depend." + i++)) != null) { int index = dep.indexOf(' '); if(index == -1) { Log.log(Log.ERROR,this,name + " has an invalid" + " dependency: " + dep); ok = false; continue; } String what = dep.substring(0,index); String arg = dep.substring(index + 1); if(what.equals("jdk")) { if(MiscUtilities.compareStrings( System.getProperty("java.version"), arg,false) < 0) { String[] args = { arg, System.getProperty("java.version") }; jEdit.pluginError(path,"plugin-error.dep-jdk",args); ok = false; } } else if(what.equals("jedit")) { if(arg.length() != 11) { Log.log(Log.ERROR,this,"Invalid jEdit version" + " number: " + arg); ok = false; } if(MiscUtilities.compareStrings( jEdit.getBuild(),arg,false) < 0) { String needs = MiscUtilities.buildToVersion(arg); String[] args = { needs, jEdit.getVersion() }; jEdit.pluginError(path, "plugin-error.dep-jedit",args); ok = false; } } else if(what.equals("plugin")) { int index2 = arg.indexOf(' '); if(index2 == -1) { Log.log(Log.ERROR,this,name + " has an invalid dependency: " + dep + " (version is missing)"); ok = false; continue; } String pluginName = arg.substring(0,index2); String needVersion = arg.substring(index2 + 1); String currVersion = jEdit.getProperty("plugin." + pluginName + ".version"); EditPlugin plugin = jEdit.getPlugin(pluginName); if(plugin == null) { String[] args = { needVersion, pluginName }; jEdit.pluginError(path, "plugin-error.dep-plugin.no-version", args); ok = false; } else if(MiscUtilities.compareStrings( currVersion,needVersion,false) < 0) { String[] args = { needVersion, pluginName, currVersion }; jEdit.pluginError(path, "plugin-error.dep-plugin",args); ok = false; } else if(plugin instanceof EditPlugin.Broken) { String[] args = { pluginName }; jEdit.pluginError(path, "plugin-error.dep-plugin.broken",args); ok = false; } else { PluginJAR jar = plugin.getPluginJAR(); jar.theseRequireMe.add(path); weRequireThese.add(jar.getPath()); } } else if(what.equals("class")) { try { classLoader.loadClass(arg,false); } catch(Exception e) { String[] args = { arg }; jEdit.pluginError(path, "plugin-error.dep-class",args); ok = false; } } else { Log.log(Log.ERROR,this,name + " has unknown" + " dependency: " + dep); ok = false; } } // each JAR file listed in the plugin's jars property // needs to know that we need them String jars = jEdit.getProperty("plugin." + plugin.getClassName() + ".jars"); if(jars != null) { String dir = MiscUtilities.getParentOfPath(path); StringTokenizer st = new StringTokenizer(jars); while(st.hasMoreTokens()) { String jarPath = MiscUtilities.constructPath( dir,st.nextToken()); PluginJAR jar = jEdit.getPluginJAR(jarPath); if(jar == null) { String[] args = { jarPath }; jEdit.pluginError(path, "plugin-error.missing-jar",args); ok = false; } else { weRequireThese.add(jarPath); jar.theseRequireMe.add(path); } } } if(!ok) breakPlugin(); return ok; } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/99ccfe0b27c0d6477ee87734c9270ab6f07072cd/PluginJAR.java/buggy/org/gjt/sp/jedit/PluginJAR.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 866, 8053, 1435, 202, 95, 202, 202, 430, 12, 4094, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 474, 277, 273, 374, 31, 202, 202, 6494, 1529, 273, 638, 31, 202, 202, 780, 508, 273, 1909, 18, 588, 3834, 5621, 202, 202, 780, 5993, 31, 202, 202, 17523, 12443, 15037, 273, 525, 4666, 18, 588, 1396, 2932, 4094, 1199, 397, 508, 397, 3552, 5817, 1199, 397, 277, 9904, 3719, 480, 446, 13, 202, 202, 95, 1082, 202, 474, 770, 273, 5993, 18, 31806, 2668, 28005, 1082, 202, 430, 12, 1615, 422, 300, 21, 13, 1082, 202, 95, 9506, 202, 1343, 18, 1330, 12, 1343, 18, 3589, 16, 2211, 16, 529, 397, 315, 711, 392, 2057, 6, 6862, 202, 15, 315, 4904, 30, 315, 397, 5993, 1769, 9506, 202, 601, 273, 629, 31, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 780, 4121, 273, 5993, 18, 28023, 12, 20, 16, 1615, 1769, 1082, 202, 780, 1501, 273, 5993, 18, 28023, 12, 1615, 397, 404, 1769, 1082, 202, 430, 12, 23770, 18, 14963, 2932, 78, 2883, 6, 3719, 1082, 202, 95, 9506, 202, 430, 12, 11729, 71, 11864, 18, 9877, 7957, 12, 6862, 202, 3163, 18, 588, 1396, 2932, 6290, 18, 1589, 6, 3631, 6862, 202, 3175, 16, 5743, 13, 411, 374, 13, 9506, 202, 95, 6862, 202, 780, 8526, 833, 273, 288, 1501, 16, 25083, 202, 3163, 18, 588, 1396, 2932, 6290, 18, 1589, 7923, 289, 31, 6862, 202, 78, 4666, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 866, 8053, 1435, 202, 95, 202, 202, 430, 12, 4094, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 474, 277, 273, 374, 31, 202, 202, 6494, 1529, 273, 638, 31, 202, 202, 780, 508, 273, 1909, 18, 588, 3834, 5621, 202, 202, 780, 5993, 31, 202, 202, 17523, 12443, 15037, 273, 525, 4666, 18, 588, 1396, 2932, 4094, 1199, 397, 508, 397, 3552, 5817, 1199, 397, 277, 9904, 3719, 480, 446, 13, 202, 202, 95, 1082, 202, 474, 770, 273, 5993, 18, 31806, 2668, 28005, 1082, 202, 430, 12, 1615, 422, 300, 21, 13, 1082, 202, 95, 9506, 202, 1343, 18, 1330, 12, 1343, 18, 3589, 16, 2211, 16, 529, 397, 315, 711, 2 ]
public org.quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { org.quickfix.field.TradingSessionID value = new org.quickfix.field.TradingSessionID();
public quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { quickfix.field.TradingSessionID value = new quickfix.field.TradingSessionID();
public org.quickfix.field.TradingSessionID getTradingSessionID() throws FieldNotFound { org.quickfix.field.TradingSessionID value = new org.quickfix.field.TradingSessionID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/RFQRequest.java/buggy/src/java/src/quickfix/fix44/RFQRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 336, 1609, 7459, 2157, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 336, 1609, 7459, 2157, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1609, 7459, 2157, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void insertNewDatablock(String tag, Element data) { // First check, if this is an extended datablock // in <NAME1 name="name2>... format, that has to be inserted // as name1.name2 String nameAttr = data.getAttribute("name"); String workTag = null; if((!data.getNodeName().toLowerCase().equals("data")) && nameAttr != null && (!"".equals(nameAttr))) { // this is an extended datablock workTag = tag.substring(0, tag.lastIndexOf(".")); } else { workTag = tag; } // Import the node for later inserting Element importedNode = (Element)parser.importNode(m_content, data); // Check, if this is a simple datablock without hierarchy. if(workTag.indexOf(".") == -1) { // Fine. We can insert the new Datablock at the of the document m_content.getDocumentElement().appendChild(importedNode); m_blocks.put(tag, importedNode); } else { // This is a hierachical datablock tag. We have to search for // an appropriate place to insert first. boolean found = false; String match = "." + workTag; int dotIndex = match.lastIndexOf("."); Vector newBlocks = new Vector(); while((!found) && (dotIndex > 1)) { match = match.substring(0, dotIndex); if(hasData(match.substring(1))) { found = true; } else { dotIndex = match.lastIndexOf("."); newBlocks.addElement(match.substring(dotIndex + 1)); } } // newBlocks now contains a (backward oriented) list // of all datablocks that have to be created, before // the new datablock named "tag" can be inserted. String datablockPrefix = ""; if(found) { datablockPrefix = match.substring(1) + "."; } // number of new elements to be created int numNewBlocks = newBlocks.size(); // used to create the required new elements Element newElem = null; // Contains the last existing Element in the hierarchy. Element lastElem = null; // now create the new elements backwards for(int i = numNewBlocks - 1;i >= 0;i--) { newElem = m_content.createElement("DATA"); newElem.setAttribute("name", (String)newBlocks.elementAt(i)); m_blocks.put(datablockPrefix + (String)newBlocks.elementAt(i), newElem); if(lastElem != null) { lastElem.appendChild(newElem); } else { lastElem = newElem; } } // Now all required parent datablocks are created. // Finally the given datablock can be inserted. if(lastElem != null) { lastElem.appendChild(importedNode); } else { lastElem = importedNode; } m_blocks.put(datablockPrefix + tag, importedNode); // lastElem now contains the hierarchical tree of all DATA tags to be // inserted. // If we have found an existing part of the hierarchy, get // this part and append the tree. If no part was found, append the // tree at the end of the document. if(found) { Element parent = (Element)m_blocks.get(match.substring(1)); parent.appendChild(lastElem); } else { m_content.getDocumentElement().appendChild(lastElem); } } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/53020c572ca3e64148712b781e0f47c127dc8b78/A_CmsXmlContent.java/clean/src/com/opencms/template/A_CmsXmlContent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2243, 1908, 5139, 378, 739, 12, 780, 1047, 16, 3010, 501, 13, 288, 7734, 368, 5783, 866, 16, 309, 333, 353, 392, 7021, 10481, 739, 7734, 368, 316, 411, 1985, 21, 508, 1546, 529, 22, 34, 2777, 740, 16, 716, 711, 358, 506, 9564, 7734, 368, 487, 508, 21, 18, 529, 22, 3639, 514, 508, 3843, 273, 501, 18, 588, 1499, 2932, 529, 8863, 3639, 514, 1440, 1805, 273, 446, 31, 3639, 309, 12443, 5, 892, 18, 588, 18948, 7675, 869, 5630, 7675, 14963, 2932, 892, 6, 3719, 597, 508, 3843, 480, 446, 597, 16051, 3660, 18, 14963, 12, 529, 3843, 20349, 288, 13491, 368, 333, 353, 392, 7021, 10481, 739, 5411, 1440, 1805, 273, 1047, 18, 28023, 12, 20, 16, 1047, 18, 2722, 31985, 2932, 1199, 10019, 3639, 289, 3639, 469, 288, 5411, 1440, 1805, 273, 1047, 31, 3639, 289, 7734, 368, 6164, 326, 756, 364, 5137, 21079, 3639, 3010, 9101, 907, 273, 261, 1046, 13, 4288, 18, 5666, 907, 12, 81, 67, 1745, 16, 501, 1769, 7734, 368, 2073, 16, 309, 333, 353, 279, 4143, 10481, 739, 2887, 9360, 18, 3639, 309, 12, 1252, 1805, 18, 31806, 2932, 1199, 13, 422, 300, 21, 13, 288, 13491, 368, 478, 558, 18, 1660, 848, 2243, 326, 394, 6168, 378, 739, 622, 326, 434, 326, 1668, 5411, 312, 67, 1745, 18, 588, 2519, 1046, 7675, 6923, 1763, 12, 29266, 907, 1769, 5411, 312, 67, 7996, 18, 458, 12, 2692, 16, 9101, 907, 1769, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2243, 1908, 5139, 378, 739, 12, 780, 1047, 16, 3010, 501, 13, 288, 7734, 368, 5783, 866, 16, 309, 333, 353, 392, 7021, 10481, 739, 7734, 368, 316, 411, 1985, 21, 508, 1546, 529, 22, 34, 2777, 740, 16, 716, 711, 358, 506, 9564, 7734, 368, 487, 508, 21, 18, 529, 22, 3639, 514, 508, 3843, 273, 501, 18, 588, 1499, 2932, 529, 8863, 3639, 514, 1440, 1805, 273, 446, 31, 3639, 309, 12443, 5, 892, 18, 588, 18948, 7675, 869, 5630, 7675, 14963, 2932, 892, 6, 3719, 597, 508, 3843, 480, 446, 597, 16051, 3660, 18, 14963, 12, 529, 3843, 20349, 288, 13491, 368, 333, 353, 392, 7021, 10481, 739, 5411, 1440, 1805, 273, 1047, 2 ]
return addStep(new MoveStep(this, type));
return addStep( new MoveStep( this, type ) );
public MovePath addStep(int type) { return addStep(new MoveStep(this, type)); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/d41f5e58f2e90de206285098a30a24fa22fdfb24/MovePath.java/buggy/megamek/src/megamek/common/MovePath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9933, 743, 527, 4160, 12, 474, 618, 13, 288, 540, 327, 527, 4160, 12, 394, 9933, 4160, 12, 333, 16, 618, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9933, 743, 527, 4160, 12, 474, 618, 13, 288, 540, 327, 527, 4160, 12, 394, 9933, 4160, 12, 333, 16, 618, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Connection c = new Connection(client_socket);
new Connection(client_socket);
public void run() { try { while (true) { Socket client_socket = listen_socket.accept(); Connection c = new Connection(client_socket); } } catch (IOException e) { fail(e, "Exception while listening"); } }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/4de981d222f83e66d1366800ef337f5155d5e627/TestServer.java/clean/netwerk/testserver/TestServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 698, 288, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 4534, 1004, 67, 7814, 273, 6514, 67, 7814, 18, 9436, 5621, 9506, 202, 1952, 276, 273, 394, 4050, 12, 2625, 67, 7814, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 14106, 425, 13, 288, 1082, 202, 6870, 12, 73, 16, 315, 503, 1323, 13895, 8863, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 698, 288, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 4534, 1004, 67, 7814, 273, 6514, 67, 7814, 18, 9436, 5621, 9506, 202, 1952, 276, 273, 394, 4050, 12, 2625, 67, 7814, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 14683, 261, 14106, 425, 13, 288, 1082, 202, 6870, 12, 73, 16, 315, 503, 1323, 13895, 8863, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
extended = set; }
extended = set; }
public void setExtended(boolean set) { extended = set; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/0a7181933af700ea8025a4197f3a5ebcc08333c3/GNURegexpAdapter.java/clean/org/jruby/regexp/GNURegexpAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 11456, 12, 6494, 444, 13, 288, 202, 202, 14948, 273, 444, 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, 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, 225, 202, 482, 918, 444, 11456, 12, 6494, 444, 13, 288, 202, 202, 14948, 273, 444, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IRingSet rs = (IRingSet) (new AllRingsFinder()).findAllRings(ac); IRingSet atomRingSet=null; if (checkAromaticity) { HueckelAromaticityDetector.detectAromaticity(ac, rs, true); } double xlogP = 0;
IRingSet rs = (IRingSet) (new AllRingsFinder()).findAllRings(ac); IRingSet atomRingSet=null; if (checkAromaticity) { HueckelAromaticityDetector.detectAromaticity(ac, rs, true); } double xlogP = 0;
public DescriptorValue calculate(IAtomContainer ac) throws CDKException { IRingSet rs = (IRingSet) (new AllRingsFinder()).findAllRings(ac); IRingSet atomRingSet=null; if (checkAromaticity) { HueckelAromaticityDetector.detectAromaticity(ac, rs, true); } double xlogP = 0;// SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance()); String symbol = ""; int bondCount = 0; int atomCount = ac.getAtomCount(); int hsCount = 0; double xlogPOld=0; double maxBondOrder = 0; Vector hBondAcceptors=new Vector(); Vector hBondDonors=new Vector(); int checkAminoAcid=1;//if 0 no check, if >1 check IAtom atomi = null; for (int i = 0; i < atomCount; i++) { atomi = (IAtom)ac.getAtom(i); // Problem fused ring systems atomRingSet= rs.getRings(atomi); atomi.setProperty("IS_IN_AROMATIC_RING", new Boolean(false)); atomi.setProperty(CDKConstants.PART_OF_RING_OF_SIZE, new Integer(0)); //System.out.print("atomRingSet.size "+atomRingSet.size()); if (atomRingSet.getAtomContainerCount()>0){ if (atomRingSet.getAtomContainerCount()>1){ ssrf=new SSSRFinder(RingSetManipulator.getAllInOneContainer(atomRingSet)); atomRingSet=ssrf.findEssentialRings(); //System.out.println(" SSSRatomRingSet.size "+atomRingSet.size()); } for (int j=0;j<atomRingSet.getAtomContainerCount();j++){ if (j==0){ atomi.setProperty(CDKConstants.PART_OF_RING_OF_SIZE, new Integer(((IRing)atomRingSet.getAtomContainer(j)).getRingSize())); } if (((IRing)atomRingSet.getAtomContainer(j)).contains(atomi)){ if (((IRing)atomRingSet.getAtomContainer(j)).getRingSize()>=6 && atomi.getFlag(CDKConstants.ISAROMATIC)){ atomi.setProperty("IS_IN_AROMATIC_RING", new Boolean(true)); } if (((IRing)atomRingSet.getAtomContainer(j)).getRingSize()<((Integer)atomi.getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()){ atomi.setProperty(CDKConstants.PART_OF_RING_OF_SIZE, new Integer(((IRing)atomRingSet.getAtomContainer(j)).getRingSize())); } } } }//else{ //System.out.println(); //} } for (int i = 0; i < atomCount; i++) { atomi = (IAtom)ac.getAtom(i); if (xlogPOld==xlogP & i>0 & !symbol.equals("H")){ //System.out.println("\nXlogPAssignmentError: Could not assign atom number:"+(i-1)); } xlogPOld=xlogP; symbol = atomi.getSymbol(); bondCount = ac.getConnectedBondsCount(atomi); hsCount = getHydrogenCount(ac, atomi); maxBondOrder = ac.getMaximumBondOrder(atomi); if (!symbol.equals("H")){ //System.out.print("i:"+i+" Symbol:"+symbol+" "+" bondC:"+bondCount+" Charge:"+atoms[i].getFormalCharge()+" hsC:"+hsCount+" maxBO:"+maxBondOrder+" Arom:"+atoms[i].getFlag(CDKConstants.ISAROMATIC)+" AtomTypeX:"+getAtomTypeXCount(ac, atoms[i])+" PiSys:"+getPiSystemsCount(ac, atoms[i])+" C=:"+getDoubleBondedCarbonsCount(ac, atoms[i])+" AromCc:"+getAromaticCarbonsCount(ac,atoms[i])+" RS:"+((Integer)atoms[i].getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()+"\t"); } if (symbol.equals("C")) { if (bondCount == 2) { // C sp if (hsCount >= 1) { xlogP += 0.209; //System.out.println("XLOGP: 38 0.209"); } else { if (maxBondOrder == 2.0) { xlogP += 2.073; //System.out.println("XLOGP: 40 2.037"); } else if (maxBondOrder == 3.0) { xlogP += 0.33; //System.out.println("XLOGP: 39 0.33"); } } } if (bondCount == 3) { // C sp2 if (((Boolean)atomi.getProperty("IS_IN_AROMATIC_RING")).booleanValue()) { if (getAromaticCarbonsCount(ac, atomi) >= 2 && getAromaticNitrogensCount(ac,atomi)==0) { if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0 ) { xlogP += 0.296; //System.out.println("XLOGP: 34 0.296"); } else { xlogP -= 0.151; //System.out.println("XLOGP: 35 C.ar.x -0.151"); } } else { xlogP += 0.337; //System.out.println("XLOGP: 32 0.337"); } //} else if (getAromaticCarbonsCount(ac, atoms[i]) < 2 && getAromaticNitrogensCount(ac, atoms[i]) > 1) { } else if (getAromaticNitrogensCount(ac, atomi) >= 1) { if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.174; //System.out.println("XLOGP: 36 C.ar.(X) 0.174"); } else { xlogP += 0.366; //System.out.println("XLOGP: 37 0.366"); } } else if (getHydrogenCount(ac, atomi) == 1) { xlogP += 0.126; //System.out.println("XLOGP: 33 0.126"); } } //NOT aromatic, but sp2 } else { if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) <= 1) { xlogP += 0.05; //System.out.println("XLOGP: 26 0.05"); } else { xlogP += 0.013; //System.out.println("XLOGP: 27 0.013"); } } else if (getAtomTypeXCount(ac, atomi) == 1) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.03; //System.out.println("XLOGP: 28 -0.03"); } else { xlogP -= 0.027; //System.out.println("XLOGP: 29 -0.027"); } } else if (getAtomTypeXCount(ac, atomi) == 2) { if (getPiSystemsCount(ac, atomi) ==0) { xlogP += 0.005; //System.out.println("XLOGP: 30 0.005"); } else { xlogP -= 0.315; //System.out.println("XLOGP: 31 -0.315"); } } } if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.466; //System.out.println("XLOGP: 22 0.466"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.136; //System.out.println("XLOGP: 23 0.136"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.001; //System.out.println("XLOGP: 24 0.001"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.31; //System.out.println("XLOGP: 25 -0.31"); } } } if (hsCount == 2) { xlogP += 0.42; //System.out.println("XLOGP: 21 0.42"); } if (getIfCarbonIsHydrophobic(ac, atomi)) { xlogP += 0.211; //System.out.println("XLOGP: Hydrophobic Carbon 0.211"); } }//sp2 NOT aromatic } if (bondCount == 4) { // C sp3 if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.006; //System.out.println("XLOGP: 16 -0.006"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.57; //System.out.println("XLOGP: 17 -0.57"); } if (getPiSystemsCount(ac, atomi) >= 2) { xlogP -= 0.317; //System.out.println("XLOGP: 18 -0.317"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.316; //System.out.println("XLOGP: 19 -0.316"); } else { xlogP -= 0.723; //System.out.println("XLOGP: 20 -0.723"); } } } if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.127; //System.out.println("XLOGP: 10 0.127"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.243; //System.out.println("XLOGP: 11 -0.243"); } if (getPiSystemsCount(ac, atomi) >= 2) { xlogP -= 0.499; //System.out.println("XLOGP: 12 -0.499"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.205; //System.out.println("XLOGP: 13 -0.205"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.305; //System.out.println("XLOGP: 14 -0.305"); } if (getPiSystemsCount(ac, atomi) >= 2) { xlogP -= 0.709; //System.out.println("XLOGP: 15 -0.709"); } } } if (hsCount == 2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.358; //System.out.println("XLOGP: 4 0.358"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.008; //System.out.println("XLOGP: 5 -0.008"); } if (getPiSystemsCount(ac, atomi) == 2) { xlogP -= 0.185; //System.out.println("XLOGP: 6 -0.185"); } } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.137; //System.out.println("XLOGP: 7 -0.137"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.303; //System.out.println("XLOGP: 8 -0.303"); } if (getPiSystemsCount(ac, atomi) == 2) { xlogP -= 0.815; //System.out.println("XLOGP: 9 -0.815"); } } } if (hsCount > 2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.528; //System.out.println("XLOGP: 1 0.528"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.267; //System.out.println("XLOGP: 2 0.267"); } }else{ //if (getNitrogenOrOxygenCount(ac, atomi) == 1) { xlogP -= 0.032; //System.out.println("XLOGP: 3 -0.032"); } } if (getIfCarbonIsHydrophobic(ac, atomi)) { xlogP += 0.211; //System.out.println("XLOGP: Hydrophobic Carbon 0.211"); } }//csp3 }//C if (symbol.equals("N")) { //NO2 if (ac.getBondOrderSum(atomi) >= 3.0 && getOxygenCount(ac, atomi) >= 2 && maxBondOrder==2) { xlogP += 1.178; //System.out.println("XLOGP: 66 1.178"); } else { if (getPresenceOfCarbonil(ac, atomi)>=1) { // amidic nitrogen if (hsCount == 0) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.078; //System.out.println("XLOGP: 57 0.078"); } if (getAtomTypeXCount(ac, atomi) == 1) { xlogP -= 0.118; //System.out.println("XLOGP: 58 -0.118"); } } if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP -= 0.096; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 55 -0.096"); } else { xlogP -= 0.044; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 56 -0.044"); } } if (hsCount == 2) { xlogP -= 0.646; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 54 -0.646"); } } else {//NO amidic nitrogen if (bondCount == 1) { // -C#N if (getCarbonsCount(ac, atomi) == 1) { xlogP -= 0.566; //System.out.println("XLOGP: 68 -0.566"); } }else if (bondCount == 2) { // N sp2 if (((Boolean)atomi.getProperty("IS_IN_AROMATIC_RING")).booleanValue()) { xlogP -= 0.493; //System.out.println("XLOGP: 67 -0.493"); if (checkAminoAcid!=0){ checkAminoAcid+=1;} } else { if (getDoubleBondedCarbonsCount(ac, atomi) == 0) { if (getDoubleBondedNitrogenCount(ac, atomi) == 0) { if (getDoubleBondedOxygenCount(ac, atomi) == 1) { xlogP += 0.427; //System.out.println("XLOGP: 65 0.427"); } } if (getDoubleBondedNitrogenCount(ac, atomi) == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.536; //System.out.println("XLOGP: 63 0.536"); } if (getAtomTypeXCount(ac, atomi) == 1) { xlogP -= 0.597; //System.out.println("XLOGP: 64 -0.597"); } } }else if (getDoubleBondedCarbonsCount(ac, atomi) == 1) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.007; //System.out.println("XLOGP: 59 0.007"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.275; //System.out.println("XLOGP: 60 -0.275"); } }else if (getAtomTypeXCount(ac, atomi) == 1) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.366; //System.out.println("XLOGP: 61 0.366"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.251; //System.out.println("XLOGP: 62 0.251"); } } } } }else if (bondCount == 3) { // N sp3 if (hsCount == 0) { //if (rs.contains(atomi)&&ringSize>3) { if (atomi.getFlag(CDKConstants.ISAROMATIC)|| (rs.contains(atomi)&& ((Integer)atomi.getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()>3 && getPiSystemsCount(ac,atomi)>=1)){ if (getAtomTypeXCount(ac, atomi) == 0) { xlogP += 0.881; //System.out.println("XLOGP: 51 0.881"); } else { xlogP -= 0.01; //System.out.println("XLOGP: 53 -0.01"); } } else { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.159; //System.out.println("XLOGP: 49 0.159"); } if (getPiSystemsCount(ac, atomi) > 0) { xlogP += 0.761; //System.out.println("XLOGP: 50 0.761"); } } else { xlogP -= 0.239; //System.out.println("XLOGP: 52 -0.239"); } } }else if (hsCount == 1) { if (getAtomTypeXCount(ac, atomi) == 0) {// like pyrrole if (atomi.getFlag(CDKConstants.ISAROMATIC)|| (rs.contains(atomi)&& ((Integer)atomi.getProperty(CDKConstants.PART_OF_RING_OF_SIZE)).intValue()>3 && getPiSystemsCount(ac,atomi)>=2)) { xlogP += 0.545; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 46 0.545"); } else { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.112; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 44 -0.112"); } if (getPiSystemsCount(ac, atomi) > 0) { xlogP += 0.166; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 45 0.166"); } } } else { if (rs.contains(atomi)) { xlogP += 0.153; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 48 0.153"); } else { xlogP += 0.324; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 47 0.324"); } } }else if (hsCount == 2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.534; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 41 -0.534"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP -= 0.329; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 42 -0.329"); } if (checkAminoAcid!=0){ checkAminoAcid+=1;} } else { xlogP -= 1.082; hBondDonors.add(new Integer(i)); //System.out.println("XLOGP: 43 -1.082"); } } } } } } if (symbol.equals("O")) { if (bondCount == 1 && maxBondOrder==2.0) { xlogP -= 0.399; if (!getPresenceOfHydroxy(ac,atomi)){ hBondAcceptors.add(new Integer(i)); } //System.out.println("XLOGP: 75 A=O -0.399"); }else if(bondCount == 1 && hsCount==0 && (getPresenceOfNitro(ac,atomi) || getPresenceOfCarbonil(ac,atomi)==1) || getPresenceOfSulfat(ac,atomi)){ xlogP -= 0.399; if (!getPresenceOfHydroxy(ac,atomi)){ hBondAcceptors.add(new Integer(i)); } //System.out.println("XLOGP: 75 A=O -0.399"); }else if (bondCount >= 1) { if (hsCount == 0 && bondCount==2) { if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.084; //System.out.println("XLOGP: 72 R-O-R 0.084"); } if (getPiSystemsCount(ac, atomi) > 0) { xlogP += 0.435; //System.out.println("XLOGP: 73 R-O-R.1 0.435"); } }else if (getAtomTypeXCount(ac, atomi) == 1) { xlogP += 0.105; //System.out.println("XLOGP: 74 R-O-X 0.105"); } }else{ if (getAtomTypeXCount(ac, atomi) == 0) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP -= 0.467; hBondDonors.add(new Integer(i)); hBondAcceptors.add(new Integer(i)); //System.out.println("XLOGP: 69 R-OH -0.467"); } if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.082; hBondDonors.add(new Integer(i)); hBondAcceptors.add(new Integer(i)); //System.out.println("XLOGP: 70 R-OH.1 0.082"); } }else if (getAtomTypeXCount(ac, atomi) == 1) { xlogP -= 0.522; hBondDonors.add(new Integer(i)); hBondAcceptors.add(new Integer(i)); //System.out.println("XLOGP: 71 X-OH -0.522"); } } } } if (symbol.equals("S")) { if ((bondCount == 1 && maxBondOrder==2) || (bondCount == 1 && atomi.getFormalCharge()==-1)) { xlogP -= 0.148; //System.out.println("XLOGP: 78 A=S -0.148"); }else if (bondCount == 2) { if (hsCount == 0) { xlogP += 0.255; //System.out.println("XLOGP: 77 A-S-A 0.255"); } else { xlogP += 0.419; //System.out.println("XLOGP: 76 A-SH 0.419"); } }else if (bondCount == 3) { if (getOxygenCount(ac, atomi) >= 1) { xlogP -= 1.375; //System.out.println("XLOGP: 79 A-SO-A -1.375"); } }else if (bondCount == 4) { if (getDoubleBondedOxygenCount(ac, atomi) >= 2) { xlogP -= 0.168; //System.out.println("XLOGP: 80 A-SO2-A -0.168"); } } } if (symbol.equals("P")) { if (getDoubleBondedSulfurCount(ac, atomi) >= 1 && bondCount>=4) { xlogP += 1.253; //System.out.println("XLOGP: 82 S=PA3 1.253"); }else if (getOxygenCount(ac,atomi)>=1 || getDoubleBondedOxygenCount(ac, atomi) == 1 && bondCount>=4) { xlogP -= 0.447; //System.out.println("XLOGP: 81 O=PA3 -0.447"); } } if (symbol.equals("F")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.375; //System.out.println("XLOGP: 83 F.0 0.512"); }else if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.202; //System.out.println("XLOGP: 84 F.1 0.202"); } } if (symbol.equals("Cl")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.512; //System.out.println("XLOGP: 85 Cl.0 0.512"); }else if (getPiSystemsCount(ac, atomi) >= 1) { xlogP += 0.663; //System.out.println("XLOGP: 86 Cl.1 0.663"); } } if (symbol.equals("Br")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 0.85; //System.out.println("XLOGP: 87 Br.0 0.85"); }else if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 0.839; //System.out.println("XLOGP: 88 Br.1 0.839"); } } if (symbol.equals("I")) { if (getPiSystemsCount(ac, atomi) == 0) { xlogP += 1.05; //System.out.println("XLOGP: 89 I.0 1.05"); }else if (getPiSystemsCount(ac, atomi) == 1) { xlogP += 1.109; //System.out.println("XLOGP: 90 I.1 1.109"); } }// Halogen pair 1-3 int halcount=getHalogenCount(ac, atomi); if ( halcount== 2) { xlogP += 0.137; //System.out.println("XLOGP: Halogen 1-3 pair 0.137"); }else if (halcount==3){ xlogP += (3*0.137); //System.out.println("XLOGP: Halogen 1-3 pair 0.411"); }else if (halcount==4){ xlogP += (6*0.137); //System.out.println("XLOGP: Halogen 1-3 pair 1.902"); }// sp2 Oxygen 1-5 pair if (getPresenceOfCarbonil(ac, atomi) == 2) {// sp2 oxygen 1-5 pair if(!rs.contains(atomi)) { xlogP += 0.580; //System.out.println("XLOGP: sp2 Oxygen 1-5 pair 0.580"); } } } //System.out.println("XLOGP: Before Correction:"+xlogP); List path=null; SimpleGraph moleculeGraph=null; int [][] pairCheck=null;// //System.out.println("Acceptors:"+hBondAcceptors.size()+" Donors:"+hBondDonors.size()); if (hBondAcceptors.size()>0 && hBondDonors.size()>0){ moleculeGraph=MoleculeGraphs.getMoleculeGraph(ac); pairCheck=initializeHydrogenPairCheck(new int[atomCount][atomCount]); } for (int i=0; i<hBondAcceptors.size();i++){ for (int j=0; j<hBondDonors.size();j++){ if (checkRingLink(rs,ac,ac.getAtom(((Integer)hBondAcceptors.get(i)).intValue())) || checkRingLink(rs,ac,ac.getAtom(((Integer)hBondDonors.get(j)).intValue()))){ path=BFSShortestPath.findPathBetween(moleculeGraph,ac.getAtom(((Integer)hBondAcceptors.get(i)).intValue()), ac.getAtom(((Integer)hBondDonors.get(j)).intValue()));// //System.out.println(" Acc:"+checkRingLink(rs,ac,atoms[((Integer)hBondAcceptors.get(i)).intValue()])// +" S:"+atoms[((Integer)hBondAcceptors.get(i)).intValue()].getSymbol()// +" Nr:"+((Integer)hBondAcceptors.get(i)).intValue()// +" Don:"+checkRingLink(rs,ac,atoms[((Integer)hBondDonors.get(j)).intValue()])// +" S:"+atoms[((Integer)hBondDonors.get(j)).intValue()].getSymbol()// +" Nr:"+((Integer)hBondDonors.get(j)).intValue()// +" i:"+i+" j:"+j+" path:"+path.size()); if (checkRingLink(rs,ac,ac.getAtom(((Integer)hBondAcceptors.get(i)).intValue())) && checkRingLink(rs,ac,ac.getAtom(((Integer)hBondDonors.get(j)).intValue()))){ if (path.size()==3 && pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]==0){ xlogP += 0.429; pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]=1; pairCheck[((Integer)hBondDonors.get(j)).intValue()][((Integer)hBondAcceptors.get(i)).intValue()]=1; //System.out.println("XLOGP: Internal HBonds 1-4 0.429"); } }else{ if (path.size()==4 && pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]==0){ xlogP += 0.429; pairCheck[((Integer)hBondAcceptors.get(i)).intValue()][((Integer)hBondDonors.get(j)).intValue()]=1; pairCheck[((Integer)hBondDonors.get(j)).intValue()][((Integer)hBondAcceptors.get(i)).intValue()]=1; //System.out.println("XLOGP: Internal HBonds 1-5 0.429"); } } } } } if (checkAminoAcid>1){// alpha amino acid QueryAtomContainer aminoAcid = QueryAtomContainerCreator.createBasicQueryContainer( createAminoAcid(ac.getBuilder()) ); IBond [] bonds=aminoAcid.getBonds(); IAtom bondAtom0=null; IAtom bondAtom1=null; for (int i=0;i<bonds.length;i++){ bondAtom0=bonds[i].getAtom(0); bondAtom1=bonds[i].getAtom(1); if ((bondAtom0.getSymbol().equals("C") && bondAtom1.getSymbol().equals("N")) || (bondAtom0.getSymbol().equals("N") && bondAtom1.getSymbol().equals("C"))&& bonds[i].getOrder()==1){ aminoAcid.removeBond(bondAtom0,bondAtom1); aminoAcid.addBond(new AnyOrderQueryBond((IQueryAtom)bondAtom0,(IQueryAtom)bondAtom1,1)); break; } } //AtomContainer aminoacid = sp.parseSmiles("NCC(=O)O"); if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, aminoAcid)) { List list = UniversalIsomorphismTester.getSubgraphAtomsMap((org.openscience.cdk.AtomContainer)ac, aminoAcid); RMap map = null; IAtom atom1=null; for (int j = 0; j < list.size(); j++){ map = (RMap) list.get(j); atom1 = ac.getAtom(map.getId1()); if (atom1.getSymbol().equals("O")&& ac.getMaximumBondOrder(atom1)==1){ if (ac.getConnectedBondsCount(atom1)==2 && getHydrogenCount(ac, atom1)==0){ }else{ xlogP -= 2.166; //System.out.println("XLOGP: alpha amino acid -2.166"); break; } } } } } IAtomContainer paba = createPaba(ac.getBuilder()); // p-amino sulphonic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, paba)) { xlogP -= 0.501; //System.out.println("XLOGP: p-amino sulphonic acid -0.501"); } // salicylic acid if (salicylFlag){ IAtomContainer salicilic = createSalicylicAcid(ac.getBuilder()); if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, salicilic)) { xlogP += 0.554; //System.out.println("XLOGP: salicylic acid 0.554"); } } // ortho oxygen pair //AtomContainer orthopair = sp.parseSmiles("OCCO"); QueryAtomContainer orthopair=new QueryAtomContainer(); AromaticAtom atom1=new AromaticAtom(); atom1.setSymbol("C"); AromaticAtom atom2=new AromaticAtom(); atom2.setSymbol("C"); SymbolQueryAtom atom3=new SymbolQueryAtom(); atom3.setSymbol("O"); SymbolQueryAtom atom4=new SymbolQueryAtom(); atom4.setSymbol("O"); orthopair.addBond(new AromaticQueryBond(atom1,atom2,1.5)); orthopair.addBond(new OrderQueryBond(atom1,atom3,1)); orthopair.addBond(new OrderQueryBond(atom2,atom4,1)); if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, orthopair)) { xlogP -= 0.268; //System.out.println("XLOGP: Ortho oxygen pair -0.268"); } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(xlogP), new String[] {"XLogP"}); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/76f1c3db1c889a4fd7bd9dd2e93ee1e9a39ec301/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/descriptors/molecular/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 45, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 7937, 310, 694, 3597, 273, 261, 7937, 310, 694, 13, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 7937, 310, 694, 3179, 10369, 694, 33, 2011, 31, 202, 202, 430, 261, 1893, 37, 27468, 560, 13, 288, 1082, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 97, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 759, 202, 202, 9552, 1449, 2678, 1694, 273, 394, 9425, 1449, 2678, 12, 1868, 20200, 921, 1263, 18, 588, 1442, 10663, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 3179, 1380, 273, 1721, 18, 588, 3641, 1380, 5621, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 619, 1330, 2419, 1236, 33, 20, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 31, 202, 202, 5018, 366, 9807, 5933, 1383, 33, 2704, 5589, 5621, 202, 202, 5018, 366, 9807, 22293, 1383, 33, 2704, 5589, 5621, 202, 202, 474, 866, 37, 19544, 9988, 350, 33, 21, 31, 759, 430, 374, 1158, 866, 16, 309, 405, 21, 866, 202, 202, 45, 3641, 3179, 77, 273, 446, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3179, 1380, 31, 277, 27245, 288, 1082, 202, 7466, 77, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 45, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 7937, 310, 694, 3597, 273, 261, 7937, 310, 694, 13, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 7937, 310, 694, 3179, 10369, 694, 33, 2011, 31, 202, 202, 430, 261, 1893, 37, 27468, 560, 13, 288, 1082, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 97, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 759, 202, 202, 9552, 1449, 2678, 1694, 273, 394, 9425, 1449, 2678, 12, 1868, 20200, 921, 1263, 18, 588, 1442, 10663, 202, 2 ]
this.log.error("Unable to delete CPropKey values: " + exc.getMessage(), exc);
log.error("Unable to delete CPropKey values: " + exc.getMessage(), exc);
public void deleteKey(int appdefType, int appdefTypeId, String key) throws CPropKeyNotFoundException { PreparedStatement stmt = null; CpropKeyDAO cpHome; CpropKey cpKey; Connection conn = null; int keyId; cpHome = getCPropKeyLocalHome(); try { cpKey = cpHome.findByKey(appdefType, appdefTypeId, key); } catch(HibernateException exc){ throw new CPropKeyNotFoundException("Key, '" + key + "', does not"+ " exist for " + AppdefEntityConstants.typeToString(appdefType) + " " + appdefTypeId); } CPropKeyPK pk = cpKey.getPrimaryKey(); keyId = pk.getId().intValue(); try { cpHome.remove(cpKey); } catch(HibernateException exc){ throw new SystemException(exc); } try { conn = cpHome.getSession().connection(); stmt = conn.prepareStatement("DELETE FROM " + CPROP_TABLE + " WHERE KEYID=?"); stmt.setInt(1, keyId); stmt.executeUpdate(); stmt.close(); } catch(SQLException exc){ this.log.error("Unable to delete CPropKey values: " + exc.getMessage(), exc); throw new SystemException(exc); } finally { cpHome.getSession().disconnect(); } }
52591 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52591/9f9304e62e1aa15905bfb8d8cb7dd77aa3ba4236/CPropManagerEJBImpl.java/clean/src/org/hyperic/hq/appdef/server/session/CPropManagerEJBImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 653, 12, 474, 595, 536, 559, 16, 509, 595, 536, 11731, 16, 514, 498, 13, 3639, 1216, 385, 4658, 653, 3990, 565, 288, 3639, 16913, 3480, 273, 446, 31, 3639, 385, 5986, 653, 18485, 3283, 8684, 31, 3639, 385, 5986, 653, 3283, 653, 31, 3639, 4050, 1487, 273, 446, 31, 3639, 509, 30914, 31, 3639, 3283, 8684, 273, 1927, 4658, 653, 2042, 8684, 5621, 3639, 775, 288, 5411, 3283, 653, 273, 3283, 8684, 18, 4720, 14560, 12, 2910, 536, 559, 16, 595, 536, 11731, 16, 498, 1769, 3639, 289, 1044, 12, 44, 24360, 503, 3533, 15329, 5411, 604, 394, 385, 4658, 653, 3990, 2932, 653, 16, 2119, 397, 498, 397, 14912, 1552, 486, 6, 15, 11794, 315, 1005, 364, 315, 397, 11794, 4677, 536, 1943, 2918, 18, 723, 5808, 12, 2910, 536, 559, 13, 397, 11794, 315, 315, 397, 595, 536, 11731, 1769, 3639, 289, 3639, 385, 4658, 653, 8784, 2365, 273, 3283, 653, 18, 588, 11575, 5621, 3639, 30914, 273, 2365, 18, 26321, 7675, 474, 620, 5621, 3639, 775, 288, 5411, 3283, 8684, 18, 4479, 12, 4057, 653, 1769, 3639, 289, 1044, 12, 44, 24360, 503, 3533, 15329, 5411, 604, 394, 26731, 12, 10075, 1769, 3639, 289, 3639, 775, 288, 5411, 1487, 273, 3283, 8684, 18, 588, 2157, 7675, 4071, 5621, 5411, 3480, 273, 1487, 18, 9366, 3406, 2932, 6460, 4571, 315, 397, 385, 15811, 67, 7775, 397, 29159, 315, 4852, 5311, 734, 25501, 1769, 5411, 3480, 18, 542, 1702, 12, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1430, 653, 12, 474, 595, 536, 559, 16, 509, 595, 536, 11731, 16, 514, 498, 13, 3639, 1216, 385, 4658, 653, 3990, 565, 288, 3639, 16913, 3480, 273, 446, 31, 3639, 385, 5986, 653, 18485, 3283, 8684, 31, 3639, 385, 5986, 653, 3283, 653, 31, 3639, 4050, 1487, 273, 446, 31, 3639, 509, 30914, 31, 3639, 3283, 8684, 273, 1927, 4658, 653, 2042, 8684, 5621, 3639, 775, 288, 5411, 3283, 653, 273, 3283, 8684, 18, 4720, 14560, 12, 2910, 536, 559, 16, 595, 536, 11731, 16, 498, 1769, 3639, 289, 1044, 12, 44, 24360, 503, 3533, 15329, 5411, 604, 394, 385, 4658, 653, 3990, 2932, 653, 16, 2119, 397, 498, 397, 14912, 1552, 486, 6, 15, 2 ]
if (theData.itsNeedsActivation) { ScriptRuntime.popActivation(cx); }
public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, Scriptable fnOrScript, InterpreterData theData) throws JavaScriptException { Object lhs; Object[] stack = new Object[theData.itsMaxStack]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; Object[] local = null; // used for newtemp/usetemp etc. if (theData.itsMaxLocals > 0) local = new Object[theData.itsMaxLocals]; Object[] vars = null; final Scriptable undefined = Undefined.instance; int i = theData.itsVariableTable.size(); if (i > 0) { vars = new Object[i]; for (i = 0; i < theData.itsVariableTable.getParameterCount(); i++) { if (i >= args.length) vars[i] = undefined; else vars[i] = args[i]; } for ( ; i < vars.length; i++) vars[i] = undefined; } if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs; int count; int slot; String name = null; Object[] outArgs; int lIntValue; long lLongValue; int rIntValue; int[] catchStack = null; int[] finallyStack = null; Scriptable[] scopeStack = null; int tryStackTop = 0; InterpreterFrame frame = null; if (cx.debugger != null) { frame = new InterpreterFrame(scope, theData, fnOrScript); cx.pushFrame(frame); } if (theData.itsMaxTryDepth > 0) { catchStack = new int[theData.itsMaxTryDepth]; finallyStack = new int[theData.itsMaxTryDepth]; scopeStack = new Scriptable[theData.itsMaxTryDepth]; } /* Save the security domain. Must restore upon normal exit. * If we exit the interpreter loop by throwing an exception, * set cx.interpreterSecurityDomain to null, and require the * catching function to restore it. */ Object savedSecurityDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; Object result = undefined; while (pc < iCodeLength) { try { switch ((int)(iCode[pc] & 0xff)) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : i = getTarget(iCode, pc + 1); if (i == pc) i = 0; catchStack[tryStackTop] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; finallyStack[tryStackTop] = i; scopeStack[tryStackTop++] = scope; pc += 4; break; case TokenStream.GE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LEB(rhs, lhs); break; case TokenStream.LE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LEB(lhs, rhs); break; case TokenStream.GT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LTB(rhs, lhs); break; case TokenStream.LT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LTB(lhs, rhs); break; case TokenStream.IN : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Boolean(ScriptRuntime.in(lhs, rhs, scope)); break; case TokenStream.INSTANCEOF : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Boolean( ScriptRuntime.instanceOf(scope, lhs, rhs)); break; case TokenStream.EQ : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.eqB(lhs, rhs); break; case TokenStream.NE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.neB(lhs, rhs); break; case TokenStream.SHEQ : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.seqB(lhs, rhs); break; case TokenStream.SHNE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.sneB(lhs, rhs); break; case TokenStream.IFNE : if (!ScriptRuntime.toBoolean(stack[stackTop--])) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : if (ScriptRuntime.toBoolean(stack[stackTop--])) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : stack[++stackTop] = new Integer(pc + 3); pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[++pc] & 0xFF); pc = ((Integer)local[slot]).intValue(); continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop--]; break; case TokenStream.RETURN : result = stack[stackTop--]; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(~rIntValue); break; case TokenStream.BITAND : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue & rIntValue); break; case TokenStream.BITOR : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue | rIntValue); break; case TokenStream.BITXOR : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue ^ rIntValue); break; case TokenStream.LSH : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue << rIntValue); break; case TokenStream.RSH : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue >> rIntValue); break; case TokenStream.URSH : rIntValue = (ScriptRuntime.toInt32(stack[stackTop--]) & 0x1F); lLongValue = ScriptRuntime.toUint32(stack[stackTop]); stack[stackTop] = new Double(lLongValue >>> rIntValue); break; case TokenStream.ADD : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.add(lhs, rhs); break; case TokenStream.SUB : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) - ScriptRuntime.toNumber(rhs)); break; case TokenStream.NEG : rhs = stack[stackTop]; stack[stackTop] = new Double(-ScriptRuntime.toNumber(rhs)); break; case TokenStream.POS : rhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(rhs)); break; case TokenStream.MUL : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) * ScriptRuntime.toNumber(rhs)); break; case TokenStream.DIV : rhs = stack[stackTop--]; lhs = stack[stackTop]; // Detect the divide by zero or let Java do it ? stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) / ScriptRuntime.toNumber(rhs)); break; case TokenStream.MOD : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) % ScriptRuntime.toNumber(rhs)); break; case TokenStream.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.GETBASE : stack[++stackTop] = ScriptRuntime.getBase(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop--]; lhs = stack[stackTop]; // what about class cast exception here ? stack[stackTop] = ScriptRuntime.setName((Scriptable)lhs, rhs, scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop--]; name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : id = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getElem(lhs, id, scope); break; case TokenStream.SETELEM : rhs = stack[stackTop--]; id = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setElem(lhs, id, rhs, scope); break; case TokenStream.PROPINC : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : lhs = stack[stackTop]; slot = (iCode[++pc] & 0xFF); local[slot] = lhs; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = local[slot]; break; case TokenStream.CALLSPECIAL : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); name = getString(theData.itsStringTable, iCode, pc + 3); count = (iCode[pc + 5] << 8) | (iCode[pc + 6] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, thisObj, scope, name, i); pc += 6; break; case TokenStream.CALL : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; rhs = stack[stackTop--]; lhs = stack[stackTop]; if (lhs == undefined) { lhs = getString(theData.itsStringTable, iCode, pc + 1); } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); if (theData.itsNeedsActivation) { ScriptRuntime.popActivation(cx); } pc += 4; break; case TokenStream.NEW : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; lhs = stack[stackTop]; if (lhs == undefined && (iCode[pc+1] << 8) + (iCode[pc+2] & 0xFF) != -1) { // special code for better error message for call // to undefined lhs = getString(theData.itsStringTable, iCode, pc + 1); } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = getString(theData.itsStringTable, iCode, pc + 1); stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = getString(theData.itsStringTable, iCode, pc + 1); pc += 2; break; case TokenStream.NUMBER : stack[++stackTop] = getNumber(theData.itsNumberTable, iCode, pc + 1); pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETVAR : lhs = stack[stackTop]; slot = (iCode[++pc] & 0xFF); vars[slot] = lhs; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; vars[slot] = ScriptRuntime.postIncrement(vars[slot]); break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; vars[slot] = ScriptRuntime.postDecrement(vars[slot]); break; case TokenStream.ZERO : stack[++stackTop] = zero; break; case TokenStream.ONE : stack[++stackTop] = one; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = thisObj; break; case TokenStream.THISFN : stack[++stackTop] = fnOrScript; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : cx.interpreterSecurityDomain = null; throw new JavaScriptException(stack[stackTop--]); case TokenStream.JTHROW : cx.interpreterSecurityDomain = null; lhs = stack[stackTop--]; if (lhs instanceof JavaScriptException) throw (JavaScriptException)lhs; else throw (RuntimeException)lhs; case TokenStream.ENTERWITH : lhs = stack[stackTop--]; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop--]; local[slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = ScriptRuntime.nextEnum((Enumeration)local[slot]); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case TokenStream.SOURCEFILE : cx.interpreterSourceFile = theData.itsSourceFile; break; case TokenStream.LINE : case TokenStream.BREAKPOINT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); cx.interpreterLine = i; if (frame != null) frame.setLineNumber(i); if ((iCode[pc] & 0xff) == TokenStream.BREAKPOINT || cx.inLineStepMode) { cx.getDebuggableEngine().getDebugger().handleBreakpointHit(cx); } pc += 2; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (EcmaError ee) { if (cx.debugger != null) cx.debugger.handleExceptionThrown(cx, ee.getErrorObject()); // an offical ECMA error object, // handle as if it were a JavaScriptException stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = finallyStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw ee; } } stack[0] = ee.getErrorObject(); } else { if (frame != null) cx.popFrame(); throw ee; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (JavaScriptException jsx) { if (cx.debugger != null) { cx.debugger.handleExceptionThrown(cx, ScriptRuntime.unwrapJavaScriptException(jsx)); } stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = finallyStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw jsx; } stack[0] = jsx; } else { stack[0] = ScriptRuntime.unwrapJavaScriptException(jsx); } } else { if (frame != null) cx.popFrame(); throw jsx; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (RuntimeException jx) { if (cx.debugger != null) cx.debugger.handleExceptionThrown(cx, jx); cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { stackTop = 0; stack[0] = jx; pc = finallyStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { if (frame != null) cx.popFrame(); throw jx; } } else { if (frame != null) cx.popFrame(); throw jx; } // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } } cx.interpreterSecurityDomain = savedSecurityDomain; if (frame != null) cx.popFrame(); return result; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/cacc773a48501f9bb0daa8128b79070a1f3cba6a/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 565, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 565, 22780, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1033, 8499, 31, 3639, 1033, 8526, 2110, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2747, 2624, 15533, 3639, 509, 2110, 3401, 273, 300, 21, 31, 3639, 1160, 8526, 277, 1085, 273, 326, 751, 18, 1282, 45, 1085, 31, 7734, 509, 6125, 273, 374, 31, 3639, 509, 277, 1085, 1782, 273, 326, 751, 18, 1282, 45, 1085, 3401, 31, 7734, 1033, 8526, 1191, 273, 446, 31, 3639, 368, 1399, 364, 394, 5814, 19, 407, 278, 30752, 5527, 18, 3639, 309, 261, 5787, 751, 18, 1282, 2747, 1333, 1031, 405, 374, 13, 5411, 1191, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2747, 1333, 1031, 15533, 18701, 1033, 8526, 4153, 273, 446, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 509, 277, 273, 326, 751, 18, 1282, 3092, 1388, 18, 1467, 5621, 3639, 309, 261, 77, 405, 374, 13, 288, 5411, 4153, 273, 394, 1033, 63, 77, 15533, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 326, 751, 18, 1282, 3092, 1388, 18, 588, 1662, 1380, 5621, 277, 27245, 288, 7734, 309, 261, 77, 1545, 833, 18, 2469, 13, 10792, 4153, 63, 77, 65, 273, 3109, 31, 7734, 469, 4766, 565, 4153, 63, 77, 65, 273, 833, 63, 77, 15533, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 565, 22780, 15261, 16, 1033, 8526, 833, 16, 4766, 565, 22780, 2295, 1162, 3651, 16, 4766, 282, 5294, 11599, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1033, 8499, 31, 3639, 1033, 8526, 2110, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2747, 2624, 15533, 3639, 509, 2110, 3401, 273, 300, 21, 31, 3639, 1160, 8526, 277, 1085, 273, 326, 751, 18, 1282, 45, 1085, 31, 7734, 509, 6125, 273, 374, 31, 3639, 509, 277, 1085, 1782, 273, 326, 751, 18, 1282, 45, 1085, 3401, 31, 7734, 1033, 8526, 1191, 273, 446, 31, 3639, 368, 1399, 364, 394, 5814, 19, 407, 278, 30752, 2 ]
else token = ""; } else token = parser.getUnalteredToken(true, pendingBrackets, commentBuffer, suppressComments); boolean bracketEnd = false; while (bufferRead && (!(token != null && token.length() >0) || pendingBrackets.getValue()>0)) { boolean wasPending = (pendingBrackets.getValue()>0); if (token == null || token.length() == 0) { bufferRead=readLine(parser.getBuffer()); parser.setPosition(0); token = StringUtil.lineEnding(); } else { parser.setPosition(0); /*}*/ if (!StringUtil.blank(parser.getBuffer())) token = parser.getUnalteredToken(true, pendingBrackets, commentBuffer, suppressComments); }/**/ bracketEnd = (wasPending && pendingBrackets.getValue()==0); } if (token==null) token = ""; return token;
}/**/ bracketEnd = (wasPending && pendingBrackets.getValue()==0); } if (token==null) token = ""; return token;
public String nextToken(StringBuffer commentBuffer){ pendingBrackets.setValue(0); //level of nesting of incompleteness of comment square brackets String token=null; suppressComments.setValue(false); if (!bufferRead) { bufferRead =readLine(parser.getBuffer()); parser.setPosition(0); if (bufferRead) token = parser.getUnalteredToken(true, pendingBrackets, commentBuffer, suppressComments); //was false else token = ""; } else token = parser.getUnalteredToken(true, pendingBrackets, commentBuffer, suppressComments); //was false boolean bracketEnd = false; //if [ found, and not closed, or if no tokens in remaining part of bufferstring, then need to continue reading lines while (bufferRead && (!(token != null && token.length() >0) || pendingBrackets.getValue()>0)) { boolean wasPending = (pendingBrackets.getValue()>0); if (token == null || token.length() == 0) {// no tokens in remaining part of bufferString bufferRead=readLine(parser.getBuffer()); parser.setPosition(0); token = StringUtil.lineEnding(); } else { parser.setPosition(0); /*}*/ if (!StringUtil.blank(parser.getBuffer())) token = parser.getUnalteredToken(true, pendingBrackets, commentBuffer, suppressComments); //was false }/**/ bracketEnd = (wasPending && pendingBrackets.getValue()==0); } if (token==null) token = ""; return token; }
57538 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57538/a6cca3dab0a6fd887ee6bde71a8709e5bfbd4434/MesquiteFile.java/buggy/releases/current/Mesquite Project/Source/mesquite/lib/MesquiteFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 9617, 12, 780, 1892, 2879, 1892, 15329, 9506, 202, 9561, 23029, 18, 542, 620, 12, 20, 1769, 225, 368, 2815, 434, 17174, 434, 316, 7806, 15681, 434, 2879, 8576, 15597, 1082, 202, 780, 1147, 33, 2011, 31, 1082, 202, 10840, 9051, 18, 542, 620, 12, 5743, 1769, 1082, 202, 430, 16051, 4106, 1994, 13, 288, 9506, 202, 4106, 1994, 273, 896, 1670, 12, 4288, 18, 588, 1892, 10663, 9506, 202, 4288, 18, 542, 2555, 12, 20, 1769, 9506, 202, 430, 261, 4106, 1994, 13, 4405, 202, 2316, 273, 2082, 18, 588, 984, 22628, 329, 1345, 12, 3767, 16, 4634, 23029, 16, 2879, 1892, 16, 12257, 9051, 1769, 368, 17416, 629, 9506, 202, 12107, 6862, 202, 2316, 273, 1408, 31, 1082, 202, 97, 1082, 202, 12107, 9506, 202, 2316, 273, 2082, 18, 588, 984, 22628, 329, 1345, 12, 3767, 16, 4634, 23029, 16, 2879, 1892, 16, 12257, 9051, 1769, 368, 17416, 629, 25083, 202, 6494, 9843, 1638, 273, 629, 31, 9506, 202, 759, 430, 306, 1392, 16, 471, 486, 4375, 16, 578, 309, 1158, 2430, 316, 4463, 1087, 434, 9664, 371, 16, 1508, 1608, 358, 1324, 6453, 2362, 1082, 202, 17523, 261, 4106, 1994, 597, 16051, 12, 2316, 480, 446, 597, 1147, 18, 2469, 1435, 405, 20, 13, 747, 4634, 23029, 18, 24805, 1435, 34, 20, 3719, 288, 9506, 202, 6494, 1703, 8579, 273, 261, 9561, 23029, 18, 24805, 1435, 34, 20, 1769, 9506, 202, 430, 261, 2316, 422, 446, 747, 1147, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 9617, 12, 780, 1892, 2879, 1892, 15329, 9506, 202, 9561, 23029, 18, 542, 620, 12, 20, 1769, 225, 368, 2815, 434, 17174, 434, 316, 7806, 15681, 434, 2879, 8576, 15597, 1082, 202, 780, 1147, 33, 2011, 31, 1082, 202, 10840, 9051, 18, 542, 620, 12, 5743, 1769, 1082, 202, 430, 16051, 4106, 1994, 13, 288, 9506, 202, 4106, 1994, 273, 896, 1670, 12, 4288, 18, 588, 1892, 10663, 9506, 202, 4288, 18, 542, 2555, 12, 20, 1769, 9506, 202, 430, 261, 4106, 1994, 13, 4405, 202, 2316, 273, 2082, 18, 588, 984, 22628, 329, 1345, 12, 3767, 16, 4634, 23029, 16, 2879, 1892, 16, 12257, 9051, 1769, 368, 17416, 629, 9506, 202, 12107, 6862, 202, 2 ]
public Error fail(String message, Object object) { throw new ApplicationError(message, object);
public Error fail() { throw new ApplicationError();
public Error fail(String message, Object object) { throw new ApplicationError(message, object); }
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/11c597b01961a2dbcbf251545658ca5c76c33a9d/Global.java/buggy/sources/scalac/Global.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1068, 2321, 12, 780, 883, 16, 1033, 733, 13, 288, 3639, 604, 394, 4257, 668, 12, 2150, 16, 733, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 1068, 2321, 12, 780, 883, 16, 1033, 733, 13, 288, 3639, 604, 394, 4257, 668, 12, 2150, 16, 733, 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 ]
String fname = style.getFontFamilyHandle( ).getStringValue( ); int fsize = getFontSizeIntValue( handle ); boolean fbold = getFontWeight( style.getFontWeight( ) ) >= 700; boolean fitalic = DesignChoiceConstants.FONT_STYLE_ITALIC.equals( style.getFontStyle( ) ); boolean funder = DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE.equals( style.getTextUnderline( ) ); boolean fstrike = DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH.equals( style.getTextLineThrough( ) );
ss = new SimpleStyle( );
public IStyle getStyle( StyledComponent name ) { StyleHandle style = handle.getPrivateStyle( ); SimpleStyle ss = new SimpleStyle( ); String fname = style.getFontFamilyHandle( ).getStringValue( ); int fsize = getFontSizeIntValue( handle ); boolean fbold = getFontWeight( style.getFontWeight( ) ) >= 700; boolean fitalic = DesignChoiceConstants.FONT_STYLE_ITALIC.equals( style.getFontStyle( ) ); boolean funder = DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE.equals( style.getTextUnderline( ) ); boolean fstrike = DesignChoiceConstants.TEXT_LINE_THROUGH_LINE_THROUGH.equals( style.getTextLineThrough( ) ); HorizontalAlignment ha = HorizontalAlignment.LEFT_LITERAL; if ( DesignChoiceConstants.TEXT_ALIGN_CENTER.equals( style.getTextAlign( ) ) ) { ha = HorizontalAlignment.CENTER_LITERAL; } else if ( DesignChoiceConstants.TEXT_ALIGN_RIGHT.equals( style.getTextAlign( ) ) ) { ha = HorizontalAlignment.RIGHT_LITERAL; } VerticalAlignment va = VerticalAlignment.TOP_LITERAL; if ( DesignChoiceConstants.VERTICAL_ALIGN_MIDDLE.equals( style.getVerticalAlign( ) ) ) { va = VerticalAlignment.CENTER_LITERAL; } else if ( DesignChoiceConstants.VERTICAL_ALIGN_BOTTOM.equals( style.getVerticalAlign( ) ) ) { va = VerticalAlignment.BOTTOM_LITERAL; } TextAlignment ta = TextAlignmentImpl.create( ); ta.setHorizontalAlignment( ha ); ta.setVerticalAlignment( va ); FontDefinition fd = FontDefinitionImpl.create( fname, (float) fsize, fbold, fitalic, funder, fstrike, true, 0, ta ); ss.setFont( fd ); ColorHandle ch = style.getColor( ); if ( ch != null && ch.getRGB( ) != -1 ) { int rgb = ch.getRGB( ); ColorDefinition cd = ColorDefinitionImpl.create( ( rgb >> 16 ) & 0xff, ( rgb >> 8 ) & 0xff, rgb & 0xff ); ss.setColor( cd ); } else { ss.setColor( ColorDefinitionImpl.BLACK( ) ); } ch = style.getBackgroundColor( ); if ( ch != null && ch.getRGB( ) != -1 ) { int rgb = ch.getRGB( ); ColorDefinition cd = ColorDefinitionImpl.create( ( rgb >> 16 ) & 0xff, ( rgb >> 8 ) & 0xff, rgb & 0xff ); ss.setBackgroundColor( cd ); } if ( style.getBackgroundImage( ) != null && style.getBackgroundImage( ).length( ) > 0 ) { ss.setBackgroundImage( ImageImpl.create( style.getBackgroundImage( ) ) ); } double pt = convertToPixel( style.getPaddingTop( ) ); double pb = convertToPixel( style.getPaddingBottom( ) ); double pl = convertToPixel( style.getPaddingLeft( ) ); double pr = convertToPixel( style.getPaddingRight( ) ); ss.setPadding( InsetsImpl.create( pt, pl, pb, pr ) ); return ss; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1a68696eeaf3d97a3d75bdf3bc939335158a8be5/ChartReportStyleProcessor.java/buggy/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportStyleProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2885, 14210, 12, 934, 93, 1259, 1841, 508, 262, 202, 95, 202, 202, 2885, 3259, 2154, 273, 1640, 18, 588, 6014, 2885, 12, 11272, 202, 202, 5784, 2885, 5202, 273, 394, 4477, 2885, 12, 11272, 202, 202, 780, 5299, 273, 2154, 18, 588, 5711, 9203, 3259, 12, 262, 18, 588, 19733, 12, 11272, 202, 202, 474, 284, 1467, 273, 18776, 1225, 1702, 620, 12, 1640, 11272, 202, 202, 6494, 12754, 1673, 273, 18776, 6544, 12, 2154, 18, 588, 5711, 6544, 12, 262, 262, 1545, 2371, 713, 31, 202, 202, 6494, 4845, 21466, 273, 29703, 10538, 2918, 18, 25221, 67, 15066, 67, 1285, 1013, 2871, 18, 14963, 12, 2154, 18, 588, 5711, 2885, 12, 262, 11272, 202, 202, 6494, 284, 9341, 273, 29703, 10538, 2918, 18, 5151, 67, 31625, 5997, 67, 31625, 5997, 18, 14963, 12, 2154, 18, 588, 1528, 14655, 1369, 12, 262, 11272, 202, 202, 6494, 284, 701, 2547, 273, 29703, 10538, 2918, 18, 5151, 67, 5997, 67, 2455, 1457, 57, 16715, 67, 5997, 67, 2455, 1457, 57, 16715, 18, 14963, 12, 2154, 18, 588, 1528, 1670, 14287, 12, 262, 11272, 202, 202, 14457, 11535, 10677, 273, 21190, 11535, 18, 10066, 67, 23225, 31, 202, 202, 430, 261, 29703, 10538, 2918, 18, 5151, 67, 26439, 67, 19835, 18, 14963, 12, 2154, 18, 588, 1528, 10044, 12, 262, 262, 262, 202, 202, 95, 1082, 202, 3395, 273, 21190, 11535, 18, 19835, 67, 23225, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 29703, 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, 467, 2885, 14210, 12, 934, 93, 1259, 1841, 508, 262, 202, 95, 202, 202, 2885, 3259, 2154, 273, 1640, 18, 588, 6014, 2885, 12, 11272, 202, 202, 5784, 2885, 5202, 273, 394, 4477, 2885, 12, 11272, 202, 202, 780, 5299, 273, 2154, 18, 588, 5711, 9203, 3259, 12, 262, 18, 588, 19733, 12, 11272, 202, 202, 474, 284, 1467, 273, 18776, 1225, 1702, 620, 12, 1640, 11272, 202, 202, 6494, 12754, 1673, 273, 18776, 6544, 12, 2154, 18, 588, 5711, 6544, 12, 262, 262, 1545, 2371, 713, 31, 202, 202, 6494, 4845, 21466, 273, 29703, 10538, 2918, 18, 25221, 67, 15066, 67, 1285, 1013, 2871, 18, 14963, 12, 2154, 18, 588, 5711, 2885, 12, 262, 11272, 2 ]
for ( int i = left.getFieldCount( ) + 1; i <= index.length; i++ )
for ( int i = left.getFieldCount( ) + 1; i <= left.getFieldCount( )+right.getFieldCount( ); i++ )
private JointResultMetadata populatorJointResultMetadata( IResultClass left, String leftPrefix, IResultClass right, String rightPrefix ) throws DataException { int[] index = new int[left.getFieldCount( ) + right.getFieldCount( )]; boolean[] isFromLeft = new boolean[left.getFieldCount( ) + right.getFieldCount( )]; List projectedColumns = new ArrayList( ); for ( int i = 1; i <= left.getFieldCount( ); i++ ) { index[i - 1] = i; isFromLeft[i - 1] = true; projectedColumns.add( new ResultFieldMetadata( i, leftPrefix + left.getFieldName( i ), leftPrefix + left.getFieldName( i ), left.getFieldValueClass( i ), left.getFieldNativeTypeName( i ), false ) ); } for ( int i = left.getFieldCount( ) + 1; i <= index.length; i++ ) { index[i - 1] = i - left.getFieldCount( ); isFromLeft[i - 1] = false; projectedColumns.add( new ResultFieldMetadata( i, rightPrefix + right.getFieldName( i - left.getFieldCount( ) ), rightPrefix + right.getFieldName( i - left.getFieldCount( ) ), right.getFieldValueClass( i - left.getFieldCount( ) ), right.getFieldNativeTypeName( i - left.getFieldCount( ) ), false ) ); } ResultClass resultClass = new ResultClass( projectedColumns ); return new JointResultMetadata( resultClass, isFromLeft, index ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/9024e62095e53e01412084c84f1591937e933046/PreparedJointDataSourceQuery.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedJointDataSourceQuery.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 804, 763, 1253, 2277, 3650, 639, 21574, 1253, 2277, 12, 1082, 202, 45, 1253, 797, 2002, 16, 514, 2002, 2244, 16, 467, 1253, 797, 2145, 16, 1082, 202, 780, 2145, 2244, 262, 1216, 1910, 503, 202, 95, 202, 202, 474, 8526, 770, 273, 394, 509, 63, 4482, 18, 588, 974, 1380, 12, 262, 397, 2145, 18, 588, 974, 1380, 12, 262, 15533, 202, 202, 6494, 8526, 353, 1265, 3910, 273, 394, 1250, 63, 4482, 18, 588, 974, 1380, 12, 262, 9506, 202, 15, 2145, 18, 588, 974, 1380, 12, 262, 15533, 202, 202, 682, 20939, 3380, 273, 394, 2407, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 404, 31, 277, 1648, 2002, 18, 588, 974, 1380, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 1615, 63, 77, 300, 404, 65, 273, 277, 31, 1082, 202, 291, 1265, 3910, 63, 77, 300, 404, 65, 273, 638, 31, 1082, 202, 685, 6059, 3380, 18, 1289, 12, 394, 3438, 974, 2277, 12, 277, 16, 6862, 202, 4482, 2244, 397, 2002, 18, 588, 7287, 12, 277, 262, 16, 6862, 202, 4482, 2244, 397, 2002, 18, 588, 7287, 12, 277, 262, 16, 6862, 202, 4482, 18, 588, 13559, 797, 12, 277, 262, 16, 6862, 202, 4482, 18, 588, 974, 9220, 7947, 12, 277, 262, 16, 6862, 202, 5743, 262, 11272, 202, 202, 97, 202, 202, 1884, 261, 509, 277, 273, 2002, 18, 588, 974, 1380, 12, 262, 397, 404, 31, 277, 1648, 770, 18, 2469, 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, 804, 763, 1253, 2277, 3650, 639, 21574, 1253, 2277, 12, 1082, 202, 45, 1253, 797, 2002, 16, 514, 2002, 2244, 16, 467, 1253, 797, 2145, 16, 1082, 202, 780, 2145, 2244, 262, 1216, 1910, 503, 202, 95, 202, 202, 474, 8526, 770, 273, 394, 509, 63, 4482, 18, 588, 974, 1380, 12, 262, 397, 2145, 18, 588, 974, 1380, 12, 262, 15533, 202, 202, 6494, 8526, 353, 1265, 3910, 273, 394, 1250, 63, 4482, 18, 588, 974, 1380, 12, 262, 9506, 202, 15, 2145, 18, 588, 974, 1380, 12, 262, 15533, 202, 202, 682, 20939, 3380, 273, 394, 2407, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 404, 31, 277, 1648, 2002, 18, 588, 974, 2 ]
throw new InternalError(x.getMessage());
throw new InternalError(x.getMessage());
final void setCharField(Object obj, char val) { try { field.setChar(obj, val); } catch(IllegalAccessException x) { throw new InternalError(x.getMessage()); } }
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/126d7770c7bb5b9c74598afb0864a336d457fd92/ObjectStreamField.java/buggy/libjava/java/io/ObjectStreamField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 918, 444, 2156, 974, 12, 921, 1081, 16, 1149, 1244, 13, 225, 288, 1377, 775, 1377, 288, 202, 225, 652, 18, 542, 2156, 12, 2603, 16, 1244, 1769, 1377, 289, 1377, 1044, 12, 12195, 9773, 619, 13, 1377, 288, 202, 225, 604, 394, 3186, 668, 12, 92, 18, 24906, 10663, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 918, 444, 2156, 974, 12, 921, 1081, 16, 1149, 1244, 13, 225, 288, 1377, 775, 1377, 288, 202, 225, 652, 18, 542, 2156, 12, 2603, 16, 1244, 1769, 1377, 289, 1377, 1044, 12, 12195, 9773, 619, 13, 1377, 288, 202, 225, 604, 394, 3186, 668, 12, 92, 18, 24906, 10663, 1377, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
util.rename(getActiveFileName(), fileNamePattern.convertInt(minIndex));
util.rename(getNewActiveFileName(), fileNamePattern.convertInt(minIndex));
public void rollover() throws RolloverFailure { // Inside this method it is guaranteed that the hereto active log file is // closed. // If maxIndex <= 0, then there is no file renaming to be done. if (maxIndex >= 0) { // Delete the oldest file, to keep Windows happy. File file = new File(fileNamePattern.convertInt(maxIndex)); if (file.exists()) { file.delete(); } // Map {(maxIndex - 1), ..., minIndex} to {maxIndex, ..., minIndex+1} for (int i = maxIndex - 1; i >= minIndex; i--) { String toRenameStr = fileNamePattern.convertInt(i); File toRename = new File(toRenameStr); // no point in trying to rename an inexistent file if (toRename.exists()) { util.rename(toRenameStr, fileNamePattern.convertInt(i + 1)); } else { addInfo("Skipping roll=over for inexistent file " + toRenameStr); } } // move active file name to min switch (compressionMode) { case Compress.NONE: util.rename(getActiveFileName(), fileNamePattern.convertInt(minIndex)); break; case Compress.GZ: compress.GZCompress(getActiveFileName(), fileNamePattern.convertInt(minIndex)); break; case Compress.ZIP: compress.ZIPCompress(getActiveFileName(), fileNamePattern.convertInt(minIndex)); break; } } }
46578 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46578/622bfacdcef9be0e8fc4869655a7b58da0f2b96b/FixedWindowRollingPolicy.java/buggy/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10643, 21896, 1435, 1216, 11714, 21896, 5247, 288, 565, 368, 657, 5564, 333, 707, 518, 353, 15403, 716, 326, 22336, 11453, 2695, 613, 585, 353, 565, 368, 4375, 18, 565, 368, 971, 30764, 1648, 374, 16, 1508, 1915, 353, 1158, 585, 30883, 358, 506, 2731, 18, 565, 309, 261, 1896, 1016, 1545, 374, 13, 288, 1377, 368, 2504, 326, 17067, 585, 16, 358, 3455, 8202, 5622, 2074, 18, 1377, 1387, 585, 273, 394, 1387, 12, 17812, 3234, 18, 6283, 1702, 12, 1896, 1016, 10019, 1377, 309, 261, 768, 18, 1808, 10756, 288, 3639, 585, 18, 3733, 5621, 1377, 289, 1377, 368, 1635, 288, 12, 1896, 1016, 300, 404, 3631, 1372, 16, 1131, 1016, 97, 358, 288, 1896, 1016, 16, 1372, 16, 1131, 1016, 15, 21, 97, 1377, 364, 261, 474, 277, 273, 30764, 300, 404, 31, 277, 1545, 1131, 1016, 31, 277, 413, 13, 288, 3639, 514, 358, 16019, 1585, 273, 3968, 3234, 18, 6283, 1702, 12, 77, 1769, 3639, 1387, 358, 16019, 273, 394, 1387, 12, 869, 16019, 1585, 1769, 3639, 368, 1158, 1634, 316, 8374, 358, 6472, 392, 316, 19041, 585, 3639, 309, 261, 869, 16019, 18, 1808, 10756, 288, 1850, 1709, 18, 18539, 12, 869, 16019, 1585, 16, 3968, 3234, 18, 6283, 1702, 12, 77, 397, 404, 10019, 3639, 289, 469, 288, 1850, 527, 966, 2932, 16877, 5824, 33, 1643, 364, 316, 19041, 585, 315, 397, 358, 16019, 1585, 1769, 3639, 289, 1377, 289, 1377, 368, 3635, 2695, 585, 508, 358, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 10643, 21896, 1435, 1216, 11714, 21896, 5247, 288, 565, 368, 657, 5564, 333, 707, 518, 353, 15403, 716, 326, 22336, 11453, 2695, 613, 585, 353, 565, 368, 4375, 18, 565, 368, 971, 30764, 1648, 374, 16, 1508, 1915, 353, 1158, 585, 30883, 358, 506, 2731, 18, 565, 309, 261, 1896, 1016, 1545, 374, 13, 288, 1377, 368, 2504, 326, 17067, 585, 16, 358, 3455, 8202, 5622, 2074, 18, 1377, 1387, 585, 273, 394, 1387, 12, 17812, 3234, 18, 6283, 1702, 12, 1896, 1016, 10019, 1377, 309, 261, 768, 18, 1808, 10756, 288, 3639, 585, 18, 3733, 5621, 1377, 289, 1377, 368, 1635, 288, 12, 1896, 1016, 300, 404, 3631, 1372, 16, 1131, 1016, 97, 358, 288, 2 ]
public int getParameterCount() {
public int getParameterCount(){
public int getParameterCount() { return varStart; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/13c17e9f4326e4e47b5e45bd238e7e6dc3c09063/VariableTable.java/clean/js/rhino/org/mozilla/javascript/VariableTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 5575, 1380, 1435, 565, 288, 3639, 327, 569, 1685, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 5575, 1380, 1435, 565, 288, 3639, 327, 569, 1685, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (codeAlready.exists()) {
if (codeAlready.exists() && (!newName.equals(name))) {
public boolean saveAs() throws IOException { // get new name for folder FileDialog fd = new FileDialog(editor, "Save sketch folder as...", FileDialog.SAVE); if (isReadOnly()) { // default to the sketchbook folder fd.setDirectory(Preferences.get("sketchbook.path")); } else { // default to the parent folder of where this was fd.setDirectory(folder.getParent()); } fd.setFile(folder.getName()); fd.show(); String newParentDir = fd.getDirectory(); String newName = fd.getFile(); // user cancelled selection if (newName == null) return false; newName = Sketchbook.sanitizeName(newName); // make sure there doesn't exist a tab with that name already File codeAlready = new File(folder, newName + ".pde"); if (codeAlready.exists()) { Base.showMessage("Nope", "You can't save the sketch as \"" + newName + "\"\n" + "because the sketch already has a tab with that name."); return false; } // make sure there doesn't exist a tab with that name already File hiddenAlready = new File(folder, newName + ".pde.x"); if (hiddenAlready.exists()) { Base.showMessage("Nope", "You can't save the sketch as \"" + newName + "\"\n" + "because the sketch already has a " + "hidden tab with that name."); return false; } // new sketch folder File newFolder = new File(newParentDir, newName); // make sure the paths aren't the same if (newFolder.equals(folder)) { Base.showWarning("You can't fool me", "The new sketch name and location are the same as\n" + "the old. I ain't not doin nuthin' not now.", null); return false; } // check to see if the user is trying to save this sketch // inside the same sketch try { String newPath = newFolder.getCanonicalPath() + File.separator; String oldPath = folder.getCanonicalPath() + File.separator; if (newPath.indexOf(oldPath) == 0) { Base.showWarning("How very Borges of you", "You cannot save the sketch into a folder\n" + "inside itself. This would go on forever.", null); return false; } } catch (IOException e) { } // if the new folder already exists, then need to remove // its contents before copying everything over // (user will have already been warned) if (newFolder.exists()) { Base.removeDir(newFolder); } // in fact, you can't do this on windows because the file dialog // will instead put you inside the folder, but it happens on osx a lot. // now make a fresh copy of the folder newFolder.mkdirs(); // grab the contents of the current tab before saving // first get the contents of the editor text area if (current.modified) { current.program = editor.getText(); } // save the other tabs to their new location for (int i = 1; i < codeCount; i++) { File newFile = new File(newFolder, code[i].file.getName()); code[i].saveAs(newFile); } // save the hidden code to its new location for (int i = 0; i < hiddenCount; i++) { File newFile = new File(newFolder, hidden[i].file.getName()); hidden[i].saveAs(newFile); } // re-copy the data folder (this may take a while.. add progress bar?) if (dataFolder.exists()) { File newDataFolder = new File(newFolder, "data"); Base.copyDir(dataFolder, newDataFolder); } // re-copy the code folder if (codeFolder.exists()) { File newCodeFolder = new File(newFolder, "code"); Base.copyDir(codeFolder, newCodeFolder); } // save the main tab with its new name File newFile = new File(newFolder, newName + ".pde"); code[0].saveAs(newFile); editor.handleOpenUnchecked(newFile.getPath()); /* // copy the entire contents of the sketch folder Base.copyDir(folder, newFolder); // change the references to the dir location in SketchCode files for (int i = 0; i < codeCount; i++) { code[i].file = new File(newFolder, code[i].file.getName()); } for (int i = 0; i < hiddenCount; i++) { hidden[i].file = new File(newFolder, hidden[i].file.getName()); } // remove the old sketch file from the new dir code[0].file.delete(); // name for the new main .pde file code[0].file = new File(newFolder, newName + ".pde"); code[0].name = newName; // write the contents to the renamed file // (this may be resaved if the code is modified) code[0].modified = true; //code[0].save(); //System.out.println("modified is " + modified); // change the other paths String oldName = name; name = newName; File oldFolder = folder; folder = newFolder; dataFolder = new File(folder, "data"); codeFolder = new File(folder, "code"); // remove the 'applet', 'application', 'library' folders // from the copied version. // otherwise their .class and .jar files can cause conflicts. Base.removeDir(new File(folder, "applet")); Base.removeDir(new File(folder, "application")); //Base.removeDir(new File(folder, "library")); // do a "save" // this will take care of the unsaved changes in each of the tabs save(); // get the changes into the sketchbook menu //sketchbook.rebuildMenu(); // done inside Editor instead // update the tabs for the name change editor.header.repaint(); */ // let Editor know that the save was successful return true; }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/e80a418951da4d4be322b356e380054ecd8cebe5/Sketch.java/clean/app/Sketch.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1923, 1463, 1435, 1216, 1860, 288, 565, 368, 336, 394, 508, 364, 3009, 565, 1387, 6353, 5194, 273, 394, 1387, 6353, 12, 9177, 16, 4766, 282, 315, 4755, 18534, 3009, 487, 7070, 16, 4766, 282, 1387, 6353, 18, 25242, 1769, 565, 309, 261, 291, 12066, 10756, 288, 1377, 368, 805, 358, 326, 18534, 3618, 3009, 1377, 5194, 18, 542, 2853, 12, 12377, 18, 588, 2932, 7771, 1593, 3618, 18, 803, 7923, 1769, 565, 289, 469, 288, 1377, 368, 805, 358, 326, 982, 3009, 434, 1625, 333, 1703, 1377, 5194, 18, 542, 2853, 12, 5609, 18, 588, 3054, 10663, 565, 289, 565, 5194, 18, 542, 812, 12, 5609, 18, 17994, 10663, 565, 5194, 18, 4500, 5621, 565, 514, 24818, 1621, 273, 5194, 18, 588, 2853, 5621, 565, 514, 13253, 273, 5194, 18, 29925, 5621, 565, 368, 729, 13927, 4421, 565, 309, 261, 2704, 461, 422, 446, 13, 327, 629, 31, 565, 13253, 273, 10362, 1593, 3618, 18, 20266, 461, 12, 2704, 461, 1769, 565, 368, 1221, 3071, 1915, 3302, 1404, 1005, 279, 3246, 598, 716, 508, 1818, 565, 1387, 981, 9430, 273, 394, 1387, 12, 5609, 16, 13253, 397, 3552, 84, 323, 8863, 565, 309, 261, 710, 9430, 18, 1808, 1435, 597, 16051, 2704, 461, 18, 14963, 12, 529, 20349, 288, 1377, 3360, 18, 4500, 1079, 2932, 50, 1306, 3113, 15604, 315, 6225, 848, 1404, 1923, 326, 18534, 487, 11843, 397, 13253, 397, 7023, 64, 82, 6, 397, 15604, 315, 26274, 326, 18534, 1818, 711, 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, 1250, 1923, 1463, 1435, 1216, 1860, 288, 565, 368, 336, 394, 508, 364, 3009, 565, 1387, 6353, 5194, 273, 394, 1387, 6353, 12, 9177, 16, 4766, 282, 315, 4755, 18534, 3009, 487, 7070, 16, 4766, 282, 1387, 6353, 18, 25242, 1769, 565, 309, 261, 291, 12066, 10756, 288, 1377, 368, 805, 358, 326, 18534, 3618, 3009, 1377, 5194, 18, 542, 2853, 12, 12377, 18, 588, 2932, 7771, 1593, 3618, 18, 803, 7923, 1769, 565, 289, 469, 288, 1377, 368, 805, 358, 326, 982, 3009, 434, 1625, 333, 1703, 1377, 5194, 18, 542, 2853, 12, 5609, 18, 588, 3054, 10663, 565, 289, 565, 5194, 18, 542, 812, 12, 5609, 18, 17994, 10663, 565, 5194, 18, 4500, 5621, 565, 2 ]
" 9 invokestatic X.boom()Z [27]\n" +
" 9 invokestatic X.boom() : boolean [27]\n" +
public void test068() { String source = "public class X {\n" + " static boolean boom() { \n" + " throw new NullPointerException();\n" + " }\n" + " public static void main(String[] args) {\n" + " bar5();\n" + " }\n" + " static void bar5() {\n" + " int i = 6;\n" + " if (((i == 6) || (boom() || true)) && true) {\n" + " System.out.println(i);\n" + " }\n" + " }\n" + "}"; String expectedOutput = " // Method descriptor #6 ()V\n" + " // Stack: 2, Locals: 1\n" + " static void bar5();\n" + " 0 bipush 6\n" + " 2 istore_0 [i]\n" + " 3 iload_0 [i]\n" + " 4 bipush 6\n" + " 6 if_icmpeq 15\n" + " 9 invokestatic X.boom()Z [27]\n" + " 12 ifne 15\n" + " 15 getstatic java/lang/System.out Ljava/io/PrintStream; [33]\n" + " 18 iload_0 [i]\n" + " 19 invokevirtual java/io/PrintStream.println(I)V [39]\n" + " 22 return\n" + " Line numbers:\n" + " [pc: 0, line: 9]\n" + " [pc: 3, line: 10]\n" + " [pc: 15, line: 11]\n" + " [pc: 22, line: 13]\n" + " Local variable table:\n" + " [pc: 3, pc: 23] local: i index: 0 type: I\n"; checkClassFile("X", source, expectedOutput); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/e9ca95978aca2a442bfecfb8ac281f372092486a/ClassFileReaderTest.java/buggy/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7677, 28, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 1139, 18890, 82, 6, 397, 1875, 202, 6, 202, 3845, 1250, 800, 362, 1435, 288, 521, 82, 6, 397, 1875, 202, 6, 202, 202, 12849, 394, 10108, 5621, 64, 82, 6, 397, 1875, 202, 6, 202, 6280, 82, 6, 397, 1875, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1875, 202, 6, 202, 202, 3215, 25, 5621, 64, 82, 6, 397, 1875, 202, 6, 202, 6280, 82, 6, 397, 1875, 202, 6, 202, 3845, 918, 4653, 25, 1435, 18890, 82, 6, 397, 1875, 202, 6, 202, 202, 474, 277, 273, 1666, 9747, 82, 6, 397, 1875, 202, 6, 202, 202, 430, 261, 12443, 77, 422, 1666, 13, 747, 261, 1075, 362, 1435, 747, 638, 3719, 597, 638, 13, 18890, 82, 6, 397, 1875, 202, 6, 1082, 202, 3163, 18, 659, 18, 8222, 12, 77, 20472, 82, 6, 397, 1875, 202, 6, 202, 202, 6280, 82, 6, 397, 1875, 202, 6, 202, 6280, 82, 6, 397, 1875, 202, 6, 1532, 31, 202, 202, 780, 2665, 1447, 273, 1082, 202, 6, 225, 368, 2985, 4950, 468, 26, 1832, 58, 64, 82, 6, 397, 1875, 202, 6, 225, 368, 7283, 30, 576, 16, 2851, 1031, 30, 404, 64, 82, 6, 397, 1875, 202, 6, 225, 760, 918, 4653, 25, 5621, 64, 82, 6, 397, 1875, 202, 6, 377, 374, 225, 324, 625, 1218, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7677, 28, 1435, 288, 202, 202, 780, 1084, 273, 1082, 202, 6, 482, 667, 1139, 18890, 82, 6, 397, 1875, 202, 6, 202, 3845, 1250, 800, 362, 1435, 288, 521, 82, 6, 397, 1875, 202, 6, 202, 202, 12849, 394, 10108, 5621, 64, 82, 6, 397, 1875, 202, 6, 202, 6280, 82, 6, 397, 1875, 202, 6, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 18890, 82, 6, 397, 1875, 202, 6, 202, 202, 3215, 25, 5621, 64, 82, 6, 397, 1875, 202, 6, 202, 6280, 82, 6, 397, 1875, 202, 6, 202, 3845, 918, 4653, 25, 1435, 18890, 82, 6, 397, 1875, 202, 6, 202, 202, 474, 277, 273, 1666, 9747, 2 ]
protected void createContainer(IPath pathname) { if (directoryEntryCache.containsKey(pathname)) return;
protected TarEntry createContainer(IPath pathname) { TarEntry existingEntry = (TarEntry) directoryEntryCache.get(pathname); if (existingEntry != null) return existingEntry;
protected void createContainer(IPath pathname) { if (directoryEntryCache.containsKey(pathname)) return; TarEntry parent; if (pathname.segmentCount() == 1) parent = root; else parent = (TarEntry) directoryEntryCache.get(pathname .removeLastSegments(1)); TarEntry newEntry = new TarEntry(pathname.toString()); newEntry.setFileType(TarEntry.DIRECTORY); directoryEntryCache.put(pathname, newEntry); addToChildren(parent, newEntry); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/d52418631d94ee24f62addf556f4b938dcde24ff/TarLeveledStructureProvider.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/TarLeveledStructureProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 2170, 12, 45, 743, 9806, 13, 288, 202, 202, 430, 261, 5149, 1622, 1649, 18, 12298, 653, 12, 28336, 3719, 1082, 202, 2463, 31, 202, 202, 20464, 1622, 982, 31, 202, 202, 430, 261, 28336, 18, 9273, 1380, 1435, 422, 404, 13, 1082, 202, 2938, 273, 1365, 31, 202, 202, 12107, 1082, 202, 2938, 273, 261, 20464, 1622, 13, 1867, 1622, 1649, 18, 588, 12, 28336, 6862, 202, 18, 4479, 3024, 7946, 12, 21, 10019, 202, 202, 20464, 1622, 24086, 273, 394, 20334, 1622, 12, 28336, 18, 10492, 10663, 202, 202, 2704, 1622, 18, 542, 28941, 12, 20464, 1622, 18, 17229, 1769, 202, 202, 5149, 1622, 1649, 18, 458, 12, 28336, 16, 24086, 1769, 202, 202, 1289, 774, 4212, 12, 2938, 16, 24086, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 2170, 12, 45, 743, 9806, 13, 288, 202, 202, 430, 261, 5149, 1622, 1649, 18, 12298, 653, 12, 28336, 3719, 1082, 202, 2463, 31, 202, 202, 20464, 1622, 982, 31, 202, 202, 430, 261, 28336, 18, 9273, 1380, 1435, 422, 404, 13, 1082, 202, 2938, 273, 1365, 31, 202, 202, 12107, 1082, 202, 2938, 273, 261, 20464, 1622, 13, 1867, 1622, 1649, 18, 588, 12, 28336, 6862, 202, 18, 4479, 3024, 7946, 12, 21, 10019, 202, 202, 20464, 1622, 24086, 273, 394, 20334, 1622, 12, 28336, 18, 10492, 10663, 202, 202, 2704, 1622, 18, 542, 28941, 12, 20464, 1622, 18, 17229, 1769, 202, 202, 5149, 1622, 1649, 18, 458, 12, 28336, 16, 24086, 1769, 2 ]
boolean isOk = DataAccessDriver.getInstance().newUserModel() .validateLostPasswordHash(email, hash);
boolean isOk = DataAccessDriver.getInstance().newUserModel().validateLostPasswordHash(email, hash);
public void recoverPasswordValidate() throws Exception { String hash = JForum.getRequest().getParameter("recoverHash"); String email = JForum.getRequest().getParameter("email"); String message = ""; boolean isOk = DataAccessDriver.getInstance().newUserModel() .validateLostPasswordHash(email, hash); if (isOk) { String password = JForum.getRequest().getParameter("newPassword"); DataAccessDriver.getInstance().newUserModel().saveNewPassword( MD5.crypt(password), email); message = I18n.getMessage("PasswordRecovery.ok", new String[] { JForum.getRequest().getContextPath() + "/user/login" + SystemGlobals .getValue(ConfigKeys.SERVLET_EXTENSION) }); } else { message = I18n.getMessage("PasswordRecovery.invalidData"); } JForum.getContext().put("moduleAction", "message.htm"); JForum.getContext().put("message", message); }
52144 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52144/12ab778e1c856f70084f819e1ce97f90b5d97226/UserAction.java/buggy/src/net/jforum/view/forum/UserAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 5910, 3913, 4270, 1435, 1216, 1185, 288, 202, 202, 780, 1651, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 266, 3165, 2310, 8863, 202, 202, 780, 2699, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 3652, 8863, 202, 202, 780, 883, 273, 1408, 31, 202, 202, 6494, 353, 8809, 273, 1910, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 1435, 9506, 202, 18, 5662, 19024, 3913, 2310, 12, 3652, 16, 1651, 1769, 202, 202, 430, 261, 291, 8809, 13, 288, 1082, 202, 780, 2201, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 2704, 3913, 8863, 1082, 202, 751, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 7675, 5688, 1908, 3913, 12, 6862, 202, 6188, 25, 18, 22784, 12, 3664, 3631, 2699, 1769, 1082, 202, 2150, 273, 467, 2643, 82, 18, 24906, 2932, 3913, 11548, 18, 601, 3113, 6862, 202, 2704, 514, 8526, 288, 804, 1290, 379, 18, 588, 691, 7675, 29120, 743, 1435, 6862, 1082, 202, 15, 2206, 1355, 19, 5819, 6, 6862, 1082, 202, 15, 2332, 19834, 6862, 6862, 202, 18, 24805, 12, 809, 2396, 18, 31066, 15146, 67, 12796, 13, 15549, 202, 202, 97, 469, 288, 1082, 202, 2150, 273, 467, 2643, 82, 18, 24906, 2932, 3913, 11548, 18, 5387, 751, 8863, 202, 202, 97, 202, 202, 46, 1290, 379, 18, 29120, 7675, 458, 2932, 2978, 1803, 3113, 315, 2150, 18, 31180, 8863, 202, 202, 46, 1290, 379, 18, 29120, 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, 5910, 3913, 4270, 1435, 1216, 1185, 288, 202, 202, 780, 1651, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 266, 3165, 2310, 8863, 202, 202, 780, 2699, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 3652, 8863, 202, 202, 780, 883, 273, 1408, 31, 202, 202, 6494, 353, 8809, 273, 1910, 1862, 4668, 18, 588, 1442, 7675, 2704, 1299, 1488, 1435, 9506, 202, 18, 5662, 19024, 3913, 2310, 12, 3652, 16, 1651, 1769, 202, 202, 430, 261, 291, 8809, 13, 288, 1082, 202, 780, 2201, 273, 804, 1290, 379, 18, 588, 691, 7675, 588, 1662, 2932, 2704, 3913, 8863, 1082, 202, 751, 1862, 4668, 18, 588, 1442, 7675, 2704, 2 ]
IPluginDescriptor descriptor = Platform.getPluginRegistry().getPluginDescriptor(id); Assert.assertNotNull("0.1 " + id, descriptor);
Bundle bundle = Platform.getBundle(id); Assert.assertNotNull("0.1 " + id, bundle);
private String getURL(String id) { String suffix = ""; int atIndex = id.indexOf("@"); if (atIndex >= 0) { suffix = id.substring(atIndex); id = id.substring(0, atIndex); } IPluginDescriptor descriptor = Platform.getPluginRegistry().getPluginDescriptor(id); Assert.assertNotNull("0.1 " + id, descriptor); URL url = null; try { url = Platform.resolve(descriptor.getInstallURL()); } catch (IOException e) { CoreTest.fail("0.2 " + descriptor.getInstallURL(), e); } String externalForm = url.toExternalForm(); // workaround for bug 88070 externalForm = "reference:" + externalForm; return externalForm + suffix; }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/fd30a65c241786733c9ab004611ad867cee041f1/ConfigurationSessionTestSuite.java/buggy/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/configuration/ConfigurationSessionTestSuite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 19341, 12, 780, 612, 13, 288, 202, 202, 780, 3758, 273, 1408, 31, 202, 202, 474, 622, 1016, 273, 612, 18, 31806, 2932, 36, 8863, 202, 202, 430, 261, 270, 1016, 1545, 374, 13, 288, 1082, 202, 8477, 273, 612, 18, 28023, 12, 270, 1016, 1769, 1082, 202, 350, 273, 612, 18, 28023, 12, 20, 16, 622, 1016, 1769, 202, 202, 97, 202, 202, 45, 3773, 3187, 4950, 273, 11810, 18, 588, 3773, 4243, 7675, 588, 3773, 3187, 12, 350, 1769, 202, 202, 8213, 18, 11231, 5962, 2932, 20, 18, 21, 315, 397, 612, 16, 4950, 1769, 202, 202, 1785, 880, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 718, 273, 11810, 18, 10828, 12, 12628, 18, 588, 6410, 1785, 10663, 202, 202, 97, 1044, 261, 14106, 425, 13, 288, 1082, 202, 4670, 4709, 18, 6870, 2932, 20, 18, 22, 315, 397, 4950, 18, 588, 6410, 1785, 9334, 425, 1769, 202, 202, 97, 202, 202, 780, 3903, 1204, 273, 880, 18, 869, 6841, 1204, 5621, 202, 202, 759, 18975, 364, 7934, 1725, 3672, 7301, 9506, 202, 9375, 1204, 273, 315, 6180, 2773, 397, 3903, 1204, 31, 202, 202, 2463, 3903, 1204, 397, 3758, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 19341, 12, 780, 612, 13, 288, 202, 202, 780, 3758, 273, 1408, 31, 202, 202, 474, 622, 1016, 273, 612, 18, 31806, 2932, 36, 8863, 202, 202, 430, 261, 270, 1016, 1545, 374, 13, 288, 1082, 202, 8477, 273, 612, 18, 28023, 12, 270, 1016, 1769, 1082, 202, 350, 273, 612, 18, 28023, 12, 20, 16, 622, 1016, 1769, 202, 202, 97, 202, 202, 45, 3773, 3187, 4950, 273, 11810, 18, 588, 3773, 4243, 7675, 588, 3773, 3187, 12, 350, 1769, 202, 202, 8213, 18, 11231, 5962, 2932, 20, 18, 21, 315, 397, 612, 16, 4950, 1769, 202, 202, 1785, 880, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 718, 273, 11810, 18, 10828, 2 ]
public org.quickfix.field.RepurchaseTerm getRepurchaseTerm() throws FieldNotFound { org.quickfix.field.RepurchaseTerm value = new org.quickfix.field.RepurchaseTerm();
public quickfix.field.RepurchaseTerm getRepurchaseTerm() throws FieldNotFound { quickfix.field.RepurchaseTerm value = new quickfix.field.RepurchaseTerm();
public org.quickfix.field.RepurchaseTerm getRepurchaseTerm() throws FieldNotFound { org.quickfix.field.RepurchaseTerm value = new org.quickfix.field.RepurchaseTerm(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderList.java/clean/src/java/src/quickfix/fix44/NewOrderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4065, 5561, 12688, 12104, 4065, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4065, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4065, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4065, 5561, 12688, 12104, 4065, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4065, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 426, 12688, 12104, 4065, 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 ]
if (useBlockFormatter(fileType)) {
if (useBlockFormatter(SourceTreeToPsiMap.treeElementToPsi(element).getContainingFile())) {
public ASTNode processRange(final ASTNode element, final int startOffset, final int endOffset) { final FileType fileType = myHelper.getFileType(); if (useBlockFormatter(fileType)) { TextRange range = formatComments(element, startOffset, endOffset); final PsiFile containingFile = SourceTreeToPsiMap.treeElementToPsi(element).getContainingFile(); final PsiBasedFormattingModel model = new PsiBasedFormattingModel(containingFile, mySettings); if (containingFile.getTextLength() > 0) { try { Formatter.getInstance().format(model, createBlock(containingFile, mySettings), mySettings, mySettings.getIndentOptions(fileType), range); } catch (IncorrectOperationException e) { LOG.error(e); } } return element; } if (useNewFormatter(fileType)) { PseudoTextBuilder pseudoTextBuilder = ((LanguageFileType)fileType).getLanguage().getFormatter(); if (pseudoTextBuilder == null) { return element; } else { try { final PseudoText pseudoText = pseudoTextBuilder.build(myHelper.getProject(), mySettings, SourceTreeToPsiMap.treeElementToPsi(element)); GeneralCodeFormatter.createSimpleInstance(pseudoText, mySettings, fileType, startOffset, endOffset, null).format(); } catch (ProcessCanceledException processCanceledException) { throw processCanceledException; } catch (Exception e) { LOG.error(e); } formatComments(element, startOffset, endOffset); return element; } } final TextRange range = element.getTextRange(); final int elementStartOffset = range.getStartOffset(); return processRange(element, new int[]{startOffset - elementStartOffset, endOffset - elementStartOffset}); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/34f7380bb353a980220b6f86c6a81c92d97ca421/CodeFormatterFacade.java/buggy/source/com/intellij/psi/impl/source/codeStyle/CodeFormatterFacade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9183, 907, 1207, 2655, 12, 6385, 9183, 907, 930, 16, 727, 509, 18245, 16, 727, 509, 25507, 13, 288, 565, 727, 29449, 21939, 273, 3399, 2276, 18, 588, 28941, 5621, 565, 309, 261, 1202, 1768, 5074, 12, 1830, 2471, 774, 52, 7722, 863, 18, 3413, 1046, 774, 52, 7722, 12, 2956, 2934, 588, 24344, 812, 1435, 3719, 288, 1377, 3867, 2655, 1048, 273, 740, 9051, 12, 2956, 16, 18245, 16, 25507, 1769, 1377, 727, 453, 7722, 812, 4191, 812, 273, 4998, 2471, 774, 52, 7722, 863, 18, 3413, 1046, 774, 52, 7722, 12, 2956, 2934, 588, 24344, 812, 5621, 1377, 727, 453, 7722, 9802, 23974, 1488, 938, 273, 394, 453, 7722, 9802, 23974, 1488, 12, 1213, 3280, 812, 16, 3399, 2628, 1769, 1377, 309, 261, 1213, 3280, 812, 18, 588, 1528, 1782, 1435, 405, 374, 13, 288, 3639, 775, 288, 1850, 14924, 18, 588, 1442, 7675, 2139, 12, 2284, 16, 752, 1768, 12, 1213, 3280, 812, 16, 3399, 2628, 3631, 3399, 2628, 16, 3399, 2628, 18, 588, 7790, 1320, 12, 768, 559, 3631, 1048, 1769, 3639, 289, 3639, 1044, 261, 16268, 10602, 425, 13, 288, 1850, 2018, 18, 1636, 12, 73, 1769, 3639, 289, 1377, 289, 1377, 327, 930, 31, 565, 289, 565, 309, 261, 1202, 1908, 5074, 12, 768, 559, 3719, 288, 1377, 453, 9091, 1528, 1263, 12454, 1528, 1263, 273, 14015, 3779, 28941, 13, 768, 559, 2934, 588, 3779, 7675, 588, 5074, 5621, 1377, 309, 261, 26023, 1528, 1263, 422, 446, 13, 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, 282, 1071, 9183, 907, 1207, 2655, 12, 6385, 9183, 907, 930, 16, 727, 509, 18245, 16, 727, 509, 25507, 13, 288, 565, 727, 29449, 21939, 273, 3399, 2276, 18, 588, 28941, 5621, 565, 309, 261, 1202, 1768, 5074, 12, 1830, 2471, 774, 52, 7722, 863, 18, 3413, 1046, 774, 52, 7722, 12, 2956, 2934, 588, 24344, 812, 1435, 3719, 288, 1377, 3867, 2655, 1048, 273, 740, 9051, 12, 2956, 16, 18245, 16, 25507, 1769, 1377, 727, 453, 7722, 812, 4191, 812, 273, 4998, 2471, 774, 52, 7722, 863, 18, 3413, 1046, 774, 52, 7722, 12, 2956, 2934, 588, 24344, 812, 5621, 1377, 727, 453, 7722, 9802, 23974, 1488, 938, 273, 394, 453, 7722, 9802, 23974, 1488, 12, 1213, 3280, 2 ]
StringBuffer url = new StringBuffer("http:
StringBuffer url = new StringBuffer("http:
public void updateHistory(Security security, int interval) { Calendar from = Calendar.getInstance(); List history = security.getHistory(); if (history.size() == 0) from.add(Calendar.YEAR, -2); else { Bar cd = (Bar)history.get(history.size() - 1); from.setTime(cd.getDate()); from.add(Calendar.DATE, 1); } String symbol = null; if (security.getHistoryFeed() != null) symbol = security.getHistoryFeed().getSymbol(); if (symbol == null || symbol.length() == 0) symbol = security.getCode(); try { StringBuffer url = new StringBuffer("http://grafici.borsaitalia.it/scripts/cligipsw.dll?app=tic_d&action=dwnld4push&cod=&codneb=" + symbol); if (interval < IHistoryFeed.INTERVAL_DAILY) url.append("&period=2MIN&req_type=GRAF_DS&ascii=1&form_id="); else url.append("&period=1DAY&req_type=GRAF_DS&ascii=1&From=" + df.format(from.getTime()) + "000000&form_id="); System.out.println(getClass() + " " + df.format(from.getTime()) + " " + url); HttpURLConnection con = (HttpURLConnection) new URL(url.toString()).openConnection(); con.setInstanceFollowRedirects(true); String proxyHost = (String) System.getProperties().get("http.proxyHost"); String proxyUser = (String) System.getProperties().get("http.proxyUser"); String proxyPassword = (String) System.getProperties().get("http.proxyPassword"); if (proxyHost != null && proxyHost.length() != 0 && proxyUser != null && proxyUser.length() != 0 && proxyPassword != null) { String login = proxyUser + ":" + proxyPassword; String encodedLogin = new BASE64Encoder().encodeBuffer(login.getBytes()); con.setRequestProperty("Proxy-Authorization", "Basic " + encodedLogin.trim()); } con.setAllowUserInteraction(true); con.setRequestMethod("GET"); con.setInstanceFollowRedirects(true); BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); String inputLine = in.readLine(); while ((inputLine = in.readLine()) != null) { if (inputLine.startsWith("@") == true || inputLine.length() == 0) continue; String[] item = inputLine.split("\\|"); Bar bar = new Bar(); bar.setDate(df.parse(item[0].substring(0, 8))); bar.setOpen(Double.parseDouble(item[1])); bar.setHigh(Double.parseDouble(item[2])); bar.setLow(Double.parseDouble(item[3])); bar.setClose(Double.parseDouble(item[4])); bar.setVolume((int)Double.parseDouble(item[5])); history.add(bar); } in.close(); java.util.Collections.sort(history, new Comparator() { public int compare(Object o1, Object o2) { Bar d1 = (Bar) o1; Bar d2 = (Bar) o2; if (d1.getDate().after(d2.getDate()) == true) return 1; else if (d1.getDate().before(d2.getDate()) == true) return -1; return 0; } }); } catch (Exception e) { CorePlugin.logException(e); } CorePlugin.getRepository().saveHistory(security.getId(), security.getHistory()); CorePlugin.getRepository().save(security); }
12846 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12846/82554ca07a1ba8c2c53469d4d7518856a82a30bf/HistoryFeed.java/clean/net.sourceforge.eclipsetrader.borsaitalia/src/net/sourceforge/eclipsetrader/borsaitalia/HistoryFeed.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 5623, 12, 4368, 4373, 16, 509, 3673, 13, 565, 288, 3639, 5542, 628, 273, 5542, 18, 588, 1442, 5621, 3639, 987, 4927, 273, 4373, 18, 588, 5623, 5621, 3639, 309, 261, 8189, 18, 1467, 1435, 422, 374, 13, 5411, 628, 18, 1289, 12, 7335, 18, 15137, 16, 300, 22, 1769, 3639, 469, 3639, 288, 5411, 16654, 7976, 273, 261, 5190, 13, 8189, 18, 588, 12, 8189, 18, 1467, 1435, 300, 404, 1769, 5411, 628, 18, 542, 950, 12, 4315, 18, 588, 1626, 10663, 5411, 628, 18, 1289, 12, 7335, 18, 4594, 16, 404, 1769, 3639, 289, 3639, 514, 3273, 273, 446, 31, 3639, 309, 261, 7462, 18, 588, 5623, 8141, 1435, 480, 446, 13, 5411, 3273, 273, 4373, 18, 588, 5623, 8141, 7675, 588, 5335, 5621, 3639, 309, 261, 7175, 422, 446, 747, 3273, 18, 2469, 1435, 422, 374, 13, 5411, 3273, 273, 4373, 18, 588, 1085, 5621, 3639, 775, 288, 5411, 6674, 880, 273, 394, 6674, 2932, 2505, 2207, 2752, 74, 14463, 18, 70, 1383, 1540, 287, 1155, 18, 305, 19, 12827, 19, 830, 360, 625, 5328, 18, 27670, 35, 2910, 33, 88, 335, 67, 72, 10, 1128, 33, 22512, 82, 1236, 24, 6206, 10, 1559, 33, 10, 1559, 4644, 70, 1546, 397, 3273, 1769, 5411, 309, 261, 6624, 411, 467, 5623, 8141, 18, 16435, 67, 40, 6575, 61, 13, 7734, 880, 18, 6923, 2932, 10, 6908, 33, 22, 6236, 10, 3658, 67, 723, 33, 24554, 42, 67, 3948, 10, 9184, 33, 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, 1089, 5623, 12, 4368, 4373, 16, 509, 3673, 13, 565, 288, 3639, 5542, 628, 273, 5542, 18, 588, 1442, 5621, 3639, 987, 4927, 273, 4373, 18, 588, 5623, 5621, 3639, 309, 261, 8189, 18, 1467, 1435, 422, 374, 13, 5411, 628, 18, 1289, 12, 7335, 18, 15137, 16, 300, 22, 1769, 3639, 469, 3639, 288, 5411, 16654, 7976, 273, 261, 5190, 13, 8189, 18, 588, 12, 8189, 18, 1467, 1435, 300, 404, 1769, 5411, 628, 18, 542, 950, 12, 4315, 18, 588, 1626, 10663, 5411, 628, 18, 1289, 12, 7335, 18, 4594, 16, 404, 1769, 3639, 289, 3639, 514, 3273, 273, 446, 31, 3639, 309, 261, 7462, 18, 588, 5623, 8141, 1435, 480, 446, 13, 5411, 2 ]
x = (d.width - new_w) / 2;
x = ins.left + (d.width - new_w) / 2 + hgap;
public void layoutContainer (Container parent) { synchronized (parent.getTreeLock ()) { int num = parent.getComponentCount (); // This is more efficient than calling getComponents(). Component[] comps = parent.component; Dimension d = parent.getSize (); Insets ins = parent.getInsets (); ComponentOrientation orient = parent.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); int y = ins.top + vgap; int i = 0; while (i < num) { // Find the components which go in the current row. int new_w = ins.left + hgap + ins.right; int new_h = 0; int j; boolean found_one = false; for (j = i; j < num; ++j) { // Skip invisible items. if (! comps[j].visible) continue; Dimension c = comps[j].getPreferredSize (); int next_w = new_w + hgap + c.width; if (next_w <= d.width || ! found_one) { new_w = next_w; new_h = Math.max (new_h, c.height); found_one = true; } else { // Must start a new row, and we already found an item break; } } // Set the location of each component for this row. int x; int myalign = align; if (align == LEADING) myalign = left_to_right ? LEFT : RIGHT; else if (align == TRAILING) myalign = left_to_right ? RIGHT : LEFT; if (myalign == LEFT) x = ins.left + hgap; else if (myalign == CENTER) x = (d.width - new_w) / 2; else x = d.width - new_w; for (int k = i; k < j; ++k) { if (comps[k].visible) { Dimension c = comps[k].getPreferredSize (); comps[k].setBounds (x, y, c.width, new_h); x += c.width + hgap; } } // Advance to next row. i = j; y += new_h + vgap; } } }
5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/0cd84e952f8a13b85433af21b4ab7cc4ea197dc1/FlowLayout.java/buggy/libjava/java/awt/FlowLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 261, 2170, 982, 13, 225, 288, 565, 3852, 261, 2938, 18, 588, 2471, 2531, 1832, 13, 1377, 288, 202, 474, 818, 273, 982, 18, 588, 1841, 1380, 261, 1769, 202, 759, 1220, 353, 1898, 14382, 2353, 4440, 336, 7171, 7675, 202, 1841, 8526, 13979, 273, 982, 18, 4652, 31, 202, 8611, 302, 273, 982, 18, 588, 1225, 261, 1769, 202, 382, 4424, 2763, 273, 982, 18, 588, 382, 4424, 261, 1769, 202, 1841, 14097, 7891, 273, 982, 18, 588, 1841, 14097, 261, 1769, 202, 6494, 2002, 67, 869, 67, 4083, 273, 7891, 18, 291, 3910, 774, 4726, 261, 1769, 202, 474, 677, 273, 2763, 18, 3669, 397, 331, 14048, 31, 202, 474, 277, 273, 374, 31, 202, 17523, 261, 77, 411, 818, 13, 202, 225, 288, 202, 565, 368, 4163, 326, 4085, 1492, 1960, 316, 326, 783, 1027, 18, 202, 565, 509, 394, 67, 91, 273, 2763, 18, 4482, 397, 366, 14048, 397, 2763, 18, 4083, 31, 202, 565, 509, 394, 67, 76, 273, 374, 31, 202, 565, 509, 525, 31, 202, 565, 1250, 1392, 67, 476, 273, 629, 31, 202, 565, 364, 261, 78, 273, 277, 31, 525, 411, 818, 31, 965, 78, 13, 202, 1377, 288, 202, 202, 759, 6611, 24697, 1516, 18, 202, 202, 430, 16051, 13979, 63, 78, 8009, 8613, 13, 1082, 225, 1324, 31, 202, 202, 8611, 276, 273, 13979, 63, 78, 8009, 588, 16028, 1225, 261, 1769, 202, 202, 474, 1024, 67, 91, 273, 394, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3511, 2170, 261, 2170, 982, 13, 225, 288, 565, 3852, 261, 2938, 18, 588, 2471, 2531, 1832, 13, 1377, 288, 202, 474, 818, 273, 982, 18, 588, 1841, 1380, 261, 1769, 202, 759, 1220, 353, 1898, 14382, 2353, 4440, 336, 7171, 7675, 202, 1841, 8526, 13979, 273, 982, 18, 4652, 31, 202, 8611, 302, 273, 982, 18, 588, 1225, 261, 1769, 202, 382, 4424, 2763, 273, 982, 18, 588, 382, 4424, 261, 1769, 202, 1841, 14097, 7891, 273, 982, 18, 588, 1841, 14097, 261, 1769, 202, 6494, 2002, 67, 869, 67, 4083, 273, 7891, 18, 291, 3910, 774, 4726, 261, 1769, 202, 474, 677, 273, 2763, 18, 3669, 397, 331, 14048, 31, 202, 474, 277, 273, 2 ]
return getRegion(bytesToLong(addr.getAddress()));
return getRegion(bytesToLong(addr.getAddress()));
public synchronized Region getRegion(String str) { InetAddress addr; try { addr = InetAddress.getByName(str); } catch (UnknownHostException e) { return null; } return getRegion(bytesToLong(addr.getAddress())); }
6812 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6812/c7db47fc2d6f3968f2dfa6d2b4eb2346ac3108b3/LookupService.java/buggy/source/com/maxmind/geoip/LookupService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 9164, 24289, 12, 780, 609, 13, 288, 5411, 14218, 3091, 31, 5411, 775, 288, 7734, 3091, 273, 14218, 18, 588, 5911, 12, 701, 1769, 5411, 289, 5411, 1044, 261, 4874, 29776, 425, 13, 288, 7734, 327, 446, 31, 5411, 289, 5411, 327, 24289, 12, 3890, 30220, 12, 4793, 18, 588, 1887, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3852, 9164, 24289, 12, 780, 609, 13, 288, 5411, 14218, 3091, 31, 5411, 775, 288, 7734, 3091, 273, 14218, 18, 588, 5911, 12, 701, 1769, 5411, 289, 5411, 1044, 261, 4874, 29776, 425, 13, 288, 7734, 327, 446, 31, 5411, 289, 5411, 327, 24289, 12, 3890, 30220, 12, 4793, 18, 588, 1887, 1435, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public ClientGame(GameData data, Set gamePlayers, IMessenger messenger, IChannelMessenger channelMessenger, IRemoteMessenger remoteMessenger, IMessageManager messageManager)
public ClientGame(GameData data, Set gamePlayers, IMessenger messenger, IChannelMessenger channelMessenger, IRemoteMessenger remoteMessenger)
public ClientGame(GameData data, Set gamePlayers, IMessenger messenger, IChannelMessenger channelMessenger, IRemoteMessenger remoteMessenger, IMessageManager messageManager) { m_data = data; m_messenger = messenger; m_messageManager = messageManager; m_remoteMessenger = remoteMessenger; m_channelMessenger = channelMessenger; m_vault = new Vault(m_channelMessenger); m_channelMessenger.registerChannelSubscriber(m_gameModificationChannelListener, IGame.GAME_MODIFICATION_CHANNEL); m_remoteMessenger.registerRemote(IGameStepAdvancer.class, m_gameStepAdvancer, getRemoteStepAdvancerName(m_channelMessenger.getLocalNode())); Iterator iter = gamePlayers.iterator(); while(iter.hasNext()) { IGamePlayer gp = (IGamePlayer) iter.next(); PlayerID player = m_data.getPlayerList().getPlayerID(gp.getName()); m_gamePlayers.put(player, gp); IPlayerBridge bridge = new DefaultPlayerBridge(this); gp.initialize(bridge, player); m_messageManager.addDestination(gp); m_remoteMessenger.registerRemote(gp.getRemotePlayerType(), gp, ServerGame.getRemoteName(gp.getID())); IRemoteRandom remoteRandom = new RemoteRandom(this); m_remoteMessenger.registerRemote(IRemoteRandom.class, remoteRandom, ServerGame.getRemoteRandomName(player)); } m_changePerformer = new ChangePerformer(m_data); }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/8635e3ba3dc58436a99f261c654dbdd2a4175539/ClientGame.java/clean/triplea/src/games/strategy/engine/framework/ClientGame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2445, 12496, 12, 12496, 751, 501, 16, 1000, 7920, 1749, 3907, 16, 6246, 18912, 31086, 16, 467, 2909, 29329, 1904, 29329, 16, 467, 5169, 29329, 2632, 29329, 13, 225, 288, 565, 312, 67, 892, 273, 501, 31, 3639, 312, 67, 81, 18912, 273, 31086, 31, 2398, 312, 67, 2150, 1318, 273, 883, 1318, 31, 565, 312, 67, 7222, 29329, 273, 2632, 29329, 31, 565, 312, 67, 4327, 29329, 273, 1904, 29329, 31, 565, 312, 67, 26983, 273, 394, 17329, 12, 81, 67, 4327, 29329, 1769, 3639, 312, 67, 4327, 29329, 18, 4861, 2909, 11118, 12, 81, 67, 13957, 13467, 2909, 2223, 16, 467, 12496, 18, 43, 1642, 67, 6720, 14865, 67, 15814, 1769, 565, 312, 67, 7222, 29329, 18, 4861, 5169, 12, 3047, 339, 4160, 28915, 304, 2750, 18, 1106, 16, 312, 67, 13957, 4160, 28915, 304, 2750, 16, 14879, 4160, 28915, 304, 2750, 461, 12, 81, 67, 4327, 29329, 18, 588, 2042, 907, 1435, 10019, 565, 4498, 1400, 273, 7920, 1749, 3907, 18, 9838, 5621, 565, 1323, 12, 2165, 18, 5332, 2134, 10756, 565, 288, 1377, 467, 12496, 12148, 4178, 273, 261, 3047, 339, 12148, 13, 1400, 18, 4285, 5621, 1377, 19185, 734, 7291, 273, 312, 67, 892, 18, 588, 12148, 682, 7675, 588, 12148, 734, 12, 6403, 18, 17994, 10663, 1377, 312, 67, 13957, 1749, 3907, 18, 458, 12, 14872, 16, 4178, 1769, 1377, 467, 12148, 13691, 10105, 273, 394, 2989, 12148, 13691, 12, 2211, 1769, 1377, 4178, 18, 11160, 12, 18337, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2445, 12496, 12, 12496, 751, 501, 16, 1000, 7920, 1749, 3907, 16, 6246, 18912, 31086, 16, 467, 2909, 29329, 1904, 29329, 16, 467, 5169, 29329, 2632, 29329, 13, 225, 288, 565, 312, 67, 892, 273, 501, 31, 3639, 312, 67, 81, 18912, 273, 31086, 31, 2398, 312, 67, 2150, 1318, 273, 883, 1318, 31, 565, 312, 67, 7222, 29329, 273, 2632, 29329, 31, 565, 312, 67, 4327, 29329, 273, 1904, 29329, 31, 565, 312, 67, 26983, 273, 394, 17329, 12, 81, 67, 4327, 29329, 1769, 3639, 312, 67, 4327, 29329, 18, 4861, 2909, 11118, 12, 81, 67, 13957, 13467, 2909, 2223, 16, 467, 12496, 18, 43, 1642, 67, 6720, 14865, 67, 15814, 1769, 565, 312, 67, 7222, 2 ]
ProjectMuseArchivalUnit au = null;
ConfigurableArchivalUnit au = null;
public void testCreateAu() { Properties props = new Properties(); props.setProperty(ProjectMusePlugin.AUPARAM_BASE_URL, "http://www.example.com/"); props.setProperty(ProjectMusePlugin.AUPARAM_JOURNAL_DIR, "blah2"); props.setProperty(ProjectMusePlugin.AUPARAM_VOL, "322"); ProjectMuseArchivalUnit au = null; try { au = makeAuFromProps(props); } catch (ConfigurationException ex) { } }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/7213af99d56a7766716f5d711aa30ad85c71d195/TestProjectMusePlugin.java/buggy/test/src/org/lockss/plugin/projmuse/TestProjectMusePlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1684, 37, 89, 1435, 288, 565, 6183, 3458, 273, 394, 6183, 5621, 565, 3458, 18, 542, 1396, 12, 4109, 49, 1202, 3773, 18, 14237, 8388, 67, 8369, 67, 1785, 16, 315, 2505, 2207, 5591, 18, 8236, 18, 832, 4898, 1769, 565, 3458, 18, 542, 1396, 12, 4109, 49, 1202, 3773, 18, 14237, 8388, 67, 22720, 8521, 1013, 67, 4537, 16, 315, 3083, 9795, 22, 8863, 565, 3458, 18, 542, 1396, 12, 4109, 49, 1202, 3773, 18, 14237, 8388, 67, 19971, 16, 315, 1578, 22, 8863, 565, 29312, 12269, 5162, 2802, 20309, 273, 446, 31, 565, 775, 288, 1377, 20309, 273, 1221, 37, 89, 1265, 5047, 12, 9693, 1769, 565, 289, 565, 1044, 261, 10737, 431, 13, 288, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1684, 37, 89, 1435, 288, 565, 6183, 3458, 273, 394, 6183, 5621, 565, 3458, 18, 542, 1396, 12, 4109, 49, 1202, 3773, 18, 14237, 8388, 67, 8369, 67, 1785, 16, 315, 2505, 2207, 5591, 18, 8236, 18, 832, 4898, 1769, 565, 3458, 18, 542, 1396, 12, 4109, 49, 1202, 3773, 18, 14237, 8388, 67, 22720, 8521, 1013, 67, 4537, 16, 315, 3083, 9795, 22, 8863, 565, 3458, 18, 542, 1396, 12, 4109, 49, 1202, 3773, 18, 14237, 8388, 67, 19971, 16, 315, 1578, 22, 8863, 565, 29312, 12269, 5162, 2802, 20309, 273, 446, 31, 565, 775, 288, 1377, 20309, 273, 1221, 37, 89, 1265, 5047, 12, 9693, 1769, 565, 289, 565, 1044, 261, 10737, 431, 2 ]
return noex; }
return noex; }
public int getNoex() { return noex; }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 336, 2279, 338, 1435, 288, 1082, 202, 2463, 1158, 338, 31, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 336, 2279, 338, 1435, 288, 1082, 202, 2463, 1158, 338, 31, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public PageRegion( Page page, IContent content )
public PageRegion( Page page )
public PageRegion( Page page, IContent content ) { super( page.getEmitter( ) ); this.rootContent = content; startEmitterVisitor = new StartEmitterVisitor( emitter ); endEmitterVisitor = new EndEmitterVisitor( emitter ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/863bf546d892c921f893432c7b320527731910aa/PageRegion.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/PageRegion.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3460, 5165, 12, 3460, 1363, 16, 467, 1350, 913, 262, 202, 95, 202, 202, 9565, 12, 1363, 18, 588, 13476, 12, 262, 11272, 202, 202, 2211, 18, 3085, 1350, 273, 913, 31, 202, 202, 1937, 13476, 7413, 273, 394, 3603, 13476, 7413, 12, 11520, 11272, 202, 202, 409, 13476, 7413, 273, 394, 4403, 13476, 7413, 12, 11520, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3460, 5165, 12, 3460, 1363, 16, 467, 1350, 913, 262, 202, 95, 202, 202, 9565, 12, 1363, 18, 588, 13476, 12, 262, 11272, 202, 202, 2211, 18, 3085, 1350, 273, 913, 31, 202, 202, 1937, 13476, 7413, 273, 394, 3603, 13476, 7413, 12, 11520, 11272, 202, 202, 409, 13476, 7413, 273, 394, 4403, 13476, 7413, 12, 11520, 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, -100, -100, -100 ]
translateParameterTypes(methods[i].getParameterTypes()));
translateClassArray(methods[i].getParameterTypes()));
private void assertCompatibleMethods() throws ClassNotFoundException { Method[] methods = jniClass.getMethods(); for (int i = 0; i < methods.length; i++) { if ((methods[i].getModifiers() & (Modifier.PUBLIC | Modifier.PROTECTED)) != 0) { Method m = null; try { m = javaClass.getMethod(methods[i].getName(), translateParameterTypes(methods[i].getParameterTypes())); } catch (SecurityException e) { Assert.fail(e.getMessage()); } catch (NoSuchMethodException e) { Assert.fail("missing method: " + e.getMessage()); } catch (ClassNotFoundException e) { Assert.fail(e.getMessage()); } List jniExceptionTypes = Arrays.asList(methods[i].getExceptionTypes()); List javaExceptionTypes = Arrays.asList(m.getExceptionTypes()); Assert.assertEquals(m.getName() + ": wrong method return type", translatedClass(methods[i].getReturnType()), m.getReturnType()); assertExceptionsExist(methods[i], jniExceptionTypes, javaExceptionTypes); assertNoExtraExceptions(methods[i], jniExceptionTypes, javaExceptionTypes); } } }
6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/d627d3d28e6b681957717da3949980f6edef1110/TestApiCompatibility.java/buggy/test/quickfix/TestApiCompatibility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1815, 14599, 4712, 1435, 1216, 10403, 288, 5411, 2985, 8526, 2590, 273, 525, 15834, 797, 18, 588, 4712, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2590, 18, 2469, 31, 277, 27245, 288, 7734, 309, 14015, 5163, 63, 77, 8009, 588, 11948, 1435, 473, 261, 9829, 18, 14939, 571, 12832, 18, 3373, 26729, 3719, 480, 374, 13, 288, 10792, 2985, 312, 273, 446, 31, 10792, 775, 288, 13491, 312, 273, 2252, 797, 18, 588, 1305, 12, 5163, 63, 77, 8009, 17994, 9334, 27573, 4204, 797, 1076, 12, 5163, 63, 77, 8009, 588, 1662, 2016, 1435, 10019, 10792, 289, 1044, 261, 24918, 425, 13, 288, 13491, 5452, 18, 6870, 12, 73, 18, 24906, 10663, 10792, 289, 1044, 261, 28341, 14513, 425, 13, 288, 13491, 5452, 18, 6870, 2932, 7337, 707, 30, 315, 397, 425, 18, 24906, 10663, 10792, 289, 1044, 261, 797, 3990, 425, 13, 288, 13491, 5452, 18, 6870, 12, 73, 18, 24906, 10663, 10792, 289, 10792, 987, 525, 15834, 503, 2016, 273, 5647, 18, 345, 682, 12, 5163, 63, 77, 8009, 588, 503, 2016, 10663, 10792, 987, 2252, 503, 2016, 273, 5647, 18, 345, 682, 12, 81, 18, 588, 503, 2016, 10663, 10792, 5452, 18, 11231, 8867, 12, 81, 18, 17994, 1435, 397, 6398, 7194, 707, 327, 618, 3113, 18701, 9955, 797, 12, 5163, 63, 77, 8009, 588, 9102, 1435, 3631, 312, 18, 588, 9102, 10663, 10792, 1815, 11416, 4786, 12, 5163, 63, 77, 6487, 525, 15834, 503, 2016, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1815, 14599, 4712, 1435, 1216, 10403, 288, 5411, 2985, 8526, 2590, 273, 525, 15834, 797, 18, 588, 4712, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2590, 18, 2469, 31, 277, 27245, 288, 7734, 309, 14015, 5163, 63, 77, 8009, 588, 11948, 1435, 473, 261, 9829, 18, 14939, 571, 12832, 18, 3373, 26729, 3719, 480, 374, 13, 288, 10792, 2985, 312, 273, 446, 31, 10792, 775, 288, 13491, 312, 273, 2252, 797, 18, 588, 1305, 12, 5163, 63, 77, 8009, 17994, 9334, 27573, 4204, 797, 1076, 12, 5163, 63, 77, 8009, 588, 1662, 2016, 1435, 10019, 10792, 289, 1044, 261, 24918, 425, 13, 288, 13491, 5452, 18, 6870, 12, 73, 18, 24906, 10663, 2 ]
prefs.setValues(PORTLET_URL_REWRITE_MASKS, (String[])portletUrlMaskList.toArray(new String[portletUrlMaskList.size()])); prefs.setValues(PORTLET_URL_REWRITE_STATES, (String[])urlWindowStateList.toArray(new String[urlWindowStateList.size()]));
prefs.setValues(PORTLET_URL_REWRITE_MASKS, portletUrlMaskList.toArray(new String[portletUrlMaskList.size()])); prefs.setValues(PORTLET_URL_REWRITE_STATES, urlWindowStateList.toArray(new String[urlWindowStateList.size()]));
public void process(ActionRequest request, ActionResponse response) throws PortletException, IOException, ConfigurationException { final StringBuffer errorMessages = new StringBuffer(); final PortletPreferences prefs = request.getPreferences(); //Store base URL final String baseUrl = ConfigUtils.checkEmptyNullString(request.getParameter(BASE_URL), null); if (baseUrl == null) errorMessages.append("Base URL cannot be null\n"); else prefs.setValue(BASE_URL, baseUrl); //Store edit URL final String editUrl = ConfigUtils.checkEmptyNullString(request.getParameter(EDIT_URL), null); if (editUrl != null) prefs.setValue(EDIT_URL, editUrl); else prefs.setValue(EDIT_URL, ""); //Store rewrite masks final String[] portletUrlMasks = ConfigUtils.checkNullStringArray(request.getParameterValues(PORTLET_URL_REWRITE_MASKS), new String[0]); final String[] portletUrlStates = ConfigUtils.checkNullStringArray(request.getParameterValues(PORTLET_URL_REWRITE_STATES), new String[0]); if (portletUrlMasks.length == portletUrlStates.length) { final List portletUrlMaskList = new ArrayList(portletUrlMasks.length); final List urlWindowStateList = new ArrayList(portletUrlStates.length); for (int index = 0; index < portletUrlMasks.length; index++) { final String urlMask = ConfigUtils.checkEmptyNullString(portletUrlMasks[index], null); if (urlMask != null) { final String windowState = ConfigUtils.checkEmptyNullString(portletUrlStates[index], null); portletUrlMaskList.add(ConfigUtils.checkEmptyNullString(urlMask, "")); urlWindowStateList.add(ConfigUtils.checkEmptyNullString(windowState, "")); } } prefs.setValues(PORTLET_URL_REWRITE_MASKS, (String[])portletUrlMaskList.toArray(new String[portletUrlMaskList.size()])); prefs.setValues(PORTLET_URL_REWRITE_STATES, (String[])urlWindowStateList.toArray(new String[urlWindowStateList.size()])); } else { errorMessages.append("Portlet URL rewrite mask and window state lists have inconsistent lengths.\n"); } //Store portlet URL rewrite list type final String portletUrlRewriteListType = request.getParameter(PORTLET_URL_LIST_TYPE); if (URL_LIST_TYPE_INCLUDE.equals(portletUrlRewriteListType)) prefs.setValue(PORTLET_URL_LIST_TYPE, URL_LIST_TYPE_INCLUDE); else if (URL_LIST_TYPE_EXCLUDE.equals(portletUrlRewriteListType)) prefs.setValue(PORTLET_URL_LIST_TYPE, URL_LIST_TYPE_EXCLUDE); else errorMessages.append("Invalid portlet URL rewrite list type specified '").append(portletUrlRewriteListType).append("'\n"); //Store rewrite masks final String[] fNameUrlMasks = ConfigUtils.checkNullStringArray(request.getParameterValues(FNAME_URL_REWRITE_MASKS), new String[0]); final String[] fNameUrlStates = ConfigUtils.checkNullStringArray(request.getParameterValues(FNAME_URL_REWRITE_STATES), new String[0]); if (fNameUrlMasks.length == fNameUrlStates.length) { final List fNameUrlMaskList = new ArrayList(fNameUrlMasks.length); final List urlWindowStateList = new ArrayList(fNameUrlStates.length); for (int index = 0; index < fNameUrlMasks.length; index++) { final String urlMask = ConfigUtils.checkEmptyNullString(fNameUrlMasks[index], null); if (urlMask != null) { final String windowState = ConfigUtils.checkEmptyNullString(fNameUrlStates[index], null); fNameUrlMaskList.add(ConfigUtils.checkEmptyNullString(urlMask, "")); urlWindowStateList.add(ConfigUtils.checkEmptyNullString(windowState, "")); } } prefs.setValues(FNAME_URL_REWRITE_MASKS, (String[])fNameUrlMaskList.toArray(new String[fNameUrlMaskList.size()])); prefs.setValues(FNAME_URL_REWRITE_STATES, (String[])urlWindowStateList.toArray(new String[urlWindowStateList.size()])); } else { errorMessages.append("fName URL rewrite mask and window state lists have inconsistent lengths.\n"); } //Store fName URL rewrite list type final String fNameUrlRewriteListType = request.getParameter(FNAME_URL_LIST_TYPE); if (URL_LIST_TYPE_INCLUDE.equals(fNameUrlRewriteListType)) prefs.setValue(FNAME_URL_LIST_TYPE, URL_LIST_TYPE_INCLUDE); else if (URL_LIST_TYPE_EXCLUDE.equals(fNameUrlRewriteListType)) prefs.setValue(FNAME_URL_LIST_TYPE, URL_LIST_TYPE_EXCLUDE); else errorMessages.append("Invalid fName URL rewrite list type specified '").append(fNameUrlRewriteListType).append("'\n"); final String fNameTarget = ConfigUtils.checkEmptyNullString(request.getParameter(FNAME_TARGET), null); if (fNameTarget != null) prefs.setValue(FNAME_TARGET, fNameTarget); else prefs.setValue(FNAME_TARGET, ""); //Validate the pre-interceptor class final String preInterceptorClassName = ConfigUtils.checkEmptyNullString(request.getParameter(PRE_INTERCEPTOR_CLASS), null); if (preInterceptorClassName != null) { String className = ""; try { final Class preInterceptorClass = Class.forName(preInterceptorClassName); final PreInterceptor preInterceptor = (PreInterceptor)preInterceptorClass.newInstance(); className = preInterceptor.getClass().getName(); } catch (ClassNotFoundException cnfe) { errorMessages.append("Could not find specified pre-interceptor class '").append(preInterceptorClassName).append("'"); } catch (InstantiationException ie) { errorMessages.append("Could not find specified pre-interceptor class '").append(preInterceptorClassName).append("'"); } catch (IllegalAccessException iae) { errorMessages.append("Could not find specified pre-interceptor class '").append(preInterceptorClassName).append("'"); } catch (ClassCastException cce) { errorMessages.append("Could not cast '").append(preInterceptorClassName).append("' to 'edu.wisc.my.webproxy.beans.interceptors.PreInterceptor'"); } prefs.setValue(PRE_INTERCEPTOR_CLASS, className); } else { prefs.setValue(PRE_INTERCEPTOR_CLASS, ""); } //Validate the post-interceptor class final String postInterceptorClassName = ConfigUtils.checkEmptyNullString(request.getParameter(POST_INTERCEPTOR_CLASS), null); if (postInterceptorClassName != null) { String className = ""; try { final Class postInterceptorClass = Class.forName(postInterceptorClassName); final PostInterceptor postInterceptor = (PostInterceptor)postInterceptorClass.newInstance(); className = postInterceptor.getClass().getName(); } catch (ClassNotFoundException cnfe) { errorMessages.append("Could not find specified post-interceptor class '").append(postInterceptorClassName).append("'"); } catch (InstantiationException ie) { errorMessages.append("Could not find specified post-interceptor class '").append(postInterceptorClassName).append("'"); } catch (IllegalAccessException iae) { errorMessages.append("Could not find specified post-interceptor class '").append(postInterceptorClassName).append("'"); } catch (ClassCastException cce) { errorMessages.append("Could not cast '").append(postInterceptorClassName).append("' to 'edu.wisc.my.webproxy.beans.interceptors.PostInterceptor'"); } prefs.setValue(POST_INTERCEPTOR_CLASS, className); } else { prefs.setValue(POST_INTERCEPTOR_CLASS, ""); } //Check for logged errors and store the prefs if (errorMessages.length() > 0) { throw new ConfigurationException(errorMessages.toString()); } else { prefs.store(); } }
52447 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52447/36f63b42a537893142e10566328c95607dd7eb73/GeneralConfigImpl.java/clean/src/main/java/edu/wisc/my/webproxy/beans/config/GeneralConfigImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 12, 1803, 691, 590, 16, 4382, 1064, 766, 13, 1216, 21305, 503, 16, 1860, 16, 22196, 288, 3639, 727, 6674, 22241, 273, 394, 6674, 5621, 3639, 727, 21305, 12377, 15503, 273, 590, 18, 588, 12377, 5621, 7734, 368, 2257, 1026, 1976, 3639, 727, 514, 9818, 273, 1903, 1989, 18, 1893, 1921, 2041, 780, 12, 2293, 18, 588, 1662, 12, 8369, 67, 1785, 3631, 446, 1769, 3639, 309, 261, 31576, 422, 446, 13, 5411, 22241, 18, 6923, 2932, 2171, 1976, 2780, 506, 446, 64, 82, 8863, 3639, 469, 5411, 15503, 18, 542, 620, 12, 8369, 67, 1785, 16, 9818, 1769, 7734, 368, 2257, 3874, 1976, 3639, 727, 514, 3874, 1489, 273, 1903, 1989, 18, 1893, 1921, 2041, 780, 12, 2293, 18, 588, 1662, 12, 10776, 67, 1785, 3631, 446, 1769, 3639, 309, 261, 4619, 1489, 480, 446, 13, 5411, 15503, 18, 542, 620, 12, 10776, 67, 1785, 16, 3874, 1489, 1769, 3639, 469, 5411, 15503, 18, 542, 620, 12, 10776, 67, 1785, 16, 1408, 1769, 7734, 368, 2257, 10738, 20931, 3639, 727, 514, 8526, 13114, 1489, 5796, 87, 273, 1903, 1989, 18, 1893, 2041, 28547, 12, 2293, 18, 588, 1662, 1972, 12, 6354, 15146, 67, 1785, 67, 862, 11677, 67, 11704, 55, 3631, 394, 514, 63, 20, 19226, 3639, 727, 514, 8526, 13114, 1489, 7629, 273, 1903, 1989, 18, 1893, 2041, 28547, 12, 2293, 18, 588, 1662, 1972, 12, 6354, 15146, 67, 1785, 67, 862, 11677, 67, 7998, 55, 3631, 394, 514, 63, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 12, 1803, 691, 590, 16, 4382, 1064, 766, 13, 1216, 21305, 503, 16, 1860, 16, 22196, 288, 3639, 727, 6674, 22241, 273, 394, 6674, 5621, 3639, 727, 21305, 12377, 15503, 273, 590, 18, 588, 12377, 5621, 7734, 368, 2257, 1026, 1976, 3639, 727, 514, 9818, 273, 1903, 1989, 18, 1893, 1921, 2041, 780, 12, 2293, 18, 588, 1662, 12, 8369, 67, 1785, 3631, 446, 1769, 3639, 309, 261, 31576, 422, 446, 13, 5411, 22241, 18, 6923, 2932, 2171, 1976, 2780, 506, 446, 64, 82, 8863, 3639, 469, 5411, 15503, 18, 542, 620, 12, 8369, 67, 1785, 16, 9818, 1769, 7734, 368, 2257, 3874, 1976, 3639, 727, 514, 3874, 1489, 273, 1903, 1989, 18, 1893, 1921, 2 ]
fileList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
mode = ListSelectionModel.SINGLE_SELECTION; if (listView) fileList.setSelectionMode(mode); else fileTable.setSelectionMode(mode);
public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) fileList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); else fileList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); } else if (n.equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { File file = filechooser.getSelectedFile(); if (file == null) setFileName(null); else setFileName(file.getName()); int index = -1; index = getModel().indexOf(file); if (index >= 0) { fileList.setSelectedIndex(index); fileList.ensureIndexIsVisible(index); fileList.revalidate(); fileList.repaint(); } } else if (n.equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY)) { fileList.clearSelection(); fileList.revalidate(); fileList.repaint(); setDirectorySelected(false); File currentDirectory = filechooser.getCurrentDirectory(); setDirectory(currentDirectory); boolean hasParent = (currentDirectory.getParentFile() != null); getChangeToParentDirectoryAction().setEnabled(hasParent); } else if (n.equals(JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY)) { filterModel.propertyChange(e); } else if (n.equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) { filterModel.propertyChange(e); } else if (n.equals(JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || n.equals(JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) { Window owner = SwingUtilities.windowForComponent(filechooser); if (owner instanceof JDialog) ((JDialog) owner).setTitle(getDialogTitle(filechooser)); approveButton.setText(getApproveButtonText(filechooser)); approveButton.setToolTipText( getApproveButtonToolTipText(filechooser)); approveButton.setMnemonic(getApproveButtonMnemonic(filechooser)); } else if (n.equals(JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) approveButton.setText(getApproveButtonText(filechooser)); else if (n.equals( JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) approveButton.setToolTipText(getApproveButtonToolTipText(filechooser)); else if (n.equals(JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) approveButton.setMnemonic(getApproveButtonMnemonic(filechooser)); else if (n.equals( JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) { if (filechooser.getControlButtonsAreShown()) { topPanel.add(controls, BorderLayout.EAST); } else topPanel.remove(controls); topPanel.revalidate(); topPanel.repaint(); topPanel.doLayout(); } else if (n.equals( JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) { if (filechooser.isAcceptAllFileFilterUsed()) filechooser.addChoosableFileFilter( getAcceptAllFileFilter(filechooser)); else filechooser.removeChoosableFileFilter( getAcceptAllFileFilter(filechooser)); } else if (n.equals(JFileChooser.ACCESSORY_CHANGED_PROPERTY)) { JComponent old = (JComponent) e.getOldValue(); if (old != null) getAccessoryPanel().remove(old); JComponent newval = (JComponent) e.getNewValue(); if (newval != null) getAccessoryPanel().add(newval); } if (n.equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) || n.equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || n.equals(JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) rescanCurrentDirectory(filechooser); filechooser.revalidate(); filechooser.repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/76fe1616918b9192a8d599c054a35e64237146ed/MetalFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalFileChooserUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 565, 288, 1377, 804, 812, 17324, 585, 2599, 13164, 273, 6034, 17324, 5621, 5411, 514, 290, 273, 425, 18, 588, 13073, 5621, 1377, 309, 261, 82, 18, 14963, 12, 46, 812, 17324, 18, 26588, 67, 1090, 15445, 67, 13560, 67, 24435, 67, 9900, 3719, 3639, 288, 1850, 309, 261, 768, 2599, 13164, 18, 291, 5002, 6233, 1526, 10756, 5411, 18645, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 24683, 900, 67, 16435, 67, 1090, 15445, 1769, 1850, 469, 5411, 1965, 273, 987, 6233, 1488, 18, 20184, 67, 1090, 15445, 31, 225, 309, 261, 1098, 1767, 13, 18645, 18, 542, 6233, 2309, 12, 3188, 1769, 469, 585, 1388, 18, 542, 6233, 2309, 12, 3188, 1769, 3639, 289, 1377, 469, 309, 261, 82, 18, 14963, 12, 46, 812, 17324, 18, 4803, 2056, 67, 3776, 67, 24435, 67, 9900, 3719, 3639, 288, 1850, 1387, 585, 273, 585, 2599, 13164, 18, 588, 7416, 812, 5621, 1850, 309, 261, 768, 422, 446, 13, 5411, 444, 4771, 12, 2011, 1769, 1850, 469, 5411, 444, 4771, 12, 768, 18, 17994, 10663, 1850, 509, 770, 273, 300, 21, 31, 1850, 770, 273, 7454, 7675, 31806, 12, 768, 1769, 1850, 309, 261, 1615, 1545, 374, 13, 5411, 288, 2868, 18645, 18, 542, 7416, 1016, 12, 1615, 1769, 2868, 18645, 18, 15735, 1016, 2520, 6207, 12, 1615, 1769, 2868, 18645, 18, 266, 5662, 5621, 2868, 18645, 18, 14462, 1598, 5621, 5411, 289, 3639, 289, 5411, 469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 565, 288, 1377, 804, 812, 17324, 585, 2599, 13164, 273, 6034, 17324, 5621, 5411, 514, 290, 273, 425, 18, 588, 13073, 5621, 1377, 309, 261, 82, 18, 14963, 12, 46, 812, 17324, 18, 26588, 67, 1090, 15445, 67, 13560, 67, 24435, 67, 9900, 3719, 3639, 288, 1850, 309, 261, 768, 2599, 13164, 18, 291, 5002, 6233, 1526, 10756, 5411, 18645, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 24683, 900, 67, 16435, 67, 1090, 15445, 1769, 1850, 469, 5411, 1965, 273, 987, 6233, 1488, 18, 20184, 67, 1090, 15445, 31, 225, 309, 261, 1098, 1767, 13, 18645, 18, 542, 6233, 2309, 12, 3188, 1769, 469, 585, 1388, 18, 2 ]
if (calledAgain) { throw (new IOException("you keep trying ...")); } if (called) { calledAgain = true; return (0); } else { called = true; String s = new String("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); s.getChars(0, count, buf2, offset); return (count); } }
if (calledAgain) { throw (new IOException("you keep trying ...")); } if (called) { calledAgain = true; return (0); } else { called = true; String s = new String("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); s.getChars(0, count, buf2, offset); return (count); } }
public int read(char[] buf2, int offset, int count) throws IOException { if (calledAgain) { throw (new IOException("you keep trying ...")); } if (called) { calledAgain = true; return (0); } else { called = true; String s = new String("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); s.getChars(0, count, buf2, offset); return (count); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/16569eb576aaeefde929e9edd99ace6f8923f79a/BufferedReaderTest.java/buggy/test/regression/BufferedReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 565, 1071, 509, 855, 12, 3001, 8526, 1681, 22, 16, 509, 1384, 16, 509, 1056, 13, 1875, 202, 15069, 1860, 288, 1082, 202, 430, 261, 11777, 23530, 13, 288, 9506, 565, 604, 261, 2704, 1860, 2932, 19940, 3455, 8374, 1372, 7923, 1769, 1082, 202, 97, 1082, 202, 430, 261, 11777, 13, 288, 9506, 565, 2566, 23530, 273, 638, 31, 9506, 565, 327, 261, 20, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 565, 2566, 273, 638, 31, 9506, 377, 9506, 565, 514, 272, 273, 394, 514, 2932, 26904, 12904, 16715, 45, 19474, 17063, 3417, 28386, 10637, 20147, 59, 23479, 8863, 9506, 377, 9506, 565, 272, 18, 588, 7803, 12, 20, 16, 1056, 16, 1681, 22, 16, 1384, 1769, 9506, 377, 9506, 565, 327, 261, 1883, 1769, 1082, 202, 97, 1082, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 565, 1071, 509, 855, 12, 3001, 8526, 1681, 22, 16, 509, 1384, 16, 509, 1056, 13, 1875, 202, 15069, 1860, 288, 1082, 202, 430, 261, 11777, 23530, 13, 288, 9506, 565, 604, 261, 2704, 1860, 2932, 19940, 3455, 8374, 1372, 7923, 1769, 1082, 202, 97, 1082, 202, 430, 261, 11777, 13, 288, 9506, 565, 2566, 23530, 273, 638, 31, 9506, 565, 327, 261, 20, 1769, 1082, 202, 97, 1082, 202, 12107, 288, 9506, 565, 2566, 273, 638, 31, 9506, 377, 9506, 565, 514, 272, 273, 394, 514, 2932, 26904, 12904, 16715, 45, 19474, 17063, 3417, 28386, 10637, 20147, 59, 23479, 8863, 9506, 377, 9506, 565, 272, 18, 588, 7803, 12, 20, 16, 1056, 16, 1681, 22, 16, 1384, 2 ]
PsiClassType[] exceptions = getUnhandledExceptions(finallyBlock);
PsiClassType[] exceptions = getUnhandledExceptions(finallyBlock, checkThrowsClause);
private static boolean isCatched(PsiTryStatement tryStatement, PsiClassType exceptionType) { PsiCodeBlock finallyBlock = tryStatement.getFinallyBlock(); if (finallyBlock != null) { PsiClassType[] exceptions = getUnhandledExceptions(finallyBlock); List<PsiClassType> unhandledFinallyExceptions = Arrays.asList(exceptions); if (unhandledFinallyExceptions.contains(exceptionType)) return false; // if finally block completes normally, exception not catched // if finally block completes abruptly, exception gets lost if (blockCompletesAbruptly(finallyBlock)) return true; } final PsiParameter[] catchBlockParameters = tryStatement.getCatchBlockParameters(); for (PsiParameter parameter : catchBlockParameters) { PsiType paramType = parameter.getType(); if (paramType.isAssignableFrom(exceptionType)) return true; } return false; }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/6c518682247133379c2cb37e66cdee9ca6abd811/ExceptionUtil.java/buggy/codeInsight/impl/com/intellij/codeInsight/ExceptionUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 353, 14842, 329, 12, 52, 7722, 7833, 3406, 775, 3406, 16, 453, 7722, 18328, 1520, 559, 13, 288, 565, 453, 7722, 1085, 1768, 3095, 1768, 273, 775, 3406, 18, 588, 29987, 1768, 5621, 565, 309, 261, 23417, 1768, 480, 446, 13, 288, 1377, 453, 7722, 18328, 8526, 4798, 273, 10833, 14387, 11416, 12, 23417, 1768, 16, 866, 21845, 7044, 1769, 1377, 987, 32, 52, 7722, 18328, 34, 27868, 29987, 11416, 273, 5647, 18, 345, 682, 12, 11855, 1769, 1377, 309, 261, 318, 14387, 29987, 11416, 18, 12298, 12, 4064, 559, 3719, 327, 629, 31, 1377, 368, 309, 3095, 1203, 7218, 15849, 16, 1520, 486, 1044, 329, 1377, 368, 309, 3095, 1203, 7218, 1223, 10433, 715, 16, 1520, 5571, 13557, 1377, 309, 261, 2629, 6297, 281, 37, 2848, 3648, 715, 12, 23417, 1768, 3719, 327, 638, 31, 565, 289, 565, 727, 453, 7722, 1662, 8526, 1044, 1768, 2402, 273, 775, 3406, 18, 588, 14842, 1768, 2402, 5621, 565, 364, 261, 52, 7722, 1662, 1569, 294, 1044, 1768, 2402, 13, 288, 1377, 453, 7722, 559, 20781, 273, 1569, 18, 588, 559, 5621, 1377, 309, 261, 891, 559, 18, 291, 7961, 1265, 12, 4064, 559, 3719, 327, 638, 31, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 353, 14842, 329, 12, 52, 7722, 7833, 3406, 775, 3406, 16, 453, 7722, 18328, 1520, 559, 13, 288, 565, 453, 7722, 1085, 1768, 3095, 1768, 273, 775, 3406, 18, 588, 29987, 1768, 5621, 565, 309, 261, 23417, 1768, 480, 446, 13, 288, 1377, 453, 7722, 18328, 8526, 4798, 273, 10833, 14387, 11416, 12, 23417, 1768, 16, 866, 21845, 7044, 1769, 1377, 987, 32, 52, 7722, 18328, 34, 27868, 29987, 11416, 273, 5647, 18, 345, 682, 12, 11855, 1769, 1377, 309, 261, 318, 14387, 29987, 11416, 18, 12298, 12, 4064, 559, 3719, 327, 629, 31, 1377, 368, 309, 3095, 1203, 7218, 15849, 16, 1520, 486, 1044, 329, 1377, 368, 309, 3095, 1203, 7218, 1223, 10433, 715, 2 ]
begin = Math.min(end, seq.length());;
begin = Math.min(end, seq.length());
public void search(Sequence seq) { for (Iterator patternsI = patterns.iterator(); patternsI.hasNext(); ) { PatternInfo info = (PatternInfo) patternsI.next(); if (info.matcher == null) { info.matcher = info.pattern.matcher(seq); } else { info.matcher = info.matcher.reset(seq); } // now exhaustively search the sequence int begin = 1; while (info.matcher.find(begin)) { // got a hit int start = info.matcher.start(); int end = info.matcher.end(); if (info.overlap) begin = Math.min(start + 1, seq.length()); else begin = Math.min(end, seq.length());; if (listener != null) listener.reportMatch(seq, info.pattern, start, end); } } }
50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/f551cd841027005b81cd9f2b55acbf796aafcd14/Search.java/clean/src/org/biojava/utils/regex/Search.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1623, 12, 4021, 3833, 13, 565, 288, 3639, 364, 261, 3198, 6884, 45, 273, 6884, 18, 9838, 5621, 6884, 45, 18, 5332, 2134, 5621, 262, 288, 5411, 6830, 966, 1123, 273, 261, 3234, 966, 13, 6884, 45, 18, 4285, 5621, 5411, 309, 261, 1376, 18, 22761, 422, 446, 13, 288, 7734, 1123, 18, 22761, 273, 1123, 18, 4951, 18, 22761, 12, 5436, 1769, 5411, 289, 5411, 469, 288, 7734, 1123, 18, 22761, 273, 1123, 18, 22761, 18, 6208, 12, 5436, 1769, 5411, 289, 5411, 368, 2037, 19575, 641, 4492, 1623, 326, 3102, 5411, 509, 2376, 273, 404, 31, 5411, 1323, 261, 1376, 18, 22761, 18, 4720, 12, 10086, 3719, 288, 7734, 368, 2363, 279, 6800, 7734, 509, 787, 273, 1123, 18, 22761, 18, 1937, 5621, 7734, 509, 679, 273, 1123, 18, 22761, 18, 409, 5621, 7734, 309, 261, 1376, 18, 17946, 13, 10792, 2376, 273, 2361, 18, 1154, 12, 1937, 397, 404, 16, 3833, 18, 2469, 10663, 7734, 469, 10792, 2376, 273, 2361, 18, 1154, 12, 409, 16, 3833, 18, 2469, 10663, 7734, 309, 261, 12757, 480, 446, 13, 2991, 18, 6006, 2060, 12, 5436, 16, 1123, 18, 4951, 16, 787, 16, 679, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1623, 12, 4021, 3833, 13, 565, 288, 3639, 364, 261, 3198, 6884, 45, 273, 6884, 18, 9838, 5621, 6884, 45, 18, 5332, 2134, 5621, 262, 288, 5411, 6830, 966, 1123, 273, 261, 3234, 966, 13, 6884, 45, 18, 4285, 5621, 5411, 309, 261, 1376, 18, 22761, 422, 446, 13, 288, 7734, 1123, 18, 22761, 273, 1123, 18, 4951, 18, 22761, 12, 5436, 1769, 5411, 289, 5411, 469, 288, 7734, 1123, 18, 22761, 273, 1123, 18, 22761, 18, 6208, 12, 5436, 1769, 5411, 289, 5411, 368, 2037, 19575, 641, 4492, 1623, 326, 3102, 5411, 509, 2376, 273, 404, 31, 5411, 1323, 261, 1376, 18, 22761, 18, 4720, 12, 10086, 3719, 288, 7734, 368, 2363, 279, 6800, 7734, 2 ]
(new com.ibm.math.DiagBigDecimal.Test("cca160")).ok=((new com.ibm.math.BigDecimal(ca,1,4)).toString()).equals("23.4"); (new com.ibm.math.DiagBigDecimal.Test("cca161")).ok=((new com.ibm.math.BigDecimal(ca,1,1)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cca162")).ok=((new com.ibm.math.BigDecimal(ca,4,1)).toString()).equals("4");
(new Test("cca160")).ok=((new com.ibm.math.BigDecimal(ca,1,4)).toString()).equals("23.4"); (new Test("cca161")).ok=((new com.ibm.math.BigDecimal(ca,1,1)).toString()).equals("2"); (new Test("cca162")).ok=((new com.ibm.math.BigDecimal(ca,4,1)).toString()).equals("4");
public void diagconstructors(){ boolean flag=false; java.lang.String num; java.math.BigInteger bip; java.math.BigInteger biz; java.math.BigInteger bin; com.ibm.math.BigDecimal bda; com.ibm.math.BigDecimal bdb; com.ibm.math.BigDecimal bmc; com.ibm.math.BigDecimal bmd; com.ibm.math.BigDecimal bme; java.lang.RuntimeException e=null; char ca[]; double dzer; double dpos; double dneg; double dpos5; double dneg5; double dmin; double dmax; double d; java.lang.String badstrings[]; int i=0; // constants [statically-called constructors] (new com.ibm.math.DiagBigDecimal.Test("con001")).ok=(com.ibm.math.BigDecimal.ZERO.toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("con002")).ok=(com.ibm.math.BigDecimal.ONE.toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("con003")).ok=(com.ibm.math.BigDecimal.TEN.toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("con004")).ok=(com.ibm.math.BigDecimal.ZERO.intValueExact())==0; (new com.ibm.math.DiagBigDecimal.Test("con005")).ok=(com.ibm.math.BigDecimal.ONE.intValueExact())==1; (new com.ibm.math.DiagBigDecimal.Test("con006")).ok=(com.ibm.math.BigDecimal.TEN.intValueExact())==10; // [java.math.] BigDecimal (new com.ibm.math.DiagBigDecimal.Test("cbd001")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cbd002")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("cbd003")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("cbd004")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("1000"))).toString()).equals("1000"); (new com.ibm.math.DiagBigDecimal.Test("cbd005")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("10.0"))).toString()).equals("10.0"); (new com.ibm.math.DiagBigDecimal.Test("cbd006")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("10.1"))).toString()).equals("10.1"); (new com.ibm.math.DiagBigDecimal.Test("cbd007")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("-1.1"))).toString()).equals("-1.1"); (new com.ibm.math.DiagBigDecimal.Test("cbd008")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("-9.0"))).toString()).equals("-9.0"); (new com.ibm.math.DiagBigDecimal.Test("cbd009")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal("0.9"))).toString()).equals("0.9"); num="123456789.123456789"; (new com.ibm.math.DiagBigDecimal.Test("cbd010")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="123456789.000000000"; (new com.ibm.math.DiagBigDecimal.Test("cbd011")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="123456789000000000"; (new com.ibm.math.DiagBigDecimal.Test("cbd012")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="0.00000123456789"; (new com.ibm.math.DiagBigDecimal.Test("cbd013")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); num="0.000000123456789"; (new com.ibm.math.DiagBigDecimal.Test("cbd014")).ok=((new com.ibm.math.BigDecimal(new java.math.BigDecimal(num))).toString()).equals(num); try{checknull:do{ new com.ibm.math.BigDecimal((java.math.BigDecimal)null); flag=false; }while(false);} catch (java.lang.NullPointerException $3){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cbi015")).ok=flag; // BigInteger bip=new BigInteger("987654321987654321987654321"); // biggie +ve biz=new BigInteger("0"); // biggie 0 bin=new BigInteger("-12345678998765432112345678"); // biggie -ve (new com.ibm.math.DiagBigDecimal.Test("cbi001")).ok=((new com.ibm.math.BigDecimal(bip)).toString()).equals(bip.toString()); (new com.ibm.math.DiagBigDecimal.Test("cbi002")).ok=((new com.ibm.math.BigDecimal(biz)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cbi003")).ok=((new com.ibm.math.BigDecimal(bin)).toString()).equals(bin.toString()); try{checknull:do{ new com.ibm.math.BigDecimal((java.math.BigInteger)null); flag=false; }while(false);} catch (java.lang.NullPointerException $4){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cbi004")).ok=flag; // BigInteger with scale bip=new BigInteger("123456789"); // bigish bda=new com.ibm.math.BigDecimal(bip); bdb=new com.ibm.math.BigDecimal(bip,5); bmc=new com.ibm.math.BigDecimal(bip,15); (new com.ibm.math.DiagBigDecimal.Test("cbs001")).ok=(bda.toString()).equals("123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs002")).ok=(bdb.toString()).equals("1234.56789"); (new com.ibm.math.DiagBigDecimal.Test("cbs003")).ok=(bmc.toString()).equals("0.000000123456789"); bip=new BigInteger("123456789123456789123456789"); // biggie bda=new com.ibm.math.BigDecimal(bip); bdb=new com.ibm.math.BigDecimal(bip,7); bmc=new com.ibm.math.BigDecimal(bip,13); bmd=new com.ibm.math.BigDecimal(bip,19); bme=new com.ibm.math.BigDecimal(bip,29); (new com.ibm.math.DiagBigDecimal.Test("cbs011")).ok=(bda.toString()).equals("123456789123456789123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs012")).ok=(bdb.toString()).equals("12345678912345678912.3456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs013")).ok=(bmc.toString()).equals("12345678912345.6789123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs014")).ok=(bmd.toString()).equals("12345678.9123456789123456789"); (new com.ibm.math.DiagBigDecimal.Test("cbs015")).ok=(bme.toString()).equals("0.00123456789123456789123456789"); try{checknull:do{ new com.ibm.math.BigDecimal((java.math.BigInteger)null,1); flag=false; }while(false);} catch (java.lang.NullPointerException $5){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cbs004")).ok=flag; try{checkscale:do{ new com.ibm.math.BigDecimal(bip,-8); flag=false; }while(false);} catch (java.lang.RuntimeException $6){e=$6; flag=(e.getMessage()).equals("Negative scale: -8"); }/*checkscale*/ (new com.ibm.math.DiagBigDecimal.Test("cbs005")).ok=flag; // char[] // We just test it's there // Functionality is tested by BigDecimal(String). ca=("123.45").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca001")).ok=((new com.ibm.math.BigDecimal(ca)).toString()).equals("123.45"); try{checknull:do{ new com.ibm.math.BigDecimal((char[])null); flag=false; }while(false);} catch (java.lang.NullPointerException $7){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cca010")).ok=flag; // char[],int,int // We just test it's there, and that offsets work. // Functionality is tested by BigDecimal(String). ca=("123.45").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca101")).ok=((new com.ibm.math.BigDecimal(ca,0,6)).toString()).equals("123.45"); (new com.ibm.math.DiagBigDecimal.Test("cca102")).ok=((new com.ibm.math.BigDecimal(ca,1,5)).toString()).equals("23.45"); (new com.ibm.math.DiagBigDecimal.Test("cca103")).ok=((new com.ibm.math.BigDecimal(ca,2,4)).toString()).equals("3.45"); (new com.ibm.math.DiagBigDecimal.Test("cca104")).ok=((new com.ibm.math.BigDecimal(ca,3,3)).toString()).equals("0.45"); (new com.ibm.math.DiagBigDecimal.Test("cca105")).ok=((new com.ibm.math.BigDecimal(ca,4,2)).toString()).equals("45"); (new com.ibm.math.DiagBigDecimal.Test("cca106")).ok=((new com.ibm.math.BigDecimal(ca,5,1)).toString()).equals("5"); (new com.ibm.math.DiagBigDecimal.Test("cca110")).ok=((new com.ibm.math.BigDecimal(ca,0,1)).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("cca111")).ok=((new com.ibm.math.BigDecimal(ca,1,1)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cca112")).ok=((new com.ibm.math.BigDecimal(ca,2,1)).toString()).equals("3"); (new com.ibm.math.DiagBigDecimal.Test("cca113")).ok=((new com.ibm.math.BigDecimal(ca,4,1)).toString()).equals("4"); (new com.ibm.math.DiagBigDecimal.Test("cca120")).ok=((new com.ibm.math.BigDecimal(ca,0,2)).toString()).equals("12"); (new com.ibm.math.DiagBigDecimal.Test("cca121")).ok=((new com.ibm.math.BigDecimal(ca,1,2)).toString()).equals("23"); (new com.ibm.math.DiagBigDecimal.Test("cca122")).ok=((new com.ibm.math.BigDecimal(ca,2,2)).toString()).equals("3"); (new com.ibm.math.DiagBigDecimal.Test("cca123")).ok=((new com.ibm.math.BigDecimal(ca,3,2)).toString()).equals("0.4"); (new com.ibm.math.DiagBigDecimal.Test("cca130")).ok=((new com.ibm.math.BigDecimal(ca,0,3)).toString()).equals("123"); (new com.ibm.math.DiagBigDecimal.Test("cca131")).ok=((new com.ibm.math.BigDecimal(ca,1,3)).toString()).equals("23"); (new com.ibm.math.DiagBigDecimal.Test("cca132")).ok=((new com.ibm.math.BigDecimal(ca,2,3)).toString()).equals("3.4"); (new com.ibm.math.DiagBigDecimal.Test("cca140")).ok=((new com.ibm.math.BigDecimal(ca,0,4)).toString()).equals("123"); (new com.ibm.math.DiagBigDecimal.Test("cca141")).ok=((new com.ibm.math.BigDecimal(ca,1,4)).toString()).equals("23.4"); (new com.ibm.math.DiagBigDecimal.Test("cca150")).ok=((new com.ibm.math.BigDecimal(ca,0,5)).toString()).equals("123.4"); // a couple of oddies ca=("x23.4x").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca160")).ok=((new com.ibm.math.BigDecimal(ca,1,4)).toString()).equals("23.4"); (new com.ibm.math.DiagBigDecimal.Test("cca161")).ok=((new com.ibm.math.BigDecimal(ca,1,1)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cca162")).ok=((new com.ibm.math.BigDecimal(ca,4,1)).toString()).equals("4"); ca=("0123456789.9876543210").toCharArray(); (new com.ibm.math.DiagBigDecimal.Test("cca163")).ok=((new com.ibm.math.BigDecimal(ca,0,21)).toString()).equals("123456789.9876543210"); (new com.ibm.math.DiagBigDecimal.Test("cca164")).ok=((new com.ibm.math.BigDecimal(ca,1,20)).toString()).equals("123456789.9876543210"); (new com.ibm.math.DiagBigDecimal.Test("cca165")).ok=((new com.ibm.math.BigDecimal(ca,2,19)).toString()).equals("23456789.9876543210"); (new com.ibm.math.DiagBigDecimal.Test("cca166")).ok=((new com.ibm.math.BigDecimal(ca,2,18)).toString()).equals("23456789.987654321"); (new com.ibm.math.DiagBigDecimal.Test("cca167")).ok=((new com.ibm.math.BigDecimal(ca,2,17)).toString()).equals("23456789.98765432"); (new com.ibm.math.DiagBigDecimal.Test("cca168")).ok=((new com.ibm.math.BigDecimal(ca,2,16)).toString()).equals("23456789.9876543"); try{checknull:do{ new com.ibm.math.BigDecimal((char[])null,0,1); flag=false; }while(false);} catch (java.lang.NullPointerException $8){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cca200")).ok=flag; try{checklen:do{ new com.ibm.math.BigDecimal("123".toCharArray(),0,0); flag=false; }while(false);} catch (java.lang.NumberFormatException $9){ flag=true; }/*checklen*/ (new com.ibm.math.DiagBigDecimal.Test("cca201")).ok=flag; try{checkbound:do{ new com.ibm.math.BigDecimal("123".toCharArray(),2,4); flag=false; }while(false);} catch (java.lang.RuntimeException $10){ // anything OK flag=true; }/*checkbound*/ (new com.ibm.math.DiagBigDecimal.Test("cca202")).ok=flag; try{checkbound2:do{ new com.ibm.math.BigDecimal("123".toCharArray(),-1,2); flag=false; }while(false);} catch (java.lang.RuntimeException $11){ // anything OK flag=true; }/*checkbound2*/ (new com.ibm.math.DiagBigDecimal.Test("cca203")).ok=flag; try{checkbound3:do{ new com.ibm.math.BigDecimal("123".toCharArray(),1,-2); flag=false; }while(false);} catch (java.lang.RuntimeException $12){ // anything OK flag=true; }/*checkbound3*/ (new com.ibm.math.DiagBigDecimal.Test("cca204")).ok=flag; // double [deprecated] // Note that many of these differ from the valueOf(double) results. dzer=(double)0; dpos=(double)1; dpos=dpos/((double)10); dneg=(double)-dpos; (new com.ibm.math.DiagBigDecimal.Test("cdo001")).ok=((new com.ibm.math.BigDecimal(dneg)).toString()).equals("-0.1000000000000000055511151231257827021181583404541015625"); (new com.ibm.math.DiagBigDecimal.Test("cdo002")).ok=((new com.ibm.math.BigDecimal(dzer)).toString()).equals("0"); // NB, not '0.0' (new com.ibm.math.DiagBigDecimal.Test("cdo003")).ok=((new com.ibm.math.BigDecimal(dpos)).toString()).equals("0.1000000000000000055511151231257827021181583404541015625"); dpos5=(double)0.5D; dneg5=(double)-dpos5; (new com.ibm.math.DiagBigDecimal.Test("cdo004")).ok=((new com.ibm.math.BigDecimal(dneg5)).toString()).equals("-0.5"); (new com.ibm.math.DiagBigDecimal.Test("cdo005")).ok=((new com.ibm.math.BigDecimal(dpos5)).toString()).equals("0.5"); dmin=java.lang.Double.MIN_VALUE; dmax=java.lang.Double.MAX_VALUE; (new com.ibm.math.DiagBigDecimal.Test("cdo006")).ok=((new com.ibm.math.BigDecimal(dmin)).toString()).equals("0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004940656458412465441765687928682213723650598026143247644255856825006755072702087518652998363616359923797965646954457177309266567103559397963987747960107818781263007131903114045278458171678489821036887186360569987307230500063874091535649843873124733972731696151400317153853980741262385655911710266585566867681870395603106249319452715914924553293054565444011274801297099995419319894090804165633245247571478690147267801593552386115501348035264934720193790268107107491703332226844753335720832431936092382893458368060106011506169809753078342277318329247904982524730776375927247874656084778203734469699533647017972677717585125660551199131504891101451037862738167250955837389733598993664809941164205702637090279242767544565229087538682506419718265533447265625"); (new com.ibm.math.DiagBigDecimal.Test("cdo007")).ok=((new com.ibm.math.BigDecimal(dmax)).toString()).equals("179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368"); // nasties d=(double)9; d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo010")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.90000000000000002220446049250313080847263336181640625"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo011")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.0899999999999999966693309261245303787291049957275390625"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo012")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00899999999999999931998839741709161899052560329437255859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo013")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00089999999999999997536692664112933925935067236423492431640625"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo014")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00008999999999999999211568180168541175589780323207378387451171875"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo015")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.00000899999999999999853394182236510090433512232266366481781005859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo016")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.000000899999999999999853394182236510090433512232266366481781005859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo017")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.0000000899999999999999853394182236510090433512232266366481781005859375"); d=d/((double)10); (new com.ibm.math.DiagBigDecimal.Test("cdo018")).ok=((new com.ibm.math.BigDecimal(d)).toString()).equals("0.000000008999999999999997872197332322678764437995369007694534957408905029296875"); try{checkpin:do{ new com.ibm.math.BigDecimal(java.lang.Double.POSITIVE_INFINITY); flag=false; }while(false);} catch (java.lang.NumberFormatException $13){ flag=true; }/*checkpin*/ (new com.ibm.math.DiagBigDecimal.Test("cdo101")).ok=flag; try{checknin:do{ new com.ibm.math.BigDecimal(java.lang.Double.NEGATIVE_INFINITY); flag=false; }while(false);} catch (java.lang.NumberFormatException $14){ flag=true; }/*checknin*/ (new com.ibm.math.DiagBigDecimal.Test("cdo102")).ok=flag; try{checknan:do{ new com.ibm.math.BigDecimal(java.lang.Double.NaN); flag=false; }while(false);} catch (java.lang.NumberFormatException $15){ flag=true; }/*checknan*/ (new com.ibm.math.DiagBigDecimal.Test("cdo103")).ok=flag; // int (new com.ibm.math.DiagBigDecimal.Test("cin001")).ok=((new com.ibm.math.BigDecimal(imin)).toString()).equals("-2147483648"); (new com.ibm.math.DiagBigDecimal.Test("cin002")).ok=((new com.ibm.math.BigDecimal(imax)).toString()).equals("2147483647"); (new com.ibm.math.DiagBigDecimal.Test("cin003")).ok=((new com.ibm.math.BigDecimal(ineg)).toString()).equals("-1"); (new com.ibm.math.DiagBigDecimal.Test("cin004")).ok=((new com.ibm.math.BigDecimal(izer)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cin005")).ok=((new com.ibm.math.BigDecimal(ipos)).toString()).equals("1"); (new com.ibm.math.DiagBigDecimal.Test("cin006")).ok=((new com.ibm.math.BigDecimal(10)).toString()).equals("10"); (new com.ibm.math.DiagBigDecimal.Test("cin007")).ok=((new com.ibm.math.BigDecimal(9)).toString()).equals("9"); (new com.ibm.math.DiagBigDecimal.Test("cin008")).ok=((new com.ibm.math.BigDecimal(5)).toString()).equals("5"); (new com.ibm.math.DiagBigDecimal.Test("cin009")).ok=((new com.ibm.math.BigDecimal(2)).toString()).equals("2"); (new com.ibm.math.DiagBigDecimal.Test("cin010")).ok=((new com.ibm.math.BigDecimal(-2)).toString()).equals("-2"); (new com.ibm.math.DiagBigDecimal.Test("cin011")).ok=((new com.ibm.math.BigDecimal(-5)).toString()).equals("-5"); (new com.ibm.math.DiagBigDecimal.Test("cin012")).ok=((new com.ibm.math.BigDecimal(-9)).toString()).equals("-9"); (new com.ibm.math.DiagBigDecimal.Test("cin013")).ok=((new com.ibm.math.BigDecimal(-10)).toString()).equals("-10"); (new com.ibm.math.DiagBigDecimal.Test("cin014")).ok=((new com.ibm.math.BigDecimal(-11)).toString()).equals("-11"); (new com.ibm.math.DiagBigDecimal.Test("cin015")).ok=((new com.ibm.math.BigDecimal(-99)).toString()).equals("-99"); (new com.ibm.math.DiagBigDecimal.Test("cin016")).ok=((new com.ibm.math.BigDecimal(-100)).toString()).equals("-100"); (new com.ibm.math.DiagBigDecimal.Test("cin017")).ok=((new com.ibm.math.BigDecimal(-999)).toString()).equals("-999"); (new com.ibm.math.DiagBigDecimal.Test("cin018")).ok=((new com.ibm.math.BigDecimal(-1000)).toString()).equals("-1000"); (new com.ibm.math.DiagBigDecimal.Test("cin019")).ok=((new com.ibm.math.BigDecimal(11)).toString()).equals("11"); (new com.ibm.math.DiagBigDecimal.Test("cin020")).ok=((new com.ibm.math.BigDecimal(99)).toString()).equals("99"); (new com.ibm.math.DiagBigDecimal.Test("cin021")).ok=((new com.ibm.math.BigDecimal(100)).toString()).equals("100"); (new com.ibm.math.DiagBigDecimal.Test("cin022")).ok=((new com.ibm.math.BigDecimal(999)).toString()).equals("999"); (new com.ibm.math.DiagBigDecimal.Test("cin023")).ok=((new com.ibm.math.BigDecimal(1000)).toString()).equals("1000"); // long (new com.ibm.math.DiagBigDecimal.Test("clo001")).ok=((new com.ibm.math.BigDecimal(lmin)).toString()).equals("-9223372036854775808"); (new com.ibm.math.DiagBigDecimal.Test("clo002")).ok=((new com.ibm.math.BigDecimal(lmax)).toString()).equals("9223372036854775807"); (new com.ibm.math.DiagBigDecimal.Test("clo003")).ok=((new com.ibm.math.BigDecimal(lneg)).toString()).equals("-1"); (new com.ibm.math.DiagBigDecimal.Test("clo004")).ok=((new com.ibm.math.BigDecimal(lzer)).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("clo005")).ok=((new com.ibm.math.BigDecimal(lpos)).toString()).equals("1"); // String [many more examples are elsewhere] // strings without E cannot generate E in result (new com.ibm.math.DiagBigDecimal.Test("cst001")).ok=((new com.ibm.math.BigDecimal("12")).toString()).equals("12"); (new com.ibm.math.DiagBigDecimal.Test("cst002")).ok=((new com.ibm.math.BigDecimal("-76")).toString()).equals("-76"); (new com.ibm.math.DiagBigDecimal.Test("cst003")).ok=((new com.ibm.math.BigDecimal("12.76")).toString()).equals("12.76"); (new com.ibm.math.DiagBigDecimal.Test("cst004")).ok=((new com.ibm.math.BigDecimal("+12.76")).toString()).equals("12.76"); (new com.ibm.math.DiagBigDecimal.Test("cst005")).ok=((new com.ibm.math.BigDecimal("012.76")).toString()).equals("12.76"); (new com.ibm.math.DiagBigDecimal.Test("cst006")).ok=((new com.ibm.math.BigDecimal("+0.003")).toString()).equals("0.003"); (new com.ibm.math.DiagBigDecimal.Test("cst007")).ok=((new com.ibm.math.BigDecimal("17.")).toString()).equals("17"); (new com.ibm.math.DiagBigDecimal.Test("cst008")).ok=((new com.ibm.math.BigDecimal(".5")).toString()).equals("0.5"); (new com.ibm.math.DiagBigDecimal.Test("cst009")).ok=((new com.ibm.math.BigDecimal("044")).toString()).equals("44"); (new com.ibm.math.DiagBigDecimal.Test("cst010")).ok=((new com.ibm.math.BigDecimal("0044")).toString()).equals("44"); (new com.ibm.math.DiagBigDecimal.Test("cst011")).ok=((new com.ibm.math.BigDecimal("0.0005")).toString()).equals("0.0005"); (new com.ibm.math.DiagBigDecimal.Test("cst012")).ok=((new com.ibm.math.BigDecimal("00.00005")).toString()).equals("0.00005"); (new com.ibm.math.DiagBigDecimal.Test("cst013")).ok=((new com.ibm.math.BigDecimal("0.000005")).toString()).equals("0.000005"); (new com.ibm.math.DiagBigDecimal.Test("cst014")).ok=((new com.ibm.math.BigDecimal("0.0000005")).toString()).equals("0.0000005"); // \NR (new com.ibm.math.DiagBigDecimal.Test("cst015")).ok=((new com.ibm.math.BigDecimal("0.00000005")).toString()).equals("0.00000005"); // \NR (new com.ibm.math.DiagBigDecimal.Test("cst016")).ok=((new com.ibm.math.BigDecimal("12345678.876543210")).toString()).equals("12345678.876543210"); (new com.ibm.math.DiagBigDecimal.Test("cst017")).ok=((new com.ibm.math.BigDecimal("2345678.876543210")).toString()).equals("2345678.876543210"); (new com.ibm.math.DiagBigDecimal.Test("cst018")).ok=((new com.ibm.math.BigDecimal("345678.876543210")).toString()).equals("345678.876543210"); (new com.ibm.math.DiagBigDecimal.Test("cst019")).ok=((new com.ibm.math.BigDecimal("0345678.87654321")).toString()).equals("345678.87654321"); (new com.ibm.math.DiagBigDecimal.Test("cst020")).ok=((new com.ibm.math.BigDecimal("345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst021")).ok=((new com.ibm.math.BigDecimal("+345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst022")).ok=((new com.ibm.math.BigDecimal("+0345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst023")).ok=((new com.ibm.math.BigDecimal("+00345678.8765432")).toString()).equals("345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst024")).ok=((new com.ibm.math.BigDecimal("-345678.8765432")).toString()).equals("-345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst025")).ok=((new com.ibm.math.BigDecimal("-0345678.8765432")).toString()).equals("-345678.8765432"); (new com.ibm.math.DiagBigDecimal.Test("cst026")).ok=((new com.ibm.math.BigDecimal("-00345678.8765432")).toString()).equals("-345678.8765432"); // exotics -- (new com.ibm.math.DiagBigDecimal.Test("cst035")).ok=((new com.ibm.math.BigDecimal("\u0e57.\u0e50")).toString()).equals("7.0"); (new com.ibm.math.DiagBigDecimal.Test("cst036")).ok=((new com.ibm.math.BigDecimal("\u0b66.\u0b67")).toString()).equals("0.1"); (new com.ibm.math.DiagBigDecimal.Test("cst037")).ok=((new com.ibm.math.BigDecimal("\u0b66\u0b66")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst038")).ok=((new com.ibm.math.BigDecimal("\u0b6a\u0b66")).toString()).equals("40"); // strings with E (new com.ibm.math.DiagBigDecimal.Test("cst040")).ok=((new com.ibm.math.BigDecimal("1E+9")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst041")).ok=((new com.ibm.math.BigDecimal("1e+09")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst042")).ok=((new com.ibm.math.BigDecimal("1E+90")).toString()).equals("1E+90"); (new com.ibm.math.DiagBigDecimal.Test("cst043")).ok=((new com.ibm.math.BigDecimal("+1E+009")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst044")).ok=((new com.ibm.math.BigDecimal("0E+9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst045")).ok=((new com.ibm.math.BigDecimal("1E+9")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst046")).ok=((new com.ibm.math.BigDecimal("1E+09")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst047")).ok=((new com.ibm.math.BigDecimal("1e+90")).toString()).equals("1E+90"); (new com.ibm.math.DiagBigDecimal.Test("cst048")).ok=((new com.ibm.math.BigDecimal("1E+009")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst049")).ok=((new com.ibm.math.BigDecimal("0E+9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst050")).ok=((new com.ibm.math.BigDecimal("1E9")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst051")).ok=((new com.ibm.math.BigDecimal("1e09")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst052")).ok=((new com.ibm.math.BigDecimal("1E90")).toString()).equals("1E+90"); (new com.ibm.math.DiagBigDecimal.Test("cst053")).ok=((new com.ibm.math.BigDecimal("1E009")).toString()).equals("1E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst054")).ok=((new com.ibm.math.BigDecimal("0E9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst055")).ok=((new com.ibm.math.BigDecimal("0.000e+0")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst056")).ok=((new com.ibm.math.BigDecimal("0.000E-1")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst057")).ok=((new com.ibm.math.BigDecimal("4E+9")).toString()).equals("4E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst058")).ok=((new com.ibm.math.BigDecimal("44E+9")).toString()).equals("4.4E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst059")).ok=((new com.ibm.math.BigDecimal("0.73e-7")).toString()).equals("7.3E-8"); (new com.ibm.math.DiagBigDecimal.Test("cst060")).ok=((new com.ibm.math.BigDecimal("00E+9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst061")).ok=((new com.ibm.math.BigDecimal("00E-9")).toString()).equals("0"); (new com.ibm.math.DiagBigDecimal.Test("cst062")).ok=((new com.ibm.math.BigDecimal("10E+9")).toString()).equals("1.0E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst063")).ok=((new com.ibm.math.BigDecimal("10E+09")).toString()).equals("1.0E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst064")).ok=((new com.ibm.math.BigDecimal("10e+90")).toString()).equals("1.0E+91"); (new com.ibm.math.DiagBigDecimal.Test("cst065")).ok=((new com.ibm.math.BigDecimal("10E+009")).toString()).equals("1.0E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst066")).ok=((new com.ibm.math.BigDecimal("100e+9")).toString()).equals("1.00E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst067")).ok=((new com.ibm.math.BigDecimal("100e+09")).toString()).equals("1.00E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst068")).ok=((new com.ibm.math.BigDecimal("100E+90")).toString()).equals("1.00E+92"); (new com.ibm.math.DiagBigDecimal.Test("cst069")).ok=((new com.ibm.math.BigDecimal("100e+009")).toString()).equals("1.00E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst070")).ok=((new com.ibm.math.BigDecimal("1.265")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst071")).ok=((new com.ibm.math.BigDecimal("1.265E-20")).toString()).equals("1.265E-20"); (new com.ibm.math.DiagBigDecimal.Test("cst072")).ok=((new com.ibm.math.BigDecimal("1.265E-8")).toString()).equals("1.265E-8"); (new com.ibm.math.DiagBigDecimal.Test("cst073")).ok=((new com.ibm.math.BigDecimal("1.265E-4")).toString()).equals("1.265E-4"); (new com.ibm.math.DiagBigDecimal.Test("cst074")).ok=((new com.ibm.math.BigDecimal("1.265E-3")).toString()).equals("1.265E-3"); (new com.ibm.math.DiagBigDecimal.Test("cst075")).ok=((new com.ibm.math.BigDecimal("1.265E-2")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst076")).ok=((new com.ibm.math.BigDecimal("1.265E-1")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst077")).ok=((new com.ibm.math.BigDecimal("1.265E-0")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst078")).ok=((new com.ibm.math.BigDecimal("1.265E+1")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst079")).ok=((new com.ibm.math.BigDecimal("1.265E+2")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst080")).ok=((new com.ibm.math.BigDecimal("1.265E+3")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst081")).ok=((new com.ibm.math.BigDecimal("1.265E+4")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst082")).ok=((new com.ibm.math.BigDecimal("1.265E+8")).toString()).equals("1.265E+8"); (new com.ibm.math.DiagBigDecimal.Test("cst083")).ok=((new com.ibm.math.BigDecimal("1.265E+20")).toString()).equals("1.265E+20"); (new com.ibm.math.DiagBigDecimal.Test("cst090")).ok=((new com.ibm.math.BigDecimal("12.65")).toString()).equals("12.65"); (new com.ibm.math.DiagBigDecimal.Test("cst091")).ok=((new com.ibm.math.BigDecimal("12.65E-20")).toString()).equals("1.265E-19"); (new com.ibm.math.DiagBigDecimal.Test("cst092")).ok=((new com.ibm.math.BigDecimal("12.65E-8")).toString()).equals("1.265E-7"); (new com.ibm.math.DiagBigDecimal.Test("cst093")).ok=((new com.ibm.math.BigDecimal("12.65E-4")).toString()).equals("1.265E-3"); (new com.ibm.math.DiagBigDecimal.Test("cst094")).ok=((new com.ibm.math.BigDecimal("12.65E-3")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst095")).ok=((new com.ibm.math.BigDecimal("12.65E-2")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst096")).ok=((new com.ibm.math.BigDecimal("12.65E-1")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst097")).ok=((new com.ibm.math.BigDecimal("12.65E-0")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst098")).ok=((new com.ibm.math.BigDecimal("12.65E+1")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst099")).ok=((new com.ibm.math.BigDecimal("12.65E+2")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst100")).ok=((new com.ibm.math.BigDecimal("12.65E+3")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst101")).ok=((new com.ibm.math.BigDecimal("12.65E+4")).toString()).equals("1.265E+5"); (new com.ibm.math.DiagBigDecimal.Test("cst102")).ok=((new com.ibm.math.BigDecimal("12.65E+8")).toString()).equals("1.265E+9"); (new com.ibm.math.DiagBigDecimal.Test("cst103")).ok=((new com.ibm.math.BigDecimal("12.65E+20")).toString()).equals("1.265E+21"); (new com.ibm.math.DiagBigDecimal.Test("cst110")).ok=((new com.ibm.math.BigDecimal("126.5")).toString()).equals("126.5"); (new com.ibm.math.DiagBigDecimal.Test("cst111")).ok=((new com.ibm.math.BigDecimal("126.5E-20")).toString()).equals("1.265E-18"); (new com.ibm.math.DiagBigDecimal.Test("cst112")).ok=((new com.ibm.math.BigDecimal("126.5E-8")).toString()).equals("1.265E-6"); (new com.ibm.math.DiagBigDecimal.Test("cst113")).ok=((new com.ibm.math.BigDecimal("126.5E-4")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst114")).ok=((new com.ibm.math.BigDecimal("126.5E-3")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst115")).ok=((new com.ibm.math.BigDecimal("126.5E-2")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst116")).ok=((new com.ibm.math.BigDecimal("126.5E-1")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst117")).ok=((new com.ibm.math.BigDecimal("126.5E-0")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst118")).ok=((new com.ibm.math.BigDecimal("126.5E+1")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst119")).ok=((new com.ibm.math.BigDecimal("126.5E+2")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst120")).ok=((new com.ibm.math.BigDecimal("126.5E+3")).toString()).equals("1.265E+5"); (new com.ibm.math.DiagBigDecimal.Test("cst121")).ok=((new com.ibm.math.BigDecimal("126.5E+4")).toString()).equals("1.265E+6"); (new com.ibm.math.DiagBigDecimal.Test("cst122")).ok=((new com.ibm.math.BigDecimal("126.5E+8")).toString()).equals("1.265E+10"); (new com.ibm.math.DiagBigDecimal.Test("cst123")).ok=((new com.ibm.math.BigDecimal("126.5E+20")).toString()).equals("1.265E+22"); (new com.ibm.math.DiagBigDecimal.Test("cst130")).ok=((new com.ibm.math.BigDecimal("1265")).toString()).equals("1265"); (new com.ibm.math.DiagBigDecimal.Test("cst131")).ok=((new com.ibm.math.BigDecimal("1265E-20")).toString()).equals("1.265E-17"); (new com.ibm.math.DiagBigDecimal.Test("cst132")).ok=((new com.ibm.math.BigDecimal("1265E-8")).toString()).equals("1.265E-5"); (new com.ibm.math.DiagBigDecimal.Test("cst133")).ok=((new com.ibm.math.BigDecimal("1265E-4")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst134")).ok=((new com.ibm.math.BigDecimal("1265E-3")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst135")).ok=((new com.ibm.math.BigDecimal("1265E-2")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst136")).ok=((new com.ibm.math.BigDecimal("1265E-1")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst137")).ok=((new com.ibm.math.BigDecimal("1265E-0")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst138")).ok=((new com.ibm.math.BigDecimal("1265E+1")).toString()).equals("1.265E+4"); (new com.ibm.math.DiagBigDecimal.Test("cst139")).ok=((new com.ibm.math.BigDecimal("1265E+2")).toString()).equals("1.265E+5"); (new com.ibm.math.DiagBigDecimal.Test("cst140")).ok=((new com.ibm.math.BigDecimal("1265E+3")).toString()).equals("1.265E+6"); (new com.ibm.math.DiagBigDecimal.Test("cst141")).ok=((new com.ibm.math.BigDecimal("1265E+4")).toString()).equals("1.265E+7"); (new com.ibm.math.DiagBigDecimal.Test("cst142")).ok=((new com.ibm.math.BigDecimal("1265E+8")).toString()).equals("1.265E+11"); (new com.ibm.math.DiagBigDecimal.Test("cst143")).ok=((new com.ibm.math.BigDecimal("1265E+20")).toString()).equals("1.265E+23"); (new com.ibm.math.DiagBigDecimal.Test("cst150")).ok=((new com.ibm.math.BigDecimal("0.1265")).toString()).equals("0.1265"); (new com.ibm.math.DiagBigDecimal.Test("cst151")).ok=((new com.ibm.math.BigDecimal("0.1265E-20")).toString()).equals("1.265E-21"); (new com.ibm.math.DiagBigDecimal.Test("cst152")).ok=((new com.ibm.math.BigDecimal("0.1265E-8")).toString()).equals("1.265E-9"); (new com.ibm.math.DiagBigDecimal.Test("cst153")).ok=((new com.ibm.math.BigDecimal("0.1265E-4")).toString()).equals("1.265E-5"); (new com.ibm.math.DiagBigDecimal.Test("cst154")).ok=((new com.ibm.math.BigDecimal("0.1265E-3")).toString()).equals("1.265E-4"); (new com.ibm.math.DiagBigDecimal.Test("cst155")).ok=((new com.ibm.math.BigDecimal("0.1265E-2")).toString()).equals("1.265E-3"); (new com.ibm.math.DiagBigDecimal.Test("cst156")).ok=((new com.ibm.math.BigDecimal("0.1265E-1")).toString()).equals("1.265E-2"); (new com.ibm.math.DiagBigDecimal.Test("cst157")).ok=((new com.ibm.math.BigDecimal("0.1265E-0")).toString()).equals("1.265E-1"); (new com.ibm.math.DiagBigDecimal.Test("cst158")).ok=((new com.ibm.math.BigDecimal("0.1265E+1")).toString()).equals("1.265"); (new com.ibm.math.DiagBigDecimal.Test("cst159")).ok=((new com.ibm.math.BigDecimal("0.1265E+2")).toString()).equals("1.265E+1"); (new com.ibm.math.DiagBigDecimal.Test("cst160")).ok=((new com.ibm.math.BigDecimal("0.1265E+3")).toString()).equals("1.265E+2"); (new com.ibm.math.DiagBigDecimal.Test("cst161")).ok=((new com.ibm.math.BigDecimal("0.1265E+4")).toString()).equals("1.265E+3"); (new com.ibm.math.DiagBigDecimal.Test("cst162")).ok=((new com.ibm.math.BigDecimal("0.1265E+8")).toString()).equals("1.265E+7"); (new com.ibm.math.DiagBigDecimal.Test("cst163")).ok=((new com.ibm.math.BigDecimal("0.1265E+20")).toString()).equals("1.265E+19"); (new com.ibm.math.DiagBigDecimal.Test("cst170")).ok=((new com.ibm.math.BigDecimal("0.09e999999999")).toString()).equals("9E+999999997"); (new com.ibm.math.DiagBigDecimal.Test("cst171")).ok=((new com.ibm.math.BigDecimal("0.9e999999999")).toString()).equals("9E+999999998"); (new com.ibm.math.DiagBigDecimal.Test("cst172")).ok=((new com.ibm.math.BigDecimal("9e999999999")).toString()).equals("9E+999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst173")).ok=((new com.ibm.math.BigDecimal("9.9e999999999")).toString()).equals("9.9E+999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst174")).ok=((new com.ibm.math.BigDecimal("9.99e999999999")).toString()).equals("9.99E+999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst175")).ok=((new com.ibm.math.BigDecimal("9.99e-999999999")).toString()).equals("9.99E-999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst176")).ok=((new com.ibm.math.BigDecimal("9.9e-999999999")).toString()).equals("9.9E-999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst177")).ok=((new com.ibm.math.BigDecimal("9e-999999999")).toString()).equals("9E-999999999"); (new com.ibm.math.DiagBigDecimal.Test("cst179")).ok=((new com.ibm.math.BigDecimal("99e-999999999")).toString()).equals("9.9E-999999998"); (new com.ibm.math.DiagBigDecimal.Test("cst180")).ok=((new com.ibm.math.BigDecimal("999e-999999999")).toString()).equals("9.99E-999999997"); // baddies -- badstrings=new java.lang.String[]{"1..2",".","..","++1","--1","-+1","+-1","12e","12e++","12f4"," +1","+ 1","12 "," + 1"," - 1 ","x","-1-","12-","3+","","1e-","7e1000000000","","e100","\u0e5a","\u0b65","99e999999999","999e999999999","0.9e-999999999","0.09e-999999999","0.1e1000000000","10e-1000000000","0.9e9999999999","99e-9999999999","111e9999999999","1111e-9999999999"+" "+"111e*123","111e123-","111e+12+","111e1-3-","111e1*23","111e1e+3","1e1.0","1e123e","ten","ONE","1e.1","1e1.","1ee","e+1"}; // 200-203 // 204-207 // 208-211 // 211-214 // 215-219 // 220-222 // 223-224 // 225-226 // 227-228 // 229-230 // 231-232 // 233-234 // 235-237 // 238-240 // 241-244 // 245-248 // watch out for commas on continuation lines {int $16=badstrings.length;i=0;i:for(;$16>0;$16--,i++){ try{ new com.ibm.math.BigDecimal(badstrings[i]); say(">>> cst"+(200+i)+":"+" "+badstrings[i]+" "+(new com.ibm.math.BigDecimal(badstrings[i])).toString()); flag=false; } catch (java.lang.NumberFormatException $17){ flag=true; } (new com.ibm.math.DiagBigDecimal.Test("cst"+(200+i))).ok=flag; } }/*i*/ try{checknull:do{ new com.ibm.math.BigDecimal((java.lang.String)null); flag=false; }while(false);} catch (java.lang.NullPointerException $18){ flag=true; }/*checknull*/ (new com.ibm.math.DiagBigDecimal.Test("cst301")).ok=flag; summary("Constructors"); return; }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/9d7cfece10981dede4d5303274403593abc1a92d/DiagBigDecimal.java/clean/icu4j/src/com/ibm/icu/dev/test/bigdec/DiagBigDecimal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 1071, 918, 6643, 10062, 1383, 1435, 95, 225, 1250, 2982, 33, 5743, 31, 225, 2252, 18, 4936, 18, 780, 818, 31, 225, 2252, 18, 15949, 18, 24198, 324, 625, 31, 225, 2252, 18, 15949, 18, 24198, 324, 452, 31, 225, 2252, 18, 15949, 18, 24198, 4158, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 2414, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 1966, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 13952, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 13817, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 3501, 31, 225, 2252, 18, 4936, 18, 11949, 425, 33, 2011, 31, 225, 1149, 3474, 8526, 31, 225, 1645, 302, 24355, 31, 225, 1645, 302, 917, 31, 225, 1645, 8800, 1332, 31, 225, 1645, 302, 917, 25, 31, 225, 1645, 8800, 1332, 25, 31, 225, 1645, 302, 1154, 31, 225, 1645, 302, 1896, 31, 225, 1645, 302, 31, 225, 2252, 18, 4936, 18, 780, 5570, 10219, 8526, 31, 225, 509, 277, 33, 20, 31, 565, 368, 6810, 306, 3845, 1230, 17, 11777, 19874, 65, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 591, 11664, 7923, 2934, 601, 28657, 832, 18, 10827, 18, 15949, 18, 29436, 18, 24968, 18, 10492, 1435, 2934, 14963, 2932, 20, 8863, 225, 261, 2704, 532, 18, 10827, 18, 15949, 18, 14058, 29436, 18, 4709, 2932, 591, 24908, 7923, 2934, 601, 28657, 832, 18, 10827, 18, 15949, 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, 1071, 918, 6643, 10062, 1383, 1435, 95, 225, 1250, 2982, 33, 5743, 31, 225, 2252, 18, 4936, 18, 780, 818, 31, 225, 2252, 18, 15949, 18, 24198, 324, 625, 31, 225, 2252, 18, 15949, 18, 24198, 324, 452, 31, 225, 2252, 18, 15949, 18, 24198, 4158, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 2414, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 1966, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 13952, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 13817, 31, 225, 532, 18, 10827, 18, 15949, 18, 29436, 324, 3501, 31, 225, 2252, 18, 4936, 18, 11949, 425, 33, 2011, 31, 225, 1149, 3474, 8526, 31, 225, 1645, 2 ]