rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
setHorizontalAlignment(SwingConstants.LEFT);
setOpaque(true);
public BasicComboBoxRenderer() { setHorizontalAlignment(SwingConstants.LEFT); setBorder(noFocusBorder); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/7cc107e01ff95c250142dda3e246542e1b0c0794/BasicComboBoxRenderer.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7651, 22199, 6747, 1435, 225, 288, 565, 444, 3817, 14886, 12, 3767, 1769, 565, 25715, 12, 2135, 9233, 8107, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7651, 22199, 6747, 1435, 225, 288, 565, 444, 3817, 14886, 12, 3767, 1769, 565, 25715, 12, 2135, 9233, 8107, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
loperation(X86Operation.SUB, X86Operation.SBB, false); }
loperation(X86Operation.SUB, X86Operation.SBB, false); }
public final void visit_lsub() { loperation(X86Operation.SUB, X86Operation.SBB, false); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/4c9e1b93fdcd3878abf615621ec6a36bf839ab10/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3757, 67, 80, 1717, 1435, 288, 202, 202, 383, 1193, 12, 60, 5292, 2988, 18, 8362, 16, 1139, 5292, 2988, 18, 55, 9676, 16, 629, 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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 3757, 67, 80, 1717, 1435, 288, 202, 202, 383, 1193, 12, 60, 5292, 2988, 18, 8362, 16, 1139, 5292, 2988, 18, 55, 9676, 16, 629, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public XQResolveNames (Compilation comp)
public XQResolveNames ()
public XQResolveNames (Compilation comp) { super(comp); lookup.push(lastDecl); lookup.push(positionDecl); }
40769 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/40769/03db21ac6cb4fce3182a84bb78e6f567b8fb05eb/XQResolveNames.java/buggy/gnu/xquery/lang/XQResolveNames.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1139, 53, 8460, 1557, 1832, 225, 288, 565, 2240, 12, 2919, 1769, 565, 3689, 18, 6206, 12, 2722, 3456, 1769, 565, 3689, 18, 6206, 12, 3276, 3456, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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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, 1139, 53, 8460, 1557, 1832, 225, 288, 565, 2240, 12, 2919, 1769, 565, 3689, 18, 6206, 12, 2722, 3456, 1769, 565, 3689, 18, 6206, 12, 3276, 3456, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.addVariableAccess(occurrence.getLocation().getBeginLine(), new VariableAccess(VariableAccess.DEFINITION, occurrence.getImage()), inode.getFlow());
this.addVariableAccess(occurrence.getLocation(), new VariableAccess(VariableAccess.DEFINITION, occurrence.getImage()), inode.getFlow());
private void addAccess(Iterator k, IDataFlowNode inode) { NameOccurrence occurrence = (NameOccurrence) k.next(); if (occurrence.isOnLeftHandSide()) { this.addVariableAccess(occurrence.getLocation().getBeginLine(), new VariableAccess(VariableAccess.DEFINITION, occurrence.getImage()), inode.getFlow()); } else if (occurrence.isOnRightHandSide() || (!occurrence.isOnLeftHandSide() && !occurrence.isOnRightHandSide())) { this.addVariableAccess(occurrence.getLocation().getBeginLine(), new VariableAccess(VariableAccess.REFERENCING, occurrence.getImage()), inode.getFlow()); } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/bfca01c305e3ade2bfb41f1b18b81c7e16a37787/VariableAccessVisitor.java/buggy/pmd/src/net/sourceforge/pmd/dfa/variableaccess/VariableAccessVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 1862, 12, 3198, 417, 16, 467, 751, 5249, 907, 17870, 13, 288, 3639, 1770, 24267, 13083, 273, 261, 461, 24267, 13, 417, 18, 4285, 5621, 3639, 309, 261, 31177, 18, 291, 1398, 3910, 1144, 8895, 10756, 288, 5411, 333, 18, 1289, 3092, 1862, 12, 31177, 18, 588, 2735, 9334, 394, 7110, 1862, 12, 3092, 1862, 18, 25312, 16, 13083, 18, 588, 2040, 1435, 3631, 17870, 18, 588, 5249, 10663, 3639, 289, 469, 309, 261, 31177, 18, 291, 1398, 4726, 1144, 8895, 1435, 747, 16051, 31177, 18, 291, 1398, 3910, 1144, 8895, 1435, 597, 401, 31177, 18, 291, 1398, 4726, 1144, 8895, 1435, 3719, 288, 5411, 333, 18, 1289, 3092, 1862, 12, 31177, 18, 588, 2735, 7675, 588, 8149, 1670, 9334, 394, 7110, 1862, 12, 3092, 1862, 18, 30269, 30445, 1360, 16, 13083, 18, 588, 2040, 1435, 3631, 17870, 18, 588, 5249, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 1862, 12, 3198, 417, 16, 467, 751, 5249, 907, 17870, 13, 288, 3639, 1770, 24267, 13083, 273, 261, 461, 24267, 13, 417, 18, 4285, 5621, 3639, 309, 261, 31177, 18, 291, 1398, 3910, 1144, 8895, 10756, 288, 5411, 333, 18, 1289, 3092, 1862, 12, 31177, 18, 588, 2735, 9334, 394, 7110, 1862, 12, 3092, 1862, 18, 25312, 16, 13083, 18, 588, 2040, 1435, 3631, 17870, 18, 588, 5249, 10663, 3639, 289, 469, 309, 261, 31177, 18, 291, 1398, 4726, 1144, 8895, 1435, 747, 16051, 31177, 18, 291, 1398, 3910, 1144, 8895, 1435, 597, 401, 31177, 18, 291, 1398, 4726, 1144, 8895, 1435, 3719, 288, 5411, 333, 18, 1289, 3092, 1862, 12, 31177, 18, 588, 2735, 2 ]
{ LdapDN dn = new LdapDN( "a=b" ); Enumeration nc = dn.getAll();
{ LdapDN dn = new LdapDN( "a=b" ); Enumeration nc = dn.getAll();
public void testLdapDNGetAllSimple() throws InvalidNameException { LdapDN dn = new LdapDN( "a=b" ); Enumeration nc = dn.getAll(); Assert.assertEquals( true, nc.hasMoreElements() ); Assert.assertEquals( "a=b", nc.nextElement() ); Assert.assertEquals( false, nc.hasMoreElements() ); }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/34d16a3366af953bef4b3d5f4cf0e7c6bda29ba6/LdapDNTest.java/clean/ldap/src/test/java/org/apache/directory/shared/ldap/name/LdapDNTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 18437, 8609, 21413, 5784, 1435, 1216, 1962, 26771, 565, 288, 3639, 18053, 8609, 8800, 273, 394, 18053, 8609, 12, 315, 69, 33, 70, 6, 11272, 3639, 13864, 8194, 273, 8800, 18, 588, 1595, 5621, 3639, 5452, 18, 11231, 8867, 12, 638, 16, 8194, 18, 5332, 7417, 3471, 1435, 11272, 3639, 5452, 18, 11231, 8867, 12, 315, 69, 33, 70, 3113, 8194, 18, 4285, 1046, 1435, 11272, 3639, 5452, 18, 11231, 8867, 12, 629, 16, 8194, 18, 5332, 7417, 3471, 1435, 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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800, 273, 394, 18053, 8609, 12, 315, 69, 33, 70, 6, 11272, 3639, 13864, 8194, 273, 8800, 18, 588, 1595, 5621, 3639, 5452, 18, 11231, 8867, 12, 638, 16, 8194, 18, 5332, 7417, 3471, 1435, 11272, 3639, 5452, 18, 11231, 8867, 12, 315, 69, 33, 70, 3113, 8194, 18, 4285, 1046, 1435, 11272, 3639, 5452, 18, 11231, 8867, 12, 629, 16, 8194, 18, 5332, 7417, 3471, 1435, 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 ]
public Nonterminal(String name) {
public Nonterminal(String name, String label) {
public Nonterminal(String name) { this.name = name; label = null; }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/70bedeee5377b529a3850434da92620927ed3cef/Nonterminal.java/buggy/tools/ppg/src/ppg/atoms/Nonterminal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3858, 15979, 12, 780, 508, 13, 288, 202, 202, 2211, 18, 529, 273, 508, 31, 202, 202, 1925, 273, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3858, 15979, 12, 780, 508, 13, 288, 202, 202, 2211, 18, 529, 273, 508, 31, 202, 202, 1925, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
TestSuite suite = new TestSuite("Test for org.eclipse.mylar.jira.tests");
TestSuite suite = new TestSuite("Test for mylar.jira.tests");
public static Test suite() { TestSuite suite = new TestSuite("Test for org.eclipse.mylar.jira.tests"); //$JUnit-BEGIN$ //$JUnit-END$ return suite; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2f5da430208b16fc87e8ebb76d90f5f6f3209f5b/AllJiraTests.java/clean/org.eclipse.mylyn.jira.tests/src/org/eclipse/mylyn/jira/tests/AllJiraTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 2932, 4709, 364, 2358, 18, 20416, 18, 4811, 7901, 18, 78, 11547, 18, 16341, 8863, 202, 202, 759, 8, 46, 2802, 17, 16061, 8, 202, 202, 759, 8, 46, 2802, 17, 4415, 8, 202, 202, 2463, 11371, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 7766, 11371, 1435, 288, 202, 202, 4709, 13587, 11371, 273, 394, 7766, 13587, 2932, 4709, 364, 2358, 18, 20416, 18, 4811, 7901, 18, 78, 11547, 18, 16341, 8863, 202, 202, 759, 8, 46, 2802, 17, 16061, 8, 202, 202, 759, 8, 46, 2802, 17, 4415, 8, 202, 202, 2463, 11371, 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 ]
private PluginAction createAction(int targetType, IConfigurationElement actionElement, Object target) {
private PluginAction createAction(int targetType, IConfigurationElement actionElement, Object target, String defId, String style) { int actionStyle = IAction.AS_PUSH_BUTTON; if (style != null) { if (style.equals(STYLE_RADIO)) { actionStyle = IAction.AS_RADIO_BUTTON; } else if (style.equals(STYLE_TOGGLE)) { actionStyle = IAction.AS_CHECK_BOX; } }
private PluginAction createAction(int targetType, IConfigurationElement actionElement, Object target) { switch (targetType) { case T_VIEW: return new ViewPluginAction(actionElement, ATT_CLASS, (IViewPart)target,definitionId); case T_EDITOR: return new EditorPluginAction(actionElement, ATT_CLASS, (IEditorPart)target,definitionId); case T_WORKBENCH: return new WWinPluginAction(actionElement, ATT_CLASS, (IWorkbenchWindow)target,definitionId); case T_WORKBENCH_PULLDOWN: return new WWinPluginPulldown(actionElement, ATT_CLASS, (IWorkbenchWindow)target,definitionId); case T_POPUP: return new ObjectPluginAction(actionElement, ATT_CLASS,definitionId); default: WorkbenchPlugin.log("Unknown Action Type: " + targetType);//$NON-NLS-1$ return null; }}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/dff9886f34ad3b8dcd475481030dcd03671c04c0/ActionDescriptor.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6258, 1803, 752, 1803, 12, 474, 16065, 16, 467, 1750, 1046, 1301, 1046, 16, 1033, 1018, 13, 288, 202, 9610, 261, 3299, 559, 13, 288, 202, 202, 3593, 399, 67, 12145, 30, 1082, 202, 2463, 394, 4441, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 1767, 1988, 13, 3299, 16, 6907, 548, 1769, 202, 202, 3593, 399, 67, 13208, 30, 1082, 202, 2463, 394, 18451, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 6946, 1988, 13, 3299, 16, 6907, 548, 1769, 202, 202, 3593, 399, 67, 10566, 38, 1157, 1792, 30, 1082, 202, 2463, 394, 678, 18049, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 2421, 22144, 3829, 13, 3299, 16, 6907, 548, 1769, 202, 202, 3593, 399, 67, 10566, 38, 1157, 1792, 67, 52, 2705, 12711, 30, 1082, 202, 2463, 394, 678, 18049, 3773, 9629, 2378, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 2421, 22144, 3829, 13, 3299, 16, 6907, 548, 1769, 202, 202, 3593, 399, 67, 30374, 3079, 30, 1082, 202, 2463, 394, 1033, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 6907, 548, 1769, 202, 202, 1886, 30, 1082, 202, 2421, 22144, 3773, 18, 1330, 2932, 4874, 4382,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202, 3593, 399, 67, 12145, 30, 1082, 202, 2463, 394, 4441, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 1767, 1988, 13, 3299, 16, 6907, 548, 1769, 202, 202, 3593, 399, 67, 13208, 30, 1082, 202, 2463, 394, 18451, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 6946, 1988, 13, 3299, 16, 6907, 548, 1769, 202, 202, 3593, 399, 67, 10566, 38, 1157, 1792, 30, 1082, 202, 2463, 394, 678, 18049, 3773, 1803, 12, 1128, 1046, 16, 7907, 67, 5237, 16, 261, 45, 2421, 2 ]
list = new LinkedList(services.values());
list = new ArrayList(services.values());
public void run() { DNSOutgoing out = null; try { // send probes for JmDNS itself if (state == taskState) { if (out == null) { out = new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA); } out.addAnswer(host, 0); advanceState(); } // send announces for services // Defensively copy the services into a local list, // to prevent race conditions with methods registerService // and unregisterService. LinkedList list; synchronized (JmDNS.this) { list = new LinkedList(services.values()); } for (Iterator i=list.iterator(); i.hasNext(); ) { ServiceInfo info = (ServiceInfo) i.next(); synchronized (info) { if (info.getState() == taskState && info.task == this) { info.advanceState(); if (out == null) { out = new DNSOutgoing(DNSConstants.FLAGS_QR_RESPONSE | DNSConstants.FLAGS_AA); } out.addAnswer(new DNSRecord.Pointer(info.type, DNSConstants.TYPE_PTR, DNSConstants.CLASS_IN, DNSConstants.DNS_TTL, info.getQualifiedName()), 0); out.addAnswer(new DNSRecord.Service(info.getQualifiedName(), DNSConstants.TYPE_SRV, DNSConstants.CLASS_IN, DNSConstants.DNS_TTL, info.priority, info.weight, info.port, host.name), 0); out.addAnswer(new DNSRecord.Text(info.getQualifiedName(), DNSConstants.TYPE_TXT, DNSConstants.CLASS_IN, DNSConstants.DNS_TTL, info.text), 0); } } } if (out != null) { if (debug > 1) { System.out.println("JmDNS announcing #"+taskState); } send(out); } else { // If we have nothing to send, another timer taskState ahead // of us has done the job for us. We can cancel. cancel(); } } catch (Throwable e) { e.printStackTrace(); close(); } taskState = taskState.advance(); if (! taskState.isAnnouncing()) { cancel(); } }
6848 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6848/1e6f2e54fd57e639586c692aad031141bd691734/JmDNS.java/buggy/jmdns/src/javax/jmdns/JmDNS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 8858, 24866, 596, 273, 446, 31, 5411, 775, 288, 7734, 368, 1366, 3137, 281, 364, 804, 81, 11602, 6174, 7734, 309, 261, 2019, 422, 1562, 1119, 13, 288, 10792, 309, 261, 659, 422, 446, 13, 288, 13491, 596, 273, 394, 8858, 24866, 12, 11602, 2918, 18, 17836, 67, 29853, 67, 14508, 571, 8858, 2918, 18, 17836, 67, 5284, 1769, 10792, 289, 10792, 596, 18, 1289, 13203, 12, 2564, 16, 374, 1769, 10792, 8312, 1119, 5621, 7734, 289, 7734, 368, 1366, 8226, 465, 764, 364, 4028, 7734, 368, 10922, 773, 4492, 1610, 326, 4028, 1368, 279, 1191, 666, 16, 7734, 368, 358, 5309, 17996, 4636, 598, 2590, 1744, 1179, 7734, 368, 471, 10232, 1179, 18, 7734, 10688, 666, 31, 7734, 3852, 261, 46, 81, 11602, 18, 2211, 13, 288, 10792, 666, 273, 394, 2407, 12, 8387, 18, 2372, 10663, 7734, 289, 7734, 364, 261, 3198, 277, 33, 1098, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 10792, 1956, 966, 1123, 273, 261, 1179, 966, 13, 277, 18, 4285, 5621, 10792, 3852, 261, 1376, 13, 288, 13491, 309, 261, 1376, 18, 588, 1119, 1435, 422, 1562, 1119, 597, 1123, 18, 4146, 422, 333, 13, 288, 18701, 1123, 18, 361, 5882, 1119, 5621, 18701, 309, 261, 659, 422, 446, 13, 288, 27573, 596, 273, 394, 8858, 24866, 12, 11602, 2918, 18, 17836, 67, 29853, 67, 14508, 571, 8858, 2918, 18, 17836, 67, 5284, 1769, 18701, 289, 18701, 596, 18, 1289, 13203, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 8858, 24866, 596, 273, 446, 31, 5411, 775, 288, 7734, 368, 1366, 3137, 281, 364, 804, 81, 11602, 6174, 7734, 309, 261, 2019, 422, 1562, 1119, 13, 288, 10792, 309, 261, 659, 422, 446, 13, 288, 13491, 596, 273, 394, 8858, 24866, 12, 11602, 2918, 18, 17836, 67, 29853, 67, 14508, 571, 8858, 2918, 18, 17836, 67, 5284, 1769, 10792, 289, 10792, 596, 18, 1289, 13203, 12, 2564, 16, 374, 1769, 10792, 8312, 1119, 5621, 7734, 289, 7734, 368, 1366, 8226, 465, 764, 364, 4028, 7734, 368, 10922, 773, 4492, 1610, 326, 4028, 1368, 279, 1191, 666, 16, 7734, 368, 358, 5309, 17996, 4636, 598, 2590, 1744, 1179, 7734, 368, 471, 10232, 2 ]
runQueryCheckResult(
assertQueryReturns(
public void testBug804903() { CachePool.instance().flush(); runQueryCheckResult( "select {[Measures].[Customer Count]} ON columns," + nl + " {([Promotion Media].[All Media], [Product].[All Products])} ON rows" + nl + "from [Sales]" + nl + "where [Time].[1997]", "Axis #0:" + nl + "{[Time].[1997]}" + nl + "Axis #1:" + nl + "{[Measures].[Customer Count]}" + nl + "Axis #2:" + nl + "{[Promotion Media].[All Media], [Product].[All Products]}" + nl + "Row #0: 5,581" + nl); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/3041f930b5fc4bf6aa3339845b828801c1d8b366/BasicQueryTest.java/buggy/testsrc/main/mondrian/test/BasicQueryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19865, 28, 3028, 29, 4630, 1435, 288, 3639, 4379, 2864, 18, 1336, 7675, 11330, 5621, 3639, 1815, 1138, 1356, 12, 7734, 315, 4025, 288, 63, 23177, 1823, 8009, 63, 8883, 6974, 18322, 6229, 2168, 10837, 397, 7741, 397, 7734, 315, 225, 288, 3816, 13224, 8240, 6128, 8009, 63, 1595, 6128, 6487, 306, 4133, 8009, 63, 1595, 8094, 87, 5717, 97, 6229, 2595, 6, 397, 7741, 397, 7734, 315, 2080, 306, 23729, 4279, 397, 7741, 397, 7734, 315, 6051, 306, 950, 8009, 63, 19818, 27, 65, 3113, 7734, 315, 6558, 468, 20, 2773, 397, 7741, 397, 7734, 4144, 63, 950, 8009, 63, 19818, 27, 20817, 397, 7741, 397, 7734, 315, 6558, 468, 21, 2773, 397, 7741, 397, 7734, 4144, 63, 23177, 1823, 8009, 63, 8883, 6974, 20817, 397, 7741, 397, 7734, 315, 6558, 468, 22, 2773, 397, 7741, 397, 7734, 4144, 63, 13224, 8240, 6128, 8009, 63, 1595, 6128, 6487, 306, 4133, 8009, 63, 1595, 8094, 87, 20817, 397, 7741, 397, 7734, 315, 1999, 468, 20, 30, 1381, 16, 8204, 21, 6, 397, 7741, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19865, 28, 3028, 29, 4630, 1435, 288, 3639, 4379, 2864, 18, 1336, 7675, 11330, 5621, 3639, 1815, 1138, 1356, 12, 7734, 315, 4025, 288, 63, 23177, 1823, 8009, 63, 8883, 6974, 18322, 6229, 2168, 10837, 397, 7741, 397, 7734, 315, 225, 288, 3816, 13224, 8240, 6128, 8009, 63, 1595, 6128, 6487, 306, 4133, 8009, 63, 1595, 8094, 87, 5717, 97, 6229, 2595, 6, 397, 7741, 397, 7734, 315, 2080, 306, 23729, 4279, 397, 7741, 397, 7734, 315, 6051, 306, 950, 8009, 63, 19818, 27, 65, 3113, 7734, 315, 6558, 468, 20, 2773, 397, 7741, 397, 7734, 4144, 63, 950, 8009, 63, 19818, 27, 20817, 397, 7741, 397, 7734, 315, 6558, 468, 21, 2773, 397, 7741, 2 ]
public WagonCaller(String featureDescFile){
public WagonCaller(String ESTDIR, String featureDescFile){ this.ESTDIR = ESTDIR;
public WagonCaller(String featureDescFile){ // Read the environment variable ESTDIR from the system: this.featureDefFile = featureDescFile; String getESTDIR = System.getenv("ESTDIR"); if ( getESTDIR == null ) { System.out.println( "Warning: The environment variable ESTDIR was not found on your system." ); System.out.println( " Defaulting ESTDIR to [" + ESTDIR + "]." ); } else ESTDIR = getESTDIR; //try out if wagon runs try { System.out.print("Test call of wagon ... "); Runtime.getRuntime().exec( ESTDIR + "/main/wagon -version" ); System.out.print("Ok!\n"); } catch ( IOException e ) { throw new RuntimeException( "Test run of wagon failed! \n" + "Please check the installation path of EST: "+ESTDIR + " or the execution rights in this path.", e ); } }
18648 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18648/853323f8ddfce48c4d6b0ba8d30f0f13f05c882d/WagonCaller.java/buggy/java/de/dfki/lt/mary/unitselection/voiceimport/WagonCaller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 678, 346, 265, 11095, 12, 780, 512, 882, 4537, 16, 514, 2572, 4217, 812, 15329, 333, 18, 11027, 4537, 273, 512, 882, 4537, 31, 4202, 368, 2720, 326, 3330, 2190, 512, 882, 4537, 628, 326, 2619, 30, 540, 333, 18, 7238, 3262, 812, 273, 2572, 4217, 812, 31, 3639, 514, 4774, 882, 4537, 273, 2332, 18, 588, 3074, 2932, 11027, 4537, 8863, 3639, 309, 261, 4774, 882, 4537, 422, 446, 262, 288, 5411, 2332, 18, 659, 18, 8222, 12, 315, 6210, 30, 1021, 3330, 2190, 512, 882, 4537, 1703, 486, 1392, 603, 3433, 2619, 1199, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 540, 2989, 310, 512, 882, 4537, 358, 8247, 397, 512, 882, 4537, 397, 9850, 1199, 11272, 3639, 289, 3639, 469, 512, 882, 4537, 273, 4774, 882, 4537, 31, 7734, 368, 698, 596, 309, 341, 346, 265, 7597, 3639, 775, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 4709, 745, 434, 341, 346, 265, 1372, 315, 1769, 5411, 2509, 18, 588, 5576, 7675, 4177, 12, 512, 882, 4537, 397, 2206, 5254, 19, 91, 346, 265, 300, 1589, 6, 11272, 5411, 2332, 18, 659, 18, 1188, 2932, 8809, 24440, 82, 8863, 3639, 289, 3639, 1044, 261, 1860, 425, 262, 288, 5411, 604, 394, 3235, 12, 315, 4709, 1086, 434, 341, 346, 265, 2535, 5, 521, 82, 6, 10792, 397, 315, 8496, 866, 326, 13193, 589, 434, 512, 882, 30, 13773, 11027, 4537, 10792, 397, 315, 578, 326, 4588, 14989, 316, 333, 589, 1199, 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, 678, 346, 265, 11095, 12, 780, 512, 882, 4537, 16, 514, 2572, 4217, 812, 15329, 333, 18, 11027, 4537, 273, 512, 882, 4537, 31, 4202, 368, 2720, 326, 3330, 2190, 512, 882, 4537, 628, 326, 2619, 30, 540, 333, 18, 7238, 3262, 812, 273, 2572, 4217, 812, 31, 3639, 514, 4774, 882, 4537, 273, 2332, 18, 588, 3074, 2932, 11027, 4537, 8863, 3639, 309, 261, 4774, 882, 4537, 422, 446, 262, 288, 5411, 2332, 18, 659, 18, 8222, 12, 315, 6210, 30, 1021, 3330, 2190, 512, 882, 4537, 1703, 486, 1392, 603, 3433, 2619, 1199, 11272, 5411, 2332, 18, 659, 18, 8222, 12, 315, 540, 2989, 310, 512, 882, 4537, 358, 8247, 397, 512, 882, 4537, 397, 2 ]
return part; }
return part; }
protected final IPresentablePart getPartForTab(CTabItem item) { IPresentablePart part = (IPresentablePart) item.getData(TAB_DATA); return part; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/38085a8072ad4fd21bad0983f8bc31ac736c9f72/R21BasicStackPresentation.java/buggy/bundles/org.eclipse.ui.presentations.r21/src/org/eclipse/ui/internal/presentations/R21BasicStackPresentation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 2971, 1581, 429, 1988, 13657, 1290, 5661, 12, 1268, 378, 1180, 761, 13, 288, 3639, 2971, 1581, 429, 1988, 1087, 273, 261, 2579, 1581, 429, 1988, 13, 761, 18, 588, 751, 12, 28899, 67, 4883, 1769, 3639, 327, 1087, 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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 5661, 12, 1268, 378, 1180, 761, 13, 288, 3639, 2971, 1581, 429, 1988, 1087, 273, 261, 2579, 1581, 429, 1988, 13, 761, 18, 588, 751, 12, 28899, 67, 4883, 1769, 3639, 327, 1087, 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 ]
actionPerformed();
actionPerformed(true);
public void actionPerformed(AnActionEvent e) { actionPerformed(); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/812bea2e63b5cdef8310ff36ee3da4141007ab04/CheckForUpdateAction.java/buggy/source/com/intellij/ide/actions/CheckForUpdateAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 979, 1803, 1133, 425, 13, 288, 565, 26100, 12, 3767, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 979, 1803, 1133, 425, 13, 288, 565, 26100, 12, 3767, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SimpleDateFormat df = new SimpleDateFormat("''yyyy-MM-dd''"); set(parameterIndex, df.format(x));
set(parameterIndex, "'" + x.toString() + "'");
public void setDate(int parameterIndex, java.sql.Date x) throws SQLException { if (null == x) { setNull(parameterIndex, Types.OTHER); } else { SimpleDateFormat df = new SimpleDateFormat("''yyyy-MM-dd''"); set(parameterIndex, df.format(x)); } // The above is how the date should be handled. // // However, in JDK's prior to 1.1.6 (confirmed with the // Linux jdk1.1.3 and the Win95 JRE1.1.5), SimpleDateFormat seems // to format a date to the previous day. So the fix is to add a day // before formatting. // // PS: 86400000 is one day // //set(parameterIndex, df.format(new java.util.Date(x.getTime()+86400000))); }
52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/cdebcad6af70ec13bd89f11cf7f3d8b7d5278f50/PreparedStatement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/PreparedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 17604, 12, 474, 25412, 16, 2252, 18, 4669, 18, 1626, 619, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 2011, 422, 619, 13, 202, 202, 95, 1082, 202, 542, 2041, 12, 6775, 1016, 16, 7658, 18, 23940, 1769, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 5784, 11878, 3013, 273, 394, 17005, 2932, 6309, 17722, 17, 8206, 17, 449, 11, 4970, 1769, 1082, 202, 542, 12, 6775, 1016, 16, 3013, 18, 2139, 12, 92, 10019, 202, 202, 97, 202, 202, 759, 1021, 5721, 353, 3661, 326, 1509, 1410, 506, 7681, 18, 202, 202, 759, 202, 202, 759, 10724, 16, 316, 24387, 1807, 6432, 358, 404, 18, 21, 18, 26, 261, 21606, 598, 326, 202, 202, 759, 13318, 525, 2883, 21, 18, 21, 18, 23, 471, 326, 21628, 8778, 804, 862, 21, 18, 21, 18, 25, 3631, 17005, 12001, 202, 202, 759, 358, 740, 279, 1509, 358, 326, 2416, 2548, 18, 6155, 326, 2917, 353, 358, 527, 279, 2548, 202, 202, 759, 1865, 10407, 18, 202, 202, 759, 202, 202, 759, 26320, 30, 19663, 11706, 353, 1245, 2548, 202, 202, 759, 202, 202, 759, 542, 12, 6775, 1016, 16, 3013, 18, 2139, 12, 2704, 2252, 18, 1367, 18, 1626, 12, 92, 18, 588, 950, 1435, 15, 28, 1105, 11706, 3719, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 17604, 12, 474, 25412, 16, 2252, 18, 4669, 18, 1626, 619, 13, 1216, 6483, 202, 95, 202, 202, 430, 261, 2011, 422, 619, 13, 202, 202, 95, 1082, 202, 542, 2041, 12, 6775, 1016, 16, 7658, 18, 23940, 1769, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 5784, 11878, 3013, 273, 394, 17005, 2932, 6309, 17722, 17, 8206, 17, 449, 11, 4970, 1769, 1082, 202, 542, 12, 6775, 1016, 16, 3013, 18, 2139, 12, 92, 10019, 202, 202, 97, 202, 202, 759, 1021, 5721, 353, 3661, 326, 1509, 1410, 506, 7681, 18, 202, 202, 759, 202, 202, 759, 10724, 16, 316, 24387, 1807, 6432, 358, 404, 18, 21, 18, 26, 261, 21606, 2 ]
calendar.set (Calendar.DST_OFFSET, tz.getDSTSavings());
if(k == 3 || k == 4) calendar.set (Calendar.DST_OFFSET, tz.getDSTSavings()); else calendar.set (Calendar.DST_OFFSET, 0);
public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fmt_index); if (ch == '\'') { int index = pos.getIndex(); if (fmt_index < fmt_max - 1 && pattern.charAt(fmt_index + 1) == '\'') { if (! expect (dateStr, pos, ch)) return null; ++fmt_index; } else quote_start = quote_start < 0 ? fmt_index : -1; continue; } if (quote_start != -1 || ((ch < 'a' || ch > 'z') && (ch < 'A' || ch > 'Z'))) { if (! expect (dateStr, pos, ch)) return null; continue; } // We've arrived at a potential pattern character in the // pattern. int fmt_count = 1; while (++fmt_index < fmt_max && pattern.charAt(fmt_index) == ch) { ++fmt_count; } // We might need to limit the number of digits to parse in // some cases. We look to the next pattern character to // decide. boolean limit_digits = false; if (fmt_index < fmt_max && standardChars.indexOf(pattern.charAt(fmt_index)) >= 0) limit_digits = true; --fmt_index; // We can handle most fields automatically: most either are // numeric or are looked up in a string vector. In some cases // we need an offset. When numeric, `offset' is added to the // resulting value. When doing a string lookup, offset is the // initial index into the string array. int calendar_field; boolean is_numeric = true; int offset = 0; boolean maybe2DigitYear = false; Integer simpleOffset; String[] set1 = null; String[] set2 = null; switch (ch) { case 'd': calendar_field = Calendar.DATE; break; case 'D': calendar_field = Calendar.DAY_OF_YEAR; break; case 'F': calendar_field = Calendar.DAY_OF_WEEK_IN_MONTH; break; case 'E': is_numeric = false; offset = 1; calendar_field = Calendar.DAY_OF_WEEK; set1 = formatData.getWeekdays(); set2 = formatData.getShortWeekdays(); break; case 'w': calendar_field = Calendar.WEEK_OF_YEAR; break; case 'W': calendar_field = Calendar.WEEK_OF_MONTH; break; case 'M': calendar_field = Calendar.MONTH; if (fmt_count <= 2) offset = -1; else { is_numeric = false; set1 = formatData.getMonths(); set2 = formatData.getShortMonths(); } break; case 'y': calendar_field = Calendar.YEAR; if (fmt_count <= 2) maybe2DigitYear = true; break; case 'K': calendar_field = Calendar.HOUR; break; case 'h': calendar_field = Calendar.HOUR; break; case 'H': calendar_field = Calendar.HOUR_OF_DAY; break; case 'k': calendar_field = Calendar.HOUR_OF_DAY; break; case 'm': calendar_field = Calendar.MINUTE; break; case 's': calendar_field = Calendar.SECOND; break; case 'S': calendar_field = Calendar.MILLISECOND; break; case 'a': is_numeric = false; calendar_field = Calendar.AM_PM; set1 = formatData.getAmPmStrings(); break; case 'z': case 'Z': // We need a special case for the timezone, because it // uses a different data structure than the other cases. is_numeric = false; calendar_field = Calendar.ZONE_OFFSET; String[][] zoneStrings = formatData.getZoneStrings(); int zoneCount = zoneStrings.length; int index = pos.getIndex(); boolean found_zone = false; simpleOffset = computeOffset(dateStr.substring(index)); if (simpleOffset != null) { found_zone = true; saw_timezone = true; calendar.set(Calendar.DST_OFFSET, 0); offset = simpleOffset.intValue(); } else { for (int j = 0; j < zoneCount; j++) { String[] strings = zoneStrings[j]; int k; for (k = 0; k < strings.length; ++k) { if (dateStr.startsWith(strings[k], index)) break; } if (k != strings.length) { found_zone = true; saw_timezone = true; TimeZone tz = TimeZone.getTimeZone (strings[0]); calendar.set (Calendar.DST_OFFSET, tz.getDSTSavings()); offset = tz.getRawOffset (); pos.setIndex(index + strings[k].length()); break; } } } if (! found_zone) { pos.setErrorIndex(pos.getIndex()); return null; } break; default: pos.setErrorIndex(pos.getIndex()); return null; } // Compute the value we should assign to the field. int value; int index = -1; if (is_numeric) { numberFormat.setMinimumIntegerDigits(fmt_count); if (limit_digits) numberFormat.setMaximumIntegerDigits(fmt_count); if (maybe2DigitYear) index = pos.getIndex(); Number n = numberFormat.parse(dateStr, pos); if (pos == null || ! (n instanceof Long)) return null; value = n.intValue() + offset; } else if (set1 != null) { index = pos.getIndex(); int i; boolean found = false; for (i = offset; i < set1.length; ++i) { if (set1[i] != null) if (dateStr.toUpperCase().startsWith(set1[i].toUpperCase(), index)) { found = true; pos.setIndex(index + set1[i].length()); break; } } if (!found && set2 != null) { for (i = offset; i < set2.length; ++i) { if (set2[i] != null) if (dateStr.toUpperCase().startsWith(set2[i].toUpperCase(), index)) { found = true; pos.setIndex(index + set2[i].length()); break; } } } if (!found) { pos.setErrorIndex(index); return null; } value = i; } else value = offset; if (maybe2DigitYear) { // Parse into default century if the numeric year string has // exactly 2 digits. int digit_count = pos.getIndex() - index; if (digit_count == 2) { is2DigitYear = true; value += defaultCentury; } } // Assign the value and move on. calendar.set(calendar_field, value); } if (is2DigitYear) { // Apply the 80-20 heuristic to dermine the full year based on // defaultCenturyStart. int year = calendar.get(Calendar.YEAR); if (calendar.getTime().compareTo(defaultCenturyStart) < 0) calendar.set(Calendar.YEAR, year + 100); } if (! saw_timezone) { // Use the real rules to determine whether or not this // particular time is in daylight savings. calendar.clear (Calendar.DST_OFFSET); calendar.clear (Calendar.ZONE_OFFSET); } return calendar.getTime(); } catch (IllegalArgumentException x) { pos.setErrorIndex(pos.getIndex()); return null; } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/f3a7de14074f8c16cb2d542d5272c00a92948816/SimpleDateFormat.java/buggy/libraries/javalib/java/text/SimpleDateFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2167, 1109, 261, 780, 1509, 1585, 16, 2884, 2555, 949, 13, 225, 288, 565, 509, 1325, 67, 1615, 273, 374, 31, 565, 509, 1325, 67, 1896, 273, 1936, 18, 2469, 5621, 565, 5686, 18, 8507, 5621, 565, 1250, 19821, 67, 12690, 273, 629, 31, 565, 509, 3862, 67, 1937, 273, 300, 21, 31, 565, 1250, 353, 22, 10907, 5593, 273, 629, 31, 565, 775, 1377, 288, 202, 1884, 261, 31, 1325, 67, 1615, 411, 1325, 67, 1896, 31, 965, 8666, 67, 1615, 13, 202, 225, 288, 202, 565, 1149, 462, 273, 1936, 18, 3001, 861, 12, 8666, 67, 1615, 1769, 202, 565, 309, 261, 343, 422, 14118, 6134, 202, 1377, 288, 202, 202, 474, 770, 273, 949, 18, 588, 1016, 5621, 202, 202, 430, 261, 8666, 67, 1615, 411, 1325, 67, 1896, 300, 404, 1082, 565, 597, 1936, 18, 3001, 861, 12, 8666, 67, 1615, 397, 404, 13, 422, 14118, 6134, 1082, 225, 288, 1082, 565, 309, 16051, 4489, 261, 712, 1585, 16, 949, 16, 462, 3719, 1082, 1377, 327, 446, 31, 1082, 565, 965, 8666, 67, 1615, 31, 1082, 225, 289, 202, 202, 12107, 1082, 225, 3862, 67, 1937, 273, 3862, 67, 1937, 411, 374, 692, 1325, 67, 1615, 294, 300, 21, 31, 202, 202, 17143, 31, 202, 1377, 289, 202, 377, 202, 565, 309, 261, 6889, 67, 1937, 480, 300, 21, 202, 202, 20081, 14015, 343, 411, 296, 69, 11, 747, 462, 405, 296, 94, 6134, 1082, 565, 597, 261, 343, 411, 296, 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, 2167, 1109, 261, 780, 1509, 1585, 16, 2884, 2555, 949, 13, 225, 288, 565, 509, 1325, 67, 1615, 273, 374, 31, 565, 509, 1325, 67, 1896, 273, 1936, 18, 2469, 5621, 565, 5686, 18, 8507, 5621, 565, 1250, 19821, 67, 12690, 273, 629, 31, 565, 509, 3862, 67, 1937, 273, 300, 21, 31, 565, 1250, 353, 22, 10907, 5593, 273, 629, 31, 565, 775, 1377, 288, 202, 1884, 261, 31, 1325, 67, 1615, 411, 1325, 67, 1896, 31, 965, 8666, 67, 1615, 13, 202, 225, 288, 202, 565, 1149, 462, 273, 1936, 18, 3001, 861, 12, 8666, 67, 1615, 1769, 202, 565, 309, 261, 343, 422, 14118, 6134, 202, 1377, 288, 202, 202, 474, 770, 273, 949, 2 ]
if (log.isDebugEnabled()) log.debug("AggPlugin:("+me+"):receiveMessage");
if (log != null && log.isDebugEnabled()) log.debug("AggPlugin:("+me+"):receiveMessage");
private void receiveMessage(AggRelay relay) { try { if (log.isDebugEnabled()) log.debug("AggPlugin:("+me+"):receiveMessage"); XMLMessage xmsg = (XMLMessage)relay.getResponse(); Element root = XmlUtils.parse(xmsg.getText()); String requestName = root.getNodeName(); // // Handle a response to one of my previous queries // UpdateDelta delta = new UpdateDelta(root); String updatedQuery = delta.getQueryId(); String updatedCluster = delta.getAgentId(); if (log.isDebugEnabled()) log.debug("AggPlugin ("+me+")Received a message at " + getAgentIdentifier() + " --- Query update to :" + updatedQuery + " from " + updatedCluster); // find query result adapter on blackboard Iterator updatedQueries = getBlackboardService().query( new QueryRAFinder(updatedQuery)).iterator(); if (updatedQueries.hasNext()) { QueryResultAdapter qra = (QueryResultAdapter)updatedQueries.next(); // update query result set based on reported changes qra.updateResults(delta); // publish changes to blackboard getBlackboardService().publishChange(qra); // Am I done with thie relay? if (qra.getQuery().getType().equals(QueryType.TRANSIENT)) getBlackboardService().publishRemove(relay); } else { if (log.isErrorEnabled()) log.error("AggPlugin: unable to find query ID: "+updatedQuery); } } catch (Exception ex) { System.err.println("Error receiving message"); ex.printStackTrace(); } }
10685 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10685/244223da3777f4ea0dade9f6027cfa081941105e/AggregationPlugin.java/clean/aggagent/src/org/cougaar/lib/aggagent/plugin/AggregationPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 6798, 1079, 12, 17139, 27186, 18874, 13, 288, 565, 775, 288, 1377, 309, 261, 1330, 480, 446, 597, 613, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 17139, 3773, 30, 2932, 15, 3501, 9078, 4672, 18149, 1079, 8863, 1377, 3167, 1079, 619, 3576, 273, 261, 4201, 1079, 13, 2878, 528, 18, 588, 1064, 5621, 1377, 3010, 1365, 273, 5714, 1989, 18, 2670, 12, 92, 3576, 18, 588, 1528, 10663, 1377, 514, 590, 461, 273, 1365, 18, 588, 18948, 5621, 1377, 368, 1377, 368, 5004, 279, 766, 358, 1245, 434, 3399, 2416, 6218, 1377, 368, 1377, 2315, 9242, 3622, 273, 394, 2315, 9242, 12, 3085, 1769, 4202, 514, 3526, 1138, 273, 3622, 18, 588, 1138, 548, 5621, 1377, 514, 3526, 3629, 273, 3622, 18, 588, 3630, 548, 5621, 1377, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 3639, 613, 18, 4148, 2932, 17139, 3773, 7566, 15, 3501, 15, 7923, 8872, 279, 883, 622, 315, 397, 3639, 336, 3630, 3004, 1435, 397, 3639, 315, 9948, 2770, 1089, 358, 20514, 397, 3526, 1138, 397, 315, 628, 315, 397, 3526, 3629, 1769, 1377, 368, 1104, 843, 563, 4516, 603, 7721, 3752, 1377, 4498, 3526, 9592, 273, 28373, 484, 3752, 1179, 7675, 2271, 12, 3639, 394, 2770, 2849, 8441, 12, 7007, 1138, 13, 2934, 9838, 5621, 1377, 309, 261, 7007, 9592, 18, 5332, 2134, 10756, 288, 3639, 25778, 4216, 1043, 354, 273, 261, 23583, 4216, 13, 7007, 9592, 18, 4285, 5621, 3639, 368, 1089, 843, 563, 444, 2511, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 6798, 1079, 12, 17139, 27186, 18874, 13, 288, 565, 775, 288, 1377, 309, 261, 1330, 480, 446, 597, 613, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 17139, 3773, 30, 2932, 15, 3501, 9078, 4672, 18149, 1079, 8863, 1377, 3167, 1079, 619, 3576, 273, 261, 4201, 1079, 13, 2878, 528, 18, 588, 1064, 5621, 1377, 3010, 1365, 273, 5714, 1989, 18, 2670, 12, 92, 3576, 18, 588, 1528, 10663, 1377, 514, 590, 461, 273, 1365, 18, 588, 18948, 5621, 1377, 368, 1377, 368, 5004, 279, 766, 358, 1245, 434, 3399, 2416, 6218, 1377, 368, 1377, 2315, 9242, 3622, 273, 394, 2315, 9242, 12, 3085, 1769, 4202, 514, 3526, 1138, 273, 3622, 18, 588, 1138, 548, 2 ]
{ return name; }
{ return name; }
public String getName() { return name; }
5127 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5127/5d0a37785aec87eac25834d2b4fa8f96a55d4e47/Image.java/buggy/WEB-INF/src/de/jwi/jgallery/Image.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 565, 288, 3639, 327, 508, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1723, 1435, 565, 288, 3639, 327, 508, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
DebugLog.log("SESSION " + key + " disposed");
static Session getSession(SVNRepositoryLocation location, SVNSSHAuthentication credentials) throws SVNAuthenticationException { if ("".equals(credentials.getUserName()) || credentials.getUserName() == null) { throw new SVNAuthenticationException( "User name is required to establish svn+shh connection"); } String key = credentials.getUserName() + ":" + location.getHost() + ":" + location.getPort(); Session session = (Session) ourSessionsPool.get(key); if (session != null && !session.isConnected()) { ourSessionsPool.remove(key); DebugLog.log("SESSION " + key + " disposed"); session = null; } try { if (session == null) { JSch jsch = new JSch(); String privateKey = null; String passphrase = null; if (credentials.getPrivateKeyFile() != null) { privateKey = credentials.getPrivateKeyFile().getAbsolutePath(); passphrase = credentials.getPassphrase(); if (privateKey != null && passphrase != null) { jsch.addIdentity(privateKey, passphrase); } else if (privateKey != null) { jsch.addIdentity(privateKey); } } session = jsch.getSession(credentials.getUserName(), location .getHost(), location.getPort()); UserInfo userInfo = new EmptyUserInfo( credentials.getPassword(), passphrase); session.setUserInfo(userInfo); session.setSocketFactory(new SimpleSocketFactory()); DebugLog.log("SESSION " + key + " created"); session.setTimeout(TIMEOUT); session.connect(); session.setTimeout(0); ourSessionsPool.put(key, session); DebugLog.log("SESSION " + key + " connected"); } else { DebugLog.log("SESSION " + key + " reused"); } return session; } catch (JSchException e) { DebugLog.error(e); if (session != null && session.isConnected()) { session.disconnect(); DebugLog.log("DISCONNECTING: " + session); } DebugLog.log("SESSION " + key + " diconnected"); ourSessionsPool.remove(key); DebugLog.log("SESSION " + key + " disposed"); throw new SVNAuthenticationException(e); } }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/48b673a4eeae723c90a2ec8a9e48e886212b2109/SVNJSchSession.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/io/svn/SVNJSchSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3877, 7183, 12, 23927, 50, 3305, 2735, 2117, 16, 5411, 29537, 50, 12559, 6492, 4448, 13, 1216, 29537, 50, 6492, 503, 288, 3639, 309, 261, 3660, 18, 14963, 12, 11687, 18, 588, 15296, 10756, 7734, 747, 4448, 18, 588, 15296, 1435, 422, 446, 13, 288, 5411, 604, 394, 29537, 50, 6492, 503, 12, 10792, 315, 1299, 508, 353, 1931, 358, 18312, 5893, 82, 15, 674, 76, 1459, 8863, 3639, 289, 3639, 514, 498, 273, 4448, 18, 588, 15296, 1435, 397, 6153, 397, 2117, 18, 588, 2594, 1435, 397, 6153, 7734, 397, 2117, 18, 588, 2617, 5621, 3639, 3877, 1339, 273, 261, 2157, 13, 3134, 13566, 2864, 18, 588, 12, 856, 1769, 3639, 309, 261, 3184, 480, 446, 597, 401, 3184, 18, 291, 8932, 10756, 288, 5411, 3134, 13566, 2864, 18, 4479, 12, 856, 1769, 15604, 1339, 273, 446, 31, 3639, 289, 3639, 775, 288, 5411, 309, 261, 3184, 422, 446, 13, 288, 7734, 6756, 343, 3828, 343, 273, 394, 6756, 343, 5621, 7734, 514, 11896, 273, 446, 31, 7734, 514, 15244, 273, 446, 31, 7734, 309, 261, 11687, 18, 588, 10824, 812, 1435, 480, 446, 13, 288, 10792, 11896, 273, 4448, 18, 588, 10824, 812, 7675, 588, 10368, 743, 5621, 10792, 15244, 273, 4448, 18, 588, 27814, 5621, 10792, 309, 261, 1152, 653, 480, 446, 597, 15244, 480, 446, 13, 288, 13491, 3828, 343, 18, 1289, 4334, 12, 1152, 653, 16, 15244, 1769, 10792, 289, 469, 309, 261, 1152, 653, 480, 446, 13, 288, 13491, 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, 3877, 7183, 12, 23927, 50, 3305, 2735, 2117, 16, 5411, 29537, 50, 12559, 6492, 4448, 13, 1216, 29537, 50, 6492, 503, 288, 3639, 309, 261, 3660, 18, 14963, 12, 11687, 18, 588, 15296, 10756, 7734, 747, 4448, 18, 588, 15296, 1435, 422, 446, 13, 288, 5411, 604, 394, 29537, 50, 6492, 503, 12, 10792, 315, 1299, 508, 353, 1931, 358, 18312, 5893, 82, 15, 674, 76, 1459, 8863, 3639, 289, 3639, 514, 498, 273, 4448, 18, 588, 15296, 1435, 397, 6153, 397, 2117, 18, 588, 2594, 1435, 397, 6153, 7734, 397, 2117, 18, 588, 2617, 5621, 3639, 3877, 1339, 273, 261, 2157, 13, 3134, 13566, 2864, 18, 588, 12, 856, 1769, 3639, 309, 261, 3184, 480, 446, 2 ]
void andConstraints(SearchConstraints other) {
public void andConstraints(SearchConstraints other) {
void andConstraints(SearchConstraints other) { super.andConstraints(other); if (other.hasSpamTrashSetting()) forceHasSpamTrashSetting(); if (other.hasNoResults()) { noResults = true; } }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/0ec2190ab8c436e948da98372bccf88c668ffbd4/DBQueryOperation.java/clean/ZimbraServer/src/java/com/zimbra/cs/index/DBQueryOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 482, 918, 471, 4878, 12, 2979, 4878, 1308, 13, 288, 377, 202, 202, 9565, 18, 464, 4878, 12, 3011, 1769, 377, 202, 202, 430, 261, 3011, 18, 5332, 3389, 301, 29420, 5568, 10756, 1377, 1082, 202, 5734, 5582, 3389, 301, 29420, 5568, 5621, 377, 1082, 377, 202, 202, 430, 261, 3011, 18, 5332, 2279, 3447, 10756, 288, 377, 1082, 202, 2135, 3447, 273, 638, 31, 5411, 289, 377, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 202, 482, 918, 471, 4878, 12, 2979, 4878, 1308, 13, 288, 377, 202, 202, 9565, 18, 464, 4878, 12, 3011, 1769, 377, 202, 202, 430, 261, 3011, 18, 5332, 3389, 301, 29420, 5568, 10756, 1377, 1082, 202, 5734, 5582, 3389, 301, 29420, 5568, 5621, 377, 1082, 377, 202, 202, 430, 261, 3011, 18, 5332, 2279, 3447, 10756, 288, 377, 1082, 202, 2135, 3447, 273, 638, 31, 5411, 289, 377, 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 ]
if ( tempbytes != null ) { out.write(tempbytes) ;
if (tempstring != null) { byte[] tempbytes = tempstring.getBytes("UTF-8") ; res.setContentLength(tempbytes.length) ; out.write(tempbytes) ;
public void doGet( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { String host = req.getHeader("Host") ; String start_url = Utility.getDomainPref( "start_url",host ) ; String imcserver = Utility.getDomainPref("adminserver",host) ; String servlet_url = Utility.getDomainPref( "servlet_url",host ) ; int start_doc = IMCServiceRMI.getDefaultHomePage(imcserver) ; imcode.server.User user ; String htmlStr = "" ; int meta_id ; String sqlStr ; // Check if user logged on if ( (user=Check.userLoggedOn(req,res,start_url))==null ) { return ; } res.setContentType( "text/html" ); ServletOutputStream out = res.getOutputStream( ); meta_id = Integer.parseInt( req.getParameter( "meta_id" ) ) ; int parent_meta_id ; String parent_meta_str = req.getParameter( "parent_meta_id" ) ; if( parent_meta_str != null ) { parent_meta_id = Integer.parseInt( parent_meta_str ) ; } else { parent_meta_id = start_doc ; } int doc_type = IMCServiceRMI.getDocType( imcserver,meta_id ) ; byte[] tempbytes ; // if ( ((IMCServiceInterface)ImcRmi.get(imcserver,"IMCService")).userIsAdmin( meta_id,user ) ) tempbytes = AdminDoc.adminDoc(meta_id,parent_meta_id,host,user,req,res) ; // htmlStr = ((IMCServiceInterface)ImcRmi.get(imcserver,"IMCService")).interpretTemplate( meta_id,user ) ; //htmlStr = adminDoc (meta_id, parent_meta_id, host, user, req, res) ; if ( tempbytes != null ) { out.write(tempbytes) ; } // out.print( htmlStr ) ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/724e7812e834d9de044f04f1b96918c3622f1241/AdminDoc.java/clean/servlets/AdminDoc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 23611, 12, 9984, 1111, 16, 202, 2940, 29910, 400, 262, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1479, 9506, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 787, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 202, 780, 709, 71, 3567, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 8100, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 202, 474, 787, 67, 2434, 9506, 202, 33, 6246, 39, 1179, 54, 7492, 18, 588, 1868, 8684, 1964, 12, 381, 71, 3567, 13, 274, 202, 202, 381, 710, 18, 3567, 18, 1299, 729, 274, 3196, 202, 780, 1729, 1585, 273, 1408, 274, 1377, 202, 202, 474, 2191, 67, 350, 274, 202, 202, 780, 1847, 1585, 274, 202, 202, 759, 2073, 309, 729, 7545, 603, 202, 202, 430, 261, 261, 1355, 33, 1564, 18, 1355, 19862, 1398, 12, 3658, 16, 455, 16, 1937, 67, 718, 3719, 631, 2011, 262, 288, 1082, 202, 2463, 274, 202, 202, 97, 9506, 202, 455, 18, 542, 8046, 12, 315, 955, 19, 2620, 6, 11272, 202, 202, 4745, 4632, 596, 273, 400, 18, 588, 4632, 12, 11272, 202, 202, 3901, 67, 350, 273, 2144, 18, 2670, 1702, 12, 1111, 18, 588, 1662, 12, 315, 3901, 67, 350, 6, 262, 262, 274, 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, 23611, 12, 9984, 1111, 16, 202, 2940, 29910, 400, 262, 1216, 16517, 16, 1860, 288, 202, 202, 780, 1479, 9506, 202, 33, 1111, 18, 588, 1864, 2932, 2594, 7923, 274, 202, 202, 780, 787, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 1937, 67, 718, 3113, 2564, 262, 274, 202, 202, 780, 709, 71, 3567, 1082, 202, 33, 13134, 18, 588, 3748, 23218, 2932, 3666, 3567, 3113, 2564, 13, 274, 202, 202, 780, 8100, 67, 718, 202, 33, 13134, 18, 588, 3748, 23218, 12, 315, 23231, 67, 718, 3113, 2564, 262, 274, 202, 202, 474, 787, 67, 2434, 9506, 202, 33, 6246, 39, 1179, 54, 7492, 18, 588, 1868, 8684, 1964, 12, 2 ]
LogService.log(LogService.ERROR,"PersonDirectory::getParameters(): Unrecognized tag "+tagname+" in PersonDirs.xml");
LogService.log(LogService.ERROR,"PersonDirectory::getParameters(): Unrecognized tag "+tagname+" in PersonDirs.xml");
private synchronized boolean getParameters() { if (sources!=null) return true; sources = new Vector(); try { // Build a DOM tree out of uPortal/properties/PersonDirs.xml Document doc = ResourceLoader.getResourceAsDocument(this.getClass(), "/properties/PersonDirs.xml"); // Each directory source is a <PersonDirInfo> (and its contents) NodeList list = doc.getElementsByTagName("PersonDirInfo"); for (int i=0;i<list.getLength();i++) { // foreach PersonDirInfo Element dirinfo = (Element) list.item(i); PersonDirInfo pdi = new PersonDirInfo(); // Java object holding parameters for (Node param = dirinfo.getFirstChild(); param!=null; // foreach tag under the <PersonDirInfo> param=param.getNextSibling()) { if (!(param instanceof Element)) continue; // whitespace (typically \n) between tags Element pele = (Element) param; String tagname = pele.getTagName(); String value = XML.getElementText(pele); // each tagname corresponds to an object data field if (tagname.equals("url")) { pdi.url=value; } else if (tagname.equals("res-ref-name")) { pdi.ResRefName=value; } else if (tagname.equals("logonid")) { pdi.logonid=value; } else if (tagname.equals("driver")) { pdi.driver=value; } else if (tagname.equals("logonpassword")) { pdi.logonpassword=value; } else if (tagname.equals("uidquery")) { pdi.uidquery=value; } else if (tagname.equals("fullnamequery")) { pdi.fullnamequery=value; } else if (tagname.equals("usercontext")) { pdi.usercontext=value; } else if (tagname.equals("timeout")) { pdi.ldaptimelimit=Integer.parseInt(value); } else if (tagname.equals("attributes")) { NodeList anodes = pele.getElementsByTagName("attribute"); int anodecount = anodes.getLength(); if (anodecount!=0) { pdi.attributenames = new String[anodecount]; pdi.attributealiases = new String[anodecount]; for (int j =0; j<anodecount;j++) { Element anode = (Element) anodes.item(j); NodeList namenodes = anode.getElementsByTagName("name"); String aname = "$$$"; if (namenodes.getLength()!=0) aname= XML.getElementText((Element)namenodes.item(0)); pdi.attributenames[j]=aname; NodeList aliasnodes = anode.getElementsByTagName("alias"); if (aliasnodes.getLength()==0) { pdi.attributealiases[j]=aname; } else { pdi.attributealiases[j]=XML.getElementText((Element)aliasnodes.item(0)); } } } else { // The <attributes> tag contains a list of names // and optionally aliases each in the form // name[:alias] // The name is an LDAP property or database column name. // The alias, if it exists, is an eduPerson property that // corresponds to the previous LDAP or DBMS name. // If no alias is specified, the eduPerson name is also // the LDAP or DBMS column name. StringTokenizer st = new StringTokenizer(value); int n = st.countTokens(); pdi.attributenames = new String[n]; pdi.attributealiases = new String[n]; for (int k=0;k<n;k++) { String tk = st.nextToken(); int pos =tk.indexOf(':'); if (pos>0) { // There is an alias pdi.attributenames[k]=tk.substring(0,pos); pdi.attributealiases[k]=tk.substring(pos+1); } else { // There is no alias pdi.attributenames[k]=tk; pdi.attributealiases[k]=tk; } } } } else { LogService.log(LogService.ERROR,"PersonDirectory::getParameters(): Unrecognized tag "+tagname+" in PersonDirs.xml"); } } for (int ii=0;ii<pdi.attributealiases.length;ii++) { String aa = pdi.attributealiases[ii]; propertynames.add(aa); } sources.addElement(pdi); // Add one LDAP or JDBC source to the list } } catch(Exception e) { sources = null; LogService.log(LogService.WARN,"PersonDirectory::getParameters(): properties/PersonDirs.xml is not available, directory searching disabled."); return false; } return true; }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/dfc27b3d8c7fb6c3a98ee0d175be8a0e39f95ff1/PersonDirectory.java/clean/source/org/jasig/portal/services/PersonDirectory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 3852, 1250, 10028, 1435, 288, 565, 309, 261, 10141, 5, 33, 2011, 13, 1377, 327, 638, 31, 565, 5550, 273, 394, 5589, 5621, 565, 775, 225, 288, 1377, 368, 3998, 279, 4703, 2151, 596, 434, 582, 24395, 19, 4738, 19, 8346, 9872, 18, 2902, 1377, 4319, 997, 273, 2591, 2886, 18, 588, 1420, 1463, 2519, 12, 2211, 18, 588, 797, 9334, 2206, 4738, 19, 8346, 9872, 18, 2902, 8863, 1377, 368, 8315, 1867, 1084, 353, 279, 411, 8346, 1621, 966, 34, 261, 464, 2097, 2939, 13, 1377, 16781, 666, 273, 997, 18, 588, 3471, 10401, 2932, 8346, 1621, 966, 8863, 1377, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1098, 18, 588, 1782, 5621, 77, 27245, 288, 368, 936, 11573, 1621, 966, 3639, 3010, 1577, 1376, 273, 261, 1046, 13, 666, 18, 1726, 12, 77, 1769, 3639, 11573, 1621, 966, 293, 3211, 273, 394, 11573, 1621, 966, 5621, 368, 5110, 733, 19918, 1472, 3639, 364, 261, 907, 579, 273, 1577, 1376, 18, 588, 3759, 1763, 5621, 2398, 579, 5, 33, 2011, 31, 368, 936, 1047, 3613, 326, 411, 8346, 1621, 966, 34, 2398, 579, 33, 891, 18, 588, 2134, 10291, 10756, 288, 1850, 309, 16051, 12, 891, 1276, 3010, 3719, 5411, 1324, 31, 368, 7983, 261, 12846, 6478, 521, 82, 13, 3086, 2342, 1850, 3010, 293, 6516, 273, 261, 1046, 13, 579, 31, 1850, 514, 25586, 273, 293, 6516, 18, 588, 8520, 5621, 1850, 514, 460, 273, 3167, 18, 21336, 1528, 12, 84, 6516, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 3852, 1250, 10028, 1435, 288, 565, 309, 261, 10141, 5, 33, 2011, 13, 1377, 327, 638, 31, 565, 5550, 273, 394, 5589, 5621, 565, 775, 225, 288, 1377, 368, 3998, 279, 4703, 2151, 596, 434, 582, 24395, 19, 4738, 19, 8346, 9872, 18, 2902, 1377, 4319, 997, 273, 2591, 2886, 18, 588, 1420, 1463, 2519, 12, 2211, 18, 588, 797, 9334, 2206, 4738, 19, 8346, 9872, 18, 2902, 8863, 1377, 368, 8315, 1867, 1084, 353, 279, 411, 8346, 1621, 966, 34, 261, 464, 2097, 2939, 13, 1377, 16781, 666, 273, 997, 18, 588, 3471, 10401, 2932, 8346, 1621, 966, 8863, 1377, 364, 261, 474, 277, 33, 20, 31, 77, 32, 1098, 18, 588, 1782, 5621, 77, 27245, 2 ]
if (line.startsWith("Connection: ") || line.startsWith("Keep-Alive: ") || line.startsWith("Proxy-Connection: "))
String lowercaseLine = line.toLowerCase(); if (lowercaseLine.startsWith("connection: ") || lowercaseLine.startsWith("keep-alive: ") || lowercaseLine.startsWith("proxy-connection: "))
protected void clientConnectionRun(Socket s) { OutputStream out = null; String targetRequest = null; boolean usingWWWProxy = false; String currentProxy = null; long requestId = ++__requestId; try { out = s.getOutputStream(); BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream(), "ISO-8859-1")); String line, method = null, protocol = null, host = null, destination = null; StringBuffer newRequest = new StringBuffer(); while ((line = br.readLine()) != null) { if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Line=[" + line + "]"); if (line.startsWith("Connection: ") || line.startsWith("Keep-Alive: ") || line.startsWith("Proxy-Connection: ")) continue; if (method == null) { // first line (GET /base64/realaddr) if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Method is null for [" + line + "]"); int pos = line.indexOf(" "); if (pos == -1) break; method = line.substring(0, pos); String request = line.substring(pos + 1); if (request.startsWith("/") && getTunnel().getClientOptions().getProperty("i2ptunnel.noproxy") != null) { request = "http://i2p" + request; } else if (request.startsWith("/eepproxy/")) { // /eepproxy/foo.i2p/bar/baz.html HTTP/1.0 String subRequest = request.substring("/eepproxy/".length()); int protopos = subRequest.indexOf(" "); String uri = subRequest.substring(0, protopos); if (uri.indexOf("/") == -1) { uri = uri + "/"; } // "http://" + "foo.i2p/bar/baz.html" + " HTTP/1.0" request = "http://" + uri + subRequest.substring(protopos); } pos = request.indexOf("//"); if (pos == -1) { method = null; break; } protocol = request.substring(0, pos + 2); request = request.substring(pos + 2); targetRequest = request; pos = request.indexOf("/"); if (pos == -1) { method = null; break; } host = request.substring(0, pos); // Quick hack for foo.bar.i2p if (host.toLowerCase().endsWith(".i2p")) { destination = host; host = getHostName(destination); if ( (host != null) && ("i2p".equals(host)) ) { int pos2; if ((pos2 = request.indexOf("?")) != -1) { // Try to find an address helper in the fragments // and split the request into it's component parts for rebuilding later String fragments = request.substring(pos2 + 1); String uriPath = request.substring(0, pos2); pos2 = fragments.indexOf(" "); String protocolVersion = fragments.substring(pos2 + 1); String urlEncoding = ""; fragments = fragments.substring(0, pos2); fragments = fragments + "&"; String fragment; while(fragments.length() > 0) { pos2 = fragments.indexOf("&"); fragment = fragments.substring(0, pos2); fragments = fragments.substring(pos2 + 1); if (fragment.startsWith("i2paddresshelper")) { pos2 = fragment.indexOf("="); if (pos2 >= 0) { addressHelpers.put(destination,fragment.substring(pos2 + 1)); } } else { // append each fragment unless it's the address helper if ("".equals(urlEncoding)) { urlEncoding = "?" + fragment; } else { urlEncoding = urlEncoding + "&" + fragment; } } } // reconstruct the request minus the i2paddresshelper GET var request = uriPath + urlEncoding + " " + protocolVersion; } String addressHelper = (String) addressHelpers.get(destination); if (addressHelper != null) { destination = addressHelper; host = getHostName(destination); } } line = method + " " + request.substring(pos); } else if (host.indexOf(".") != -1) { // The request must be forwarded to a WWW proxy if (_log.shouldLog(Log.DEBUG)) _log.debug("Before selecting outproxy for " + host); currentProxy = selectProxy(); if (_log.shouldLog(Log.DEBUG)) _log.debug("After selecting outproxy for " + host + ": " + currentProxy); if (currentProxy == null) { if (_log.shouldLog(Log.WARN)) _log.warn(getPrefix(requestId) + "Host wants to be outproxied, but we dont have any!"); l.log("No HTTP outproxy found for the request."); if (out != null) { out.write(ERR_NO_OUTPROXY); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } destination = currentProxy; usingWWWProxy = true; if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Host doesnt end with .i2p and it contains a period [" + host + "]: wwwProxy!"); } else { request = request.substring(pos + 1); pos = request.indexOf("/"); destination = request.substring(0, pos); line = method + " " + request.substring(pos); } boolean isValid = usingWWWProxy || isSupportedAddress(host, protocol); if (!isValid) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "notValid(" + host + ")"); method = null; destination = null; break; } else if (!usingWWWProxy) { if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "host=getHostName(" + destination + ")"); host = getHostName(destination); // hide original host } if (_log.shouldLog(Log.DEBUG)) { _log.debug(getPrefix(requestId) + "METHOD:" + method + ":"); _log.debug(getPrefix(requestId) + "PROTOC:" + protocol + ":"); _log.debug(getPrefix(requestId) + "HOST :" + host + ":"); _log.debug(getPrefix(requestId) + "DEST :" + destination + ":"); } } else { if (line.startsWith("Host: ") && !usingWWWProxy) { line = "Host: " + host; if (_log.shouldLog(Log.INFO)) _log.info(getPrefix(requestId) + "Setting host = " + host); } else if (line.startsWith("User-Agent: ")) { // always stripped, added back at the end line = null; continue; } else if (line.startsWith("Accept")) { // strip the accept-blah headers, as they vary dramatically from // browser to browser line = null; continue; } else if (line.startsWith("Referer: ")) { // Shouldn't we be more specific, like accepting in-site referers ? //line = "Referer: i2p"; line = null; continue; // completely strip the line } else if (line.startsWith("Via: ")) { //line = "Via: i2p"; line = null; continue; // completely strip the line } else if (line.startsWith("From: ")) { //line = "From: i2p"; line = null; continue; // completely strip the line } } if (line.length() == 0) { newRequest.append("User-Agent: MYOB/6.66 (AN/ON)\r\n"); newRequest.append("Connection: close\r\n\r\n"); break; } else { newRequest.append(line).append("\r\n"); // HTTP spec } } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "NewRequest header: [" + newRequest.toString() + "]"); while (br.ready()) { // empty the buffer (POST requests) int i = br.read(); if (i != -1) { newRequest.append((char) i); } } if (method == null || destination == null) { l.log("No HTTP method found in the request."); if (out != null) { out.write(ERR_REQUEST_DENIED); out.write("<p /><i>Generated on: ".getBytes()); out.write(new Date().toString().getBytes()); out.write("</i></body></html>\n".getBytes()); out.flush(); } s.close(); return; } if (_log.shouldLog(Log.DEBUG)) _log.debug(getPrefix(requestId) + "Destination: " + destination); Destination dest = I2PTunnel.destFromName(destination); if (dest == null) { l.log("Could not resolve " + destination + "."); if (_log.shouldLog(Log.WARN)) _log.warn("Unable to resolve " + destination + " (proxy? " + usingWWWProxy + ", request: " + targetRequest); writeErrorMessage(ERR_DESTINATION_UNKNOWN, out, targetRequest, usingWWWProxy, destination); s.close(); return; } String remoteID; Properties opts = new Properties(); opts.setProperty("i2p.streaming.inactivityTimeout", ""+120*1000); // 1 == disconnect. see ConnectionOptions in the new streaming lib, which i // dont want to hard link to here opts.setProperty("i2p.streaming.inactivityTimeoutAction", ""+1); I2PSocket i2ps = createI2PSocket(dest, getDefaultOptions(opts)); byte[] data = newRequest.toString().getBytes("ISO-8859-1"); Runnable onTimeout = new OnTimeout(s, s.getOutputStream(), targetRequest, usingWWWProxy, currentProxy, requestId); I2PTunnelRunner runner = new I2PTunnelHTTPClientRunner(s, i2ps, sockLock, data, mySockets, onTimeout); } catch (SocketException ex) { _log.info(getPrefix(requestId) + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } catch (IOException ex) { _log.info(getPrefix(requestId) + "Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } catch (I2PException ex) { _log.info("getPrefix(requestId) + Error trying to connect", ex); l.log(ex.getMessage()); handleHTTPClientException(ex, out, targetRequest, usingWWWProxy, currentProxy, requestId); closeSocket(s); } }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/89509490c5f04a4c55ccab96b3122e70313633ff/I2PTunnelHTTPClient.java/clean/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1004, 1952, 1997, 12, 4534, 272, 13, 288, 3639, 8962, 596, 273, 446, 31, 3639, 514, 1018, 691, 273, 446, 31, 3639, 1250, 1450, 19989, 59, 3886, 273, 629, 31, 3639, 514, 783, 3886, 273, 446, 31, 3639, 1525, 14459, 273, 965, 972, 2293, 548, 31, 3639, 775, 288, 5411, 596, 273, 272, 18, 588, 4632, 5621, 5411, 10633, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 87, 18, 588, 4348, 9334, 315, 12609, 17, 17258, 17, 21, 7923, 1769, 5411, 514, 980, 16, 707, 273, 446, 16, 1771, 273, 446, 16, 1479, 273, 446, 16, 2929, 273, 446, 31, 5411, 6674, 7428, 273, 394, 6674, 5621, 5411, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 10756, 480, 446, 13, 288, 7734, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 10792, 389, 1330, 18, 4148, 12, 588, 2244, 12, 2293, 548, 13, 397, 315, 1670, 33, 9614, 397, 980, 397, 9870, 1769, 27573, 309, 261, 1369, 18, 17514, 1190, 2932, 1952, 30, 9369, 747, 5397, 980, 18, 17514, 1190, 2932, 11523, 17, 10608, 30, 9369, 747, 5397, 980, 18, 17514, 1190, 2932, 3886, 17, 1952, 30, 315, 3719, 10792, 1324, 31, 27573, 309, 261, 2039, 422, 446, 13, 288, 368, 1122, 980, 261, 3264, 342, 1969, 1105, 19, 7688, 4793, 13, 10792, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 13491, 389, 1330, 18, 4148, 12, 588, 2244, 12, 2293, 548, 13, 397, 315, 1305, 353, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1004, 1952, 1997, 12, 4534, 272, 13, 288, 3639, 8962, 596, 273, 446, 31, 3639, 514, 1018, 691, 273, 446, 31, 3639, 1250, 1450, 19989, 59, 3886, 273, 629, 31, 3639, 514, 783, 3886, 273, 446, 31, 3639, 1525, 14459, 273, 965, 972, 2293, 548, 31, 3639, 775, 288, 5411, 596, 273, 272, 18, 588, 4632, 5621, 5411, 10633, 5186, 273, 394, 10633, 12, 2704, 15322, 12, 87, 18, 588, 4348, 9334, 315, 12609, 17, 17258, 17, 21, 7923, 1769, 5411, 514, 980, 16, 707, 273, 446, 16, 1771, 273, 446, 16, 1479, 273, 446, 16, 2929, 273, 446, 31, 5411, 6674, 7428, 273, 394, 6674, 5621, 5411, 1323, 14015, 1369, 273, 5186, 18, 896, 1670, 2 ]
output.append(" Database ParentID: ");
output.append(" ParentID: ");
public String toString() { StringBuffer output=new StringBuffer(); output.append("[Resource]:"); output.append(m_resourceName); output.append(" Database ID: "); output.append(m_resourceId); output.append(" Database ParentID: "); output.append(m_parentId); output.append(" , Project="); output.append(m_projectId); output.append(" , User="); output.append(m_user); output.append(" , Group="); output.append(m_group); output.append(" : Access="); output.append(getFlagString()); output.append(" : Resource-type="); output.append(getType()); output.append(" : length="); output.append(getLength()); return output.toString(); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/3ef0789dda93cbd8df06c20fd07955794fd55f55/CmsResource.java/clean/src/com/opencms/file/CmsResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 514, 1762, 1435, 288, 3639, 6674, 876, 33, 2704, 6674, 5621, 3639, 876, 18, 6923, 2932, 63, 1420, 65, 2773, 1769, 3639, 876, 18, 6923, 12, 81, 67, 3146, 461, 1769, 3639, 876, 18, 6923, 2932, 5130, 1599, 30, 315, 1769, 3639, 876, 18, 6923, 12, 81, 67, 3146, 548, 1769, 3639, 876, 18, 6923, 2932, 9520, 734, 30, 315, 1769, 3639, 876, 18, 6923, 12, 81, 67, 2938, 548, 1769, 3639, 876, 18, 6923, 2932, 269, 5420, 1546, 1769, 3639, 876, 18, 6923, 12, 81, 67, 4406, 548, 1769, 3639, 876, 18, 6923, 2932, 269, 2177, 1546, 1769, 3639, 876, 18, 6923, 12, 81, 67, 1355, 1769, 3639, 876, 18, 6923, 2932, 269, 3756, 1546, 1769, 3639, 876, 18, 6923, 12, 81, 67, 1655, 1769, 3639, 876, 18, 6923, 2932, 294, 5016, 1546, 1769, 3639, 876, 18, 6923, 12, 588, 4678, 780, 10663, 3639, 876, 18, 6923,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 514, 1762, 1435, 288, 3639, 6674, 876, 33, 2704, 6674, 5621, 3639, 876, 18, 6923, 2932, 63, 1420, 65, 2773, 1769, 3639, 876, 18, 6923, 12, 81, 67, 3146, 461, 1769, 3639, 876, 18, 6923, 2932, 5130, 1599, 30, 315, 1769, 3639, 876, 18, 6923, 12, 81, 67, 3146, 548, 1769, 3639, 876, 18, 6923, 2932, 9520, 734, 30, 315, 1769, 3639, 876, 18, 6923, 12, 81, 67, 2938, 548, 1769, 3639, 876, 18, 6923, 2932, 269, 5420, 1546, 1769, 3639, 876, 18, 6923, 12, 81, 67, 4406, 548, 1769, 3639, 876, 18, 6923, 2932, 269, 2177, 1546, 1769, 3639, 876, 18, 6923, 12, 81, 67, 1355, 1769, 3639, 876, 18, 6923, 2932, 269, 3756, 1546, 1769, 2 ]
catch(Exception e) { }
last = System.currentTimeMillis();
public void run() { FontMetrics fm = getFontMetrics(getFont()); int max = (text.size() * fm.getHeight()); while (running) { scrollPosition += 2; if(scrollPosition > max) scrollPosition = -250; try { Thread.sleep(100); } catch(Exception e) { } repaint(getWidth() / 2 - maxWidth, TOP,maxWidth * 2, getHeight() - TOP - BOTTOM); } }
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/2956c9a6b59078f1843e311956f42ac34b3cc253/AboutDialog.java/buggy/org/gjt/sp/jedit/gui/AboutDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 1082, 202, 95, 9506, 202, 5711, 5653, 10940, 273, 18776, 5653, 12, 588, 5711, 10663, 9506, 202, 474, 943, 273, 261, 955, 18, 1467, 1435, 380, 10940, 18, 588, 2686, 10663, 9506, 202, 17523, 261, 8704, 13, 9506, 202, 95, 6862, 202, 12033, 2555, 1011, 576, 31, 6862, 202, 430, 12, 12033, 2555, 405, 943, 13, 25083, 202, 12033, 2555, 273, 300, 26520, 31, 6862, 202, 698, 6862, 202, 95, 25083, 202, 3830, 18, 19607, 12, 6625, 1769, 6862, 202, 97, 6862, 202, 14683, 12, 503, 425, 13, 6862, 202, 95, 6862, 202, 97, 6862, 202, 14462, 1598, 12, 588, 2384, 1435, 342, 576, 300, 17681, 16, 25083, 202, 10462, 16, 1896, 2384, 380, 576, 16, 25083, 202, 588, 2686, 1435, 300, 18680, 300, 30666, 1769, 9506, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 1082, 202, 95, 9506, 202, 5711, 5653, 10940, 273, 18776, 5653, 12, 588, 5711, 10663, 9506, 202, 474, 943, 273, 261, 955, 18, 1467, 1435, 380, 10940, 18, 588, 2686, 10663, 9506, 202, 17523, 261, 8704, 13, 9506, 202, 95, 6862, 202, 12033, 2555, 1011, 576, 31, 6862, 202, 430, 12, 12033, 2555, 405, 943, 13, 25083, 202, 12033, 2555, 273, 300, 26520, 31, 6862, 202, 698, 6862, 202, 95, 25083, 202, 3830, 18, 19607, 12, 6625, 1769, 6862, 202, 97, 6862, 202, 14683, 12, 503, 425, 13, 6862, 202, 95, 6862, 202, 97, 6862, 202, 14462, 1598, 12, 588, 2384, 1435, 342, 576, 300, 17681, 16, 25083, 202, 10462, 16, 1896, 2384, 2 ]
for (int i = 0; i < constructors.length; i++) { final PsiModifierList modifierList = constructors[i].getModifierList();
for(PsiMethod constructor : constructors){ final PsiModifierList modifierList = constructor.getModifierList();
public void applyFix(Project project, ProblemDescriptor descriptor) { if(isQuickFixOnReadOnlyFile(project, descriptor)) return; try { final PsiElement classNameIdentifer = descriptor.getPsiElement(); final PsiClass psiClass = (PsiClass) classNameIdentifer.getParent(); final PsiMethod[] constructors = psiClass.getConstructors(); for (int i = 0; i < constructors.length; i++) { final PsiModifierList modifierList = constructors[i].getModifierList(); modifierList.setModifierProperty(PsiModifier.PRIVATE, true); } } catch (IncorrectOperationException e) { final Class aClass = getClass(); final String className = aClass.getName(); final Logger logger = Logger.getInstance(className); logger.error(e); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/2d46d291193579a7564649b4881c7ea8e02eda5b/UtilityClassWithPublicConstructorInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/classlayout/UtilityClassWithPublicConstructorInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 2230, 8585, 12, 4109, 1984, 16, 21685, 3187, 4950, 13, 288, 5411, 309, 12, 291, 13663, 8585, 1398, 12066, 812, 12, 4406, 16, 4950, 3719, 327, 31, 5411, 775, 288, 7734, 727, 453, 7722, 1046, 2658, 6106, 21549, 273, 4950, 18, 588, 52, 7722, 1046, 5621, 7734, 727, 453, 7722, 797, 23921, 797, 273, 261, 52, 7722, 797, 13, 2658, 6106, 21549, 18, 588, 3054, 5621, 7734, 727, 453, 7722, 1305, 8526, 19874, 273, 23921, 797, 18, 588, 29590, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 19874, 18, 2469, 31, 277, 27245, 288, 10792, 727, 453, 7722, 9829, 682, 9606, 682, 273, 19874, 63, 77, 8009, 588, 9829, 682, 5621, 10792, 9606, 682, 18, 542, 9829, 1396, 12, 52, 7722, 9829, 18, 20055, 16, 638, 1769, 7734, 289, 5411, 289, 1044, 261, 16268, 10602, 425, 13, 288, 7734, 727, 1659, 20148, 273, 2900, 5621, 7734, 727, 514, 2658, 273, 20148, 18, 17994, 5621, 7734, 727, 4242, 1194, 273, 4242, 18, 588, 1442, 12, 12434, 1769, 7734, 1194, 18, 1636, 12, 73, 1769, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12066, 812, 12, 4406, 16, 4950, 3719, 327, 31, 5411, 775, 288, 7734, 727, 453, 7722, 1046, 2658, 6106, 21549, 273, 4950, 18, 588, 52, 7722, 1046, 5621, 7734, 727, 453, 7722, 797, 23921, 797, 273, 261, 52, 7722, 797, 13, 2658, 6106, 21549, 18, 588, 3054, 5621, 7734, 727, 453, 7722, 1305, 8526, 19874, 273, 23921, 797, 18, 588, 29590, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 19874, 18, 2469, 31, 277, 27245, 288, 10792, 727, 453, 7722, 9829, 682, 9606, 682, 273, 19874, 63, 77, 8009, 588, 9829, 682, 5621, 10792, 9606, 2 ]
try { url = new URL("image:test"); fail("image protocol is already installed. Do any of the other tests instantiate DefaultImageSource?"); } catch (MalformedURLException e) { }
public void testHandler() throws MalformedURLException, IOException { assertTrue("This test can only be run once in a single JVM", imageHasNotBeenInstalledInThisJVM); URL url; // make sure a handler is not installed try { url = new URL("image:test"); fail("image protocol is already installed. Do any of the other tests instantiate DefaultImageSource?"); } catch (MalformedURLException e) { // expected } // test install Handler.installImageUrlHandler((ImageSource)new ClassPathXmlApplicationContext( "org/springframework/richclient/image/application-context.xml").getBean("imageSource")); try { url = new URL("image:test"); imageHasNotBeenInstalledInThisJVM = false; } catch (MalformedURLException e) { fail("protocol was not installed"); } // test invalid key url = new URL("image:image.that.does.not.exist"); try { url.openConnection(); fail(); } catch (NoSuchImageResourceException e) { // expected } // test valid key url = new URL("image:test.image.key"); url.openConnection(); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/9b4e4a6b7f49198c3fb5c5d9809ecb0bf85526e2/HandlerTest.java/clean/test/org/springframework/richclient/image/HandlerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1503, 1435, 1216, 20710, 16, 1860, 288, 3639, 1815, 5510, 2932, 2503, 1842, 848, 1338, 506, 1086, 3647, 316, 279, 2202, 14131, 3113, 1316, 5582, 1248, 25931, 16747, 382, 2503, 46, 7397, 1769, 3639, 1976, 880, 31, 3639, 368, 1221, 3071, 279, 1838, 353, 486, 5876, 3639, 775, 288, 5411, 880, 273, 394, 1976, 2932, 2730, 30, 3813, 8863, 5411, 2321, 2932, 2730, 1771, 353, 1818, 5876, 18, 2256, 1281, 434, 326, 1308, 7434, 10275, 2989, 2040, 1830, 7225, 1769, 3639, 289, 3639, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 368, 2665, 3639, 289, 3639, 368, 1842, 3799, 3639, 4663, 18, 5425, 2040, 1489, 1503, 12443, 2040, 1830, 13, 2704, 1659, 743, 4432, 28278, 12, 7734, 315, 3341, 19, 87, 11638, 12303, 19, 12761, 2625, 19, 2730, 19, 3685, 17, 2472, 18, 2902, 20387, 588, 3381, 2932, 2730, 1830, 7923, 1769, 3639, 775, 288, 5411, 880, 273, 394, 1976, 2932, 2730, 30, 3813, 8863, 5411, 1316, 5582, 1248, 25931, 16747, 382, 2503, 46, 7397, 273, 629, 31, 3639, 289, 3639, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 2321, 2932, 8373, 1703, 486, 5876, 8863, 3639, 289, 3639, 368, 1842, 2057, 498, 3639, 880, 273, 394, 1976, 2932, 2730, 30, 2730, 18, 19056, 18, 20657, 18, 902, 18, 7398, 8863, 3639, 775, 288, 5411, 880, 18, 3190, 1952, 5621, 5411, 2321, 5621, 3639, 289, 3639, 1044, 261, 28341, 2040, 14785, 425, 13, 288, 5411, 368, 2665, 3639, 289, 3639, 368, 1842, 923, 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, 1503, 1435, 1216, 20710, 16, 1860, 288, 3639, 1815, 5510, 2932, 2503, 1842, 848, 1338, 506, 1086, 3647, 316, 279, 2202, 14131, 3113, 1316, 5582, 1248, 25931, 16747, 382, 2503, 46, 7397, 1769, 3639, 1976, 880, 31, 3639, 368, 1221, 3071, 279, 1838, 353, 486, 5876, 3639, 775, 288, 5411, 880, 273, 394, 1976, 2932, 2730, 30, 3813, 8863, 5411, 2321, 2932, 2730, 1771, 353, 1818, 5876, 18, 2256, 1281, 434, 326, 1308, 7434, 10275, 2989, 2040, 1830, 7225, 1769, 3639, 289, 3639, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 368, 2665, 3639, 289, 3639, 368, 1842, 3799, 3639, 4663, 18, 5425, 2040, 1489, 1503, 12443, 2040, 1830, 13, 2704, 1659, 743, 4432, 28278, 2 ]
private IRubyObject yieldUnder(RubyModule under) { return under.executeUnder(new Callback() { public IRubyObject execute(IRubyObject self, IRubyObject[] args) { ThreadContext context = getRuntime().getCurrentContext(); Block block = (Block) context.getCurrentBlock(); Visibility savedVisibility = block.getVisibility(); block.setVisibility(Visibility.PUBLIC); try { IRubyObject valueInYield = args[0]; IRubyObject selfInYield = args[0]; return context.yieldCurrentBlock(valueInYield, selfInYield, context.getRubyClass(), false); //TODO: Should next and return also catch here? } catch (JumpException je) { if (je.getJumpType() == JumpException.JumpType.BreakJump) { IRubyObject breakValue = (IRubyObject)je.getPrimaryData(); return breakValue == null ? getRuntime().getNil() : breakValue; } else { throw je; } } finally { block.setVisibility(savedVisibility); } } public Arity getArity() { return Arity.optional(); } }, new IRubyObject[] { this }); }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/c8b66db475de1dc66f347884891dd70d9943689b/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 2824, 14655, 12, 54, 10340, 3120, 3613, 13, 288, 3639, 327, 3613, 18, 8837, 14655, 12, 2704, 8444, 1435, 288, 5411, 1071, 15908, 10340, 921, 1836, 12, 7937, 10340, 921, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 7734, 4884, 1042, 819, 273, 18814, 7675, 588, 3935, 1042, 5621, 7734, 3914, 1203, 273, 261, 1768, 13, 819, 18, 588, 3935, 1768, 5621, 7734, 27791, 5198, 10135, 273, 1203, 18, 588, 10135, 5621, 7734, 1203, 18, 542, 10135, 12, 10135, 18, 14939, 1769, 7734, 775, 288, 10792, 15908, 10340, 921, 460, 382, 16348, 273, 833, 63, 20, 15533, 10792, 15908, 10340, 921, 365, 382, 16348, 273, 833, 63, 20, 15533, 10792, 327, 819, 18, 23604, 3935, 1768, 12, 1132, 382, 16348, 16, 365, 382, 16348, 16, 819, 18, 588, 54, 10340, 797, 9334, 629, 1769, 10792, 368, 6241, 30, 9363, 1024, 471, 327, 2546, 1044, 2674, 35, 7734, 289, 1044, 261, 26743, 503, 30356, 13, 288, 1171, 202, 430, 261, 78, 73, 18, 588, 26743, 559, 1435, 422, 804, 2801, 503, 18, 26743, 559, 18, 7634, 26743, 13, 288, 1171, 202, 202, 7937, 10340, 921, 898, 620, 273, 261, 7937, 10340, 921, 13, 78, 73, 18, 588, 6793, 751, 5621, 19694, 202, 202, 2463, 898, 620, 422, 446, 692, 18814, 7675, 588, 12616, 1435, 294, 898, 620, 31, 1171, 202, 97, 469, 288, 1171, 202, 202, 12849, 30356, 31, 1171, 202, 97, 7734, 289, 3095, 288, 10792, 1203, 18, 542, 10135, 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, 3238, 15908, 10340, 921, 2824, 14655, 12, 54, 10340, 3120, 3613, 13, 288, 3639, 327, 3613, 18, 8837, 14655, 12, 2704, 8444, 1435, 288, 5411, 1071, 15908, 10340, 921, 1836, 12, 7937, 10340, 921, 365, 16, 15908, 10340, 921, 8526, 833, 13, 288, 7734, 4884, 1042, 819, 273, 18814, 7675, 588, 3935, 1042, 5621, 7734, 3914, 1203, 273, 261, 1768, 13, 819, 18, 588, 3935, 1768, 5621, 7734, 27791, 5198, 10135, 273, 1203, 18, 588, 10135, 5621, 7734, 1203, 18, 542, 10135, 12, 10135, 18, 14939, 1769, 7734, 775, 288, 10792, 15908, 10340, 921, 460, 382, 16348, 273, 833, 63, 20, 15533, 10792, 15908, 10340, 921, 365, 382, 16348, 273, 833, 63, 20, 15533, 10792, 327, 819, 18, 2 ]
relPath = p.toJCRPath(srcSession.getNamespaceResolver());
relPath = PathFormat.format(p, srcSession.getNamespaceResolver());
private NodeImpl getCorrespondingNode(SessionImpl srcSession) throws AccessDeniedException, RepositoryException { // search nearest ancestor that is referenceable NodeImpl m1 = this; while (!m1.isNodeType(QName.MIX_REFERENCEABLE)) { if (m1.getDepth() == 0) { // root node try { return (NodeImpl) srcSession.getItem(getPath()); } catch (PathNotFoundException e) { return null; } } m1 = (NodeImpl) m1.getParent(); } try { // get corresponding ancestor (might throw ItemNotFoundException) NodeImpl m2 = (NodeImpl) srcSession.getNodeByUUID(m1.getUUID()); // return m2, if m1 == n1 if (m1 == this) { return m2; } String relPath; try { Path p = m1.getPrimaryPath().computeRelativePath(getPrimaryPath()); // use prefix mappings of srcSession relPath = p.toJCRPath(srcSession.getNamespaceResolver()); } catch (NameException be) { // should never get here... String msg = "internal error: failed to determine relative path"; log.error(msg, be); throw new RepositoryException(msg, be); } if (!m2.hasNode(relPath)) { return null; } else { return (NodeImpl) m2.getNode(relPath); } } catch (ItemNotFoundException e) { return null; } }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/9001843d9e8a7049ff256b4c8dfa532cd6eabc25/NodeImpl.java/clean/jackrabbit/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 2828, 18399, 17863, 310, 907, 12, 2157, 2828, 1705, 2157, 13, 5411, 1216, 21665, 16, 13367, 288, 3639, 368, 1623, 11431, 9731, 716, 353, 2114, 429, 3639, 2029, 2828, 312, 21, 273, 333, 31, 3639, 1323, 16051, 81, 21, 18, 291, 15101, 12, 13688, 18, 7492, 60, 67, 14617, 2782, 3719, 288, 5411, 309, 261, 81, 21, 18, 588, 6148, 1435, 422, 374, 13, 288, 7734, 368, 1365, 756, 7734, 775, 288, 10792, 327, 261, 907, 2828, 13, 1705, 2157, 18, 588, 1180, 12, 588, 743, 10663, 7734, 289, 1044, 261, 743, 3990, 425, 13, 288, 10792, 327, 446, 31, 7734, 289, 5411, 289, 5411, 312, 21, 273, 261, 907, 2828, 13, 312, 21, 18, 588, 3054, 5621, 3639, 289, 3639, 775, 288, 5411, 368, 336, 4656, 9731, 261, 81, 750, 604, 4342, 3990, 13, 5411, 2029, 2828, 312, 22, 273, 261, 907, 2828, 13, 1705, 2157, 18, 588, 907, 858, 5562, 12, 81, 21, 18, 588, 5562, 10663, 5411, 368, 327, 312, 22, 16, 309, 312, 21, 422, 290, 21, 5411, 309, 261, 81, 21, 422, 333, 13, 288, 7734, 327, 312, 22, 31, 5411, 289, 5411, 514, 20282, 31, 5411, 775, 288, 7734, 2666, 293, 273, 312, 21, 18, 588, 6793, 743, 7675, 9200, 16519, 12, 588, 6793, 743, 10663, 7734, 368, 999, 1633, 7990, 434, 1705, 2157, 7734, 20282, 273, 2666, 1630, 18, 2139, 12, 84, 16, 1705, 2157, 18, 588, 3402, 4301, 10663, 5411, 289, 1044, 261, 26771, 506, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 2828, 18399, 17863, 310, 907, 12, 2157, 2828, 1705, 2157, 13, 5411, 1216, 21665, 16, 13367, 288, 3639, 368, 1623, 11431, 9731, 716, 353, 2114, 429, 3639, 2029, 2828, 312, 21, 273, 333, 31, 3639, 1323, 16051, 81, 21, 18, 291, 15101, 12, 13688, 18, 7492, 60, 67, 14617, 2782, 3719, 288, 5411, 309, 261, 81, 21, 18, 588, 6148, 1435, 422, 374, 13, 288, 7734, 368, 1365, 756, 7734, 775, 288, 10792, 327, 261, 907, 2828, 13, 1705, 2157, 18, 588, 1180, 12, 588, 743, 10663, 7734, 289, 1044, 261, 743, 3990, 425, 13, 288, 10792, 327, 446, 31, 7734, 289, 5411, 289, 5411, 312, 21, 273, 261, 907, 2828, 13, 312, 21, 18, 588, 2 ]
SVNDebugLog.log(e);
SVNDebugLog.logInfo(e);
public static KeyManager[] getKeyManagers() { if (ourIsInitialized) { return ourKeyManagers; } ourIsInitialized = true; String certFileName = System.getProperty(CERTIFICATE_FILE); if (certFileName == null) { return null; } char[] passphrase = null; if (System.getProperty(CERTIFICATE_PASSPHRASE) != null) { passphrase = System.getProperty(CERTIFICATE_PASSPHRASE).toCharArray(); } KeyStore keyStore = null; InputStream is = null; try { keyStore = KeyStore.getInstance("PKCS12"); if (keyStore != null) { is = new FileInputStream(certFileName); keyStore.load(is, passphrase); } } catch (Throwable th) { SVNDebugLog.log(th); } finally { if (is != null) { try { is.close(); } catch (IOException e) { } } } KeyManagerFactory kmf = null; if (keyStore != null) { try { kmf = KeyManagerFactory.getInstance("SunX509"); if (kmf != null) { kmf.init(keyStore, passphrase); ourKeyManagers = kmf.getKeyManagers(); } } catch (Throwable e) { SVNDebugLog.log(e); } } return ourKeyManagers; }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/3923f5416342d8fbfe28509bee38b5bd27c711aa/DAVKeyManager.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/io/dav/DAVKeyManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1929, 1318, 8526, 3579, 17570, 1435, 288, 3639, 309, 261, 477, 2520, 11459, 13, 288, 5411, 327, 3134, 653, 17570, 31, 3639, 289, 3639, 3134, 2520, 11459, 273, 638, 31, 3639, 514, 3320, 4771, 273, 2332, 18, 588, 1396, 12, 22367, 26649, 67, 3776, 1769, 3639, 309, 261, 7593, 4771, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 1149, 8526, 15244, 273, 446, 31, 3639, 309, 261, 3163, 18, 588, 1396, 12, 22367, 26649, 67, 10884, 8939, 2849, 1090, 13, 480, 446, 13, 288, 5411, 15244, 273, 2332, 18, 588, 1396, 12, 22367, 26649, 67, 10884, 8939, 2849, 1090, 2934, 869, 15936, 5621, 3639, 289, 3639, 17017, 17901, 273, 446, 31, 10792, 5037, 353, 273, 446, 31, 3639, 775, 288, 5411, 17901, 273, 17017, 18, 588, 1442, 2932, 26044, 2138, 8863, 5411, 309, 261, 856, 2257, 480, 446, 13, 288, 7734, 353, 273, 394, 11907, 12, 7593, 4771, 1769, 7734, 17901, 18, 945, 12, 291, 16, 15244, 1769, 27573, 289, 3639, 289, 1044, 261, 15155, 286, 13, 288, 5411, 29537, 50, 2829, 1343, 18, 1330, 12, 451, 1769, 3639, 289, 3095, 288, 5411, 309, 261, 291, 480, 446, 13, 288, 7734, 775, 288, 10792, 353, 18, 4412, 5621, 7734, 289, 1044, 261, 14106, 425, 13, 288, 7734, 289, 5411, 289, 3639, 289, 3639, 1929, 20012, 417, 16126, 273, 446, 31, 3639, 309, 261, 856, 2257, 480, 446, 13, 288, 5411, 775, 288, 7734, 417, 16126, 273, 1929, 20012, 18, 588, 1442, 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, 1929, 1318, 8526, 3579, 17570, 1435, 288, 3639, 309, 261, 477, 2520, 11459, 13, 288, 5411, 327, 3134, 653, 17570, 31, 3639, 289, 3639, 3134, 2520, 11459, 273, 638, 31, 3639, 514, 3320, 4771, 273, 2332, 18, 588, 1396, 12, 22367, 26649, 67, 3776, 1769, 3639, 309, 261, 7593, 4771, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 1149, 8526, 15244, 273, 446, 31, 3639, 309, 261, 3163, 18, 588, 1396, 12, 22367, 26649, 67, 10884, 8939, 2849, 1090, 13, 480, 446, 13, 288, 5411, 15244, 273, 2332, 18, 588, 1396, 12, 22367, 26649, 67, 10884, 8939, 2849, 1090, 2934, 869, 15936, 5621, 3639, 289, 3639, 17017, 17901, 273, 446, 31, 10792, 5037, 2 ]
return PlatformUI.getWorkbench( ).getDisplay( ).getActiveShell( );
try { return PlatformUI.getWorkbench( ).getDisplay( ).getActiveShell( ); } catch ( Exception e ) { return new Shell( ); }
public static Shell getDefaultShell( ) { return PlatformUI.getWorkbench( ).getDisplay( ).getActiveShell( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/01d840a93ce5b81f1e5cc2a0d70534c901a921dc/UIUtil.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19433, 4829, 13220, 12, 262, 202, 95, 202, 202, 2463, 11810, 5370, 18, 588, 2421, 22144, 12, 262, 18, 588, 4236, 12, 262, 18, 588, 3896, 13220, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19433, 4829, 13220, 12, 262, 202, 95, 202, 202, 2463, 11810, 5370, 18, 588, 2421, 22144, 12, 262, 18, 588, 4236, 12, 262, 18, 588, 3896, 13220, 12, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SelectionAdapter lsNew = new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { newUser(); } };
public void widgetSelected(SelectionEvent e) { delDirectory(ti, repdir); }
SelectionAdapter lsNew = new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { newUser(); } };
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/22aab93f06565b8bc1e165e9f3ea8381cc861071/RepositoryExplorerDialog.java/clean/kettle/src/be/ibridge/kettle/repository/dialog/RepositoryExplorerDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 6233, 4216, 7180, 1908, 273, 394, 12977, 4216, 1435, 288, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 394, 1299, 5621, 289, 289, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int LA16_141 = input.LA(1); if ( LA16_141=='e' ) {return s238;} return s50;
int LA16_142 = input.LA(1); if ( LA16_142=='e' ) {return s239;} return s51;
public DFA.State transition(IntStream input) throws RecognitionException { int LA16_141 = input.LA(1); if ( LA16_141=='e' ) {return s238;} return s50; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/cb210a30853642e270a3bba6ce570409f6046852/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2313, 67, 3461, 21, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2313, 67, 3461, 21, 18920, 73, 11, 262, 288, 2463, 272, 4366, 28, 31, 97, 7734, 327, 272, 3361, 31, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 463, 2046, 18, 1119, 6007, 12, 1702, 1228, 810, 13, 1216, 9539, 288, 7734, 509, 2928, 2313, 67, 3461, 21, 273, 810, 18, 2534, 12, 21, 1769, 7734, 309, 261, 2928, 2313, 67, 3461, 21, 18920, 73, 11, 262, 288, 2463, 272, 4366, 28, 31, 97, 7734, 327, 272, 3361, 31, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (node != null) && (cmp.compare(node.key, endKey) < 0);
return (node != null && endKey != null) && (cmp.compare(node.key, endKey) < 0);
public boolean hasNext() { return (node != null) && (cmp.compare(node.key, endKey) < 0); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/234ecaa28fdfe8f0c95b640ac2e5303a97c5937f/TreeMap.java/clean/modules/luni/src/main/java/java/util/TreeMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 4564, 1435, 288, 5411, 327, 261, 2159, 480, 446, 597, 679, 653, 480, 446, 13, 597, 261, 9625, 18, 9877, 12, 2159, 18, 856, 16, 679, 653, 13, 411, 374, 1769, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 4564, 1435, 288, 5411, 327, 261, 2159, 480, 446, 597, 679, 653, 480, 446, 13, 597, 261, 9625, 18, 9877, 12, 2159, 18, 856, 16, 679, 653, 13, 411, 374, 1769, 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 ]
DocumentMapper documentMapper = ApplicationServer.getIMCServiceInterface().getDocumentMapper();
DocumentMapper documentMapper = Imcms.getServices().getDocumentMapper();
public static String createHtmlOptionListOfCategoriesForOneType( CategoryTypeDomainObject categoryType, CategoryDomainObject selectedCategory ) { DocumentMapper documentMapper = ApplicationServer.getIMCServiceInterface().getDocumentMapper(); CategoryDomainObject[] categories = documentMapper.getAllCategoriesOfType( categoryType ); String temps = ""; for ( int i = 0; i < categories.length; i++ ) { boolean selected = selectedCategory != null && selectedCategory.equals( categories[i] ); temps += "<option value=\"" + categories[i].getId() + "\"" + ( selected ? " selected" : "" ) + ">" + categories[i].getName() + "</option>"; } return temps; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d060a6873350aa2972f54c354321cf3756f50e6f/AdminCategories.java/buggy/server/src/com/imcode/imcms/servlet/superadmin/AdminCategories.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 752, 4353, 1895, 682, 951, 10487, 1290, 3335, 559, 12, 9856, 559, 3748, 921, 3150, 559, 16, 4766, 19694, 9856, 3748, 921, 3170, 4457, 262, 288, 3639, 4319, 4597, 1668, 4597, 273, 2221, 6851, 18, 588, 5676, 7675, 588, 2519, 4597, 5621, 3639, 9856, 3748, 921, 8526, 6477, 273, 1668, 4597, 18, 588, 1595, 10487, 18859, 12, 3150, 559, 11272, 3639, 514, 1022, 1121, 273, 1408, 31, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 6477, 18, 2469, 31, 277, 9904, 262, 288, 5411, 1250, 3170, 273, 3170, 4457, 480, 446, 597, 3170, 4457, 18, 14963, 12, 6477, 63, 77, 65, 11272, 5411, 1022, 1121, 1011, 3532, 3482, 460, 13186, 5397, 397, 6477, 63, 77, 8009, 26321, 1435, 5397, 397, 11143, 5397, 397, 261, 3170, 692, 315, 3170, 6, 294, 1408, 262, 5397, 397, 14675, 5397, 397, 6477, 63, 77, 8009, 17994, 1435, 397, 6823, 3482, 2984, 31, 3639, 289, 3639, 327, 1022, 1121, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 752, 4353, 1895, 682, 951, 10487, 1290, 3335, 559, 12, 9856, 559, 3748, 921, 3150, 559, 16, 4766, 19694, 9856, 3748, 921, 3170, 4457, 262, 288, 3639, 4319, 4597, 1668, 4597, 273, 2221, 6851, 18, 588, 5676, 7675, 588, 2519, 4597, 5621, 3639, 9856, 3748, 921, 8526, 6477, 273, 1668, 4597, 18, 588, 1595, 10487, 18859, 12, 3150, 559, 11272, 3639, 514, 1022, 1121, 273, 1408, 31, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 6477, 18, 2469, 31, 277, 9904, 262, 288, 5411, 1250, 3170, 273, 3170, 4457, 480, 446, 597, 3170, 4457, 18, 14963, 12, 6477, 63, 77, 65, 11272, 5411, 1022, 1121, 1011, 3532, 3482, 460, 13186, 5397, 397, 6477, 2 ]
/* Interesting; according to Javadocs, these 2 methods behave * nicely, ie. no exceptions even if they are not applicable... */ assertNull(sr.getPrefix()); assertNull(sr.getNamespaceURI());
private void doTestProperties(boolean nsAware) throws XMLStreamException { XMLStreamReader sr = getReader(VALID_XML1, nsAware); assertEquals(START_DOCUMENT, sr.getEventType()); // Type info assertEquals(false, sr.isStartElement()); assertEquals(false, sr.isEndElement()); assertEquals(false, sr.isCharacters()); assertEquals(false, sr.isWhiteSpace()); // indirect type info assertEquals(false, sr.hasName()); assertEquals(false, sr.hasText()); /* Now... how about location and namespace context? Are they really * guaranteed to exist at this point? Since API doesn't indicate * otherwise, let's assume this is the case, for now. */ assertNotNull(sr.getLocation()); if (nsAware) { assertNotNull(sr.getNamespaceContext()); } /* Interesting; according to Javadocs, these 2 methods behave * nicely, ie. no exceptions even if they are not applicable... */ assertNull(sr.getPrefix()); assertNull(sr.getNamespaceURI()); // And then let's check methods that should throw specific exception for (int i = 0; i < 4; ++i) { String method = ""; try { Object result = null; switch (i) { case 0: method = "getName"; result = sr.getName(); break; case 1: method = "getLocalName"; result = sr.getLocalName(); break; case 2: method = "getNamespaceCount"; result = new Integer(sr.getNamespaceCount()); break; case 3: method = "getAttributeCount"; result = new Integer(sr.getAttributeCount()); break; } fail("Expected IllegalStateException, when calling " +method+"() for XML declaration (START_DOCUMENT)"); } catch (IllegalStateException iae) { ; // good } } /* StAX JavaDocs just say 'Proc. instr. target/data, or null', NOT * that there should be an exception... */ assertNull(sr.getPITarget()); assertNull(sr.getPIData()); }
2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/0a48261e76a836a4396f2c4bf6848c3d734fe1fd/TestXmlDecl.java/buggy/dev/src/org/codehaus/stax/test/stream/TestXmlDecl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 4709, 2297, 12, 6494, 3153, 10155, 13, 3639, 1216, 21526, 565, 288, 3639, 15595, 2514, 9133, 273, 27173, 12, 5063, 67, 4201, 21, 16, 3153, 10155, 1769, 3639, 1815, 8867, 12, 7570, 67, 18450, 16, 9133, 18, 588, 16346, 10663, 3639, 368, 1412, 1123, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 1685, 1046, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 1638, 1046, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 11600, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 23108, 10663, 3639, 368, 16807, 618, 1123, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 5332, 461, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 5332, 1528, 10663, 3639, 1748, 4494, 2777, 3661, 2973, 2117, 471, 1981, 819, 35, 12520, 2898, 8654, 540, 380, 15403, 358, 1005, 622, 333, 1634, 35, 7897, 1491, 3302, 1404, 10768, 540, 380, 3541, 16, 2231, 1807, 6750, 333, 353, 326, 648, 16, 364, 2037, 18, 540, 1195, 3639, 25395, 12, 11254, 18, 588, 2735, 10663, 3639, 309, 261, 2387, 10155, 13, 288, 5411, 25395, 12, 11254, 18, 588, 3402, 1042, 10663, 3639, 289, 3639, 1748, 5294, 10100, 31, 4888, 358, 5195, 87, 16, 4259, 576, 2590, 31085, 540, 380, 11562, 2357, 16, 9228, 18, 1158, 4798, 5456, 309, 2898, 854, 486, 12008, 2777, 540, 1195, 3639, 1815, 2041, 12, 11254, 18, 588, 2244, 10663, 3639, 1815, 2041, 12, 11254, 18, 588, 3402, 3098, 10663, 3639, 368, 7835, 1508, 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, 741, 4709, 2297, 12, 6494, 3153, 10155, 13, 3639, 1216, 21526, 565, 288, 3639, 15595, 2514, 9133, 273, 27173, 12, 5063, 67, 4201, 21, 16, 3153, 10155, 1769, 3639, 1815, 8867, 12, 7570, 67, 18450, 16, 9133, 18, 588, 16346, 10663, 3639, 368, 1412, 1123, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 1685, 1046, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 1638, 1046, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 11600, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 291, 23108, 10663, 3639, 368, 16807, 618, 1123, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 5332, 461, 10663, 3639, 1815, 8867, 12, 5743, 16, 9133, 18, 5332, 2 ]
Event reparentEvent = MockUtil.createReparentEvent("Test", "192.168.1.2", 1, 2);
Event reparentEvent = MockUtil.createReparentEvent("Test", "192.168.1.2", 1, 2);
public void testInterfaceReparented() { m_pollerConfig.setNodeOutageProcessingEnabled(true); MockNode node1 = m_network.getNode(1); MockNode node2 = m_network.getNode(2); MockInterface dotTwo = m_network.getInterface(1, "192.168.1.2"); MockInterface dotThree = m_network.getInterface(2, "192.168.1.3"); Event reparentEvent = MockUtil.createReparentEvent("Test", "192.168.1.2", 1, 2); // we are going to reparent to node 2 so when we bring down its only // current interface we expect an interface down not the whole node. anticipateDown(dotThree); startDaemons(); sleep(2000); // move the reparted interface and send a reparented event dotTwo.moveTo(node2); m_db.reparentInterface(dotTwo.getIpAddr(), node1.getNodeId(), node2.getNodeId()); // send the reparent event to the daemons m_eventMgr.sendEventToListeners(reparentEvent); // now bring down the other interface on the new node // System.err.println("Bring Down:"+node2Iface); dotThree.bringDown(); verifyAnticipated(2000); resetAnticipated(); anticipateDown(node2); // System.err.println("Bring Down:"+reparentedIface); dotTwo.bringDown(); //sleep(5000); verifyAnticipated(2000); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/e3db1312e8cc2636034eb4d7b29db88850613e3b/PollerTest.java/buggy/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1358, 426, 2938, 329, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 3928, 11710, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 3928, 28019, 273, 312, 67, 5185, 18, 588, 1358, 12, 22, 16, 315, 15561, 18, 23329, 18, 21, 18, 23, 8863, 7734, 2587, 2071, 817, 1133, 273, 7867, 1304, 18, 2640, 426, 2938, 1133, 2932, 4709, 3113, 315, 15561, 18, 23329, 18, 21, 18, 22, 3113, 404, 16, 576, 1769, 3639, 368, 732, 854, 8554, 358, 2071, 817, 358, 756, 576, 1427, 1347, 732, 5186, 310, 2588, 2097, 1338, 3639, 368, 783, 1560, 732, 4489, 392, 1560, 2588, 486, 326, 7339, 756, 18, 3639, 17841, 24629, 340, 4164, 12, 9811, 28019, 1769, 3639, 787, 12858, 87, 5621, 540, 202, 202, 19607, 12, 17172, 1769, 3639, 368, 3635, 326, 2071, 485, 329, 1560, 471, 1366, 279, 2071, 817, 329, 871, 3639, 3928, 11710, 18, 8501, 774, 12, 2159, 22, 1769, 3639, 312, 67, 1966, 18, 266, 2938, 1358, 12, 9811, 11710, 18, 588, 5273, 3178, 9334, 756, 21, 18, 588, 15883, 9334, 756, 22, 18, 588, 15883, 10663, 3639, 368, 1366, 326, 2071, 817, 871, 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, 1358, 426, 2938, 329, 1435, 288, 3639, 312, 67, 3915, 749, 809, 18, 542, 907, 1182, 410, 7798, 1526, 12, 3767, 1769, 3639, 7867, 907, 756, 21, 273, 312, 67, 5185, 18, 588, 907, 12, 21, 1769, 3639, 7867, 907, 756, 22, 273, 312, 67, 5185, 18, 588, 907, 12, 22, 1769, 3639, 7867, 1358, 3928, 11710, 273, 312, 67, 5185, 18, 588, 1358, 12, 21, 16, 315, 15561, 18, 23329, 18, 21, 18, 22, 8863, 3639, 7867, 1358, 3928, 28019, 273, 312, 67, 5185, 18, 588, 1358, 12, 22, 16, 315, 15561, 18, 23329, 18, 21, 18, 23, 8863, 7734, 2587, 2071, 817, 1133, 273, 7867, 1304, 18, 2640, 426, 2938, 1133, 2932, 4709, 2 ]
val.insert(1, '.');
val.insert( ( negative ? 2 : 1 ), '.');
public String toString() { // bigStr is the String representation of the unscaled value. If // scale is zero we simply return this. String bigStr = intVal.toString(); if (scale == 0) return bigStr; // This is the adjusted exponent described above. int adjExp = -scale + (numDigitsInLong(intVal.longValue()) - 1); StringBuilder val = new StringBuilder(); if (scale >= 0 && adjExp >= -6) { // Convert to character form without scientific notation. boolean negative = (bigStr.charAt(0) == '-'); int point = bigStr.length() - scale - (negative ? 1 : 0); if (point <= 0) { // Zeros need to be prepended to the StringBuilder. if (negative) val.append('-'); // Prepend a '0' and a '.' and then as many more '0's as necessary. val.append('0').append('.'); while (point < 0) { val.append('0'); point++; } // Append the unscaled value. val.append(bigStr.substring(negative ? 1 : 0)); } else { // No zeros need to be prepended so the String is simply the // unscaled value with the decimal point inserted. val.append(bigStr); val.insert(point + (negative ? 1 : 0), '.'); } } else { // We must use scientific notation to represent this BigDecimal. val.append(bigStr); // If there is more than one digit in the unscaled value we put a // decimal after the first digit. if (bigStr.length() > 1) val.insert(1, '.'); // And then append 'E' and the exponent (adjExp). val.append('E'); if (adjExp >= 0) val.append('+'); val.append(adjExp); } return val.toString(); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/586e617796c6806b508dbab823f2ae6fd6d92d73/BigDecimal.java/buggy/java/math/BigDecimal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 225, 288, 565, 368, 5446, 1585, 353, 326, 514, 4335, 434, 326, 16804, 12825, 460, 18, 225, 971, 565, 368, 3159, 353, 3634, 732, 8616, 327, 333, 18, 565, 514, 5446, 1585, 273, 509, 3053, 18, 10492, 5621, 565, 309, 261, 5864, 422, 374, 13, 1377, 327, 5446, 1585, 31, 565, 368, 1220, 353, 326, 13940, 9100, 11893, 5721, 18, 565, 509, 8307, 2966, 273, 300, 5864, 397, 261, 2107, 9537, 382, 3708, 12, 474, 3053, 18, 5748, 620, 10756, 300, 404, 1769, 565, 3225, 1244, 273, 394, 3225, 5621, 565, 309, 261, 5864, 1545, 374, 597, 8307, 2966, 1545, 300, 26, 13, 1377, 288, 3639, 368, 4037, 358, 3351, 646, 2887, 888, 1979, 1507, 12155, 18, 3639, 1250, 6092, 273, 261, 14002, 1585, 18, 3001, 861, 12, 20, 13, 422, 4014, 1769, 3639, 509, 1634, 273, 5446, 1585, 18, 2469, 1435, 300, 3159, 300, 261, 13258, 692, 404, 294, 374, 1769, 3639, 309, 261, 1153, 1648, 374, 13, 1850, 288, 5411, 368, 2285, 4345, 1608, 358, 506, 26989, 358, 326, 3225, 18, 5411, 309, 261, 13258, 13, 2868, 1244, 18, 6923, 2668, 6627, 1769, 5411, 368, 28466, 279, 296, 20, 11, 471, 279, 2611, 471, 1508, 487, 4906, 1898, 296, 20, 1807, 487, 4573, 18, 5411, 1244, 18, 6923, 2668, 20, 16063, 6923, 2668, 1093, 1769, 5411, 1323, 261, 1153, 411, 374, 13, 2868, 288, 7734, 1244, 18, 6923, 2668, 20, 8284, 7734, 1634, 9904, 31, 2868, 289, 5411, 368, 6181, 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, 514, 1762, 1435, 225, 288, 565, 368, 5446, 1585, 353, 326, 514, 4335, 434, 326, 16804, 12825, 460, 18, 225, 971, 565, 368, 3159, 353, 3634, 732, 8616, 327, 333, 18, 565, 514, 5446, 1585, 273, 509, 3053, 18, 10492, 5621, 565, 309, 261, 5864, 422, 374, 13, 1377, 327, 5446, 1585, 31, 565, 368, 1220, 353, 326, 13940, 9100, 11893, 5721, 18, 565, 509, 8307, 2966, 273, 300, 5864, 397, 261, 2107, 9537, 382, 3708, 12, 474, 3053, 18, 5748, 620, 10756, 300, 404, 1769, 565, 3225, 1244, 273, 394, 3225, 5621, 565, 309, 261, 5864, 1545, 374, 597, 8307, 2966, 1545, 300, 26, 13, 1377, 288, 3639, 368, 4037, 358, 3351, 646, 2887, 888, 1979, 2 ]
private void init(){ JButton b; ButtonGroup bg = new ButtonGroup(); setSize(380,180); GridBagConstraints c=new GridBagConstraints(); JScrollPane sp = new JScrollPane(); c.fill=GridBagConstraints.BOTH; getContentPane().setLayout(new GridBagLayout()); sp.setSize(50,200); keysList = new JList(); queryKeys(); keysList.addMouseListener(this); c.weightx=1; c.weighty=1; c.gridx=0; c.gridy=0; c.gridheight=6; c.gridwidth=2; sp.getViewport().setView(keysList); getContentPane().add(sp,c); c.gridwidth=1; c.gridheight=1; c.weightx=.5; c.weighty=.5; c.gridx=2; tName = new JTextField(32); tName.setToolTipText("The key name ("+Sprite.KeyFrame.KEY_NAME_LENGTH_MAX+") max"); getContentPane().add(tName,c); c.gridy=1; tStart = new JTextField(4); tStart.setToolTipText("The first frame"); getContentPane().add(tStart,c); c.gridy=2; tFinish = new JTextField(4); tFinish.setToolTipText("The last frame"); getContentPane().add(tFinish,c); c.gridy=3; tRate = new JTextField(4); tRate.setToolTipText("The frame rate"); getContentPane().add(tRate,c); c.gridy=6; c.gridx=0; b=new JButton("New Key"); b.addActionListener(this); getContentPane().add(b,c); c.gridx=1; b=new JButton("Delete Key"); b.addActionListener(this); getContentPane().add(b,c); c.gridx=2; b=new JButton("Apply"); b.addActionListener(this); getContentPane().add(b,c); c.gridx=3; b=new JButton("OK"); b.addActionListener(this); getContentPane().add(b,c); c.gridheight=1; c.gridwidth=1; c.gridx=3; c.gridy=0; rbLoop = new JRadioButton("Looping"); rbLoop.setActionCommand("loop"); rbLoop.addActionListener(this); getContentPane().add(rbLoop,c); bg.add(rbLoop); rbStop = new JRadioButton("Stop"); rbStop.setActionCommand("stop"); rbStop.addActionListener(this); c.gridy=1; getContentPane().add(rbStop,c); bg.add(rbStop); rbReverse = new JRadioButton("Reverse"); rbReverse.setActionCommand("reverse"); rbReverse.addActionListener(this); c.gridy=2; getContentPane().add(rbReverse,c); bg.add(rbReverse); rbAuto = new JRadioButton("Auto Jump"); rbAuto.setActionCommand("auto"); rbAuto.addActionListener(this); c.gridy=3; getContentPane().add(rbAuto,c); bg.add(rbAuto); }
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/062c011038c63814c5cd6423bdbabbfc092739fd/KeyDialog.java/clean/src/tiled/mapeditor/animation/KeyDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 1435, 95, 202, 202, 46, 3616, 324, 31, 6862, 202, 3616, 1114, 7611, 273, 394, 12569, 1114, 5621, 202, 202, 542, 1225, 12, 23, 3672, 16, 18278, 1769, 202, 202, 6313, 6852, 276, 33, 2704, 13075, 5621, 202, 202, 46, 26360, 1694, 273, 394, 804, 26360, 5621, 202, 202, 71, 18, 5935, 33, 6313, 6852, 18, 38, 18307, 31, 202, 202, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 202, 202, 1752, 18, 542, 1225, 12, 3361, 16, 6976, 1769, 202, 202, 2452, 682, 273, 394, 804, 682, 5621, 1082, 202, 2271, 2396, 5621, 9506, 202, 2452, 682, 18, 1289, 9186, 2223, 12, 2211, 1769, 202, 202, 71, 18, 4865, 92, 33, 21, 31, 202, 202, 71, 18, 4865, 93, 33, 21, 31, 202, 202, 71, 18, 5222, 92, 33, 20, 31, 202, 202, 71, 18, 5222, 93, 33, 20, 31, 202, 202, 71, 18, 5222, 4210, 33, 26, 31, 202, 202, 71, 18, 5222, 2819, 33, 22, 31, 202, 202, 1752, 18, 588, 22743, 7675, 542, 1767, 12, 2452, 682, 1769, 202, 202, 588, 1350, 8485, 7675, 1289, 12, 1752, 16, 71, 1769, 202, 202, 71, 18, 5222, 2819, 33, 21, 31, 202, 202, 71, 18, 5222, 4210, 33, 21, 31, 202, 202, 71, 18, 4865, 92, 33, 18, 25, 31, 202, 202, 71, 18, 4865, 93, 33, 18, 25, 31, 202, 202, 71, 18, 5222, 92, 33, 22, 31, 202, 202, 88, 461, 273, 394, 804, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1208, 1435, 95, 202, 202, 46, 3616, 324, 31, 6862, 202, 3616, 1114, 7611, 273, 394, 12569, 1114, 5621, 202, 202, 542, 1225, 12, 23, 3672, 16, 18278, 1769, 202, 202, 6313, 6852, 276, 33, 2704, 13075, 5621, 202, 202, 46, 26360, 1694, 273, 394, 804, 26360, 5621, 202, 202, 71, 18, 5935, 33, 6313, 6852, 18, 38, 18307, 31, 202, 202, 588, 1350, 8485, 7675, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 202, 202, 1752, 18, 542, 1225, 12, 3361, 16, 6976, 1769, 202, 202, 2452, 682, 273, 394, 804, 682, 5621, 1082, 202, 2271, 2396, 5621, 9506, 202, 2452, 682, 18, 1289, 9186, 2223, 12, 2211, 1769, 202, 202, 71, 18, 4865, 2 ]
byte[] request = new byte[data.length + (padContent ? 7 : 6)];
byte[] request = new byte[data.length + (padContent ? 7 : NON_DATA_BYTES)];
private byte[] buildRequest(byte command, boolean padContent, byte[]... content) { byte[] data = new byte[0]; for (byte[] tmp : content) { byte[] tmp2 = new byte[data.length + tmp.length]; System.arraycopy(data, 0, tmp2, 0, data.length); System.arraycopy(tmp, 0, tmp2, data.length, tmp.length); data = tmp2; } byte[] request = new byte[data.length + (padContent ? 7 : 6)]; int i = 0; request[i++] = HEADER; request[i++] = ECU_ID; request[i++] = DIAGNOSTIC_TOOL_ID; request[i++] = asByte(data.length + (padContent ? 2 : 1)); request[i++] = command; if (padContent) { request[i++] = READ_PADDING; } System.arraycopy(data, 0, request, i, data.length); request[request.length - 1] = calculateChecksum(request); return request; }
51906 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51906/698c4d556bf3ef4ac0f80d2d67d6ac6f513be708/SSMProtocol.java/buggy/src/enginuity/logger/protocol/SSMProtocol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 1361, 691, 12, 7229, 1296, 16, 1250, 4627, 1350, 16, 1160, 8526, 2777, 913, 13, 288, 3639, 1160, 8526, 501, 273, 394, 1160, 63, 20, 15533, 3639, 364, 261, 7229, 8526, 1853, 294, 913, 13, 288, 5411, 1160, 8526, 1853, 22, 273, 394, 1160, 63, 892, 18, 2469, 397, 1853, 18, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 892, 16, 374, 16, 1853, 22, 16, 374, 16, 501, 18, 2469, 1769, 5411, 2332, 18, 1126, 3530, 12, 5645, 16, 374, 16, 1853, 22, 16, 501, 18, 2469, 16, 1853, 18, 2469, 1769, 5411, 501, 273, 1853, 22, 31, 3639, 289, 3639, 1160, 8526, 590, 273, 394, 1160, 63, 892, 18, 2469, 397, 261, 6982, 1350, 692, 2371, 294, 18708, 67, 4883, 67, 13718, 13, 15533, 3639, 509, 277, 273, 374, 31, 3639, 590, 63, 77, 9904, 65, 273, 11659, 31, 3639, 590, 63, 77, 9904, 65, 273, 7773, 57, 67, 734, 31, 3639, 590, 63, 77, 9904, 65, 273, 3690, 1781, 3417, 882, 2871, 67, 26263, 67, 734, 31, 3639, 590, 63, 77, 9904, 65, 273, 487, 3216, 12, 892, 18, 2469, 397, 261, 6982, 1350, 692, 576, 294, 404, 10019, 3639, 590, 63, 77, 9904, 65, 273, 1296, 31, 3639, 309, 261, 6982, 1350, 13, 288, 5411, 590, 63, 77, 9904, 65, 273, 10746, 67, 52, 26710, 31, 3639, 289, 3639, 2332, 18, 1126, 3530, 12, 892, 16, 374, 16, 590, 16, 277, 16, 501, 18, 2469, 1769, 3639, 590, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 1361, 691, 12, 7229, 1296, 16, 1250, 4627, 1350, 16, 1160, 8526, 2777, 913, 13, 288, 3639, 1160, 8526, 501, 273, 394, 1160, 63, 20, 15533, 3639, 364, 261, 7229, 8526, 1853, 294, 913, 13, 288, 5411, 1160, 8526, 1853, 22, 273, 394, 1160, 63, 892, 18, 2469, 397, 1853, 18, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 892, 16, 374, 16, 1853, 22, 16, 374, 16, 501, 18, 2469, 1769, 5411, 2332, 18, 1126, 3530, 12, 5645, 16, 374, 16, 1853, 22, 16, 501, 18, 2469, 16, 1853, 18, 2469, 1769, 5411, 501, 273, 1853, 22, 31, 3639, 289, 3639, 1160, 8526, 590, 273, 394, 1160, 63, 892, 18, 2469, 397, 261, 6982, 2 ]
protected MNamespace getNamespace() { return (MNamespace) (ProjectManager.getManager().getCurrentProject() .getModel());
protected Object getNamespace() { return ProjectManager.getManager().getCurrentProject() .getModel();
protected MNamespace getNamespace() { return (MNamespace) (ProjectManager.getManager().getCurrentProject() .getModel()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/eb54e179504c3224b12324085944bd3488191d0b/TestActionDeploymentDiagram.java/clean/tests/org/argouml/uml/ui/TestActionDeploymentDiagram.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 490, 3402, 11153, 1435, 288, 3639, 327, 261, 49, 3402, 13, 261, 4109, 1318, 18, 588, 1318, 7675, 588, 3935, 4109, 1435, 7734, 263, 588, 1488, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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490, 3402, 11153, 1435, 288, 3639, 327, 261, 49, 3402, 13, 261, 4109, 1318, 18, 588, 1318, 7675, 588, 3935, 4109, 1435, 7734, 263, 588, 1488, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
+ "SELECT id, @P2 FROM ##SAfe0014 WHERE id=@P1");
+ "SELECT id, @P2 FROM #SAfe0014 WHERE id=@P1");
public void testPreparedAndCallableCursors0014() throws Exception { Statement stmt = con.createStatement(); stmt.executeUpdate("CREATE TABLE ##SAfe0014(id INT PRIMARY KEY)"); stmt.executeUpdate("INSERT INTO ##SAfe0014 VALUES (1)"); stmt.executeUpdate("CREATE PROCEDURE #sp_SAfe0014(@P1 INT, @P2 INT) AS " + "SELECT id, @P2 FROM ##SAfe0014 WHERE id=@P1"); stmt.close(); PreparedStatement ps = con.prepareStatement("SELECT id FROM ##SAfe0014", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertTrue(!resultSet.next()); // Correct meta data ResultSetMetaData rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("##SAfe0014", rsmd.getTableName(1)); // Insert row resultSet.moveToInsertRow(); resultSet.updateInt(1, 2); resultSet.insertRow(); resultSet.moveToCurrentRow(); // Check correct row count resultSet.last(); assertEquals(2, resultSet.getRow()); resultSet.close(); ps.close(); ps = con.prepareStatement("SELECT id, ? FROM ##SAfe0014 WHERE id = ?", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ps.setInt(1, 5); ps.setInt(2, 1); resultSet = ps.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, ps.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(5, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("##SAfe0014", rsmd.getTableName(1)); resultSet.close(); ps.close(); CallableStatement cs = con.prepareCall("{call #sp_SAfe0014(?,?)}", ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); cs.setInt(1, 1); cs.setInt(2, 3); resultSet = cs.executeQuery(); // No warnings assertEquals(null, resultSet.getWarnings()); assertEquals(null, cs.getWarnings()); // Correct ResultSet assertTrue(resultSet.next()); assertEquals(1, resultSet.getInt(1)); assertEquals(3, resultSet.getInt(2)); assertTrue(!resultSet.next()); // Correct meta data rsmd = resultSet.getMetaData(); assertEquals("id", rsmd.getColumnName(1)); assertEquals("##SAfe0014", rsmd.getTableName(1)); resultSet.close(); cs.close(); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/94384c8c0e9119cf0723288e9c58f679e0b99097/SAfeTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/SAfeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15464, 1876, 11452, 2408, 87, 1383, 713, 3461, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 9344, 7567, 7541, 5233, 3030, 713, 3461, 12, 350, 6137, 20058, 5311, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 11356, 12421, 7541, 5233, 3030, 713, 3461, 13477, 261, 21, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 9344, 4629, 23552, 4830, 468, 1752, 67, 5233, 3030, 713, 3461, 26964, 52, 21, 6137, 16, 632, 52, 22, 6137, 13, 5355, 315, 21821, 397, 315, 4803, 612, 16, 632, 52, 22, 4571, 468, 5233, 3030, 713, 3461, 4852, 612, 33, 36, 52, 21, 8863, 3639, 3480, 18, 4412, 5621, 3639, 16913, 4250, 273, 356, 18, 9366, 3406, 2932, 4803, 612, 4571, 7541, 5233, 3030, 713, 3461, 3113, 4766, 10792, 10842, 18, 2399, 67, 2312, 14555, 67, 26753, 16325, 16, 4766, 10792, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 1769, 3639, 10842, 12168, 273, 4250, 18, 8837, 1138, 5621, 3639, 368, 2631, 5599, 3639, 1815, 8867, 12, 2011, 16, 12168, 18, 588, 4312, 10663, 3639, 1815, 8867, 12, 2011, 16, 4250, 18, 588, 4312, 10663, 3639, 368, 30626, 10842, 3639, 1815, 5510, 12, 2088, 694, 18, 4285, 10663, 3639, 1815, 8867, 12, 21, 16, 12168, 18, 588, 1702, 12, 21, 10019, 3639, 1815, 5510, 12, 5, 2088, 694, 18, 4285, 10663, 3639, 368, 30626, 2191, 501, 3639, 10842, 6998, 3597, 1264, 273, 12168, 18, 588, 6998, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 15464, 1876, 11452, 2408, 87, 1383, 713, 3461, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 1891, 2932, 9344, 7567, 7541, 5233, 3030, 713, 3461, 12, 350, 6137, 20058, 5311, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 11356, 12421, 7541, 5233, 3030, 713, 3461, 13477, 261, 21, 2225, 1769, 3639, 3480, 18, 8837, 1891, 2932, 9344, 4629, 23552, 4830, 468, 1752, 67, 5233, 3030, 713, 3461, 26964, 52, 21, 6137, 16, 632, 52, 22, 6137, 13, 5355, 315, 21821, 397, 315, 4803, 612, 16, 632, 52, 22, 4571, 468, 5233, 3030, 713, 3461, 4852, 612, 33, 36, 52, 21, 8863, 3639, 3480, 18, 4412, 5621, 2 ]
String name, Orientation orientation) {
String name, Orientation orientation) {
protected PropPanelFeature( String name, Orientation orientation) { super(name, orientation); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/PropPanelFeature.java/buggy/src_new/org/argouml/uml/ui/foundation/core/PropPanelFeature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10484, 5537, 4595, 12, 3639, 514, 508, 16, 3639, 531, 12556, 9820, 13, 288, 3639, 2240, 12, 529, 16, 9820, 1769, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10484, 5537, 4595, 12, 3639, 514, 508, 16, 3639, 531, 12556, 9820, 13, 288, 3639, 2240, 12, 529, 16, 9820, 1769, 6647, 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 ]
new Object[] { sourceResource.getName()});
new Object[] {sourceFile.getName()});
public String validateImportDestination(IContainer destination, String[] sourceNames) { if (!isAccessible(destination)) { return WorkbenchMessages.getString("CopyFilesAndFoldersOperation.destinationAccessError"); //$NON-NLS-1$ } IWorkspaceRoot workspaceRoot = destination.getWorkspace().getRoot(); IPath destinationPath = destination.getFullPath(); for (int i = 0; i < sourceNames.length; i++) { IPath sourcePath = new Path(sourceNames[i]); IResource sourceResource = workspaceRoot.getContainerForLocation(sourcePath); if (sourceResource != null) { sourcePath = sourceResource.getFullPath(); if (sourceResource.equals(destination) || destination.equals(sourceResource.getParent())) { return WorkbenchMessages.format("CopyFilesAndFoldersOperation.importSameSourceAndDest", //$NON-NLS-1$ new Object[] { sourceResource.getName()}); } if (sourcePath.isPrefixOf(destinationPath)) { return WorkbenchMessages.getString("CopyFilesAndFoldersOperation.destinationDescendentError"); //$NON-NLS-1$ } } } return null; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/ba91a9669e285698b0ed6b1b55b65e85be5b9092/CopyFilesAndFoldersOperation.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1954, 5010, 5683, 12, 45, 2170, 2929, 16, 514, 8526, 1084, 1557, 13, 288, 202, 202, 430, 16051, 291, 10451, 12, 10590, 3719, 288, 1082, 202, 2463, 4147, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 10590, 1862, 668, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 45, 8241, 2375, 6003, 2375, 273, 2929, 18, 588, 8241, 7675, 588, 2375, 5621, 202, 202, 45, 743, 30617, 273, 2929, 18, 588, 24173, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 1557, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 743, 17744, 273, 394, 2666, 12, 3168, 1557, 63, 77, 19226, 1082, 202, 45, 1420, 1084, 1420, 273, 6003, 2375, 18, 588, 2170, 1290, 2735, 12, 3168, 743, 1769, 1082, 202, 430, 261, 3168, 1420, 480, 446, 13, 288, 9506, 202, 3168, 743, 273, 1084, 1420, 18, 588, 24173, 5621, 9506, 202, 430, 261, 3168, 1420, 18, 14963, 12, 10590, 13, 747, 2929, 18, 14963, 12, 3168, 1420, 18, 588, 3054, 1435, 3719, 288, 6862, 202, 2463, 4147, 22144, 5058, 18, 2139, 2932, 2951, 2697, 1876, 14885, 2988, 18, 5666, 8650, 1830, 1876, 9378, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 8526, 288, 1084, 1420, 18, 17994, 17767, 1769, 9506, 202, 97, 9506, 202, 430, 261, 3168, 743, 18, 291, 2244, 951, 12, 10590, 743, 3719, 288, 6862, 202, 2463, 4147, 22144, 5058, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1954, 5010, 5683, 12, 45, 2170, 2929, 16, 514, 8526, 1084, 1557, 13, 288, 202, 202, 430, 16051, 291, 10451, 12, 10590, 3719, 288, 1082, 202, 2463, 4147, 22144, 5058, 18, 588, 780, 2932, 2951, 2697, 1876, 14885, 2988, 18, 10590, 1862, 668, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 45, 8241, 2375, 6003, 2375, 273, 2929, 18, 588, 8241, 7675, 588, 2375, 5621, 202, 202, 45, 743, 30617, 273, 2929, 18, 588, 24173, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 1557, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 743, 17744, 273, 394, 2666, 12, 3168, 1557, 63, 77, 19226, 1082, 2 ]
List aList = eq.typeList(); Iterator itera = aList.iterator();
protected String getInternalVariable(final Spell aSpell, String valString, final String src) { if (!Globals.checkRule(RuleConstants.SYS_LDPACSK)) { // Need to make sure the MXDXEN value // is 1000 to ensure no Dex penalty // to AC for load > LIGHT if (valString.equals(getPc().getStatList().getPenaltyVar("DEX"))) { valString = "1000"; } } if ("SCORE".equals(valString) && src.startsWith("STAT:")) { valString = String.valueOf(getPc().getStatList().getTotalStatFor(src.substring(5))); } else if ("SPELLBASESTATSCORE".equals(valString)) { final PCClass aClass = getPc().getClassKeyed(src.substring(6)); if (aClass != null) { valString = aClass.getSpellBaseStat() + "SCORE"; if ("SPELLSCORE".equals(valString)) { valString = "10"; } } else { valString = "0"; } } else if ("SPELLBASESTAT".equals(valString)) { final PCClass aClass = getPc().getClassKeyed(src.substring(6)); if (aClass != null) { valString = aClass.getSpellBaseStat(); if ("SPELL".equals(valString)) { valString = "0"; } } else { valString = "0"; } } else if ("BASESPELLSTAT".equals(valString)) { PCClass aClass = null; // if there's no class, then assume a basespellstat modifier of 0 if (src.length() < 7) { valString = "0"; } else { // src should be CLASS. something aClass = getPc().getClassKeyed(src.substring(6)); } if (aClass != null) { valString = String.valueOf(getPc().getBaseSpellStatBonus(aClass)); } } else if ("SPELLLEVEL".equals(valString)) { valString = String.valueOf(getPc().getSpellLevelTemp()); } else if ((valString.length() > 0) && (SettingsHandler.getGame().getStatFromAbbrev(valString) > -1)) { // TODO: JSC -- more testing! // Big Changes here! final int iX = SettingsHandler.getGame().getStatFromAbbrev(valString); final int statNum = getPc().getStatList().getTotalStatFor(valString); final int statMod = getPc().getStatList().getModForNumber(statNum, iX); valString = Integer.toString(statMod); //valString = Integer.toString(statList.getStatModFor(valString)); } else if ((valString.length() == 8) && (SettingsHandler.getGame().getStatFromAbbrev(valString.substring(0, 3)) > -1) && valString.endsWith(".BASE")) { valString = Integer.toString(getPc().getStatList().getBaseStatFor(valString.substring(0, 3))); } else if ((valString.length() >= 8) && valString.substring(3).startsWith("SCORE")) { if (valString.endsWith(".BASE")) { valString = Integer.toString(getPc().getStatList().getBaseStatFor(valString.substring(0, 3))); } else { valString = Integer.toString(getPc().getStatList().getTotalStatFor(valString.substring(0, 3))); } } else if ("CASTERLEVEL".equals(valString) && src.startsWith("RACE:")) { final int iLev = getPc().getTotalCasterLevelWithSpellBonus(aSpell, Constants.s_NONE, "RACE." + src.substring(5), 0); if (iLev > 0) { valString = Integer.toString(iLev); } // If no CASTERLEVEL has been defined for this race then don't substitute // so it will be apparent on the output sheet that it needs to be defined.. } else if ("CASTERLEVEL.TOTAL".equals(valString) || ("CASTERLEVEL".equals(valString) && !src.startsWith("CLASS:"))) { int iLev = 0; for (Iterator e = getPc().getClassList().iterator(); e.hasNext();) { final PCClass aClass = (PCClass) e.next(); if (aClass.getSpellType() != Constants.s_NONE) { final String classKey = aClass.getKeyName(); String spellType = Constants.s_NONE; final int pcBonusLevel = (int) getPc().getTotalBonusTo("PCLEVEL", classKey); if ((aClass != null) && (aClass.getSpellType() != Constants.s_NONE)) { spellType = aClass.getSpellType(); } if (CoreUtility.doublesEqual(getPc().getTotalBonusTo("CASTERLEVEL", classKey), 0.0)) { final int iClass = Integer.parseInt(getPc().getClassLevelString(classKey, false)); iLev += getPc().getTotalCasterLevelWithSpellBonus(aSpell, spellType, classKey, iClass + pcBonusLevel); } else { iLev += getPc().getTotalCasterLevelWithSpellBonus(aSpell, spellType, classKey, pcBonusLevel); } } } valString = Integer.toString(iLev); } else if ("CASTERLEVEL".equals(valString) && src.startsWith("CLASS:")) { String classKey = src.substring(6); // check if this is a domain spell final CharacterDomain aCD = getPc().getCharacterDomainForDomain(classKey); if (aCD != null) //yup, it's a domain alright { classKey = aCD.getObjectName(); //returns Domain source (e.g, "Cleric") } final PCClass spClass = Globals.getClassKeyed(classKey); String spellType = Constants.s_NONE; if ((spClass != null) && (spClass.getSpellType() != Constants.s_NONE)) { spellType = spClass.getSpellType(); } final int pcBonusLevel = (int) getPc().getTotalBonusTo("PCLEVEL", classKey); int iLev = (int) getPc().getTotalBonusTo("CASTERLEVEL", classKey); if (iLev == 0) { // If no CASTERLEVEL has been // defined for this class then // use total class level instead iLev = Integer.parseInt(getPc().getClassLevelString(classKey, false)); iLev = getPc().getTotalCasterLevelWithSpellBonus(aSpell, spellType, classKey, iLev + pcBonusLevel); } else { iLev = getPc().getTotalCasterLevelWithSpellBonus(aSpell, spellType, classKey, pcBonusLevel); } valString = Integer.toString(iLev); } else if ("CASTERLEVEL".equals(valString)) { Logging.debugPrint("src for CASTERLEVEL: " + src); } else if ("CL".equals(valString) && src.startsWith("CLASS:")) { valString = getPc().getClassLevelString(src.substring(6), false); } else if (valString.startsWith("CL=") || valString.startsWith("CL.")) { valString = getPc().getClassLevelString(valString.substring(3), false); } else if ((valString.startsWith("CL;BEFORELEVEL=") || valString.startsWith("CL;BEFORELEVEL.")) && src.startsWith("CLASS:")) { valString = getPc().getClassLevelString(src.substring(6) + valString.substring(2), false); } else if ("BL".equals(valString) && src.startsWith("CLASS:")) { valString = Integer.toString((int) getPc().getTotalBonusTo("PCLEVEL", src.substring(6))); } else if (valString.startsWith("BL=") || valString.startsWith("BL.")) { valString = Integer.toString((int) getPc().getTotalBonusTo("PCLEVEL", valString.substring(3))); } else if ("BAB".equals(valString)) { valString = Integer.toString(getPc().baseAttackBonus()); } else if (valString.startsWith("CLASSLEVEL=") || valString.startsWith("CLASSLEVEL.")) { valString = getPc().getClassLevelString(valString.substring(11), true); } else if (valString.startsWith("CLASS=") || valString.startsWith("CLASS.")) { PCClass aClass = null; if (valString.length() > 6) { aClass = getPc().getClassKeyed(valString.substring(6)); } else { Logging.errorPrint("Error! Cannot determine CLASS!"); } if (aClass != null) { valString = "1"; } else { valString = "0"; } } else if (valString.startsWith("SKILLRANK=") || valString.startsWith("SKILLRANK.")) { final Skill aSkill = getPc().getSkillKeyed(valString.substring(10).replace('{', '(').replace('}', ')')); if (aSkill != null) { valString = aSkill.getRank().toString(); } else { valString = "0"; } } else if (valString.startsWith("SKILLTOTAL=") || valString.startsWith("SKILLTOTAL.")) { final Skill aSkill = getPc().getSkillKeyed(valString.substring(11).replace('{', '(').replace('}', ')')); if (aSkill != null) { valString = Integer.toString(aSkill.getTotalRank(getPc()).intValue() + aSkill.modifier(getPc()).intValue()); } else { valString = "0"; } } else if ("TL".equals(valString)) { valString = Integer.toString(getPc().getTotalLevels()); } else if ("HD".equals(valString)) { // check companionModList? valString = Integer.toString(getPc().totalHitDice()); } else if ("PROFACCHECK".equals(valString) && src.startsWith("EQ:")) { final Equipment eq = EquipmentList.getEquipmentNamed(src.substring(3)); if ((eq != null) && !getPc().isProficientWith(eq)) { valString = Integer.toString(eq.acCheck(getPc()).intValue()); } else { valString = "0"; } } else if ("ACCHECK".equals(valString) || "ACHECK".equals(valString)) { int maxCheck = 0; for (Iterator e = getPc().getEquipmentOfType("Armor", 1).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); maxCheck += eq.acCheck(getPc()).intValue(); } for (Iterator e = getPc().getEquipmentOfType("Shield", 1).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); maxCheck += eq.acCheck(getPc()).intValue(); } valString = Integer.toString(maxCheck); } else if ("ARMORACCHECK".equals(valString) || "ARMORACHECK".equals(valString)) { int maxCheck = 0; for (Iterator e = getPc().getEquipmentOfType("Armor", 1).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); maxCheck += eq.acCheck(getPc()).intValue(); } valString = Integer.toString(maxCheck); } else if ("SHIELDACCHECK".equals(valString) || "SHIELDACHECK".equals(valString)) { int maxCheck = 0; for (Iterator e = getPc().getEquipmentOfType("Shield", 1).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); maxCheck += eq.acCheck(getPc()).intValue(); } valString = Integer.toString(maxCheck); } else if ("SIZE".equals(valString)) { valString = String.valueOf(getPc().sizeInt()); } else if ("SIZEMOD".equals(valString)) { valString = String.valueOf((int) getPc().getSizeAdjustmentBonusTo("COMBAT", "AC")); } else if ("RACESIZE".equals(valString)) { valString = String.valueOf(Globals.sizeInt(getPc().getRace().getSize())); } else if ("ENCUMBERANCE".equals(valString)) { final int loadScore = getVariableValue(null, "LOADSCORE", "", getPc().getSpellLevelTemp()).intValue(); valString = String.valueOf(Globals.loadTypeForLoadScore( loadScore, getPc().totalWeight(), getPc())); } else if ("MOVEBASE".equals(valString)) { valString = getPc().getRace().getMovement().getDoubleMovement().toString(); } else if (valString.startsWith("MOVE[")) { final String moveString = valString.substring(5, valString.lastIndexOf("]")); valString = String.valueOf(getPc().movementOfType(moveString)); } else if ("COUNT[ATTACKS]".equals(valString)) { valString = Integer.toString(getPc().getNumAttacks()); } else if ("COUNT[CHECKS]".equals(valString)) { valString = String.valueOf(SettingsHandler.getGame().getUnmodifiableCheckList().size()); } else if ("COUNT[FOLLOWERS]".equals(valString)) { valString = Integer.toString(getPc().getFollowerList().size()); } else if ("COUNT[STATS]".equals(valString)) { valString = Integer.toString(SettingsHandler.getGame().s_ATTRIBLONG.length); } else if ("COUNT[SKILLS]".equals(valString)) { // We use the list in output order to ensure the size // does not include hidden skills final ArrayList skillList = getPc().getSkillListInOutputOrder(); skillList.trimToSize(); valString = Integer.toString(skillList.size()); } else if (valString.startsWith("COUNT[SKILLTYPE=") || valString.startsWith("COUNT[SKILLTYPE.")) { if (valString.endsWith("]")) { final ArrayList skillList = getPc().getSkillListInOutputOrder((ArrayList) getPc().getAllSkillList(true).clone()); int typeCount = 0; valString = valString.substring(16); valString = valString.substring(0, valString.length() - 1); for (Iterator ee = skillList.iterator(); ee.hasNext();) { final Skill aSkill = (Skill) ee.next(); if (aSkill.isType(valString)) { ++typeCount; } } valString = Integer.toString(typeCount); } } else if ("COUNT[FEATS.ALL]".equals(valString)) { valString = Integer.toString(getPc().getNumberOfRealFeats()); } else if ("COUNT[FEATS.HIDDEN]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().getRealFeatsIterator(), false, true)); } else if ("COUNT[FEATS]".equals(valString) || "COUNT[FEATS.VISIBLE]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().getRealFeatsIterator(), true, false)); } else if ("COUNT[VFEATS.ALL]".equals(valString)) { valString = Integer.toString(getPc().getVirtualFeatList().size()); } else if ("COUNT[VFEATS.HIDDEN]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().getVirtualFeatListIterator(), false, true)); } else if ("COUNT[VFEATS]".equals(valString) || "COUNT[VFEATS.VISIBLE]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().getVirtualFeatListIterator(), true, false)); } else if ("COUNT[FEATSAUTO.ALL]".equals(valString)) { valString = Integer.toString(getPc().featAutoList().size()); } else if ("COUNT[FEATSAUTO]".equals(valString) || "COUNT[FEATSAUTO.VISIBLE]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().featAutoListIterator(), true, false)); } else if ("COUNT[FEATSAUTO.HIDDEN]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().featAutoListIterator(), false, true)); } else if ("COUNT[FEATSALL]".equals(valString) || "COUNT[FEATSALL.VISIBLE]".equals(valString)) { valString = Integer.toString(getPc().aggregateVisibleFeatList().size()); } else if ("COUNT[FEATSALL.ALL]".equals(valString)) { valString = Integer.toString(getPc().aggregateFeatList().size()); } else if ("COUNT[FEATSALL.HIDDEN]".equals(valString)) { valString = Integer.toString(countVisibleFeats(getPc().aggregateFeatListIterator(), false, true)); } else if ((valString.startsWith("COUNT[FEATTYPE=") || valString.startsWith("COUNT[FEATTYPE.")) && valString.endsWith(".ALL]")) { final List featTypes = CoreUtility.split(valString.substring(15, valString.length() - 5), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().aggregateFeatList(), featTypes, true, true)); } else if ((valString.startsWith("COUNT[FEATTYPE=") || valString.startsWith("COUNT[FEATTYPE.")) && valString.endsWith(".HIDDEN]")) { final List featTypes = CoreUtility.split(valString.substring(15, valString.length() - 8), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().aggregateFeatList(), featTypes, false, true)); } else if ((valString.startsWith("COUNT[FEATTYPE=") || valString.startsWith("COUNT[FEATTYPE.")) && valString.endsWith(".VISIBLE]")) { final List featTypes = CoreUtility.split(valString.substring(15, valString.length() - 9), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().aggregateFeatList(), featTypes, true, false)); } else if ((valString.startsWith("COUNT[FEATTYPE=") || valString.startsWith("COUNT[FEATTYPE.")) && valString.endsWith("]")) { final List featTypes = CoreUtility.split(valString.substring(15, valString.length() - 1), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().aggregateFeatList(), featTypes, true, false)); } // else if ((valString.startsWith("COUNT[VFEATTYPE=") || valString.startsWith("COUNT[VFEATTYPE.")) && valString.endsWith(".ALL]")) { final List featTypes = CoreUtility.split(valString.substring(16, valString.length() - 5), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().getVirtualFeatList(), featTypes, true, true)); } else if ((valString.startsWith("COUNT[VFEATTYPE=") || valString.startsWith("COUNT[VFEATTYPE.")) && valString.endsWith(".HIDDEN]")) { final List featTypes = CoreUtility.split(valString.substring(16, valString.length() - 8), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().getVirtualFeatList(), featTypes, false, true)); } else if ((valString.startsWith("COUNT[VFEATTYPE=") || valString.startsWith("COUNT[VFEATTYPE.")) && valString.endsWith(".VISIBLE]")) { final List featTypes = CoreUtility.split(valString.substring(16, valString.length() - 9), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().getVirtualFeatList(), featTypes, true, false)); } else if ((valString.startsWith("COUNT[VFEATTYPE=") || valString.startsWith("COUNT[VFEATTYPE.")) && valString.endsWith("]")) { final List featTypes = CoreUtility.split(valString.substring(16, valString.length() - 1), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().getVirtualFeatList(), featTypes, true, false)); } // else if ((valString.startsWith("COUNT[FEATAUTOTYPE=") || valString.startsWith("COUNT[FEATAUTOTYPE.")) && valString.endsWith(".ALL]")) { final List featTypes = CoreUtility.split(valString.substring(19, valString.length() - 5), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().featAutoList(), featTypes, true, true)); } else if ((valString.startsWith("COUNT[FEATAUTOTYPE=") || valString.startsWith("COUNT[FEATAUTOTYPE.")) && valString.endsWith(".HIDDEN]")) { final List featTypes = CoreUtility.split(valString.substring(19, valString.length() - 8), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().featAutoList(), featTypes, false, true)); } else if ((valString.startsWith("COUNT[FEATAUTOTYPE=") || valString.startsWith("COUNT[FEATAUTOTYPE.")) && valString.endsWith(".VISIBLE]")) { final List featTypes = CoreUtility.split(valString.substring(19, valString.length() - 9), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().featAutoList(), featTypes, true, false)); } else if ((valString.startsWith("COUNT[FEATAUTOTYPE=") || valString.startsWith("COUNT[FEATAUTOTYPE.")) && valString.endsWith("]")) { final List featTypes = CoreUtility.split(valString.substring(19, valString.length() - 1), '.'); valString = Integer.toString(countVisibleFeatTypes(getPc().featAutoList(), featTypes, true, false)); } // else if ((valString.startsWith("COUNT[FEATNAME=") || valString.startsWith("COUNT[FEATNAME.")) && valString.endsWith(".ALL]")) { final String featKey = valString.substring(15, valString.length() - 5); valString = Integer.toString(countVisibleFeatsOfKey(getPc().aggregateFeatList(), featKey, true, true)); } else if ((valString.startsWith("COUNT[FEATNAME=") || valString.startsWith("COUNT[FEATNAME.")) && valString.endsWith(".HIDDEN]")) { final String featKey = valString.substring(15, valString.length() - 8); valString = Integer.toString(countVisibleFeatsOfKey(getPc().aggregateFeatList(), featKey, false, true)); } else if ((valString.startsWith("COUNT[FEATNAME=") || valString.startsWith("COUNT[FEATNAME.")) && valString.endsWith(".VISIBLE]")) { final String featKey = valString.substring(15, valString.length() - 9); valString = Integer.toString(countVisibleFeatsOfKey(getPc().aggregateFeatList(), featKey, true, false)); } else if ((valString.startsWith("COUNT[FEATNAME=") || valString.startsWith("COUNT[FEATNAME.")) && valString.endsWith("]")) { final String featKey = valString.substring(15, valString.length() - 1); valString = Integer.toString(countVisibleFeatsOfKey(getPc().aggregateFeatList(), featKey, true, false)); } else if (valString.startsWith("COUNT[SPELLSKNOWN") && valString.endsWith("]")) { int spellCount = 0; if (SettingsHandler.getPrintSpellsWithPC()) { spellCount = getPc().countSpellListBook(valString); } valString = Integer.toString(spellCount); } else if (valString.startsWith("COUNT[SPELLSINBOOK") && valString.endsWith("]")) { valString = valString.substring(18); valString = valString.substring(0, valString.length() - 1); int sbookCount = 0; if (SettingsHandler.getPrintSpellsWithPC()) { sbookCount = getPc().countSpellsInBook(valString); } valString = Integer.toString(sbookCount); } else if (valString.startsWith("COUNT[SPELLSLEVELSINBOOK") && valString.endsWith("]")) { valString = valString.substring(24); valString = valString.substring(0, valString.length() - 1); final int sbookCount = getPc().countSpellLevelsInBook(valString); valString = Integer.toString(sbookCount); } else if (valString.startsWith("COUNT[SPELLTIMES") && valString.endsWith("]")) { valString = valString.substring(6); valString = valString.substring(0, valString.length() - 1); valString = String.valueOf(getPc().countSpellTimes(valString)); } else if (valString.startsWith("COUNT[SPELLBOOKS") && valString.endsWith("]")) { valString = Integer.toString(getPc().getSpellBooks().size()); } else if ("COUNT[SPELLCLASSES]".equals(valString)) { valString = String.valueOf(getPc().getSpellClassCount()); } else if ("COUNT[SPELLRACE]".equals(valString)) { final PObject aSpellRace = getPc().getSpellClassAtIndex(0); valString = (aSpellRace instanceof Race) ? "1" : "0"; } else if ("COUNT[TEMPBONUSNAMES]".equals(valString)) { valString = String.valueOf(getPc().getNamedTempBonusList().size()); } else if ("COUNT[CLASSES]".equals(valString)) { getPc().getClassList().trimToSize(); int iCount = getPc().getClassList().size(); if (SettingsHandler.hideMonsterClasses()) { for (Iterator ee = getPc().getClassList().iterator(); ee.hasNext();) { final PCClass aClass = (PCClass) ee.next(); if (aClass.isMonster()) { --iCount; } } } valString = Integer.toString(iCount); } else if ("COUNT[DOMAINS]".equals(valString)) { valString = Integer.toString(getPc().getCharacterDomainList().size()); } else if (valString.startsWith("COUNT[EQUIPMENT") && valString.endsWith("]")) { int merge = Constants.MERGE_ALL; // check to see how we are merging if (valString.indexOf("MERGENONE") > 0) { merge = Constants.MERGE_NONE; } else if (valString.indexOf("MERGELOC") > 0) { merge = Constants.MERGE_LOCATION; } ArrayList aList = new ArrayList(); if (!getPc().getEquipmentListInOutputOrder(merge).isEmpty()) { for (Iterator e = getPc().getEquipmentListInOutputOrder(merge).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); aList.add(eq); } } if ("COUNT[EQUIPMENT]".equals(valString)) { valString = Integer.toString(aList.size()); } else { final StringTokenizer bTok = new StringTokenizer(valString.substring(16, valString.length() - 1), "."); while (bTok.hasMoreTokens()) //should be ok, assumes last two fields are # and a Param { final String bString = bTok.nextToken(); if ("NOT".equalsIgnoreCase(bString)) { aList = new ArrayList(EquipmentUtilities.removeEqType(aList, bTok.nextToken())); } else if ("ADD".equalsIgnoreCase(bString)) { aList = new ArrayList(getPc().addEqType(aList, bTok.nextToken())); } else if ("IS".equalsIgnoreCase(bString)) { aList = new ArrayList(EquipmentUtilities.removeNotEqType(aList, bTok.nextToken())); } } valString = Integer.toString(aList.size()); } aList.clear(); } else if (valString.startsWith("COUNT[EQTYPE.") && valString.endsWith("]")) { int merge = Constants.MERGE_ALL; List aList = new ArrayList(); final StringTokenizer bTok = new StringTokenizer(valString.substring(13, valString.length() - 1), "."); String aType = bTok.nextToken(); // check to see how we are merging equipment if ("MERGENONE".equals(aType)) { merge = Constants.MERGE_NONE; aType = bTok.nextToken(); } else if ("MERGELOC".equals(aType)) { merge = Constants.MERGE_LOCATION; aType = bTok.nextToken(); } if ("CONTAINER".equals(aType)) { aList.clear(); if (!getPc().getEquipmentListInOutputOrder(merge).isEmpty()) { for (Iterator e = getPc().getEquipmentListInOutputOrder(merge).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); if (eq.acceptsChildren()) { aList.add(eq); } } } } else { if ("WEAPON".equalsIgnoreCase(aType)) { aList = getPc().getExpandedWeapons(merge); } else if ("ACITEM".equalsIgnoreCase(aType)) { // special check for ACITEM // which is realy anything // with AC in the bonus section, // but is not type SHIELD or ARMOR if (!getPc().getEquipmentListInOutputOrder(merge).isEmpty()) { for (Iterator e = getPc().getEquipmentListInOutputOrder(merge).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); if (eq.getBonusListString("AC") && !eq.isArmor() && !eq.isShield()) { aList.add(eq); } } } } else { aList = getPc().getEquipmentOfTypeInOutputOrder(aType, 3, merge); } } while (bTok.hasMoreTokens()) { final String bString = bTok.nextToken(); if ("NOT".equalsIgnoreCase(bString)) { aList = new ArrayList(EquipmentUtilities.removeEqType(aList, bTok.nextToken())); } else if ("ADD".equalsIgnoreCase(bString)) { aList = new ArrayList(getPc().addEqType(aList, bTok.nextToken())); } else if ("IS".equalsIgnoreCase(bString)) { aList = new ArrayList(EquipmentUtilities.removeNotEqType(aList, bTok.nextToken())); } else if ("EQUIPPED".equalsIgnoreCase(bString) || "NOTEQUIPPED".equalsIgnoreCase(bString)) { final boolean eFlag = "EQUIPPED".equalsIgnoreCase(bString); for (int ix = aList.size() - 1; ix >= 0; --ix) { final Equipment anEquip = (Equipment) aList.get(ix); if (anEquip.isEquipped() != eFlag) { aList.remove(anEquip); } } } } valString = Integer.toString(aList.size()); aList.clear(); } else if ("COUNT[CONTAINERS]".equals(valString)) { final int merge = Constants.MERGE_ALL; final ArrayList aList = new ArrayList(); if (!getPc().getEquipmentListInOutputOrder(merge).isEmpty()) { aList.clear(); for (Iterator e = getPc().getEquipmentListInOutputOrder(merge).iterator(); e.hasNext();) { final Equipment eq = (Equipment) e.next(); if (eq.acceptsChildren()) { aList.add(eq); } } } valString = Integer.toString(aList.size()); aList.clear(); } else if ("COUNT[SA]".equals(valString)) { valString = String.valueOf(getPc().getSpecialAbilityTimesList().size()); } else if ("COUNT[TEMPLATES]".equals(valString)) { getPc().getTemplateList().trimToSize(); valString = String.valueOf(getPc().getTemplateList().size()); } else if ("COUNT[RACESUBTYPES]".equals(valString)) { valString = Integer.toString(getPc().getRacialSubTypes().size()); } else if ("COUNT[VISIBLETEMPLATES]".equals(valString)) { int count = 0; int visibility; for (Iterator it = getPc().getTemplateList().iterator(); it.hasNext();) { visibility = ((PCTemplate) it.next()).isVisible(); if ((visibility == PCTemplate.VISIBILITY_DEFAULT) || (visibility == PCTemplate.VISIBILITY_OUTPUT_ONLY)) { ++count; } } valString = Integer.toString(count); } else if ("COUNT[LANGUAGES]".equals(valString)) { valString = Integer.toString(getPc().getLanguagesList().size()); } else if ("COUNT[MOVE]".equals(valString)) { valString = Integer.toString(getPc().getNumberOfMovements()); } else if ("COUNT[NOTES]".equals(valString)) { valString = Integer.toString(getPc().getNotesList().size()); } else if ("COUNT[VISION]".equals(valString)) { valString = Integer.toString(getPc().getVisiontypeList().size()); } else if (valString.startsWith("COUNT[FOLLOWERTYPE.") && valString.endsWith("]")) { if (valString.indexOf(".") == valString.lastIndexOf(".")) { // This covers COUNT[FOLLOWERTYPE.Animal Companions] syntax int countFollower = 0; String bString = valString.substring(19); bString = bString.substring(0, bString.length() - 1); for (Iterator iter = getPc().getFollowerList().iterator(); iter.hasNext();) { final Follower aFollower = (Follower) iter.next(); if (aFollower.getType().equalsIgnoreCase(bString)) { ++countFollower; } } valString = String.valueOf(countFollower); } else { // This will do COUNT[FOLLOWERTYPE.Animal Companions.0.xxx], // returning the same as COUNT[xxx] if applied to the right follower final List followers = getPc().getFollowerList(); if (!followers.isEmpty()) { StringTokenizer aTok = new StringTokenizer(valString, "[]"); aTok.nextToken(); // Remove the COUNT final String aString = aTok.nextToken(); aTok = new StringTokenizer(aString, "."); aTok.nextToken(); // FOLLOWERTYPE final String typeString = aTok.nextToken(); String restString = ""; int followerIndex = -1; if (aTok.hasMoreTokens()) { restString = aTok.nextToken(); // When removing old token syntax, remove the catch code followerIndex = Integer.parseInt(restString); restString = ""; while (aTok.hasMoreTokens()) { restString = restString + "." + aTok.nextToken(); } if (restString.indexOf(".") == 0) { restString = restString.substring(1); } } restString = "COUNT[" + restString + "]"; final ArrayList aList = new ArrayList(); for (int x = followers.size() - 1; x >= 0; --x) { final Follower fol = (Follower) followers.get(x); if (fol.getType().equalsIgnoreCase(typeString)) { aList.add(fol); } } if (followerIndex < aList.size()) { if (aList.get(followerIndex) instanceof Follower) { final Follower aF = (Follower) aList.get(followerIndex); PlayerCharacter currentPC; for (Iterator p = Globals.getPCList().iterator(); p.hasNext();) { final PlayerCharacter nPC = (PlayerCharacter) p.next(); if (aF.getFileName().equals(nPC.getFileName())) { currentPC = getPc(); Globals.setCurrentPC(nPC); valString = nPC.getVariableValue(restString, "").toString(); Globals.setCurrentPC(currentPC); } } } } } } } else if (valString.startsWith("EQTYPE")) { //valString = ExportHandler.returnReplacedTokenEq(this, valString); final EqTypeToken token = new EqTypeToken(); valString = token.getToken(valString, getPc(), null); } else if (valString.startsWith("VARDEFINED:")) { if (getPc().hasVariable(valString.substring(11).trim())) { valString = "1"; } else { valString = "0"; } } else if (valString.startsWith("HASFEAT:")) { valString = valString.substring(8).trim(); if (getPc().hasRealFeatNamed(valString)) { valString = "1"; } else { valString = "0"; } } else if (valString.startsWith("HASDEITY:")) { valString = valString.substring(9).trim(); if (getPc().hasDeity(valString)) { valString = "1"; } else { valString = "0"; } } else if (valString.startsWith("MODEQUIP")) { valString = String.valueOf(getPc().modToFromEquipment(valString.substring(8))); } else if (valString.startsWith("WEIGHT.")) { valString = valString.substring(7); if ("CARRIED".equals(valString)) { // all carried equipment valString = getPc().totalWeight().toString(); } else if ("EQUIPPED".equals(valString)) { // TODO: not carried, equipped! // all equipped valString = getPc().totalWeight().toString(); } else if ("PC".equals(valString)) { // Characters weight valString = String.valueOf(getPc().getWeight()); } else if ("TOTAL".equals(valString)) { // total weight of PC and all // carried equipment final Float aTotal = new Float(getPc().totalWeight().floatValue() + new Float(getPc().getWeight()).floatValue()); valString = aTotal.toString(); } } else if (valString.startsWith("PC.SIZE")) { int modSize = 0; if (src.startsWith("EQ:")) { final Equipment eq = getPc().getEquipmentNamed(src.substring(3)); if (eq != null) { modSize = (int) getPc().getTotalBonusTo("WEAPONPROF=" + eq.profKey(getPc()), "PCSIZE"); List aList = eq.typeList(); Iterator itera = aList.iterator(); // loops for each equipment type while (itera.hasNext()) { // get the type bonus (ex TYPE.MARTIAL) String type = (String)itera.next(); int tempModSize = (int) getPc().getTotalBonusTo("WEAPONPROF=TYPE." + type, "PCSIZE"); // get the highest bonus if (modSize < tempModSize) { modSize = tempModSize; } } } } if (valString.equals("PC.SIZE")) { valString = getPc().getSize(); } else if (valString.substring(8).equals("INT")) { valString = String.valueOf(getPc().sizeInt() + modSize); } } else if (valString.startsWith("PC.HEIGHT")) { valString = Integer.toString(getPc().getHeight()); } else if (valString.startsWith("PC.WEIGHT")) { valString = Integer.toString(getPc().getWeight()); } else { valString = null; } return valString; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/VariableProcessorPC.java/clean/code/src/java/pcgen/core/VariableProcessorPC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 16918, 3092, 12, 6385, 5878, 1165, 279, 3389, 1165, 16, 514, 1244, 780, 16, 727, 514, 1705, 13, 202, 95, 202, 202, 430, 16051, 19834, 18, 1893, 2175, 12, 2175, 2918, 18, 30664, 67, 48, 8640, 2226, 11129, 3719, 202, 202, 95, 1082, 202, 759, 12324, 358, 1221, 3071, 326, 490, 22953, 60, 1157, 460, 1082, 202, 759, 353, 4336, 358, 3387, 1158, 463, 338, 23862, 1082, 202, 759, 358, 12048, 364, 1262, 405, 511, 7700, 1082, 202, 430, 261, 1125, 780, 18, 14963, 12, 588, 28136, 7675, 588, 5000, 682, 7675, 588, 24251, 15006, 1537, 2932, 6832, 6, 20349, 1082, 202, 95, 9506, 202, 1125, 780, 273, 315, 18088, 14432, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 7566, 28520, 9654, 14963, 12, 1125, 780, 13, 597, 1705, 18, 17514, 1190, 2932, 28549, 2773, 3719, 202, 202, 95, 1082, 202, 1125, 780, 273, 514, 18, 1132, 951, 12, 588, 28136, 7675, 588, 5000, 682, 7675, 588, 5269, 5000, 1290, 12, 4816, 18, 28023, 12, 25, 3719, 1769, 202, 202, 97, 202, 202, 12107, 309, 7566, 23810, 4503, 8369, 28549, 28520, 9654, 14963, 12, 1125, 780, 3719, 202, 202, 95, 1082, 202, 6385, 26300, 797, 20148, 273, 1689, 71, 7675, 588, 797, 653, 329, 12, 4816, 18, 28023, 12, 26, 10019, 1082, 202, 430, 261, 69, 797, 480, 446, 13, 1082, 202, 95, 9506, 202, 1125, 780, 273, 20148, 18, 588, 3389, 1165, 2171, 5000, 1435, 397, 315, 28520, 14432, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 16918, 3092, 12, 6385, 5878, 1165, 279, 3389, 1165, 16, 514, 1244, 780, 16, 727, 514, 1705, 13, 202, 95, 202, 202, 430, 16051, 19834, 18, 1893, 2175, 12, 2175, 2918, 18, 30664, 67, 48, 8640, 2226, 11129, 3719, 202, 202, 95, 1082, 202, 759, 12324, 358, 1221, 3071, 326, 490, 22953, 60, 1157, 460, 1082, 202, 759, 353, 4336, 358, 3387, 1158, 463, 338, 23862, 1082, 202, 759, 358, 12048, 364, 1262, 405, 511, 7700, 1082, 202, 430, 261, 1125, 780, 18, 14963, 12, 588, 28136, 7675, 588, 5000, 682, 7675, 588, 24251, 15006, 1537, 2932, 6832, 6, 20349, 1082, 202, 95, 9506, 202, 1125, 780, 273, 315, 18088, 14432, 1082, 202, 97, 202, 2 ]
assertTrue(config.getComponents().size() > 0);
assertTrue(config.getComponents().size() > 0);
public void testAnonymousRepositoryAccess() throws Exception { init218(); assertNotNull(repository); repository.setAuthenticationCredentials("", ""); // test anonymous task retrieval BugzillaTask task = this.generateLocalTaskAndDownload("2"); assertNotNull(task); // // test anonymous query (note that this demonstrates query via eclipse search (ui)// SearchHitCollector collector = new SearchHitCollector(taskList);// collector.setProgressMonitor(new NullProgressMonitor());// BugzillaSearchOperation operation = new BugzillaSearchOperation(// repository,// "http://mylar.eclipse.org/bugs218/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=search-match-test&product=TestProduct&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&deadlinefrom=&deadlineto=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=",// null, collector, "-1");// String queryUrl = "http://mylar.eclipse.org/bugs218/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=search-match-test&product=TestProduct&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&deadlinefrom=&deadlineto=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0="; BugzillaRepositoryQuery bugzillaQuery = new BugzillaRepositoryQuery(repository.getUrl(), queryUrl, "search", "-1", taskList); SearchHitCollector collector = new SearchHitCollector(TasksUiPlugin.getTaskListManager() .getTaskList(), repository, bugzillaQuery, null); //operation.run(new NullProgressMonitor()); //BugzillaSearchQuery searchQuery = new BugzillaSearchQuery(collector); collector.run(new NullProgressMonitor()); assertEquals(2, collector.getHits().size()); for (AbstractQueryHit hit : collector.getHits()) { assertTrue(hit.getDescription().contains("search-match-test")); } //test anonymous update of configuration RepositoryConfiguration config = BugzillaCorePlugin.getRepositoryConfiguration(true, repository.getUrl(), TasksUiPlugin.getDefault().getProxySettings(), repository.getUserName(), repository.getPassword(), repository.getCharacterEncoding()); assertNotNull(config); assertTrue(config.getComponents().size() > 0); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/70818e3eb2e4d30a5810e1472359f0beb16286fd/BugzillaRepositoryConnectorTest.java/buggy/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/BugzillaRepositoryConnectorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 18792, 3305, 1862, 1435, 1216, 1185, 288, 202, 202, 2738, 22, 2643, 5621, 202, 202, 11231, 5962, 12, 9071, 1769, 202, 202, 9071, 18, 542, 6492, 6163, 2932, 3113, 1408, 1769, 202, 202, 759, 1842, 13236, 1562, 22613, 202, 202, 19865, 15990, 2174, 1562, 273, 333, 18, 7163, 2042, 2174, 1876, 7109, 2932, 22, 8863, 202, 202, 11231, 5962, 12, 4146, 1769, 1082, 202, 759, 202, 202, 759, 1842, 13236, 843, 261, 7652, 716, 333, 302, 4758, 701, 815, 843, 3970, 6557, 10472, 1623, 261, 4881, 13, 759, 202, 202, 2979, 13616, 7134, 8543, 273, 394, 5167, 13616, 7134, 12, 4146, 682, 1769, 759, 202, 202, 21356, 18, 542, 5491, 7187, 12, 2704, 4112, 5491, 7187, 10663, 759, 202, 202, 19865, 15990, 2979, 2988, 1674, 273, 394, 16907, 15990, 2979, 2988, 12, 759, 9506, 202, 9071, 16, 759, 9506, 202, 6, 2505, 2207, 4811, 7901, 18, 20416, 18, 3341, 19, 19381, 22, 2643, 19, 925, 1098, 18, 19062, 35, 2271, 67, 2139, 33, 27080, 10, 6620, 67, 5569, 67, 723, 33, 454, 1095, 1049, 373, 701, 10, 6620, 67, 5569, 33, 3072, 17, 1916, 17, 3813, 10, 5896, 33, 4709, 4133, 10, 5748, 67, 5569, 67, 723, 33, 28023, 10, 5748, 67, 5569, 33, 10, 925, 67, 768, 67, 1829, 67, 723, 33, 454, 1095, 1049, 373, 701, 10, 925, 67, 768, 67, 1829, 33, 10, 22097, 1369, 2080, 33, 10, 22097, 7511, 11453, 33, 10, 925, 67, 2327, 33, 12917, 10, 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, 18792, 3305, 1862, 1435, 1216, 1185, 288, 202, 202, 2738, 22, 2643, 5621, 202, 202, 11231, 5962, 12, 9071, 1769, 202, 202, 9071, 18, 542, 6492, 6163, 2932, 3113, 1408, 1769, 202, 202, 759, 1842, 13236, 1562, 22613, 202, 202, 19865, 15990, 2174, 1562, 273, 333, 18, 7163, 2042, 2174, 1876, 7109, 2932, 22, 8863, 202, 202, 11231, 5962, 12, 4146, 1769, 1082, 202, 759, 202, 202, 759, 1842, 13236, 843, 261, 7652, 716, 333, 302, 4758, 701, 815, 843, 3970, 6557, 10472, 1623, 261, 4881, 13, 759, 202, 202, 2979, 13616, 7134, 8543, 273, 394, 5167, 13616, 7134, 12, 4146, 682, 1769, 759, 202, 202, 21356, 18, 542, 5491, 7187, 12, 2704, 4112, 2 ]
91, 91, 323, 0, 91, 0, 0, 0, 0, 0,
91, 91, 0, 492, 91, 0, 0, 0, 0, 0,
private static final short[] yyTable3() { return new short[] { 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 0, 273, 273, 273, 273, 273, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 279, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 0, 280, 0, 0, 75, 0, 0, 0, 273, 0, 273, 0, 273, 273, 273, 273, 273, 273, 273, 280, 273, 83, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, 42, 0, 280, 42, 42, 42, 0, 42, 0, 0, 0, 184, 0, 0, 0, 0, 0, 42, 0, 0, 0, 184, 0, 0, 0, 0, 42, 42, 0, 42, 42, 42, 42, 42, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 0, 0, 184, 0, 0, 0, 279, 279, 279, 0, 0, 0, 279, 279, 0, 279, 184, 184, 0, 0, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 0, 279, 279, 279, 279, 279, 279, 279, 0, 279, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 0, 0, 0, 280, 280, 280, 0, 0, 0, 280, 280, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 280, 280, 185, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 0, 0, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 0, 280, 280, 280, 0, 0, 185, 0, 0, 0, 0, 0, 0, 0, 280, 0, 280, 0, 280, 280, 280, 280, 280, 280, 280, 0, 280, 184, 184, 184, 0, 0, 184, 184, 184, 0, 184, 0, 185, 0, 0, 209, 0, 0, 0, 0, 184, 184, 0, 0, 0, 209, 0, 0, 0, 184, 184, 0, 184, 184, 184, 184, 184, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 0, 0, 209, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, 0, 184, 184, 209, 209, 184, 184, 0, 209, 0, 184, 0, 0, 0, 0, 0, 184, 0, 0, 0, 184, 0, 0, 0, 184, 184, 184, 184, 184, 0, 184, 0, 0, 0, 0, 0, 0, 0, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 209, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 185, 0, 0, 185, 185, 185, 0, 185, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 210, 0, 0, 210, 0, 0, 0, 185, 185, 0, 185, 185, 185, 185, 185, 0, 0, 210, 210, 0, 0, 0, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 0, 185, 185, 0, 210, 185, 185, 0, 0, 0, 185, 196, 0, 0, 0, 0, 185, 0, 0, 0, 185, 196, 0, 0, 185, 185, 185, 185, 185, 0, 185, 0, 0, 0, 0, 0, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 0, 0, 196, 0, 0, 0, 209, 209, 209, 0, 0, 209, 209, 209, 0, 209, 196, 196, 0, 0, 0, 196, 0, 0, 0, 209, 209, 0, 0, 0, 0, 0, 0, 0, 209, 209, 0, 209, 209, 209, 209, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 209, 209, 209, 209, 209, 209, 209, 209, 209, 209, 0, 209, 209, 0, 0, 209, 209, 0, 196, 0, 209, 0, 0, 0, 0, 0, 209, 0, 0, 0, 209, 0, 0, 0, 0, 0, 209, 209, 209, 0, 209, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 0, 210, 210, 210, 0, 0, 210, 210, 210, 217, 210, 0, 0, 0, 0, 0, 0, 0, 0, 0, 210, 210, 0, 0, 0, 0, 0, 0, 0, 210, 210, 0, 210, 210, 210, 210, 210, 0, 0, 0, 217, 0, 0, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 217, 0, 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, 0, 210, 210, 0, 0, 210, 210, 0, 0, 0, 210, 194, 0, 0, 0, 0, 210, 0, 0, 0, 210, 194, 217, 0, 0, 0, 210, 210, 210, 0, 210, 196, 196, 196, 0, 0, 196, 196, 196, 0, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 196, 194, 0, 217, 194, 0, 0, 0, 196, 196, 0, 196, 196, 196, 196, 196, 0, 0, 194, 194, 0, 0, 0, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, 0, 196, 196, 0, 194, 0, 0, 0, 0, 0, 196, 195, 0, 0, 0, 0, 196, 0, 0, 0, 196, 195, 0, 0, 0, 0, 196, 196, 196, 0, 196, 0, 0, 0, 0, 0, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 195, 0, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 195, 195, 0, 0, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 217, 217, 0, 0, 217, 217, 217, 0, 217, 0, 0, 0, 195, 0, 0, 0, 0, 0, 217, 217, 0, 0, 0, 0, 0, 0, 0, 217, 217, 0, 217, 217, 217, 217, 217, 0, 90, 0, 0, 0, 0, 0, 0, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 217, 0, 0, 194, 194, 194, 217, 90, 194, 194, 194, 0, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 194, 194, 0, 0, 0, 0, 0, 0, 0, 194, 194, 0, 194, 194, 194, 194, 194, 412, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 194, 194, 194, 194, 194, 194, 194, 194, 194, 194, 91, 194, 194, 0, 0, 0, 0, 0, 0, 0, 194, 0, 0, 0, 0, 0, 194, 0, 0, 0, 0, 0, 0, 0, 0, 0, 194, 194, 194, 0, 194, 195, 195, 195, 0, 0, 195, 195, 195, 0, 195, 0, 0, 0, 0, 0, 0, 0, 0, 91, 195, 195, 0, 0, 0, 0, 0, 0, 0, 195, 195, 0, 195, 195, 195, 195, 195, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 0, 195, 195, 0, 0, 0, 0, 0, 0, 0, 195, 0, 0, 0, 0, 0, 195, 90, 0, 0, 0, 0, 0, 0, 0, 0, 195, 195, 195, 0, 195, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 469, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 90, 90, 0, 0, 90, 90, 90, 0, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 412, 0, 0, 0, 0, 0, 0, 412, 90, 0, 0, 90, 469, 90, 90, 90, 0, 90, 0, 0, 0, 90, 0, 0, 91, 0, 90, 0, 0, 90, 0, 469, 90, 90, 90, 90, 90, 90, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 470, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 91, 91, 0, 0, 91, 91, 91, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 415, 91, 0, 0, 91, 470, 91, 91, 91, 0, 91, 0, 0, 0, 91, 0, 0, 0, 0, 91, 91, 0, 91, 0, 470, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 476, 0, 0, 90, 90, 90, 90, 90, 90, 90, 91, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 90, 90, 0, 0, 90, 90, 90, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 0, 476, 0, 0, 0, 0, 0, 0, 476, 90, 0, 0, 90, 472, 90, 90, 90, 0, 90, 0, 0, 0, 90, 0, 0, 323, 0, 90, 0, 0, 90, 0, 476, 90, 90, 90, 90, 90, 90, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 323, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 91, 91, 0, 0, 91, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 278, 91, 0, 0, 91, 473, 91, 91, 91, 0, 91, 0, 0, 0, 91, 0, 0, 0, 0, 91, 492, 0, 91, 0, 0, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 492, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 91, 91, 0, 0, 91, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 279, 91, 0, 0, 91, 0, 91, 91, 91, 0, 91, 0, 0, 0, 91, 0, 0, 492, 0, 91, 0, 0, 91, 0, 0, 91, 91, 91, 91, 91, 91, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 0, 0, 0, 323, 323, 323, 323, 323, 323, 323, 492, 0, 323, 0, 0, 0, 0, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 323, 323, 0, 0, 323, 323, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 323, 0, 0, 323, 0, 323, 323, 323, 0, 323, 0, 0, 0, 323, 0, 0, 0, 492, 0, 216, 0, 323, 0, 0, 323, 323, 323, 323, 323, 323, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 217, 0, 492, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 0, 492, 492, 492, 0, 492, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 492, 492, 492, 492, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 0, 492, 492, 492, 0, 492, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 199, 0, 26, 0, 0, 0, 0, 0, 0, 28, 199, 0, 31, 32, 33, 34, 35, 36, 37, 38, 0, 39, 40, 41, 42, 0, 0, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 199, 0, 0, 199, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 199, 199, 0, 0, 52, 199, 0, 0, 0, 0, 0, 0, 53, 0, 0, 54, 55, 56, 57, 58, 59, 0, 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 0, 199, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 201, 0, 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 201, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 200, 0, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 0, 0, 199, 199, 199, 0, 0, 199, 199, 199, 0, 199, 0, 0, 0, 0, 198, 0, 0, 0, 0, 199, 199, 0, 0, 0, 198, 0, 0, 200, 199, 199, 0, 199, 199, 199, 199, 199, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 0, 0, 198, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 0, 199, 199, 198, 198, 0, 0, 0, 198, 0, 199, 0, 0, 201, 201, 201, 199, 0, 201, 201, 201, 0, 201, 0, 0, 0, 199, 199, 0, 0, 0, 0, 201, 201, 0, 0, 0, 0, 198, 0, 0, 201, 201, 0, 201, 201, 201, 201, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 198, 0, 201, 201, 201, 201, 201, 201, 201, 201, 201, 201, 0, 201, 201, 0, 0, 0, 0, 0, 0, 0, 201, 0, 0, 200, 200, 200, 201, 0, 200, 200, 200, 0, 200, 0, 0, 0, 201, 201, 0, 0, 0, 0, 200, 200, 0, 0, 0, 0, 0, 0, 0, 200, 200, 0, 200, 200, 200, 200, 200, 0, 0, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 0, 200, 200, 0, 0, 0, 0, 0, 0, 0, 200, 0, 197, 0, 0, 197, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200, 200, 0, 197, 197, 0, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 198, 198, 198, 0, 0, 198, 198, 198, 0, 198, 0, 0, 0, 0, 202, 0, 0, 0, 0, 198, 198, 197, 0, 0, 202, 0, 0, 0, 198, 198, 0, 198, 198, 198, 198, 198, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 197, 0, 202, 0, 0, 202, 198, 198, 198, 198, 198, 198, 198, 198, 198, 198, 0, 198, 198, 202, 202, 0, 0, 0, 202, 0, 198, 0, 0, 0, 0, 0, 198, 0, 0, 0, 203, 0, 0, 0, 0, 0, 198, 198, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 203, 0, 0, 203, 0, 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 203, 203, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 197, 197, 197, 0, 204, 197, 197, 197, 0, 197, 0, 0, 0, 0, 204, 0, 0, 0, 0, 197, 197, 0, 0, 0, 203, 0, 0, 0, 197, 197, 0, 197, 197, 197, 197, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 204, 0, 0, 204, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 204, 204, 0, 197, 197, 204, 0, 0, 197, 197, 0, 0, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, 0, 197, 202, 202, 202, 0, 211, 202, 202, 202, 0, 202, 0, 204, 0, 0, 211, 0, 0, 0, 0, 202, 202, 0, 0, 0, 0, 0, 0, 0, 202, 202, 0, 202, 202, 202, 202, 202, 0, 0, 0, 0, 0, 0, 0, 204, 0, 211, 0, 0, 211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 211, 211, 0, 202, 202, 211, 0, 0, 202, 202, 0, 0, 0, 203, 203, 203, 0, 202, 203, 203, 203, 0, 203, 202, 0, 0, 0, 0, 0, 0, 0, 0, 203, 203, 0, 211, 0, 0, 0, 0, 0, 203, 203, 0, 203, 203, 203, 203, 203, 205, 0, 0, 0, 0, 0, 0, 0, 0, 0, 205, 0, 0, 0, 0, 0, 0, 0, 211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 203, 203, 0, 0, 0, 203, 203, 0, 0, 0, 0, 0, 205, 0, 203, 205, 0, 0, 0, 0, 203, 0, 0, 0, 0, 0, 0, 0, 0, 205, 205, 0, 0, 0, 205, 0, 0, 0, 0, 0, 204, 204, 204, 0, 0, 204, 204, 204, 0, 204, 0, 0, 0, 0, 0, 0, 0, 206, 0, 204, 204, 0, 0, 0, 205, 0, 0, 206, 204, 204, 0, 204, 204, 204, 204, 204, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 205, 0, 206, 0, 0, 206, 0, 0, 0, 204, 204, 0, 0, 0, 204, 204, 0, 0, 0, 206, 206, 0, 0, 204, 206, 0, 0, 0, 0, 204, 211, 211, 211, 0, 0, 211, 211, 211, 0, 211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 211, 211, 0, 0, 0, 206, 0, 0, 0, 211, 211, 0, 211, 211, 211, 211, 211, 212, 0, 0, 0, 0, 0, 0, 0, 0, 0, 212, 0, 0, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 0, 0, 0, 211, 211, 0, 0, 0, 211, 211, 0, 0, 0, 0, 0, 212, 0, 211, 212, 0, 0, 0, 0, 211, 0, 0, 0, 0, 0, 0, 0, 0, 212, 212, 0, 0, 0, 212, 0, 0, 0, 0, 0, 0, 0, 205, 205, 205, 0, 181, 205, 205, 205, 0, 205, 0, 0, 0, 0, 181, 0, 0, 0, 0, 205, 205, 0, 212, 0, 0, 0, 0, 0, 205, 205, 0, 205, 205, 205, 205, 205, 0, 0, 0, 0, 0, 0, 0, 0, 0, 181, 0, 0, 181, 0, 0, 0, 0, 0, 212, 0, 0, 0, 0, 0, 0, 0, 181, 181, 0, 205, 205, 0, 0, 0, 205, 205, 0, 0, 0, 0, 0, 0, 0, 205, 0, 0, 0, 0, 0, 205, 206, 206, 206, 0, 174, 206, 206, 206, 0, 206, 0, 181, 0, 0, 174, 0, 0, 0, 0, 206, 206, 0, 0, 0, 0, 0, 0, 0, 206, 206, 0, 206, 206, 206, 206, 206, 0, 0, 0, 0, 0, 0, 214, 181, 0, 174, 0, 0, 174, 0, 0, 0, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 174, 0, 206, 206, 0, 0, 0, 206, 206, 0, 0, 0, 0, 0, 0, 0, 206, 0, 0, 0, 214, 0, 206, 214, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 174, 0, 0, 214, 214, 0, 180, 0, 212, 212, 212, 0, 0, 212, 212, 212, 180, 212, 0, 0, 0, 0, 0, 0, 0, 0, 0, 212, 212, 0, 0, 0, 174, 0, 0, 0, 212, 212, 214, 212, 212, 212, 212, 212, 0, 0, 0, 180, 0, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 180, 0, 0, 0, 0, 214, 0, 0, 0, 212, 0, 0, 0, 212, 212, 0, 0, 0, 181, 181, 181, 0, 212, 181, 181, 181, 0, 181, 212, 215, 0, 0, 0, 0, 180, 0, 0, 181, 181, 215, 0, 0, 0, 0, 0, 0, 181, 181, 0, 181, 181, 181, 181, 181, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 0, 0, 0, 215, 176, 0, 215, 0, 0, 0, 0, 0, 0, 0, 176, 0, 0, 0, 0, 0, 215, 215, 0, 0, 0, 0, 0, 0, 0, 0, 181, 0, 0, 0, 0, 0, 181, 174, 174, 174, 0, 0, 174, 174, 174, 176, 174, 0, 176, 0, 0, 0, 0, 0, 0, 215, 174, 174, 0, 0, 0, 0, 176, 176, 0, 174, 174, 0, 174, 174, 174, 174, 174, 177, 0, 214, 214, 214, 0, 0, 214, 214, 214, 177, 214, 0, 0, 215, 0, 0, 0, 0, 0, 0, 214, 214, 0, 176, 0, 0, 0, 0, 0, 214, 214, 0, 214, 214, 214, 214, 214, 0, 0, 0, 177, 0, 174, 177, 0, 0, 0, 0, 174, 0, 0, 0, 0, 0, 0, 176, 0, 177, 177, 0, 0, 0, 180, 180, 180, 0, 0, 180, 180, 180, 0, 180, 0, 0, 0, 0, 0, 0, 0, 0, 214, 180, 180, 0, 0, 0, 214, 0, 0, 0, 180, 180, 177, 180, 180, 180, 180, 180, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 178, 0, 0, 0, 0, 0, 0, 177, 0, 0, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 0, 0, 0, 0, 0, 180, 0, 0, 215, 215, 215, 0, 0, 215, 215, 215, 178, 215, 0, 178, 0, 0, 0, 0, 0, 0, 0, 215, 215, 0, 0, 0, 0, 178, 178, 0, 215, 215, 0, 215, 215, 215, 215, 215, 0, 0, 0, 0, 0, 0, 176, 176, 176, 0, 0, 176, 176, 176, 0, 176, 0, 0, 0, 0, 179, 0, 0, 0, 178, 176, 176, 0, 0, 0, 179, 0, 0, 0, 176, 176, 0, 176, 176, 176, 176, 176, 0, 215, 0, 0, 0, 0, 0, 215, 0, 0, 0, 0, 0, 0, 178, 173, 0, 0, 0, 179, 0, 0, 179, 0, 0, 173, 0, 0, 0, 0, 0, 0, 0, 177, 177, 177, 179, 179, 177, 177, 177, 0, 177, 176, 0, 0, 0, 0, 0, 176, 0, 0, 177, 177, 0, 0, 173, 0, 0, 173, 0, 177, 177, 0, 177, 177, 177, 177, 177, 0, 175, 179, 0, 173, 173, 0, 0, 0, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179, 0, 0, 261, 0, 173, 0, 0, 175, 177, 0, 175, 0, 261, 0, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 0, 0, 0, 0, 0, 0, 261, 0, 0, 261, 178, 178, 178, 0, 0, 178, 178, 178, 0, 178, 0, 0, 175, 261, 261, 0, 0, 172, 0, 178, 178, 0, 0, 0, 0, 0, 0, 172, 178, 178, 0, 178, 178, 178, 178, 178, 0, 0, 0, 0, 0, 0, 0, 0, 175, 0, 0, 0, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, 0, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 172, 0, 0, 178, 261, 0, 0, 0, 0, 178, 0, 0, 0, 179, 179, 179, 0, 0, 179, 179, 179, 0, 179, 0, 0, 0, 0, 0, 0, 0, 262, 0, 179, 179, 172, 0, 0, 0, 0, 0, 262, 179, 179, 0, 179, 179, 179, 179, 179, 0, 173, 173, 173, 0, 0, 173, 173, 173, 0, 173, 0, 0, 0, 0, 0, 0, 172, 0, 0, 173, 173, 262, 0, 0, 262, 0, 0, 0, 173, 173, 0, 173, 173, 173, 173, 173, 0, 0, 262, 262, 0, 0, 179, 0, 0, 0, 0, 0, 179, 0, 0, 0, 0, 0, 0, 175, 175, 175, 0, 0, 175, 175, 175, 0, 175, 0, 0, 412, 0, 0, 0, 0, 0, 262, 175, 175, 0, 0, 0, 173, 0, 0, 0, 175, 175, 173, 175, 175, 175, 175, 175, 261, 261, 261, 0, 0, 261, 261, 261, 0, 261, 0, 0, 0, 0, 262, 0, 0, 0, 0, 261, 261, 0, 0, 0, 0, 0, 0, 0, 261, 261, 0, 261, 261, 261, 261, 261, 0, 0, 0, 0, 0, 0, 0, 175, 0, 0, 0, 0, 0, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 172, 172, 0, 0, 172, 172, 172, 0, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 172, 0, 0, 261, 0, 0, 0, 0, 172, 172, 0, 172, 172, 172, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 396, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 0, 0, 0, 0, 0, 172, 0, 0, 0, 262, 262, 262, 0, 0, 262, 262, 262, 0, 262, 0, 0, 0, 0, 0, 0, 0, 0, 0, 262, 262, 0, 0, 0, 0, 0, 0, 0, 262, 262, 0, 262, 262, 262, 262, 262, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 54, 11, 0, 12, 13, 14, 96, 97, 17, 18, 54, 0, 0, 0, 98, 20, 21, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, 0, 262, 31, 32, 33, 34, 35, 36, 37, 38, 54, 39, 40, 41, 42, 0, 56, 43, 44, 45, 0, 0, 0, 0, 0, 0, 56, 54, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, 0, 0, 107, 0, 48, 49, 50, 0, 231, 0, 232, 0, 52, 0, 0, 0, 0, 56, 0, 0, 233, 0, 54, 54, 55, 56, 57, 58, 59, 4, 5, 6, 7, 8, 56, 56, 0, 9, 10, 0, 0, 47, 11, 0, 12, 13, 14, 15, 16, 17, 18, 47, 0, 0, }; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 5411, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 576, 7235, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 31482, 16, 225, 31482, 16, 565, 374, 16, 6647, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 576, 3672, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 576, 3672, 16, 225, 576, 7235, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 6647, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 6647, 31482, 16, 565, 374, 16, 565, 374, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 576, 3672, 16, 2398, 374, 16, 565, 374, 16, 282, 18821, 16, 565, 374, 16, 565, 374, 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, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 23, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 5411, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 576, 7235, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 31482, 16, 225, 31482, 16, 565, 374, 16, 6647, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 225, 31482, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 576, 3672, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 2 ]
public ClassAnalyzer getClassAnalyzer() { return getClassAnalyzer(classInfo);
private ClassAnalyzer getClassAnalyzer(ClassInfo callee) { if ((Options.options & (Options.OPTION_ANON | Options.OPTION_INNER)) == 0) return null; if ((Options.options & Options.OPTION_INNER) != 0 && callee.getOuterClass() != null) { /* If the callee class is an inner class we get the * analyzer of its parent instead and ask it for the inner * class analyzer. */ ClassAnalyzer outerAna = getClassAnalyzer(callee.getOuterClass()); return outerAna == null ? null : outerAna.getInnerClassAnalyzer(callee.getClassName()); } /* First check if our methodAnlyzer knows about it */ ClassAnalyzer ana = methodAnalyzer.getClassAnalyzer(callee); if (ana == null) { /* Now we iterate through the parent clazz analyzers until * we find the class analyzer for callee. */ ana = methodAnalyzer.getClassAnalyzer(); while (callee != ana.getClazz()) { if (ana.getParent() == null) return null; if (ana.getParent() instanceof MethodAnalyzer && (Options.options & Options.OPTION_ANON) != 0) ana = ((MethodAnalyzer) ana.getParent()) .getClassAnalyzer(); else if (ana.getParent() instanceof ClassAnalyzer && (Options.options & Options.OPTION_INNER) != 0) ana = (ClassAnalyzer) ana.getParent(); else throw new InternalError ("Unknown parent: "+ana+": "+ana.getParent()); } } return ana;
public ClassAnalyzer getClassAnalyzer() { return getClassAnalyzer(classInfo); }
5628 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5628/04378f771d5c7b35149a2a31597d4bbdef17d2c7/InvokeOperator.java/buggy/jode/jode/expr/InvokeOperator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 12803, 2900, 12803, 1435, 288, 202, 2463, 2900, 12803, 12, 1106, 966, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 12803, 2900, 12803, 1435, 288, 202, 2463, 2900, 12803, 12, 1106, 966, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
else if (getNamespaceURI(ns.prefix) != null) { atts.addAttribute(XMLNS, CDATA, getNamespaceURI(ns.prefix));
else { atts.addAttribute(XMLNS, CDATA, ns.uri);
public void declareAsAttributes(AttributeListImpl atts, boolean localOnly) { Namespace ns = _first; String attName = null; while (ns != null) { if (ns.prefix != null) { int len = ns.prefix.length(); if (len > 0) { StringBuffer buf = new StringBuffer(6+len); buf.append(XMLNS); buf.append(':'); buf.append(ns.prefix); attName = buf.toString(); atts.addAttribute(attName, CDATA, getNamespaceURI(ns.prefix)); } //case with no prefix but a nsURI else if (getNamespaceURI(ns.prefix) != null) { atts.addAttribute(XMLNS, CDATA, getNamespaceURI(ns.prefix)); } } //ns.prefix!=null ns = ns.next; } if ((!localOnly) && (_parent != null)) { _parent.declareAsAttributes(atts, false); } } //method:declareAsAttributes
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/a5b6774b501199299f58e877a43d9089f8270c74/Namespaces.java/clean/trunk/castor-2002/castor/src/main/org/exolab/castor/xml/Namespaces.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14196, 1463, 2498, 12, 1499, 682, 2828, 15687, 16, 1250, 1191, 3386, 13, 288, 3639, 6005, 3153, 273, 389, 3645, 31, 3639, 514, 2403, 461, 273, 446, 31, 3639, 1323, 261, 2387, 480, 446, 13, 288, 5411, 309, 261, 2387, 18, 3239, 480, 446, 13, 288, 7734, 509, 562, 273, 3153, 18, 3239, 18, 2469, 5621, 7734, 309, 261, 1897, 405, 374, 13, 288, 10792, 6674, 1681, 273, 394, 6674, 12, 26, 15, 1897, 1769, 10792, 1681, 18, 6923, 12, 4201, 3156, 1769, 10792, 1681, 18, 6923, 2668, 2497, 1769, 10792, 1681, 18, 6923, 12, 2387, 18, 3239, 1769, 10792, 2403, 461, 273, 1681, 18, 10492, 5621, 10792, 15687, 18, 1289, 1499, 12, 4558, 461, 16, 28294, 16, 11153, 3098, 12, 2387, 18, 3239, 10019, 7734, 289, 7734, 368, 3593, 598, 1158, 1633, 1496, 279, 3153, 3098, 7734, 469, 309, 261, 588, 3402, 3098, 12, 2387, 18, 3239, 13, 480, 446, 13, 288, 10402, 15687, 18, 1289, 1499, 12, 4201, 3156, 16, 28294, 16, 11153, 3098, 12, 2387, 18, 3239, 10019, 7734, 289, 5411, 289, 368, 2387, 18, 3239, 5, 33, 2011, 5411, 3153, 273, 3153, 18, 4285, 31, 3639, 289, 3639, 309, 14015, 5, 3729, 3386, 13, 597, 261, 67, 2938, 480, 446, 3719, 288, 5411, 389, 2938, 18, 29554, 1463, 2498, 12, 270, 3428, 16, 629, 1769, 3639, 289, 565, 289, 368, 2039, 30, 29554, 1463, 2498, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14196, 1463, 2498, 12, 1499, 682, 2828, 15687, 16, 1250, 1191, 3386, 13, 288, 3639, 6005, 3153, 273, 389, 3645, 31, 3639, 514, 2403, 461, 273, 446, 31, 3639, 1323, 261, 2387, 480, 446, 13, 288, 5411, 309, 261, 2387, 18, 3239, 480, 446, 13, 288, 7734, 509, 562, 273, 3153, 18, 3239, 18, 2469, 5621, 7734, 309, 261, 1897, 405, 374, 13, 288, 10792, 6674, 1681, 273, 394, 6674, 12, 26, 15, 1897, 1769, 10792, 1681, 18, 6923, 12, 4201, 3156, 1769, 10792, 1681, 18, 6923, 2668, 2497, 1769, 10792, 1681, 18, 6923, 12, 2387, 18, 3239, 1769, 10792, 2403, 461, 273, 1681, 18, 10492, 5621, 10792, 15687, 18, 1289, 1499, 12, 4558, 461, 16, 2 ]
SmilesGenerator sg = new SmilesGenerator();
public void testCycloOctan() { try { SmilesGenerator sg = new SmilesGenerator(); String filename = "data/mdl/cyclooctan.mol"; InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename); MDLReader reader = new MDLReader(new InputStreamReader(ins)); Molecule mol1 = (Molecule) reader.read(new Molecule()); String moleculeSmile = sg.createSMILES(mol1); assertEquals(moleculeSmile, "C1=CCCCCCC1"); } catch (Exception exc) { exc.printStackTrace(); System.out.println(exc); fail(exc.getMessage()); } }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/99fe3519d35ad1fd276844ab16fa237c545a01fc/SmilesGeneratorTest.java/buggy/src/org/openscience/cdk/test/smiles/SmilesGeneratorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 17992, 7550, 19320, 304, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 9552, 1449, 3908, 11150, 273, 394, 9425, 1449, 3908, 5621, 1082, 202, 780, 1544, 273, 315, 892, 19, 1264, 80, 19, 2431, 7550, 13410, 304, 18, 21260, 14432, 1082, 202, 4348, 2763, 273, 333, 18, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 17052, 12, 3459, 1769, 1082, 202, 6188, 48, 2514, 2949, 273, 394, 490, 8914, 2514, 12, 2704, 15322, 12, 2679, 10019, 1082, 202, 29669, 12629, 21, 273, 261, 29669, 13, 2949, 18, 896, 12, 2704, 490, 10545, 10663, 1082, 202, 780, 13661, 9552, 398, 273, 11150, 18, 2640, 7303, 45, 11386, 12, 21260, 21, 1769, 1082, 202, 11231, 8867, 12, 81, 10545, 9552, 398, 16, 315, 39, 21, 33, 6743, 6743, 6743, 39, 21, 8863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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 17992, 7550, 19320, 304, 1435, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 9552, 1449, 3908, 11150, 273, 394, 9425, 1449, 3908, 5621, 1082, 202, 780, 1544, 273, 315, 892, 19, 1264, 80, 19, 2431, 7550, 13410, 304, 18, 21260, 14432, 1082, 202, 4348, 2763, 273, 333, 18, 588, 797, 7675, 588, 7805, 7675, 588, 1420, 17052, 12, 3459, 1769, 1082, 202, 6188, 48, 2514, 2949, 273, 394, 490, 8914, 2514, 12, 2704, 15322, 12, 2679, 10019, 1082, 202, 29669, 12629, 21, 273, 261, 29669, 13, 2949, 18, 896, 12, 2704, 490, 10545, 10663, 1082, 202, 780, 13661, 9552, 398, 273, 11150, 18, 2640, 7303, 45, 11386, 12, 21260, 21, 1769, 1082, 2 ]
break;
continue Loop;
static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScriptException { if (cx.interpreterSecurityDomain != idata.securityDomain) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } SecurityController sc = idata.securityController; Object savedDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = idata.securityDomain; try { return sc.callWithDomain(idata.securityDomain, cx, fnOrScript, scope, thisObj, args); } finally { cx.interpreterSecurityDomain = savedDomain; } } final Object DBL_MRK = Interpreter.DBL_MRK; final Scriptable undefined = Undefined.instance; final int VAR_SHFT = 0; final int maxVars = idata.itsMaxVars; final int LOCAL_SHFT = VAR_SHFT + maxVars; final int STACK_SHFT = LOCAL_SHFT + idata.itsMaxLocals;// stack[VAR_SHFT <= i < LOCAL_SHFT]: variables// stack[LOCAL_SHFT <= i < TRY_STACK_SHFT]: used for newtemp/usetemp// stack[STACK_SHFT <= i < STACK_SHFT + idata.itsMaxStack]: stack data// sDbl[i]: if stack[i] is DBL_MRK, sDbl[i] holds the number value int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != STACK_SHFT + idata.itsMaxStack) Kit.codeBug(); Object[] stack = new Object[maxFrameArray]; double[] sDbl = new double[maxFrameArray]; int stackTop = STACK_SHFT - 1; int withDepth = 0; int definedArgs = fnOrScript.argCount; if (definedArgs > argCount) { definedArgs = argCount; } for (int i = 0; i != definedArgs; ++i) { Object arg = args[argShift + i]; stack[VAR_SHFT + i] = arg; if (arg == DBL_MRK) { sDbl[VAR_SHFT + i] = argsDbl[argShift + i]; } } for (int i = definedArgs; i != maxVars; ++i) { stack[VAR_SHFT + i] = undefined; } DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); } if (idata.itsFunctionType != 0) { InterpretedFunction f = (InterpretedFunction)fnOrScript; if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } if (idata.itsCheckThis) { thisObj = ScriptRuntime.getThis(thisObj); } if (idata.itsNeedsActivation) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } } else { ScriptRuntime.initScript(cx, scope, fnOrScript, thisObj, idata.itsFromEvalCode); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { createFunction(cx, scope, fdata, idata.itsFromEvalCode); } } } // Wrapped regexps for functions are stored in InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution Scriptable[] scriptRegExps = null; boolean useActivationVars = false; if (debuggerFrame != null) { if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); argShift = 0; argsDbl = null; } if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) { useActivationVars = true; scope = ScriptRuntime.initVarObj(cx, scope, fnOrScript, thisObj, args); } debuggerFrame.onEnter(cx, scope, thisObj, args); } InterpreterData savedData = cx.interpreterData; cx.interpreterData = idata; Object result = undefined; // If javaException != null on exit, it will be throw instead of // normal return Throwable javaException = null; int exceptionPC = -1; byte[] iCode = idata.itsICode; String[] strings = idata.itsStringTable; int pc = 0; int pcPrevBranch = pc; final int instructionThreshold = cx.instructionThreshold; // During function call this will be set to -1 so catch can properly // adjust it int instructionCount = cx.instructionCount; // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; Loop: for (;;) { try { int op = 0xFF & iCode[pc++]; switch (op) { // Back indent to ease imlementation reading case Icode_CATCH: { // The following code should be executed inside try/catch inside main // loop, not in the loop catch block itself to deal with exceptions // from observeInstructionCount. A special bytecode is used only to // simplify logic. if (javaException == null) Kit.codeBug(); int pcNew = -1; boolean doCatch = false; int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { final int SCRIPT_CAN_CATCH = 0, ONLY_FINALLY = 1, OTHER = 2; int exType; if (javaException instanceof JavaScriptException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EcmaError) { // an offical ECMA error object, exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof EvaluatorException) { exType = SCRIPT_CAN_CATCH; } else if (javaException instanceof RuntimeException) { exType = ONLY_FINALLY; } else { // Error instance exType = OTHER; } if (exType != OTHER) { // Do not allow for JS to interfere with Error instances // (exType == OTHER), as they can be used to terminate // long running script if (exType == SCRIPT_CAN_CATCH) { // Allow JS to catch only JavaScriptException and // EcmaError pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_CATCH_SLOT]; if (pcNew >= 0) { // Has catch block doCatch = true; } } if (pcNew < 0) { pcNew = idata.itsExceptionTable[handlerOffset + EXCEPTION_FINALLY_SLOT]; } } } if (debuggerFrame != null && !(javaException instanceof Error)) { debuggerFrame.onExceptionThrown(cx, javaException); } if (pcNew < 0) { break Loop; } // We caught an exception // restore scope at try point int tryWithDepth = idata.itsExceptionTable[ handlerOffset + EXCEPTION_WITH_DEPTH_SLOT]; while (tryWithDepth != withDepth) { if (scope == null) Kit.codeBug(); scope = ScriptRuntime.leaveWith(scope); --withDepth; } if (doCatch) { stackTop = STACK_SHFT - 1; int exLocal = idata.itsExceptionTable[ handlerOffset + EXCEPTION_LOCAL_SLOT]; stack[LOCAL_SHFT + exLocal] = ScriptRuntime.getCatchObject( cx, scope, javaException); } else { stackTop = STACK_SHFT; // Call finally handler with javaException on stack top to // distinguish from normal invocation through GOSUB // which would contain DBL_MRK on the stack stack[stackTop] = javaException; } // clear exception javaException = null; // Notify instruction observer if necessary // and point pc and pcPrevBranch to start of catch/finally block if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { // Note: this can throw Error cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = pcNew; continue Loop; } case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int sourceLine = getShort(iCode, pc); javaException = new JavaScriptException(value, idata.itsSourceFile, sourceLine); exceptionPC = pc - 1; if (instructionThreshold != 0) { instructionCount += pc - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getJavaCatchPC(iCode); continue Loop; } case Token.GE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl <= lDbl); } else { valBln = ScriptRuntime.cmp_LE(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl <= rDbl); } else { valBln = ScriptRuntime.cmp_LE(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.GT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (rDbl < lDbl); } else { valBln = ScriptRuntime.cmp_LT(rhs, lhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; if (rhs == DBL_MRK || lhs == DBL_MRK) { double rDbl = stack_double(stack, sDbl, stackTop + 1); double lDbl = stack_double(stack, sDbl, stackTop); valBln = (lDbl < rDbl); } else { valBln = ScriptRuntime.cmp_LT(lhs, rhs); } stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IN : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.in(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); boolean valBln = ScriptRuntime.instanceOf(lhs, rhs, scope); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.EQ : { --stackTop; boolean valBln = do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.NE : { --stackTop; boolean valBln = !do_eq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHEQ : { --stackTop; boolean valBln = do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.SHNE : { --stackTop; boolean valBln = !do_sheq(stack, sDbl, stackTop); stack[stackTop] = valBln ? Boolean.TRUE : Boolean.FALSE; break; } case Token.IFNE : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (!valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Token.IFEQ : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; } pc += 2; break; } case Icode_IFEQ_POP : { boolean valBln = stack_boolean(stack, sDbl, stackTop); --stackTop; if (valBln) { if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); stack[stackTop--] = null; continue Loop; } pc += 2; break; } case Token.GOTO : if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = pc + 2; if (instructionThreshold != 0) { instructionCount += pc + 2 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } pcPrevBranch = pc = getTarget(iCode, pc); continue Loop; case Icode_RETSUB : { int slot = (iCode[pc] & 0xFF); if (instructionThreshold != 0) { instructionCount += pc + 1 - pcPrevBranch; if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } } int newPC; Object value = stack[LOCAL_SHFT + slot]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow javaException = (Throwable)value; exceptionPC = pc - 1; newPC = getJavaCatchPC(iCode); } else { // Normal return from GOSUB newPC = (int)sDbl[LOCAL_SHFT + slot]; } pcPrevBranch = pc = newPC; continue Loop; } case Token.POP : stack[stackTop] = null; stackTop--; break; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; break; case Icode_DUPSECOND : { stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stackTop++; break; } case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; break; } case Token.POPV : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); stack[stackTop] = null; --stackTop; break; case Token.RETURN : result = stack[stackTop]; if (result == DBL_MRK) result = doubleWrap(sDbl[stackTop]); --stackTop; break Loop; case Token.RETURN_POPV : break Loop; case Icode_RETUNDEF : result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; break; } case Token.BITAND : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue & rIntValue; break; } case Token.BITOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue | rIntValue; break; } case Token.BITXOR : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue ^ rIntValue; break; } case Token.LSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue << rIntValue; break; } case Token.RSH : { int rIntValue = stack_int32(stack, sDbl, stackTop); --stackTop; int lIntValue = stack_int32(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lIntValue >> rIntValue; break; } case Token.URSH : { int rIntValue = stack_int32(stack, sDbl, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; break; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop); break; case Token.SUB : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl - rDbl; break; } case Token.NEG : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = -rDbl; break; } case Token.POS : { double rDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = rDbl; break; } case Token.MUL : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl * rDbl; break; } case Token.DIV : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; // Detect the divide by zero or let Java do it ? sDbl[stackTop] = lDbl / rDbl; break; } case Token.MOD : { double rDbl = stack_double(stack, sDbl, stackTop); --stackTop; double lDbl = stack_double(stack, sDbl, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = lDbl % rDbl; break; } case Token.NOT : { stack[stackTop] = stack_boolean(stack, sDbl, stackTop) ? Boolean.FALSE : Boolean.TRUE; break; } case Token.BINDNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.bind(scope, name); pc += 2; break; } case Token.SETNAME : { String name = strings[getIndex(iCode, pc)]; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, scope, name); pc += 2; break; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(cx, scope, lhs, rhs); break; } case Token.GETPROP : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; } case Token.GETELEM : do_getElem(cx, stack, sDbl, stackTop, scope); --stackTop; break; case Token.SETELEM : do_setElem(cx, stack, sDbl, stackTop, scope); stackTop -= 2; break; case Icode_PROPINC : case Icode_PROPDEC : { String name = (String)stack[stackTop]; --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecr(lhs, name, scope, op == Icode_PROPINC); break; } case Icode_ELEMINC : case Icode_ELEMDEC : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.postIncrDecrElem(lhs, rhs, scope, op == Icode_ELEMINC); break; } case Token.LOCAL_SAVE : { int slot = (iCode[pc] & 0xFF); stack[LOCAL_SHFT + slot] = stack[stackTop]; sDbl[LOCAL_SHFT + slot] = sDbl[stackTop]; --stackTop; ++pc; break; } case Token.LOCAL_LOAD : { int slot = (iCode[pc] & 0xFF); ++stackTop; stack[stackTop] = stack[LOCAL_SHFT + slot]; sDbl[stackTop] = sDbl[LOCAL_SHFT + slot]; ++pc; break; } case Icode_CALLSPECIAL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int callType = iCode[pc] & 0xFF; boolean isNew = (iCode[pc + 1] != 0); int sourceLine = getShort(iCode, pc + 2); int count = getIndex(iCode, pc + 4); stackTop -= count; Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, count); Object functionThis; if (isNew) { functionThis = null; } else { functionThis = stack[stackTop]; if (functionThis == DBL_MRK) { functionThis = doubleWrap(sDbl[stackTop]); } --stackTop; } Object function = stack[stackTop]; if (function == DBL_MRK) function = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, isNew, functionThis, outArgs, scope, thisObj, callType, idata.itsSourceFile, sourceLine); instructionCount = cx.instructionCount; pc += 6; break; } case Token.CALL : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; Scriptable calleeScope = scope; if (idata.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } Scriptable calleeThis; if (rhs instanceof Scriptable || rhs == null) { calleeThis = (Scriptable)rhs; } else { calleeThis = ScriptRuntime.toObject(cx, calleeScope, rhs); } if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.call not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; stack[stackTop] = interpret(cx, calleeScope, calleeThis, stack, sDbl, calleeArgShft, count, f, f.itsData); } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.call(cx, calleeScope, calleeThis, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.NEW : { if (instructionThreshold != 0) { instructionCount += INVOCATION_COST; cx.instructionCount = instructionCount; instructionCount = -1; } int count = getIndex(iCode, pc + 2); stackTop -= count; int calleeArgShft = stackTop + 1; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { // Inlining of InterpretedFunction.construct not to create // argument array InterpretedFunction f = (InterpretedFunction)lhs; Scriptable newInstance = f.createObject(cx, scope); Object callResult = interpret(cx, scope, newInstance, stack, sDbl, calleeArgShft, count, f, f.itsData); if (callResult instanceof Scriptable && callResult != undefined) { stack[stackTop] = callResult; } else { stack[stackTop] = newInstance; } } else if (lhs instanceof Function) { Function f = (Function)lhs; Object[] outArgs = getArgsArray(stack, sDbl, calleeArgShft, count); stack[stackTop] = f.construct(cx, scope, outArgs); } else { if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); else if (lhs == undefined) { // special code for better error message for call // to undefined lhs = strings[getIndex(iCode, pc)]; if (lhs == null) lhs = undefined; } throw ScriptRuntime.typeError1("msg.isnt.function", ScriptRuntime.toString(lhs)); } instructionCount = cx.instructionCount; pc += 4; break; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); break; } case Icode_TYPEOFNAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; } case Icode_NAME_AND_THIS : { String name = strings[getIndex(iCode, pc)]; boolean skipGetThis = (0 != iCode[pc + 2]); stackTop = do_nameAndThis(stack, stackTop, scope, name, skipGetThis); pc += 3; break; } case Token.STRING : stack[++stackTop] = strings[getIndex(iCode, pc)]; pc += 2; break; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, pc); pc += 2; break; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, pc); pc += 4; break; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = idata.itsDoubleTable[getIndex(iCode, pc)]; pc += 2; break; case Token.NAME : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.name(scope, name); pc += 2; break; } case Icode_NAMEINC : case Icode_NAMEDEC : { String name = strings[getIndex(iCode, pc)]; stack[++stackTop] = ScriptRuntime.postIncrDecr(scope, name, op == Icode_NAMEINC); pc += 2; break; } case Token.SETVAR : { int slot = (iCode[pc] & 0xFF); if (!useActivationVars) { stack[VAR_SHFT + slot] = stack[stackTop]; sDbl[VAR_SHFT + slot] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = doubleWrap(sDbl[stackTop]); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.GETVAR : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { stack[stackTop] = stack[VAR_SHFT + slot]; sDbl[stackTop] = sDbl[VAR_SHFT + slot]; } else { stack[stackTop] = activationGet(fnOrScript, scope, slot); } ++pc; break; } case Icode_VARINC : case Icode_VARDEC : { int slot = (iCode[pc] & 0xFF); ++stackTop; if (!useActivationVars) { Object val = stack[VAR_SHFT + slot]; stack[stackTop] = val; double d; if (val == DBL_MRK) { d = sDbl[VAR_SHFT + slot]; sDbl[stackTop] = d; } else { d = ScriptRuntime.toNumber(val); } stack[VAR_SHFT + slot] = DBL_MRK; sDbl[VAR_SHFT + slot] = (op == Icode_VARINC) ? d + 1.0 : d - 1.0; } else { Object val = activationGet(fnOrScript, scope, slot); stack[stackTop] = val; double d = ScriptRuntime.toNumber(val); val = doubleWrap((op == Icode_VARINC) ? d + 1.0 : d - 1.0); activationPut(fnOrScript, scope, slot, val); } ++pc; break; } case Token.ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; break; case Token.ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; break; case Token.NULL : stack[++stackTop] = null; break; case Token.THIS : stack[++stackTop] = thisObj; break; case Token.THISFN : stack[++stackTop] = fnOrScript; break; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; break; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; break; case Token.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; scope = ScriptRuntime.enterWith(lhs, scope); ++withDepth; break; } case Token.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); --withDepth; break; case Token.CATCH_SCOPE : { String name = strings[getIndex(iCode, pc)]; stack[stackTop] = ScriptRuntime.newCatchScope(name, stack[stackTop]); pc += 2; break; } case Token.ENUM_INIT : { int slot = (iCode[pc] & 0xFF); Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); --stackTop; stack[LOCAL_SHFT + slot] = ScriptRuntime.enumInit(lhs, scope); ++pc; break; } case Token.ENUM_NEXT : case Token.ENUM_ID : { int slot = (iCode[pc] & 0xFF); Object val = stack[LOCAL_SHFT + slot]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val); ++pc; break; } case Icode_PUSH_PARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); stack[++stackTop] = ScriptRuntime.getParent(lhs); break; } case Icode_GETPROTO : case Icode_GETSCOPEPARENT : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_GETPROTO) { val = ScriptRuntime.getProto(lhs, scope); } else { val = ScriptRuntime.getParent(lhs, scope); } stack[stackTop] = val; break; } case Icode_SETPROTO : case Icode_SETPARENT : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = doubleWrap(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = doubleWrap(sDbl[stackTop]); Object val; if (op == Icode_SETPROTO) { val = ScriptRuntime.setProto(lhs, rhs, scope); } else { val = ScriptRuntime.setParent(lhs, rhs, scope); } stack[stackTop] = val; break; } case Icode_SCOPE : stack[++stackTop] = scope; break; case Icode_CLOSURE : { int i = getIndex(iCode, pc); InterpreterData closureData = idata.itsNestedFunctions[i]; stack[++stackTop] = createFunction(cx, scope, closureData, idata.itsFromEvalCode); pc += 2; break; } case Token.REGEXP : { int i = getIndex(iCode, pc); Scriptable regexp; if (idata.itsFunctionType != 0) { regexp = ((InterpretedFunction)fnOrScript).itsRegExps[i]; } else { if (scriptRegExps == null) { scriptRegExps = wrapRegExps(cx, scope, idata); } regexp = scriptRegExps[i]; } stack[++stackTop] = regexp; pc += 2; break; } case Icode_LITERAL_NEW : { int i = getInt(iCode, pc); ++stackTop; stack[stackTop] = new Object[i]; sDbl[stackTop] = 0; pc += 4; break; } case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = doubleWrap(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; break; } case Token.ARRAYLIT : case Token.OBJECTLIT : { int offset = getInt(iCode, pc); Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.ARRAYLIT) { int[] skipIndexces = null; if (offset >= 0) { skipIndexces = (int[])idata.literalIds[offset]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, scope); } else { Object[] ids = (Object[])idata.literalIds[offset]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, scope); } stack[stackTop] = val; pc += 4; break; } case Icode_LINE : { cx.interpreterLineIndex = pc; if (debuggerFrame != null) { int line = getShort(iCode, pc); debuggerFrame.onLineChange(cx, line); } pc += 2; break; } default : { dumpICode(idata); throw new RuntimeException("Unknown icode : "+op+" @ pc : "+(pc-1)); } // end of interpreter switch } } catch (Throwable ex) { if (instructionThreshold != 0) { if (instructionCount < 0) { // throw during function call instructionCount = cx.instructionCount; } else { // throw during any other operation instructionCount += pc - pcPrevBranch; cx.instructionCount = instructionCount; } } javaException = ex; exceptionPC = pc; pc = getJavaCatchPC(iCode); continue Loop; } } cx.interpreterData = savedData; if (debuggerFrame != null) { if (javaException != null) { debuggerFrame.onExit(cx, true, javaException); } else { debuggerFrame.onExit(cx, false, result); } } if (idata.itsNeedsActivation || debuggerFrame != null) { ScriptRuntime.popActivation(cx); } if (instructionThreshold != 0) { if (instructionCount > instructionThreshold) { cx.observeInstructionCount(instructionCount); instructionCount = 0; } cx.instructionCount = instructionCount; } if (javaException != null) { if (javaException instanceof JavaScriptException) { throw (JavaScriptException)javaException; } else if (javaException instanceof RuntimeException) { throw (RuntimeException)javaException; } else { // Must be instance of Error or code bug throw (Error)javaException; } } return result; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/34e9dc56b7553f450b9015c8f4135584139686cf/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 18, 2761, 11599, 4368, 3748, 31, 5411, 9494, 18, 2761, 11599, 4368, 3748, 273, 612, 396, 18, 7462, 3748, 31, 5411, 775, 288, 7734, 327, 888, 18, 1991, 1190, 3748, 12, 350, 396, 18, 7462, 3748, 16, 9494, 16, 2295, 1162, 3651, 16, 29159, 2146, 16, 15261, 16, 833, 1769, 5411, 289, 3095, 288, 7734, 9494, 18, 2761, 11599, 4368, 3748, 273, 5198, 3748, 31, 5411, 289, 3639, 289, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 5294, 11599, 18, 2290, 48, 67, 23464, 47, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 509, 8350, 67, 2664, 4464, 273, 374, 31, 3639, 727, 509, 943, 5555, 273, 612, 396, 18, 1282, 2747, 5555, 31, 3639, 727, 509, 15234, 67, 2664, 4464, 273, 8350, 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, 1033, 10634, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 18701, 1033, 8526, 833, 16, 1645, 8526, 833, 40, 3083, 16, 18701, 509, 1501, 10544, 16, 509, 1501, 1380, 16, 18701, 16717, 2083, 2295, 1162, 3651, 16, 18701, 5294, 11599, 751, 612, 396, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 309, 261, 71, 92, 18, 2761, 11599, 4368, 3748, 480, 612, 396, 18, 7462, 3748, 13, 288, 5411, 309, 261, 1968, 40, 3083, 480, 446, 13, 288, 7734, 833, 273, 30169, 1076, 12, 1968, 16, 833, 40, 3083, 16, 1501, 10544, 16, 1501, 1380, 1769, 5411, 289, 5411, 6036, 2933, 888, 273, 612, 396, 18, 7462, 2933, 31, 5411, 1033, 5198, 3748, 273, 9494, 2 ]
trueClass.defineMethod("&", getMethodAnd()); trueClass.defineMethod("|", getMethodOr()); trueClass.defineMethod("^", getMethodXor());
trueClass.defineMethod("&", getMethod("op_and", RubyObject.class)); trueClass.defineMethod("|", getMethod("op_or", RubyObject.class)); trueClass.defineMethod("^", getMethod("op_xor", RubyObject.class));
public static RubyClass createTrueClass(Ruby ruby) { RubyClass trueClass = ruby.defineClass("TrueClass", ruby.getObjectClass()); trueClass.defineMethod("to_s", getMethodToS()); trueClass.defineMethod("type", getMethodType()); trueClass.defineMethod("&", getMethodAnd()); trueClass.defineMethod("|", getMethodOr()); trueClass.defineMethod("^", getMethodXor()); trueClass.getRubyClass().undefMethod("new"); ruby.defineGlobalConstant("TRUE", ruby.getTrue()); return trueClass; }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/60d09f0d06e157ff7d9bb828d89273706e4e2798/RbTrueClass.java/buggy/org/jruby/core/RbTrueClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 5510, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 638, 797, 273, 22155, 18, 11255, 797, 2932, 5510, 797, 3113, 22155, 18, 588, 921, 797, 10663, 7734, 638, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 6272, 774, 55, 10663, 3639, 638, 797, 18, 11255, 1305, 2932, 723, 3113, 6272, 559, 10663, 7734, 638, 797, 18, 11255, 1305, 2932, 10, 3113, 6272, 1876, 10663, 3639, 638, 797, 18, 11255, 1305, 2932, 96, 3113, 6272, 1162, 10663, 3639, 638, 797, 18, 11255, 1305, 2932, 66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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 5510, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 638, 797, 273, 22155, 18, 11255, 797, 2932, 5510, 797, 3113, 22155, 18, 588, 921, 797, 10663, 7734, 638, 797, 18, 11255, 1305, 2932, 869, 67, 87, 3113, 6272, 774, 55, 10663, 3639, 638, 797, 18, 11255, 1305, 2932, 723, 3113, 6272, 559, 10663, 7734, 638, 797, 18, 11255, 1305, 2932, 10, 3113, 6272, 1876, 10663, 3639, 638, 797, 18, 11255, 1305, 2932, 96, 3113, 6272, 1162, 10663, 3639, 638, 797, 18, 11255, 1305, 2932, 66, 3113, 6272, 60, 280, 10663, 7734, 638, 797, 18, 588, 54, 10340, 797, 7675, 318, 536, 1305, 2932, 2704, 8863, 7734, 22155, 18, 11255, 5160, 6902, 2 ]
entityMap.put("userInfo", myUserInfo);
entityMap.setMap("userInfo", getUserInfo(), true);
public EOModelMap toEntityMap() { EOModelMap entityMap = myEntityMap.cloneModelMap(); entityMap.setString("name", myName, true); //$NON-NLS-1$ entityMap.setString("externalName", myExternalName, true); //$NON-NLS-1$ entityMap.setString("className", myClassName, true); //$NON-NLS-1$ if (myParent != null) { entityMap.setString("parent", myParent.getName(), true); //$NON-NLS-1$ } entityMap.setBoolean("cachesObjects", myCachesObjects); //$NON-NLS-1$ entityMap.setBoolean("isAbstractEntity", myAbstractEntity); //$NON-NLS-1$ entityMap.setBoolean("readOnly", myReadOnly); //$NON-NLS-1$ entityMap.setString("restrictingQualifier", myRestrictingQualifier, true); //$NON-NLS-1$ entityMap.setString("externalQuery", myExternalQuery, true); //$NON-NLS-1$ entityMap.setInteger("maxNumberOfInstancesToBatchFetch", myMaxNumberOfInstancesToBatchFetch); //$NON-NLS-1$ //Map fetchSpecifications = _entityMap.getMap("fetchSpecificationDictionary"); // TODO: Fetch Specs List classProperties = new LinkedList(); List primaryKeyAttributes = new LinkedList(); List attributesUsedForLocking = new LinkedList(); List clientClassProperties = new LinkedList(); List attributes = new LinkedList(); Iterator attributeIter = myAttributes.iterator(); while (attributeIter.hasNext()) { EOAttribute attribute = (EOAttribute) attributeIter.next(); EOModelMap attributeMap = attribute.toMap(); attributes.add(attributeMap); if (attribute.isClassProperty() != null && attribute.isClassProperty().booleanValue()) { classProperties.add(attribute.getName()); } if (attribute.isPrimaryKey() != null && attribute.isPrimaryKey().booleanValue()) { primaryKeyAttributes.add(attribute.getName()); } if (attribute.isUsedForLocking() != null && attribute.isUsedForLocking().booleanValue()) { attributesUsedForLocking.add(attribute.getName()); } if (attribute.isClientClassProperty() != null && attribute.isClientClassProperty().booleanValue()) { clientClassProperties.add(attribute.getName()); } } entityMap.setList("attributes", attributes); //$NON-NLS-1$ List relationships = new LinkedList(); Iterator relationshipIter = myRelationships.iterator(); while (relationshipIter.hasNext()) { EORelationship relationship = (EORelationship) relationshipIter.next(); EOModelMap relationshipMap = relationship.toMap(); relationships.add(relationshipMap); if (relationship.isClassProperty() != null && relationship.isClassProperty().booleanValue()) { classProperties.add(relationship.getName()); } } entityMap.setList("relationships", relationships); //$NON-NLS-1$ entityMap.setList("attributesUsedForLocking", attributesUsedForLocking); //$NON-NLS-1$ entityMap.setList("classProperties", classProperties); //$NON-NLS-1$ entityMap.setList("primaryKeyAttributes", primaryKeyAttributes); //$NON-NLS-1$ Map internalInfoMap = entityMap.getMap("internalInfo"); //$NON-NLS-1$ if (internalInfoMap == null) { internalInfoMap = new HashMap(); entityMap.put("internalInfo", internalInfoMap); //$NON-NLS-1$ } internalInfoMap.put("_clientClassPropertyNames", clientClassProperties); //$NON-NLS-1$ entityMap.put("userInfo", myUserInfo); //$NON-NLS-1$ return entityMap; }
47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/85e8c5c5e6069e4a772ec9eb7716a51dc31c2178/EOEntity.java/clean/wolips/plugins/org.objectstyle.wolips.eomodeler/java/org/objectstyle/wolips/eomodeler/model/EOEntity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 512, 51, 1488, 863, 358, 1943, 863, 1435, 288, 565, 512, 51, 1488, 863, 1522, 863, 273, 3399, 1943, 863, 18, 14056, 1488, 863, 5621, 565, 1522, 863, 18, 542, 780, 2932, 529, 3113, 3399, 461, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 780, 2932, 9375, 461, 3113, 3399, 6841, 461, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 780, 2932, 12434, 3113, 3399, 3834, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 309, 261, 4811, 3054, 480, 446, 13, 288, 1377, 1522, 863, 18, 542, 780, 2932, 2938, 3113, 3399, 3054, 18, 17994, 9334, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 289, 565, 1522, 863, 18, 542, 5507, 2932, 17703, 281, 4710, 3113, 3399, 18755, 4710, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 5507, 2932, 291, 7469, 1943, 3113, 3399, 7469, 1943, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 5507, 2932, 896, 3386, 3113, 3399, 12066, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 780, 2932, 30604, 310, 16185, 3113, 3399, 29371, 310, 16185, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 780, 2932, 9375, 1138, 3113, 3399, 6841, 1138, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 4522, 2932, 1896, 9226, 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, 512, 51, 1488, 863, 358, 1943, 863, 1435, 288, 565, 512, 51, 1488, 863, 1522, 863, 273, 3399, 1943, 863, 18, 14056, 1488, 863, 5621, 565, 1522, 863, 18, 542, 780, 2932, 529, 3113, 3399, 461, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 780, 2932, 9375, 461, 3113, 3399, 6841, 461, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 1522, 863, 18, 542, 780, 2932, 12434, 3113, 3399, 3834, 16, 638, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 565, 309, 261, 4811, 3054, 480, 446, 13, 288, 1377, 1522, 863, 18, 542, 780, 2932, 2938, 3113, 3399, 3054, 18, 17994, 9334, 638, 1769, 4329, 3993, 2 ]
set = attrSet;
this.attrSet = attrSet;
LDAPAttributeSet( com.novell.ldap.LDAPAttributeSet attrSet) { set = attrSet; return; }
9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/4793795edec9d0d3d0ee21779799241ba809e4ea/LDAPAttributeSet.java/buggy/org/ietf/ldap/LDAPAttributeSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 11916, 1499, 694, 12, 532, 18, 2135, 941, 80, 18, 14394, 18, 15496, 1499, 694, 1604, 694, 13, 565, 288, 3639, 333, 18, 1747, 694, 273, 1604, 694, 31, 3639, 327, 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, 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, 981, 30, 377, 11916, 1499, 694, 12, 532, 18, 2135, 941, 80, 18, 14394, 18, 15496, 1499, 694, 1604, 694, 13, 565, 288, 3639, 333, 18, 1747, 694, 273, 1604, 694, 31, 3639, 327, 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 ]
int count = stmt.executeUpdate("create table #t0003 " + " (i integer not null) "); PreparedStatement pStmt = con.prepareStatement( "insert into #t0003 values (?)");
int count = stmt.executeUpdate("create table #t0003 " + " (i integer not null) "); PreparedStatement pStmt = con.prepareStatement( "insert into #t0003 values (?)");
public void testMaxRows0003() throws Exception { dropTable("#t0003"); Statement stmt = con.createStatement(); int count = stmt.executeUpdate("create table #t0003 " + " (i integer not null) "); PreparedStatement pStmt = con.prepareStatement( "insert into #t0003 values (?)"); final int rowsToAdd = 100; count = 0; for(int i=1; i<=rowsToAdd; i++) { pStmt.setInt(1, i); count += pStmt.executeUpdate(); } assertTrue("count: " + count + " rowsToAdd: " + rowsToAdd,count == rowsToAdd); pStmt.close(); pStmt = con.prepareStatement( "select i from #t0003 order by i"); int rowLimit = 32; pStmt.setMaxRows(rowLimit); assertTrue(pStmt.getMaxRows() == rowLimit); ResultSet rs = pStmt.executeQuery(); count = 0; while(rs.next()) { int n = rs.getInt("i"); count++; } assertTrue(count == rowLimit); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/662fbbf0e5f04956f22a56e58dae82d6c816a2c6/CSUnitTest.java/buggy/src/test/net/sourceforge/jtds/test/CSUnitTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 2747, 4300, 30770, 1435, 1216, 1185, 288, 565, 3640, 1388, 2932, 7, 88, 30770, 8863, 565, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 565, 509, 1056, 273, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 30770, 2868, 315, 565, 397, 315, 225, 261, 77, 225, 3571, 486, 446, 13, 4202, 315, 1769, 565, 16913, 225, 293, 8952, 273, 356, 18, 9366, 3406, 12, 565, 315, 6387, 1368, 468, 88, 30770, 924, 13590, 2225, 1769, 565, 727, 509, 2595, 13786, 273, 2130, 31, 565, 1056, 273, 374, 31, 565, 364, 12, 474, 277, 33, 21, 31, 277, 32, 33, 3870, 13786, 31, 277, 27245, 288, 1377, 293, 8952, 18, 542, 1702, 12, 21, 16, 277, 1769, 1377, 1056, 1011, 293, 8952, 18, 8837, 1891, 5621, 565, 289, 565, 1815, 5510, 2932, 1883, 30, 315, 397, 1056, 397, 315, 2595, 13786, 30, 315, 397, 2595, 13786, 16, 1883, 422, 2595, 13786, 1769, 565, 293, 8952, 18, 4412, 5621, 565, 293, 8952, 273, 356, 18, 9366, 3406, 12, 565, 315, 4025, 277, 628, 468, 88, 30770, 1353, 635, 277, 8863, 565, 509, 282, 1027, 3039, 273, 3847, 31, 565, 293, 8952, 18, 542, 2747, 4300, 12, 492, 3039, 1769, 565, 1815, 5510, 12, 84, 8952, 18, 588, 2747, 4300, 1435, 422, 1027, 3039, 1769, 565, 10842, 225, 3597, 273, 293, 8952, 18, 8837, 1138, 5621, 565, 1056, 273, 374, 31, 565, 1323, 12, 5453, 18, 4285, 10756, 288, 1377, 509, 282, 290, 273, 3597, 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, 1842, 2747, 4300, 30770, 1435, 1216, 1185, 288, 565, 3640, 1388, 2932, 7, 88, 30770, 8863, 565, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 565, 509, 1056, 273, 3480, 18, 8837, 1891, 2932, 2640, 1014, 468, 88, 30770, 2868, 315, 565, 397, 315, 225, 261, 77, 225, 3571, 486, 446, 13, 4202, 315, 1769, 565, 16913, 225, 293, 8952, 273, 356, 18, 9366, 3406, 12, 565, 315, 6387, 1368, 468, 88, 30770, 924, 13590, 2225, 1769, 565, 727, 509, 2595, 13786, 273, 2130, 31, 565, 1056, 273, 374, 31, 565, 364, 12, 474, 277, 33, 21, 31, 277, 32, 33, 3870, 13786, 31, 277, 27245, 288, 1377, 293, 8952, 18, 542, 1702, 12, 21, 16, 2 ]
alpPlanObjects = new CollectionSubscription(anythingP, new HashSet(111));
alpPlanObjects = new CollectionSubscription(anythingP, new AllObjectsSet(111));
public final void init() { try { alpPlanObjects = new CollectionSubscription(anythingP, new HashSet(111)); subscribe(alpPlanObjects); for (Iterator plans = xPlans.iterator(); plans.hasNext(); ) { XPlanServesALPPlan xPlan = (XPlanServesALPPlan) plans.next(); xPlan.setupSubscriptions(this); } setReadyToPersist(); for (Iterator eProviders = envelopeLPs.iterator(); eProviders.hasNext();){ EnvelopeLogicProvider p = (EnvelopeLogicProvider) eProviders.next(); try { p.init(); } catch (Exception e) { e.printStackTrace(); } } for (Iterator mProviders = messageLPs.iterator(); mProviders.hasNext();){ MessageLogicProvider p = (MessageLogicProvider) mProviders.next(); try { p.init(); } catch (Exception e) { e.printStackTrace(); } } } catch (Exception ex) { System.err.println("Caught exception while in ALPPlan.init(): " + ex); ex.printStackTrace(); } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/80d0d69a7a22f509ae7048dd06f1dd3b0050b33e/ALPPlan.java/buggy/core/src/org/cougaar/core/cluster/ALPPlan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 1208, 1435, 288, 565, 775, 288, 1377, 524, 84, 5365, 4710, 273, 394, 2200, 6663, 12, 2273, 4274, 52, 16, 394, 4826, 4710, 694, 12, 20227, 10019, 1377, 9129, 12, 287, 84, 5365, 4710, 1769, 1377, 364, 261, 3198, 21440, 273, 619, 22846, 18, 9838, 5621, 21440, 18, 5332, 2134, 5621, 262, 288, 3639, 1139, 5365, 827, 3324, 1013, 52, 5365, 619, 5365, 273, 261, 60, 5365, 827, 3324, 1013, 52, 5365, 13, 21440, 18, 4285, 5621, 3639, 619, 5365, 18, 8401, 15440, 12, 2211, 1769, 1377, 289, 1377, 444, 8367, 774, 12771, 5621, 1377, 364, 261, 3198, 425, 10672, 273, 9045, 14461, 87, 18, 9838, 5621, 425, 10672, 18, 5332, 2134, 5621, 15329, 3639, 16210, 20556, 2249, 293, 273, 261, 10862, 20556, 2249, 13, 425, 10672, 18, 4285, 5621, 3639, 775, 288, 1850, 293, 18, 2738, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 1850, 425, 18, 1188, 6332, 5621, 3639, 289, 1377, 289, 1377, 364, 261, 3198, 312, 10672, 273, 883, 14461, 87, 18, 9838, 5621, 312, 10672, 18, 5332, 2134, 5621, 15329, 3639, 2350, 20556, 2249, 293, 273, 261, 1079, 20556, 2249, 13, 312, 10672, 18, 4285, 5621, 3639, 775, 288, 1850, 293, 18, 2738, 5621, 3639, 289, 1044, 261, 503, 425, 13, 288, 1850, 425, 18, 1188, 6332, 5621, 3639, 289, 1377, 289, 565, 289, 565, 1044, 261, 503, 431, 13, 288, 1377, 2332, 18, 370, 18, 8222, 2932, 24512, 1520, 1323, 316, 7981, 52, 5365, 18, 2738, 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, 727, 918, 1208, 1435, 288, 565, 775, 288, 1377, 524, 84, 5365, 4710, 273, 394, 2200, 6663, 12, 2273, 4274, 52, 16, 394, 4826, 4710, 694, 12, 20227, 10019, 1377, 9129, 12, 287, 84, 5365, 4710, 1769, 1377, 364, 261, 3198, 21440, 273, 619, 22846, 18, 9838, 5621, 21440, 18, 5332, 2134, 5621, 262, 288, 3639, 1139, 5365, 827, 3324, 1013, 52, 5365, 619, 5365, 273, 261, 60, 5365, 827, 3324, 1013, 52, 5365, 13, 21440, 18, 4285, 5621, 3639, 619, 5365, 18, 8401, 15440, 12, 2211, 1769, 1377, 289, 1377, 444, 8367, 774, 12771, 5621, 1377, 364, 261, 3198, 425, 10672, 273, 9045, 14461, 87, 18, 9838, 5621, 425, 10672, 18, 5332, 2134, 5621, 15329, 3639, 2 ]
public org.quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { org.quickfix.field.UnderlyingIssuer value = new org.quickfix.field.UnderlyingIssuer();
public quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { quickfix.field.UnderlyingIssuer value = new quickfix.field.UnderlyingIssuer();
public org.quickfix.field.UnderlyingIssuer getUnderlyingIssuer() throws FieldNotFound { org.quickfix.field.UnderlyingIssuer value = new org.quickfix.field.UnderlyingIssuer(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/clean/src/java/src/quickfix/fix44/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16667, 10833, 765, 6291, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16667, 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, 14655, 6291, 16667, 10833, 765, 6291, 16667, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16667, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 16667, 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 ]
asm.emitLFS (F0, 0, SP); asm.emitLFS (F1, 4, SP); asm.emitFD (F2, F1, F0); asm.emitLFStoc(F3, VM_Entrypoints.halfFloatField.getOffset(), T0); asm.emitFNEG (F1, F3); asm.emitFSEL (F3, F2, F3, F1); asm.emitFS (F2, F2, F3); asm.emitLFDtoc(F3, VM_Entrypoints.IEEEmagicField.getOffset(), T0); asm.emitFA (F2, F2, F3); asm.emitFS (F2, F2, F3); asm.emitLFS (F1, 4, SP); asm.emitFNMS (F2, F2, F0, F1); asm.emitSTFSU (F2, 4, SP);
asm.emitLFS (F1, 0, SP); asm.emitLFS (F0, 4, SP); VM_MagicCompiler.generateSysCall(asm, 8, VM_Entrypoints.sysDoubleRemainderIPField); asm.emitSTFSU (F0, 4, SP);
protected final void emit_frem() { asm.emitLFS (F0, 0, SP); // F0 is b asm.emitLFS (F1, 4, SP); // F1 is a asm.emitFD (F2, F1, F0); // F2 is a/b asm.emitLFStoc(F3, VM_Entrypoints.halfFloatField.getOffset(), T0); // F3 is 0.5 asm.emitFNEG (F1, F3); // F1 is -0.5 asm.emitFSEL (F3, F2, F3, F1); // F3 is (a/b<0)?-0.5:0.5 asm.emitFS (F2, F2, F3); // F2 is a/b - (a/b<0)?-0.5:0.5 asm.emitLFDtoc(F3, VM_Entrypoints.IEEEmagicField.getOffset(), T0); // F3 is MAGIC asm.emitFA (F2, F2, F3); // F2 is MAGIC + a/b - (a/b<0)?-0.5:0.5 asm.emitFS (F2, F2, F3); // F2 is trunc(a/b) asm.emitLFS (F1, 4, SP); // F1 is a asm.emitFNMS (F2, F2, F0, F1); // F2 is a % b asm.emitSTFSU (F2, 4, SP); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/cf1c9162754b8c816e21412bc254b308f3119f84/VM_Compiler.java/clean/rvm/src/vm/arch/powerPC/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 74, 2764, 1435, 288, 565, 20415, 18, 18356, 48, 4931, 282, 261, 42, 20, 16, 225, 374, 16, 11405, 1769, 2868, 368, 478, 20, 353, 324, 565, 20415, 18, 18356, 48, 4931, 282, 261, 42, 21, 16, 225, 1059, 16, 11405, 1769, 2868, 368, 478, 21, 353, 279, 565, 20415, 18, 18356, 16894, 565, 261, 42, 22, 16, 478, 21, 16, 478, 20, 1769, 2868, 368, 478, 22, 353, 279, 19, 70, 565, 20415, 18, 18356, 9105, 510, 504, 12, 42, 23, 16, 8251, 67, 1622, 4139, 18, 20222, 4723, 974, 18, 588, 2335, 9334, 399, 20, 1769, 1377, 368, 478, 23, 353, 374, 18, 25, 565, 20415, 18, 18356, 42, 5407, 43, 225, 261, 42, 21, 16, 478, 23, 1769, 5375, 368, 478, 21, 353, 300, 20, 18, 25, 565, 20415, 18, 18356, 42, 1090, 48, 225, 261, 42, 23, 16, 478, 22, 16, 478, 23, 16, 478, 21, 1769, 1850, 368, 478, 23, 353, 261, 69, 19, 70, 32, 20, 9945, 17, 20, 18, 25, 30, 20, 18, 25, 565, 20415, 18, 18356, 4931, 565, 261, 42, 22, 16, 478, 22, 16, 478, 23, 1769, 2868, 368, 478, 22, 353, 279, 19, 70, 300, 261, 69, 19, 70, 32, 20, 9945, 17, 20, 18, 25, 30, 20, 18, 25, 565, 20415, 18, 18356, 9105, 40, 1391, 12, 42, 23, 16, 8251, 67, 1622, 4139, 18, 8732, 41, 1514, 346, 335, 974, 18, 588, 2335, 9334, 399, 20, 1769, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 3626, 67, 74, 2764, 1435, 288, 565, 20415, 18, 18356, 48, 4931, 282, 261, 42, 20, 16, 225, 374, 16, 11405, 1769, 2868, 368, 478, 20, 353, 324, 565, 20415, 18, 18356, 48, 4931, 282, 261, 42, 21, 16, 225, 1059, 16, 11405, 1769, 2868, 368, 478, 21, 353, 279, 565, 20415, 18, 18356, 16894, 565, 261, 42, 22, 16, 478, 21, 16, 478, 20, 1769, 2868, 368, 478, 22, 353, 279, 19, 70, 565, 20415, 18, 18356, 9105, 510, 504, 12, 42, 23, 16, 8251, 67, 1622, 4139, 18, 20222, 4723, 974, 18, 588, 2335, 9334, 399, 20, 1769, 1377, 368, 478, 23, 353, 374, 18, 25, 565, 20415, 18, 18356, 42, 5407, 43, 2 ]
VirtualFile iconVFile = ModuleUtil.findResourceFileInDependents(myModule, myValue.getIconPath());
VirtualFile iconVFile = ModuleUtil.findResourceFileInScope(myValue.getIconPath(), myModule.getProject(), myModule.getModuleWithDependenciesAndLibrariesScope(true));
public IconEditor() { myTextField.getTextField().setBorder(null); myTextField.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { final TreeClassChooserFactory factory = TreeClassChooserFactory.getInstance(myModule.getProject()); PsiFile iconFile = null; if (myValue != null) { VirtualFile iconVFile = ModuleUtil.findResourceFileInDependents(myModule, myValue.getIconPath()); if (iconVFile != null) { iconFile = PsiManager.getInstance(myModule.getProject()).findFile(iconVFile); } } TreeFileChooser fileChooser = factory.createFileChooser(UIDesignerBundle.message("title.choose.icon.file"), iconFile, null, new ImageFileFilter(myModule), false, true); fileChooser.showDialog(); PsiFile file = fileChooser.getSelectedFile(); if (file != null) { String resourceName = FormEditingUtil.buildResourceName(file); if (resourceName != null) { IconDescriptor descriptor = new IconDescriptor(resourceName); IntroIconProperty.loadIconFromFile(file.getVirtualFile(), descriptor); myValue = descriptor; myTextField.setText(descriptor.getIconPath()); } } } }); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/e2cc7d32f482867df1063eac7852937c4438f8d8/IconEditor.java/clean/ui-designer/impl/com/intellij/uiDesigner/propertyInspector/editors/IconEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 16011, 6946, 1435, 288, 565, 3399, 16157, 18, 588, 16157, 7675, 542, 8107, 12, 2011, 1769, 565, 3399, 16157, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 1377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 727, 4902, 797, 17324, 1733, 3272, 273, 4902, 797, 17324, 1733, 18, 588, 1442, 12, 4811, 3120, 18, 588, 4109, 10663, 3639, 453, 7722, 812, 4126, 812, 273, 446, 31, 3639, 309, 261, 4811, 620, 480, 446, 13, 288, 1850, 7269, 812, 4126, 58, 812, 273, 5924, 1304, 18, 4720, 1420, 812, 382, 3876, 12, 4811, 620, 18, 588, 5554, 743, 9334, 3399, 3120, 18, 588, 4109, 9334, 3399, 3120, 18, 588, 3120, 1190, 8053, 1876, 31909, 3876, 12, 3767, 10019, 1850, 309, 261, 3950, 58, 812, 480, 446, 13, 288, 5411, 4126, 812, 273, 453, 7722, 1318, 18, 588, 1442, 12, 4811, 3120, 18, 588, 4109, 1435, 2934, 4720, 812, 12, 3950, 58, 812, 1769, 1850, 289, 3639, 289, 3639, 4902, 812, 17324, 585, 17324, 273, 3272, 18, 2640, 812, 17324, 12, 3060, 281, 724, 264, 3405, 18, 2150, 2932, 2649, 18, 25777, 18, 3950, 18, 768, 6, 3631, 4126, 812, 16, 4766, 27573, 446, 16, 394, 3421, 29837, 12, 4811, 3120, 3631, 629, 16, 638, 1769, 3639, 585, 17324, 18, 4500, 6353, 5621, 3639, 453, 7722, 812, 585, 273, 585, 17324, 18, 588, 7416, 812, 5621, 3639, 309, 261, 768, 480, 446, 13, 288, 1850, 514, 9546, 273, 2748, 28029, 1304, 18, 3510, 19327, 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, 16011, 6946, 1435, 288, 565, 3399, 16157, 18, 588, 16157, 7675, 542, 8107, 12, 2011, 1769, 565, 3399, 16157, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 1377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 3639, 727, 4902, 797, 17324, 1733, 3272, 273, 4902, 797, 17324, 1733, 18, 588, 1442, 12, 4811, 3120, 18, 588, 4109, 10663, 3639, 453, 7722, 812, 4126, 812, 273, 446, 31, 3639, 309, 261, 4811, 620, 480, 446, 13, 288, 1850, 7269, 812, 4126, 58, 812, 273, 5924, 1304, 18, 4720, 1420, 812, 382, 3876, 12, 4811, 620, 18, 588, 5554, 743, 9334, 3399, 3120, 18, 588, 4109, 9334, 3399, 3120, 18, 588, 3120, 1190, 8053, 1876, 31909, 3876, 2 ]
"HttpConnection: close\n"+
"Connection: close\n"+
public void checkContentRange( TestListener listener, String tname, String path, String reqRanges, int expectedStatus, String expectedRange, String expectedData) { try { String response; int offset=0; String byteRangeHeader = ""; if (reqRanges != null) { byteRangeHeader = "Range: " + reqRanges + "\n"; } response=listener.getResponses("GET /" + path + " HTTP/1.1\n"+ "Host: localhost\n"+ byteRangeHeader + "HttpConnection: close\n"+ "\n"); switch (expectedStatus) { case 200 : { offset=checkContains(response,offset, "HTTP/1.1 200 OK\r\n", tname + ".1. proper 200 OK status code"); break; } case 206 : { offset=checkContains(response,offset, "HTTP/1.1 206 Partial Content\r\n", tname + ".1. proper 206 Partial Content status code"); break; } case 416 : { offset=checkContains(response,offset, "HTTP/1.1 416 Requested Range Not Satisfiable\r\n", tname + ".1. proper 416 Requested Range not Satisfiable status code"); break; } } if (expectedRange != null) { String expectedContentRange = "Content-Range: bytes " + expectedRange + "\r\n"; offset=checkContains(response,offset, expectedContentRange, tname + ".2. _content range " + expectedRange); } if (expectedStatus == 200 || expectedStatus == 206) { offset=checkContains(response,offset,expectedData,tname + ".3. subrange data: \"" + expectedData + "\""); } } catch(Exception e) { e.printStackTrace(); assertTrue(false); } }
13242 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13242/f3718aa49d0ef1482ec07d155b230c7300eddad3/RFC2616Test.java/clean/modules/jetty/src/test/java/org/mortbay/jetty/RFC2616Test.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 866, 1350, 2655, 12, 8227, 7766, 2223, 2991, 16, 5397, 514, 27829, 16, 5397, 514, 589, 16, 8227, 514, 1111, 9932, 16, 5397, 509, 2665, 1482, 16, 5397, 514, 2665, 2655, 16, 5397, 514, 2665, 751, 13, 377, 288, 3639, 775, 288, 5411, 514, 766, 31, 5411, 509, 1384, 33, 20, 31, 5411, 514, 1160, 2655, 1864, 273, 1408, 31, 5411, 309, 261, 3658, 9932, 480, 446, 13, 288, 1171, 1160, 2655, 1864, 273, 315, 2655, 30, 315, 397, 1111, 9932, 397, 1548, 82, 14432, 5411, 289, 5411, 766, 33, 12757, 18, 588, 12222, 2932, 3264, 342, 6, 397, 589, 397, 315, 2239, 19, 21, 18, 21, 64, 82, 6, 15, 4766, 565, 315, 2594, 30, 17365, 64, 82, 6, 15, 4766, 565, 1160, 2655, 1864, 397, 4766, 565, 315, 1952, 30, 1746, 64, 82, 6, 15, 4766, 565, 1548, 82, 8863, 13491, 1620, 261, 3825, 1482, 13, 288, 7734, 648, 4044, 294, 288, 15604, 1384, 33, 1893, 10846, 12, 2740, 16, 3348, 16, 21394, 315, 3693, 19, 21, 18, 21, 4044, 7791, 64, 86, 64, 82, 3113, 21394, 27829, 397, 3552, 21, 18, 5338, 4044, 7791, 1267, 981, 8863, 15604, 898, 31, 7734, 289, 7734, 648, 4200, 26, 294, 288, 15604, 1384, 33, 1893, 10846, 12, 2740, 16, 3348, 16, 21394, 315, 3693, 19, 21, 18, 21, 4200, 26, 19060, 3697, 64, 86, 64, 82, 3113, 21394, 27829, 397, 3552, 21, 18, 5338, 4200, 26, 19060, 3697, 1267, 981, 8863, 15604, 898, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 866, 1350, 2655, 12, 8227, 7766, 2223, 2991, 16, 5397, 514, 27829, 16, 5397, 514, 589, 16, 8227, 514, 1111, 9932, 16, 5397, 509, 2665, 1482, 16, 5397, 514, 2665, 2655, 16, 5397, 514, 2665, 751, 13, 377, 288, 3639, 775, 288, 5411, 514, 766, 31, 5411, 509, 1384, 33, 20, 31, 5411, 514, 1160, 2655, 1864, 273, 1408, 31, 5411, 309, 261, 3658, 9932, 480, 446, 13, 288, 1171, 1160, 2655, 1864, 273, 315, 2655, 30, 315, 397, 1111, 9932, 397, 1548, 82, 14432, 5411, 289, 5411, 766, 33, 12757, 18, 588, 12222, 2932, 3264, 342, 6, 397, 589, 397, 315, 2239, 19, 21, 18, 21, 64, 82, 6, 15, 4766, 565, 315, 2594, 30, 2 ]
handleSelect(e); }
handleSelect(e); }
public void widgetSelected(SelectionEvent e) { handleSelect(e); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/dc85f0b1334fe6aa79c5c32e8024d573af99e0d2/StructuredViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 7734, 1640, 3391, 12, 73, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 7734, 1640, 3391, 12, 73, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return Iterators.array(((ResolvedType) o).getDeclaredMethods());
return Iterators.array(((ResolvedType)o).getDeclaredMethods());
public Iterator get(Object o) { return Iterators.array(((ResolvedType) o).getDeclaredMethods()); }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/65c2eca9149bcdccfa09cf078b364d750b109933/ResolvedType.java/buggy/weaver/src/org/aspectj/weaver/ResolvedType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 4498, 336, 12, 921, 320, 13, 288, 7734, 327, 3016, 3062, 18, 1126, 12443, 12, 12793, 559, 13, 83, 2934, 588, 18888, 4712, 10663, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 4498, 336, 12, 921, 320, 13, 288, 7734, 327, 3016, 3062, 18, 1126, 12443, 12, 12793, 559, 13, 83, 2934, 588, 18888, 4712, 10663, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(uri == null) { return null; } if(prefix != null && prefix.equals(OMConstants.XMLNS_PREFIX) && uri.equals(OMConstants.XMLNS_URI)) { return new OMNamespaceImpl(uri, prefix); } if (namespaces == null) {
if (uri == null) {
private OMNamespace findDeclaredNamespace(String uri, String prefix) { if(uri == null) { return null; } //If the prefix is available and uri is available and its the xml namespace if(prefix != null && prefix.equals(OMConstants.XMLNS_PREFIX) && uri.equals(OMConstants.XMLNS_URI)) { return new OMNamespaceImpl(uri, prefix); } if (namespaces == null) { return null; } if (prefix == null || "".equals(prefix)) { Iterator namespaceListIterator = namespaces.values().iterator(); while (namespaceListIterator.hasNext()) { OMNamespace omNamespace = (OMNamespace) namespaceListIterator.next(); if (omNamespace.getName() != null && omNamespace.getName().equals(uri)) { return omNamespace; } } return null; } else { OMNamespace namespace = (OMNamespace) namespaces.get(prefix); if (namespace != null && uri.equalsIgnoreCase(namespace.getName())) { return namespace; } else { return null; } } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/b23c0c1d28d0eb29d28cbe488a84260c9d4f9fcf/OMElementImpl.java/buggy/modules/xml/src/org/apache/axis2/om/impl/llom/OMElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 28839, 3402, 1104, 18888, 3402, 12, 780, 2003, 16, 514, 1633, 13, 288, 2398, 202, 377, 202, 430, 12, 1650, 422, 446, 13, 288, 377, 202, 202, 2463, 446, 31, 377, 202, 97, 377, 202, 377, 202, 759, 2047, 326, 1633, 353, 2319, 471, 2003, 353, 2319, 471, 2097, 326, 2025, 1981, 377, 202, 430, 12, 3239, 480, 446, 597, 1633, 18, 14963, 12, 1872, 2918, 18, 4201, 3156, 67, 6307, 13, 597, 2003, 18, 14963, 12, 1872, 2918, 18, 4201, 3156, 67, 3098, 3719, 288, 377, 202, 202, 2463, 394, 28839, 3402, 2828, 12, 1650, 16, 1633, 1769, 377, 202, 97, 377, 202, 377, 202, 430, 261, 16078, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 202, 7734, 309, 261, 3239, 422, 446, 747, 1408, 18, 14963, 12, 3239, 3719, 288, 5411, 4498, 1981, 682, 3198, 273, 7728, 18, 2372, 7675, 9838, 5621, 5411, 1323, 261, 4937, 682, 3198, 18, 5332, 2134, 10756, 288, 7734, 28839, 3402, 8068, 3402, 273, 13491, 261, 1872, 3402, 13, 1981, 682, 3198, 18, 4285, 5621, 7734, 309, 261, 362, 3402, 18, 17994, 1435, 480, 446, 597, 13491, 8068, 3402, 18, 17994, 7675, 14963, 12, 1650, 3719, 288, 10792, 327, 8068, 3402, 31, 7734, 289, 5411, 289, 5411, 327, 446, 31, 3639, 289, 469, 288, 5411, 28839, 3402, 1981, 273, 261, 1872, 3402, 13, 7728, 18, 588, 12, 3239, 1769, 5411, 309, 261, 4937, 480, 446, 597, 2003, 18, 14963, 5556, 12, 4937, 18, 17994, 1435, 3719, 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, 28839, 3402, 1104, 18888, 3402, 12, 780, 2003, 16, 514, 1633, 13, 288, 2398, 202, 377, 202, 430, 12, 1650, 422, 446, 13, 288, 377, 202, 202, 2463, 446, 31, 377, 202, 97, 377, 202, 377, 202, 759, 2047, 326, 1633, 353, 2319, 471, 2003, 353, 2319, 471, 2097, 326, 2025, 1981, 377, 202, 430, 12, 3239, 480, 446, 597, 1633, 18, 14963, 12, 1872, 2918, 18, 4201, 3156, 67, 6307, 13, 597, 2003, 18, 14963, 12, 1872, 2918, 18, 4201, 3156, 67, 3098, 3719, 288, 377, 202, 202, 2463, 394, 28839, 3402, 2828, 12, 1650, 16, 1633, 1769, 377, 202, 97, 377, 202, 377, 202, 430, 261, 16078, 422, 446, 13, 288, 5411, 327, 446, 31, 2 ]
if (contents == null) contents = new ByteArrayInputStream(new byte[0]);
if (contents == null) { contents = new ByteArrayInputStream(new byte[0]); }
protected void createFile(IFile fileHandle, InputStream contents, IProgressMonitor monitor) throws CoreException { if (contents == null) contents = new ByteArrayInputStream(new byte[0]); try { // Create a new file resource in the workspace if (linkTargetPath != null) fileHandle.createLink(linkTargetPath, IResource.ALLOW_MISSING_LOCAL, monitor); else { IPath path = fileHandle.getFullPath(); IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); int numSegments= path.segmentCount(); if (numSegments > 2 && !root.getFolder(path.removeLastSegments(1)).exists()) { // If the direct parent of the path doesn't exist, try to create the // necessary directories. for (int i= numSegments - 2; i > 0; i--) { IFolder folder = root.getFolder(path.removeLastSegments(i)); if (!folder.exists()) { folder.create(false, true, monitor); } } } fileHandle.create(contents, false, monitor); } } catch (CoreException e) { // If the file already existed locally, just refresh to get contents if (e.getStatus().getCode() == IResourceStatus.PATH_OCCUPIED) fileHandle.refreshLocal(IResource.DEPTH_ZERO, null); else throw e; } if (monitor.isCanceled()) throw new OperationCanceledException(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardNewFileCreationPage.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 21266, 12, 45, 812, 26662, 16, 5037, 2939, 16, 5411, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 3639, 309, 261, 3980, 422, 446, 13, 5411, 2939, 273, 394, 16180, 12, 2704, 1160, 63, 20, 19226, 3639, 775, 288, 5411, 368, 1788, 279, 394, 585, 1058, 316, 326, 6003, 5411, 309, 261, 1232, 2326, 743, 480, 446, 13, 7734, 26662, 18, 2640, 2098, 12, 1232, 2326, 743, 16, 13491, 467, 1420, 18, 13511, 67, 19466, 67, 14922, 16, 6438, 1769, 5411, 469, 288, 7734, 467, 743, 589, 273, 26662, 18, 588, 24173, 5621, 7734, 467, 8241, 2375, 1365, 273, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 7734, 509, 818, 7946, 33, 589, 18, 9273, 1380, 5621, 7734, 309, 261, 2107, 7946, 405, 576, 597, 401, 3085, 18, 588, 3899, 12, 803, 18, 4479, 3024, 7946, 12, 21, 13, 2934, 1808, 10756, 288, 10792, 368, 971, 326, 2657, 982, 434, 326, 589, 3302, 1404, 1005, 16, 775, 358, 752, 326, 10792, 368, 4573, 6402, 18, 10792, 364, 261, 474, 277, 33, 818, 7946, 300, 576, 31, 277, 405, 374, 31, 277, 413, 13, 288, 13491, 467, 3899, 3009, 273, 1365, 18, 588, 3899, 12, 803, 18, 4479, 3024, 7946, 12, 77, 10019, 13491, 309, 16051, 5609, 18, 1808, 10756, 288, 18701, 3009, 18, 2640, 12, 5743, 16, 638, 16, 6438, 1769, 13491, 289, 10792, 289, 7734, 289, 7734, 26662, 18, 2640, 12, 3980, 16, 629, 16, 6438, 1769, 5411, 289, 3639, 289, 1044, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 21266, 12, 45, 812, 26662, 16, 5037, 2939, 16, 5411, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 3639, 309, 261, 3980, 422, 446, 13, 5411, 2939, 273, 394, 16180, 12, 2704, 1160, 63, 20, 19226, 3639, 775, 288, 5411, 368, 1788, 279, 394, 585, 1058, 316, 326, 6003, 5411, 309, 261, 1232, 2326, 743, 480, 446, 13, 7734, 26662, 18, 2640, 2098, 12, 1232, 2326, 743, 16, 13491, 467, 1420, 18, 13511, 67, 19466, 67, 14922, 16, 6438, 1769, 5411, 469, 288, 7734, 467, 743, 589, 273, 26662, 18, 588, 24173, 5621, 7734, 467, 8241, 2375, 1365, 273, 8128, 3773, 18, 588, 8241, 7675, 588, 2375, 5621, 7734, 509, 818, 7946, 33, 589, 18, 9273, 2 ]
private void populateLists( Series series ) { // Populate DataPoint Components List cmbComponentTypes.setItems( LiteralHelper.dataPointComponentTypeSet.getDisplayNames( ) ); cmbComponentTypes.select( 0 ); // Populate Current list of DataPointComponents this.lstComponents.setItems( getDataPointComponents( series.getDataPoint( ) ) ); String str = series.getDataPoint( ).getPrefix( ); this.txtPrefix.setText( ( str == null ) ? "" : str ); //$NON-NLS-1$ str = series.getDataPoint( ).getSuffix( ); this.txtSuffix.setText( ( str == null ) ? "" : str ); //$NON-NLS-1$ str = series.getDataPoint( ).getSeparator( ); this.txtSeparator.setText( ( str == null ) ? "" : str ); //$NON-NLS-1$ // Position int positionScope = ( getSeriesForProcessing( ) instanceof PieSeries || getSeriesForProcessing( ) instanceof BarSeries ) ? LabelAttributesComposite.ALLOW_INOUT_POSITION : ( LabelAttributesComposite.ALLOW_HORIZONTAL_POSITION | LabelAttributesComposite.ALLOW_VERTICAL_POSITION ); Position lpCurrent = getSeriesForProcessing( ).getLabelPosition( ); if ( positionScope == LabelAttributesComposite.ALLOW_ALL_POSITION ) { cmbPosition.setItems( LiteralHelper.fullPositionSet.getDisplayNames( ) ); if ( lpCurrent != null ) { if ( context.getModel( ) instanceof ChartWithAxes ) { cmbPosition.select( LiteralHelper.fullPositionSet.getSafeNameIndex( ChartUIUtil.getFlippedPosition( lpCurrent, isFlippedAxes( ) ) .getName( ) ) ); } else { cmbPosition.select( LiteralHelper.fullPositionSet.getSafeNameIndex( lpCurrent.getName( ) ) ); } } } else { // check vertical if ( ( positionScope & LabelAttributesComposite.ALLOW_VERTICAL_POSITION ) != 0 ) { if ( context.getModel( ) instanceof ChartWithAxes && isFlippedAxes( ) ) { String[] ns = LiteralHelper.horizontalPositionSet.getDisplayNames( ); for ( int i = 0; i < ns.length; i++ ) { cmbPosition.add( ns[i] ); } } else { String[] ns = LiteralHelper.verticalPositionSet.getDisplayNames( ); for ( int i = 0; i < ns.length; i++ ) { cmbPosition.add( ns[i] ); } } } // check horizontal if ( ( positionScope & LabelAttributesComposite.ALLOW_HORIZONTAL_POSITION ) != 0 ) { if ( context.getModel( ) instanceof ChartWithAxes && isFlippedAxes( ) ) { String[] ns = LiteralHelper.verticalPositionSet.getDisplayNames( ); for ( int i = 0; i < ns.length; i++ ) { cmbPosition.add( ns[i] ); } } else { String[] ns = LiteralHelper.horizontalPositionSet.getDisplayNames( ); for ( int i = 0; i < ns.length; i++ ) { cmbPosition.add( ns[i] ); } } } // check inout if ( ( positionScope & LabelAttributesComposite.ALLOW_INOUT_POSITION ) != 0 ) { if ( ( getSeriesForProcessing( ) instanceof BarSeries ) && ( getContext( ).getModel( ).getDimension( ) == ChartDimension.THREE_DIMENSIONAL_LITERAL ) ) { cmbPosition.add( LiteralHelper.inoutPositionSet.getDisplayNameByName( Position.OUTSIDE_LITERAL.getName( ) ) ); } else { String[] ns = LiteralHelper.inoutPositionSet.getDisplayNames( ); for ( int i = 0; i < ns.length; i++ ) { cmbPosition.add( ns[i] ); } } } if ( lpCurrent != null ) { String positionName = null; if ( context.getModel( ) instanceof ChartWithAxes ) { positionName = ChartUIUtil.getFlippedPosition( lpCurrent, isFlippedAxes( ) ).getName( ); } else { positionName = lpCurrent.getName( ); } for ( int i = 0; i < cmbPosition.getItemCount( ); i++ ) { if ( positionName.equals( LiteralHelper.fullPositionSet.getNameByDisplayName( cmbPosition.getItem( i ) ) ) ) { cmbPosition.select( i ); } } } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/93371f9edb7031999c819528b188b59e604dc2d9/SeriesLabelSheet.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/series/SeriesLabelSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 6490, 7432, 12, 9225, 4166, 262, 202, 95, 202, 202, 759, 22254, 1910, 2148, 25286, 987, 202, 202, 71, 1627, 1841, 2016, 18, 542, 3126, 12, 14392, 2276, 18, 892, 2148, 28116, 694, 18, 588, 4236, 1557, 12, 262, 11272, 202, 202, 71, 1627, 1841, 2016, 18, 4025, 12, 374, 11272, 202, 202, 759, 22254, 6562, 666, 434, 1910, 2148, 7171, 202, 202, 2211, 18, 16923, 7171, 18, 542, 3126, 12, 4303, 2148, 7171, 12, 4166, 18, 588, 751, 2148, 12, 262, 262, 11272, 202, 202, 780, 609, 273, 4166, 18, 588, 751, 2148, 12, 262, 18, 588, 2244, 12, 11272, 202, 202, 2211, 18, 5830, 2244, 18, 542, 1528, 12, 261, 609, 422, 446, 262, 692, 1408, 294, 609, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 701, 273, 4166, 18, 588, 751, 2148, 12, 262, 18, 588, 5791, 12, 11272, 202, 202, 2211, 18, 5830, 5791, 18, 542, 1528, 12, 261, 609, 422, 446, 262, 692, 1408, 294, 609, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 701, 273, 4166, 18, 588, 751, 2148, 12, 262, 18, 588, 6581, 12, 11272, 202, 202, 2211, 18, 5830, 6581, 18, 542, 1528, 12, 261, 609, 422, 446, 262, 692, 1408, 294, 609, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 11010, 202, 202, 474, 1754, 3876, 273, 261, 336, 6485, 1290, 7798, 12, 262, 1276, 453, 1385, 6485, 747, 336, 6485, 1290, 7798, 12, 262, 1276, 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, 6490, 7432, 12, 9225, 4166, 262, 202, 95, 202, 202, 759, 22254, 1910, 2148, 25286, 987, 202, 202, 71, 1627, 1841, 2016, 18, 542, 3126, 12, 14392, 2276, 18, 892, 2148, 28116, 694, 18, 588, 4236, 1557, 12, 262, 11272, 202, 202, 71, 1627, 1841, 2016, 18, 4025, 12, 374, 11272, 202, 202, 759, 22254, 6562, 666, 434, 1910, 2148, 7171, 202, 202, 2211, 18, 16923, 7171, 18, 542, 3126, 12, 4303, 2148, 7171, 12, 4166, 18, 588, 751, 2148, 12, 262, 262, 11272, 202, 202, 780, 609, 273, 4166, 18, 588, 751, 2148, 12, 262, 18, 588, 2244, 12, 11272, 202, 202, 2211, 18, 5830, 2244, 18, 542, 1528, 12, 261, 609, 422, 446, 2 ]
t = theDispatcher.add(t); pendingTimers.addPair(b, t);
synchronized (theDispatcher) { t = theDispatcher.add(t); pendingTimers.addPair(b, t); }
public void restartLater(Behaviour b, long millis) { if(millis == 0) return; Timer t = new Timer(System.currentTimeMillis() + millis, this); t = theDispatcher.add(t); pendingTimers.addPair(b, t); }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/750575a45aec46331d739e4213fa3f2af13d643d/Agent.java/buggy/src/jade/core/Agent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7870, 20607, 12, 19376, 477, 324, 16, 1525, 14833, 13, 288, 565, 309, 12, 81, 3503, 422, 374, 13, 1377, 327, 31, 565, 12290, 268, 273, 394, 12290, 12, 3163, 18, 2972, 28512, 1435, 397, 14833, 16, 333, 1769, 565, 268, 273, 326, 6681, 18, 1289, 12, 88, 1769, 565, 4634, 10178, 414, 18, 1289, 4154, 12, 70, 16, 268, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7870, 20607, 12, 19376, 477, 324, 16, 1525, 14833, 13, 288, 565, 309, 12, 81, 3503, 422, 374, 13, 1377, 327, 31, 565, 12290, 268, 273, 394, 12290, 12, 3163, 18, 2972, 28512, 1435, 397, 14833, 16, 333, 1769, 565, 268, 273, 326, 6681, 18, 1289, 12, 88, 1769, 565, 4634, 10178, 414, 18, 1289, 4154, 12, 70, 16, 268, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String name, String signature, String description, String[] signatures, Funk funk) { super(name, signature, description, signatures); this.funk = funk; }
String name, String signature, String description, String[] signatures, Funk funk) { super(name, signature, description, signatures); this.funk = funk; }
FunkResolver( String name, String signature, String description, String[] signatures, Funk funk) { super(name, signature, description, signatures); this.funk = funk; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/FunkResolver.java/buggy/src/main/mondrian/olap/fun/FunkResolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 42, 1683, 4301, 12, 1082, 202, 780, 508, 16, 514, 3372, 16, 514, 2477, 16, 1082, 202, 780, 8526, 14862, 16, 478, 1683, 284, 1683, 13, 288, 202, 202, 9565, 12, 529, 16, 3372, 16, 2477, 16, 14862, 1769, 202, 202, 2211, 18, 74, 1683, 273, 284, 1683, 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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, 16, 14862, 1769, 202, 202, 2211, 18, 74, 1683, 273, 284, 1683, 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 ]
availableSpace -= (insets == null) ? 0 : (insets.right + insets.left);
} if (numFilledComponents > 0) { availableWidth -= sumPreferredWidths; double weight = 1.0 / (double)numFilledComponents; int share = (int)(availableWidth * weight); int remaining = numFilledComponents; for (int i=0; i<parent.getComponentCount(); i++) { Component comp = parent.getComponent(i); Constraint c = constraints.get(comp); if (c != null && c.getResizeBehavior() == Constraint.ResizeBehavior.FILL) { if (remaining > 1) { preferredWidths[i] += share; availableWidth -= share; } else { preferredWidths[i] += availableWidth; } remaining--; } }
public void layoutContainer(Container parent) { int numFilledComponents = 0; Insets parentInsets = parent.getInsets(); int availableSpace = parent.getWidth() - parentInsets.left - parentInsets.right; for (Component comp : parent.getComponents()) { Constraint c = constraints.get(comp); if (c != null && c.getResizeBehavior() == Constraint.ResizeBehavior.FILL) { numFilledComponents++; } else if (c != null) { Insets insets = c.getInsets(); if (c != null) { availableSpace -= c.getFixedWidth(); } else { // HWC - Once this is computed, should it be stored so we don't recompute // it and change the position of items availableSpace -= comp.getPreferredSize().width; } availableSpace -= (insets == null) ? 0 : (insets.right + insets.left); } } availableSpace -= (parent.getComponents().length - 1) * getSeparatorWidth(); // figure the ratio of space for the FILLED components double weight = numFilledComponents > 0 ? 1.0 / (double)numFilledComponents : 0.0; // figure the position of the components int nextX = parentInsets.left; int height = parent.getHeight() - parentInsets.top - parentInsets.bottom; int width = 0; for (int i=0; i<parent.getComponentCount(); i++) { Component comp = parent.getComponent(i); Constraint c = constraints.get(comp); Constraint.ResizeBehavior rb = c == null ? null : c.getResizeBehavior(); Insets insets = c == null ? new Insets(0,0,0,0) : c.getInsets(); if (rb == Constraint.ResizeBehavior.FILL) { width = (int)(availableSpace * weight); } else { width = c == null ? comp.getPreferredSize().width : c.getFixedWidth(); } width -= (insets.left + insets.right); int x = nextX + insets.left; int y = parentInsets.top + insets.top; comp.setSize(width, height); comp.setLocation(x, y); nextX = x + width + insets.right; //If this is not the last component, add extra space //for the separator if (i < parent.getComponentCount() - 1) { nextX += getSeparatorWidth(); } } }
47551 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47551/7db404692a9fbde9c173fa9c731b0921b88e6fab/BasicStatusBarUI.java/buggy/src/java/org/jdesktop/swingx/plaf/basic/BasicStatusBarUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 3511, 2170, 12, 2170, 982, 13, 288, 7734, 509, 818, 29754, 7171, 273, 374, 31, 7734, 22300, 982, 382, 4424, 273, 982, 18, 588, 382, 4424, 5621, 7734, 509, 2319, 3819, 273, 982, 18, 588, 2384, 1435, 300, 982, 382, 4424, 18, 4482, 300, 982, 382, 4424, 18, 4083, 31, 7734, 364, 261, 1841, 1161, 294, 982, 18, 588, 7171, 10756, 288, 10792, 10770, 276, 273, 6237, 18, 588, 12, 2919, 1769, 10792, 309, 261, 71, 480, 446, 597, 276, 18, 588, 12182, 9212, 1435, 422, 10770, 18, 12182, 9212, 18, 29818, 13, 288, 13491, 818, 29754, 7171, 9904, 31, 10792, 289, 469, 309, 261, 71, 480, 446, 13, 288, 13491, 22300, 23576, 273, 276, 18, 588, 382, 4424, 5621, 13491, 309, 261, 71, 480, 446, 13, 288, 18701, 2319, 3819, 3947, 276, 18, 588, 7505, 2384, 5621, 13491, 289, 469, 288, 18701, 368, 670, 59, 39, 300, 12419, 333, 353, 8470, 16, 1410, 518, 506, 4041, 1427, 732, 2727, 1404, 30067, 18701, 368, 518, 471, 2549, 326, 1754, 434, 1516, 18701, 2319, 3819, 3947, 1161, 18, 588, 16028, 1225, 7675, 2819, 31, 13491, 289, 13491, 289, 225, 309, 261, 2107, 29754, 7171, 405, 374, 13, 288, 225, 2319, 2384, 3947, 2142, 16028, 22407, 31, 1645, 3119, 273, 404, 18, 20, 342, 261, 9056, 13, 2107, 29754, 7171, 31, 509, 7433, 273, 261, 474, 21433, 5699, 2384, 380, 3119, 1769, 509, 4463, 273, 818, 29754, 7171, 31, 364, 261, 474, 277, 33, 20, 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, 2398, 1071, 918, 3511, 2170, 12, 2170, 982, 13, 288, 7734, 509, 818, 29754, 7171, 273, 374, 31, 7734, 22300, 982, 382, 4424, 273, 982, 18, 588, 382, 4424, 5621, 7734, 509, 2319, 3819, 273, 982, 18, 588, 2384, 1435, 300, 982, 382, 4424, 18, 4482, 300, 982, 382, 4424, 18, 4083, 31, 7734, 364, 261, 1841, 1161, 294, 982, 18, 588, 7171, 10756, 288, 10792, 10770, 276, 273, 6237, 18, 588, 12, 2919, 1769, 10792, 309, 261, 71, 480, 446, 597, 276, 18, 588, 12182, 9212, 1435, 422, 10770, 18, 12182, 9212, 18, 29818, 13, 288, 13491, 818, 29754, 7171, 9904, 31, 10792, 289, 469, 309, 261, 71, 480, 446, 13, 288, 13491, 22300, 23576, 273, 276, 18, 2 ]
boolean isFound = false;
private boolean isContainTamplateElement( ) { boolean isFound = false; int slotCount = getDefn( ).getSlotCount( ); for ( int i = 0; i < slotCount; i++ ) { if ( isFound ) break; ContainerSlot contentSlot = getSlot( i ); Iterator iter = contentSlot.iterator( ); while ( iter.hasNext( ) ) { Object content = iter.next( ); if ( content instanceof TemplateElement ) isFound = true; else isFound = ( (DesignElement) content ) .isContainTamplateElement( ); } } return isFound; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/141d7dc75abe203cce67c632617120c4c56c8e5b/DesignElement.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 22928, 56, 301, 994, 1046, 12, 262, 202, 95, 202, 202, 6494, 353, 2043, 273, 629, 31, 202, 202, 474, 4694, 1380, 273, 336, 3262, 82, 12, 262, 18, 588, 8764, 1380, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 4694, 1380, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 2043, 262, 9506, 202, 8820, 31, 1082, 202, 2170, 8764, 913, 8764, 273, 17718, 352, 12, 277, 11272, 1082, 202, 3198, 1400, 273, 913, 8764, 18, 9838, 12, 11272, 1082, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 921, 913, 273, 1400, 18, 4285, 12, 11272, 9506, 202, 430, 261, 913, 1276, 5035, 1046, 262, 6862, 202, 291, 2043, 273, 638, 31, 9506, 202, 12107, 6862, 202, 291, 2043, 273, 261, 261, 15478, 1046, 13, 913, 262, 6862, 1082, 202, 18, 291, 22928, 56, 301, 994, 1046, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 353, 2043, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 22928, 56, 301, 994, 1046, 12, 262, 202, 95, 202, 202, 6494, 353, 2043, 273, 629, 31, 202, 202, 474, 4694, 1380, 273, 336, 3262, 82, 12, 262, 18, 588, 8764, 1380, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 4694, 1380, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 2043, 262, 9506, 202, 8820, 31, 1082, 202, 2170, 8764, 913, 8764, 273, 17718, 352, 12, 277, 11272, 1082, 202, 3198, 1400, 273, 913, 8764, 18, 9838, 12, 11272, 1082, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 921, 913, 273, 1400, 18, 4285, 12, 11272, 9506, 202, 2 ]
state = "RUNNABLE";
public synchronized void start() { if (vmThread != null || group == null) throw new IllegalThreadStateException(); state = "RUNNABLE"; VMThread.create(this, stacksize); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/c0bd460c3f791794340979c78055f70e63f4111b/Thread.java/buggy/java/lang/Thread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 787, 1435, 225, 288, 565, 309, 261, 3489, 3830, 480, 446, 747, 1041, 422, 446, 13, 202, 12849, 394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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3852, 918, 787, 1435, 225, 288, 565, 309, 261, 3489, 3830, 480, 446, 747, 1041, 422, 446, 13, 202, 12849, 394, 2141, 3830, 5060, 5621, 4202, 8251, 3830, 18, 2640, 12, 2211, 16, 2110, 1467, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
iVisited.accept(_Payload);
_Payload.visitOpAsgnOrNode(iVisited);
public void visitOpAsgnOrNode(OpAsgnOrNode iVisited) { iVisited.accept(_Payload); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/043fa4419ad506aa6f8843684eb8114b226fe4b5/DefaultIteratorVisitor.java/clean/org/jruby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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 3817, 37, 1055, 82, 1162, 907, 12, 3817, 37, 1055, 82, 1162, 907, 277, 30019, 13, 288, 202, 202, 77, 30019, 18, 9436, 24899, 6110, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else {
} else {
public void afterPropertiesSet() throws Exception { if (activationSpec == null) { throw new IllegalArgumentException("activationSpec must be set"); } ResourceAdapter temp = activationSpec.getResourceAdapter(); if (temp == null && resourceAdapter != null) { activationSpec.setResourceAdapter(resourceAdapter); } else if (resourceAdapter == null) { resourceAdapter = activationSpec.getResourceAdapter(); if (resourceAdapter == null) { throw new IllegalArgumentException("resourceAdapter property must be set on the activationSpec object"); } } if (bootstrapContext == null) { throw new IllegalArgumentException("bootstrapContext must be set"); } if (endpointFactory == null) { if (ref == null) { throw new IllegalArgumentException("either the endpointFactory or ref properties must be set"); } if (jtaTransactionManager != null) { endpointFactory = new DefaultEndpointFactory(beanFactory, ref, jtaTransactionManager, getName()); } else if (transactionManager != null) { endpointFactory = new DefaultEndpointFactory(beanFactory, ref, transactionManager, getName()); } else { // TODO should we have some way of finding a ManagedConnection or other local transaction hook? endpointFactory = new DefaultEndpointFactory(beanFactory, ref); } } log.info("Activating endpoint for activationSpec: " + activationSpec + " using endpointFactory: " + endpointFactory); resourceAdapter.endpointActivation(endpointFactory, activationSpec); }
3615 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3615/d92535077c813264dd1c5ff514d823f190c1a1ce/JCAConnector.java/clean/jencks/src/main/java/org/jencks/JCAConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1839, 2297, 694, 1435, 1216, 1185, 288, 3639, 309, 261, 16908, 1990, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 16908, 1990, 1297, 506, 444, 8863, 3639, 289, 3639, 2591, 4216, 1906, 273, 10027, 1990, 18, 588, 1420, 4216, 5621, 3639, 309, 261, 5814, 422, 446, 597, 1058, 4216, 480, 446, 13, 288, 5411, 10027, 1990, 18, 542, 1420, 4216, 12, 3146, 4216, 1769, 3639, 289, 3639, 469, 309, 261, 3146, 4216, 422, 446, 13, 288, 5411, 1058, 4216, 273, 10027, 1990, 18, 588, 1420, 4216, 5621, 5411, 309, 261, 3146, 4216, 422, 446, 13, 288, 7734, 604, 394, 2754, 2932, 3146, 4216, 1272, 1297, 506, 444, 603, 326, 10027, 1990, 733, 8863, 5411, 289, 3639, 289, 3639, 309, 261, 12722, 1042, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 12722, 1042, 1297, 506, 444, 8863, 3639, 289, 3639, 309, 261, 8003, 1733, 422, 446, 13, 288, 5411, 309, 261, 1734, 422, 446, 13, 288, 7734, 604, 394, 2754, 2932, 73, 2927, 326, 2494, 1733, 578, 1278, 1790, 1297, 506, 444, 8863, 5411, 289, 5411, 309, 261, 78, 2351, 3342, 1318, 480, 446, 13, 288, 7734, 2494, 1733, 273, 394, 2989, 3293, 1733, 12, 14496, 1733, 16, 1278, 16, 525, 2351, 3342, 1318, 16, 1723, 10663, 5411, 289, 469, 309, 261, 7958, 1318, 480, 446, 13, 288, 7734, 2494, 1733, 273, 394, 2989, 3293, 1733, 12, 14496, 1733, 16, 1278, 16, 2492, 1318, 16, 1723, 10663, 5411, 289, 5411, 469, 288, 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, 918, 1839, 2297, 694, 1435, 1216, 1185, 288, 3639, 309, 261, 16908, 1990, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 16908, 1990, 1297, 506, 444, 8863, 3639, 289, 3639, 2591, 4216, 1906, 273, 10027, 1990, 18, 588, 1420, 4216, 5621, 3639, 309, 261, 5814, 422, 446, 597, 1058, 4216, 480, 446, 13, 288, 5411, 10027, 1990, 18, 542, 1420, 4216, 12, 3146, 4216, 1769, 3639, 289, 3639, 469, 309, 261, 3146, 4216, 422, 446, 13, 288, 5411, 1058, 4216, 273, 10027, 1990, 18, 588, 1420, 4216, 5621, 5411, 309, 261, 3146, 4216, 422, 446, 13, 288, 7734, 604, 394, 2754, 2932, 3146, 4216, 1272, 1297, 506, 444, 603, 326, 10027, 1990, 733, 8863, 5411, 289, 2 ]
stringComparison.getPriority() >= NORMAL_PRIORITY) { stringComparison.setPriority( 1+stringComparison.getPriority()); }
stringComparison.getPriority() >= NORMAL_PRIORITY) { stringComparison.setPriority(1 + stringComparison.getPriority()); }
private void analyzeMethod(ClassContext classContext, Method method) throws CFGBuilderException, DataflowAnalysisException { boolean sawCallToEquals = false; JavaClass jclass = classContext.getJavaClass(); ConstantPoolGen cpg = classContext.getConstantPoolGen(); MethodGen methodGen = classContext.getMethodGen(method); // Report at most one String comparison per method. // We report the first highest priority warning. stringComparison = null; refComparison = null; CFG cfg = classContext.getCFG(method); DepthFirstSearch dfs = classContext.getDepthFirstSearch(method); ExceptionSetFactory exceptionSetFactory = classContext.getExceptionSetFactory(method); // Perform type analysis using our special type merger // (which handles String types specially, keeping track of // which ones appear to be dynamically created) RefComparisonTypeMerger typeMerger = new RefComparisonTypeMerger(bugReporter, exceptionSetFactory); TypeFrameModelingVisitor visitor = new RefComparisonTypeFrameModelingVisitor(methodGen.getConstantPool(), bugReporter); TypeAnalysis typeAnalysis = new TypeAnalysis(methodGen, cfg, dfs, typeMerger, visitor, bugReporter, exceptionSetFactory); TypeDataflow typeDataflow = new TypeDataflow(cfg, typeAnalysis); typeDataflow.execute(); for (Iterator<Location> i = cfg.locationIterator(); i.hasNext(); ) { Location location = i.next(); Instruction ins = location.getHandle().getInstruction(); short opcode = ins.getOpcode(); if (opcode == Constants.IF_ACMPEQ || opcode == Constants.IF_ACMPNE) { checkRefComparison(location, jclass, methodGen, typeDataflow); } else if (invokeInstanceSet.get(opcode)) { InvokeInstruction inv = (InvokeInstruction) ins; String methodName = inv.getMethodName(cpg); String methodSig = inv.getSignature(cpg); if ((methodName.equals("equals") && methodSig.equals("(Ljava/lang/Object;)Z")) || (methodName.equals("equalIgnoreCases") && methodSig.equals("(Ljava/lang/String;)Z"))) { sawCallToEquals = true; checkEqualsComparison(location, jclass, methodGen, typeDataflow); } } } // If a String reference comparison was found in the method, // report it if (stringComparison != null) { if (sawCallToEquals && stringComparison.getPriority() >= NORMAL_PRIORITY) { // System.out.println("Reducing priority of " + stringComparison); stringComparison.setPriority( 1+stringComparison.getPriority()); } if (stringComparison.getPriority() >= NORMAL_PRIORITY && !(method.isPublic() || method.isProtected())) { // System.out.print("private/packed"); stringComparison.setPriority( 1+stringComparison.getPriority()); } if (stringComparison.getPriority() <= LOW_PRIORITY) { bugReporter.reportBug(stringComparison); } } if (refComparison != null) { if (false && sawCallToEquals) { // System.out.println("Reducing priority of " + refComparison); refComparison.setPriority( 1+refComparison.getPriority()); } if (refComparison.getPriority() <= LOW_PRIORITY) bugReporter.reportBug(refComparison); } }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/FindRefComparison.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindRefComparison.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12375, 1305, 12, 797, 1042, 667, 1042, 16, 2985, 707, 13, 202, 202, 15069, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 202, 202, 6494, 19821, 1477, 774, 8867, 273, 629, 31, 202, 202, 5852, 797, 525, 1106, 273, 667, 1042, 18, 588, 5852, 797, 5621, 202, 202, 6902, 2864, 7642, 3283, 75, 273, 667, 1042, 18, 588, 6902, 2864, 7642, 5621, 202, 202, 1305, 7642, 707, 7642, 273, 667, 1042, 18, 588, 1305, 7642, 12, 2039, 1769, 202, 202, 759, 8706, 622, 4486, 1245, 514, 5826, 1534, 707, 18, 202, 202, 759, 1660, 2605, 326, 1122, 9742, 4394, 3436, 18, 202, 202, 1080, 16059, 273, 446, 31, 202, 202, 1734, 16059, 273, 446, 31, 202, 202, 19727, 2776, 273, 667, 1042, 18, 588, 19727, 12, 2039, 1769, 202, 202, 6148, 3759, 2979, 13868, 273, 667, 1042, 18, 588, 6148, 3759, 2979, 12, 2039, 1769, 202, 202, 503, 694, 1733, 1520, 694, 1733, 273, 1082, 202, 1106, 1042, 18, 588, 503, 694, 1733, 12, 2039, 1769, 202, 202, 759, 11217, 618, 6285, 1450, 3134, 4582, 618, 4045, 693, 202, 202, 759, 261, 12784, 7372, 514, 1953, 857, 6261, 16, 19966, 3298, 434, 202, 202, 759, 1492, 5945, 9788, 358, 506, 18373, 2522, 13, 202, 202, 1957, 16059, 559, 8478, 693, 618, 8478, 693, 273, 1082, 202, 2704, 3941, 16059, 559, 8478, 693, 12, 925, 13289, 16, 1520, 694, 1733, 1769, 202, 202, 559, 3219, 1488, 310, 7413, 8000, 273, 1082, 202, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12375, 1305, 12, 797, 1042, 667, 1042, 16, 2985, 707, 13, 202, 202, 15069, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 202, 202, 6494, 19821, 1477, 774, 8867, 273, 629, 31, 202, 202, 5852, 797, 525, 1106, 273, 667, 1042, 18, 588, 5852, 797, 5621, 202, 202, 6902, 2864, 7642, 3283, 75, 273, 667, 1042, 18, 588, 6902, 2864, 7642, 5621, 202, 202, 1305, 7642, 707, 7642, 273, 667, 1042, 18, 588, 1305, 7642, 12, 2039, 1769, 202, 202, 759, 8706, 622, 4486, 1245, 514, 5826, 1534, 707, 18, 202, 202, 759, 1660, 2605, 326, 1122, 9742, 4394, 3436, 18, 202, 202, 1080, 16059, 273, 446, 31, 202, 202, 1734, 16059, 273, 446, 2 ]
tpe = Type.compoundType(parents, new Scope(), clazz);
if (ctClass == null) { tpe = Type.compoundTypeWithOwner(ctOwner, parents, new Scope()); entries[ctClassRef] = tpe.symbol(); } else { tpe = Type.compoundType(parents, new Scope(), ctClass); }
Type getType(int n, Symbol owner) { Type tpe = (Type)entries[n]; if (tpe == null) { int savedBp = bp; bp = index[n]; int tag = bytes[bp++]; int end = readNat() + bp; switch (tag) { case NOtpe: tpe = Type.NoType; break; case NOpre: tpe = Type.NoPrefix; break; case THIStpe: Symbol sym = readSymbolRef(); tpe = (sym.kind == NONE) ? Type.NoPrefix : Type.ThisType(sym); // !!! code above is usefull for the transition // !!! after some time, replace it by the following line: // !!! tpe = Type.ThisType(readSymbolRef()); break; case SINGLEtpe: Type prefix = readTypeRef(owner); Symbol symbol = readSymbolRef(); tpe = symbol.isRoot() ? symbol.thisType() : Type.singleType(prefix, symbol); // !!! code above is usefull for the transition // !!! after some time, replace it by the following line: // !!! tpe = Type.singleType(readTypeRef(), readSymbolRef()); break; case CONSTANTtpe: Type base = readTypeRef(owner); AConstant value = readConstantRef(); tpe = new Type.ConstantType(base, value); break; case TYPEREFtpe: tpe = Type.newTypeRefUnsafe( // !!! readTypeRef(owner), readSymbolRef(), readTypeRefs(end, owner)); break; case COMPOUNDtpe: Symbol clazz = readSymbolRef(); Type[] parents = readTypeRefs(end, owner); tpe = Type.compoundType(parents, new Scope(), clazz); break; case METHODtpe: Type restype = readTypeRef(owner); int bp1 = bp; Type[] argtypes = readTypeRefs(end, owner); int[] flags = new int[argtypes.length]; bp = bp1; readFlags(flags); Symbol[] params = new Symbol[argtypes.length]; for (int i = 0; i < argtypes.length; i++) { Name name = Name.fromString("$" + i); params[i] = owner.newVParam( Position.NOPOS, flags[i], name, argtypes[i]); } tpe = Type.MethodType(params, restype); break; case POLYtpe: Type restype = readTypeRef(owner); tpe = Type.PolyType(readSymbolRefs(end), restype); break; case OVERLOADEDtpe: int bp0 = bp; Symbol[] alts = readSymbolRefs(end); int bp1 = bp; Type[] alttypes = readTypeRefs(end, alts); assert alts.length == alttypes.length : alts.length + "!=" + alttypes.length + " at " + bp0 + "/" + bp1 + "/" + bp; tpe = Type.OverloadedType(alts, alttypes); break; case FLAGGEDtpe: readNat(); // skip flags tpe = readTypeRef(owner); break; default: throw new BadSignature(this); } if (tag != METHODtpe) entries[n] = tpe; bp = savedBp; } return tpe; }
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/dea91c4e75061cc29d654913a9dc45b7a5c153d1/UnPickle.java/clean/sources/scalac/symtab/classfile/UnPickle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1412, 3130, 12, 474, 290, 16, 8565, 3410, 13, 288, 3639, 1412, 268, 347, 273, 261, 559, 13, 8219, 63, 82, 15533, 202, 430, 261, 88, 347, 422, 446, 13, 288, 202, 565, 509, 5198, 38, 84, 273, 9107, 31, 202, 565, 9107, 273, 770, 63, 82, 15533, 202, 565, 509, 1047, 273, 1731, 63, 17152, 9904, 15533, 202, 565, 509, 679, 273, 855, 23779, 1435, 397, 9107, 31, 202, 565, 1620, 261, 2692, 13, 288, 202, 565, 648, 3741, 88, 347, 30, 202, 202, 88, 347, 273, 1412, 18, 2279, 559, 31, 202, 202, 8820, 31, 202, 565, 648, 3741, 1484, 30, 202, 202, 88, 347, 273, 1412, 18, 2279, 2244, 31, 202, 202, 8820, 31, 202, 565, 648, 7662, 45, 510, 347, 30, 202, 202, 5335, 5382, 273, 855, 5335, 1957, 5621, 202, 202, 88, 347, 273, 261, 8117, 18, 9224, 422, 11829, 13, 692, 1412, 18, 2279, 2244, 294, 1412, 18, 2503, 559, 12, 8117, 1769, 7734, 368, 401, 8548, 981, 5721, 353, 999, 2854, 364, 326, 6007, 7734, 368, 401, 8548, 1839, 2690, 813, 16, 1453, 518, 635, 326, 3751, 980, 30, 202, 202, 759, 401, 8548, 268, 347, 273, 1412, 18, 2503, 559, 12, 896, 5335, 1957, 10663, 202, 202, 8820, 31, 202, 565, 648, 15915, 88, 347, 30, 7734, 1412, 1633, 273, 855, 25950, 12, 8443, 1769, 7734, 8565, 3273, 273, 855, 5335, 1957, 5621, 202, 202, 88, 347, 273, 3273, 18, 291, 2375, 1435, 692, 3273, 18, 2211, 559, 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, 1412, 3130, 12, 474, 290, 16, 8565, 3410, 13, 288, 3639, 1412, 268, 347, 273, 261, 559, 13, 8219, 63, 82, 15533, 202, 430, 261, 88, 347, 422, 446, 13, 288, 202, 565, 509, 5198, 38, 84, 273, 9107, 31, 202, 565, 9107, 273, 770, 63, 82, 15533, 202, 565, 509, 1047, 273, 1731, 63, 17152, 9904, 15533, 202, 565, 509, 679, 273, 855, 23779, 1435, 397, 9107, 31, 202, 565, 1620, 261, 2692, 13, 288, 202, 565, 648, 3741, 88, 347, 30, 202, 202, 88, 347, 273, 1412, 18, 2279, 559, 31, 202, 202, 8820, 31, 202, 565, 648, 3741, 1484, 30, 202, 202, 88, 347, 273, 1412, 18, 2279, 2244, 31, 202, 202, 8820, 31, 202, 2 ]
String[] docTypesToShow = null;
int[] docTypesToShow = null;
protected void doPost( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface(); String eMailServerMaster = Utility.getDomainPref( "servermaster_email" ); // lets get ready for errors // Lets check if the user is an admin, otherwise throw him out. UserDomainObject user = Utility.getLoggedOnUser( request ); if ( !user.isSuperAdmin() ) { String header = "Error in AdminListDocs. "; Properties langproperties = imcref.getLanguageProperties( user ); String msg = langproperties.getProperty("error/servlet/global/no_administrator") + "<br>"; this.log( header + "- user is not an administrator" ); new AdminError( request, response, header, msg ); return; } // *************** RETURN TO ADMINMANAGER ***************** if ( request.getParameter( "CANCEL" ) != null ) { response.sendRedirect( "AdminManager" ); return; } // *************** RETURN TO ADMIN ROLES ***************** if ( request.getParameter( "LISTDOC_LIST" ) != null ) { boolean noErrors = true; String parseTemplate = null; String[] docTypesToShow = null; /* * 0 = startDate to endDate * 1 = all * 2 = all upp to endDate * 3 = all down to startDate */ String[] docTypes = request.getParameterValues( "DOC_TYPES" ); /* * 0 = all date !not in use * 1 = create date * 2 = modified date */ String listMod = request.getParameter( "LISTMOD" ); String startDate = request.getParameter( "START_DATE" ); String endDate = request.getParameter( "END_DATE" ); /* lets see if any errors in requared fields or if some is missing */ try { if ( listMod != null ) { int mod = Integer.parseInt( listMod ); if ( !( mod == 1 || mod == 2 ) ) { noErrors = false; } else { // lets set htmlTemplate (create or modified ) switch ( mod ) { case ( 1 ): parseTemplate = TEMPLATE_LISTDOC_LIST_CREATED; break; default: parseTemplate = TEMPLATE_LISTDOC_LIST_MODIFIED; break; } } } else { noErrors = false; } if ( docTypes != null ) { docTypesToShow = docTypes; for ( int i = 0; i < docTypes.length; i++ ) { int testVar = Integer.parseInt( docTypes[i] ); // if all doctypes choosen then lets get all doctypes if ( testVar == 0 ) { docTypesToShow = imcref.sqlProcedure( "ListDocsGetInternalDocTypesValue", new String[0] ); } } } else { noErrors = false; } } catch ( NumberFormatException e ) { noErrors = false; } if ( startDate != null ) { if ( startDate.length() > 0 ) { if ( !isDateInRightFormat( startDate ) ) { noErrors = false; } } else { startDate = "0"; // Stored Procedure expects 0 then no startDate } } else { noErrors = false; // no startDate field submited } if ( endDate != null ) { if ( endDate.length() > 0 ) { if ( !isDateInRightFormat( endDate ) ) { noErrors = false; } } else { endDate = "0"; // Stored Procedure expects 0 then no endDate } } else { noErrors = false; // no endDate field submited } // lets generate response page if ( noErrors ) { //lets get htmltemplate for tablerow String htmlListElement = imcref.getAdminTemplate( TEMPLATE_LISTDOC_LIST_ELEMENT, user, null ); String[] tagData = { "#META_ID#", null, "#DOC_TYPE#", null, "#HEADER#", null, "#DATE#", null, }; StringBuffer listOfDocs = new StringBuffer(); String languagePrefix = user.getLanguageIso639_2(); for ( int i = 0; i < docTypesToShow.length; i++ ) { String[][] queryResult = imcref.sqlProcedureMulti( "ListDocsByDate", new String[]{listMod, docTypesToShow[i], startDate, endDate, languagePrefix} ); for ( int j = 0; j < queryResult.length; j++ ) { tagData[1] = queryResult[j][0]; tagData[3] = queryResult[j][1]; tagData[5] = queryResult[j][2]; tagData[7] = queryResult[j][3]; listOfDocs.append( Parser.parseDoc( htmlListElement, tagData ) ); } } String selectedDocTypesName = getSelectedDocTypeNames( imcref, docTypes, languagePrefix ); //Lets generate the html page VariableManager vm = new VariableManager(); vm.addProperty( "LIST_DOCUMENT", listOfDocs.toString() ); vm.addProperty( "selectedDocTypes", selectedDocTypesName ); vm.addProperty( "selectedStartDate", startDate ); vm.addProperty( "selectedEndDate", endDate ); this.sendHtml( request, response, vm, parseTemplate ); } else { sendErrorMessage( imcref, eMailServerMaster, user, ERROR_HEADER, 10, response ); } } }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/63ebbdcc5a9ba9bfff5ce5c67e7929dc217afd56/AdminListDocs.java/buggy/server/src/com/imcode/imcms/servlet/superadmin/AdminListDocs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3349, 12, 9984, 590, 16, 12446, 766, 262, 5411, 1216, 16517, 16, 1860, 288, 3639, 6246, 39, 18348, 709, 71, 1734, 273, 4257, 2081, 18, 588, 3445, 39, 18348, 5621, 3639, 514, 425, 6759, 2081, 7786, 273, 13134, 18, 588, 3748, 23218, 12, 315, 3567, 7525, 67, 3652, 6, 11272, 3639, 368, 14557, 336, 5695, 364, 1334, 3639, 368, 511, 2413, 866, 309, 326, 729, 353, 392, 3981, 16, 3541, 604, 366, 381, 596, 18, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 590, 11272, 3639, 309, 261, 401, 1355, 18, 291, 8051, 4446, 1435, 262, 288, 5411, 514, 1446, 273, 315, 668, 316, 7807, 682, 12656, 18, 13636, 5411, 6183, 3303, 4738, 273, 709, 71, 1734, 18, 588, 3779, 2297, 12, 729, 11272, 5411, 514, 1234, 273, 3303, 4738, 18, 588, 1396, 2932, 1636, 19, 23231, 19, 6347, 19, 2135, 67, 3666, 14207, 7923, 397, 3532, 2848, 2984, 31, 5411, 333, 18, 1330, 12, 1446, 397, 3701, 729, 353, 486, 392, 22330, 6, 11272, 5411, 394, 7807, 668, 12, 590, 16, 766, 16, 1446, 16, 1234, 11272, 5411, 327, 31, 3639, 289, 3639, 368, 380, 1644, 11345, 14780, 8493, 25969, 19402, 380, 2751, 3639, 309, 261, 590, 18, 588, 1662, 12, 315, 25268, 6, 262, 480, 446, 262, 288, 5411, 766, 18, 4661, 5961, 12, 315, 4446, 1318, 6, 11272, 5411, 327, 31, 3639, 289, 3639, 368, 380, 1644, 11345, 14780, 8493, 25969, 6525, 11386, 380, 2751, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3349, 12, 9984, 590, 16, 12446, 766, 262, 5411, 1216, 16517, 16, 1860, 288, 3639, 6246, 39, 18348, 709, 71, 1734, 273, 4257, 2081, 18, 588, 3445, 39, 18348, 5621, 3639, 514, 425, 6759, 2081, 7786, 273, 13134, 18, 588, 3748, 23218, 12, 315, 3567, 7525, 67, 3652, 6, 11272, 3639, 368, 14557, 336, 5695, 364, 1334, 3639, 368, 511, 2413, 866, 309, 326, 729, 353, 392, 3981, 16, 3541, 604, 366, 381, 596, 18, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 590, 11272, 3639, 309, 261, 401, 1355, 18, 291, 8051, 4446, 1435, 262, 288, 5411, 514, 1446, 273, 315, 668, 316, 7807, 682, 12656, 18, 13636, 5411, 2 ]
"c: 2 d: 6;c: 1 d: 3;");
"c: 1 d: 3;c: 2 d: 6;");
public static void main(String[] args) { // gnu.expr.ModuleExp.dumpZipPrefix = "kawa-zip-dump-"; // gnu.expr.ModuleExp.debugPrintExpr = true; // Compilation.debugPrintFinalExpr = true; evalTest("3.5+1", "4.5"); evalTest("3.5+1 ,4*2.5", "4.5 10.0"); evalTest("3<5", "true"); evalTest("let $x:=3+4 return $x", "7"); evalTest("let $x:=3+4 return <a>{$x}</a>", "<a>7</a>"); // We resolve $request and $response to servlet request/response, // but only when they're not lexially bound. evalTest("let $request:=2, $response:=3 return ($request+$response)", "5"); evalTest("some $x in (1, 2, 3), $y in (2, 3, 4)" + " satisfies $x + $y = 4", "true"); evalTest("every $x in (1, 2, 3), $y in (2, 3, 4)" + " satisfies $x + $y = 4", "false"); evalTest("every $x in (11, 12, 13), $y in (2, 3, 4)" + " satisfies $x > $y", "true"); evalTest("for $y in (4,5,2+4) return <b>{10+$y}</b>", "<b>14</b><b>15</b><b>16</b>"); evalTest("for $i in (1 to 10) where ($i mod 2)=1 return 20+$i", "21 23 25 27 29"); evalTest("for $car at $i in ('Ford', 'Chevy')," + "$pet at $j in ('Cat', 'Dog') " + "return ($i, '/', $car, '/', $j, '/', $pet, ';')", "1/Ford/1/Cat;1/Ford/2/Dog;2/Chevy/1/Cat;2/Chevy/2/Dog;"); evalTest("(3,4,5)[3]", "5"); evalTest("1,((2,3)[false()]),5", "1 5"); evalTest("1,((2 to 4)[true()]),5", "1 2 3 4 5"); evalTest("(for $y in (5,4) return <b>{10+$y}</b>)[2]", "<b>14</b>"); evalTest("for $a in (<a><b c='1' d='3'/><b c='2' d='6'/></a>)/b/@c" + " return concat('c: ', $a, ' d: ', $a/../@d, ';')", "c: 2 d: 6;c: 1 d: 3;"); String tabNsNodes = " xmlns:h=\"H\" xmlns:j=\"J\" xmlns:k=\"J\""; evalTest("doc('tab.xml')/result", "<result"+tabNsNodes+">\n" + "<row>\n" + "<fld1>a1</fld1>\n" + "<fld2 align=\"right\">12</fld2>\n" + "</row>\n" + "<row>\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>\n" + "<h:row>\n" + "<j:fld1>c1</j:fld1>\n" + "<h:fld2>33</h:fld2>\n" + "<j:fld3>44</j:fld3>\n" + "<k:fld1>c2</k:fld1>\n" + "</h:row>\n" + "</result>"); evalTest("doc('tab.xml')/result/row/fld2", "<fld2"+tabNsNodes+" align=\"right\">12</fld2>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("doc('tab.xml')/result/row[fld2]", "<row"+tabNsNodes+">\n" + "<fld1>a1</fld1>\n" + "<fld2 align=\"right\">12</fld2>\n</row>" + "<row"+tabNsNodes+">\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>"); evalTest("doc('tab.xml')/result/row/*", "<fld1"+tabNsNodes+">a1</fld1><fld2"+tabNsNodes+" align=\"right\">12</fld2><fld1"+tabNsNodes+" align=\"left\">b1</fld1><fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("doc('tab.xml')/result/row[2]", "<row"+tabNsNodes+">\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>"); evalTest("for $x in doc('tab.xml')/result/row[2]/node()" + " return ('[',$x,']')", "[\n][<fld1"+tabNsNodes+" align=\"left\">b1</fld1>][\n" + "][<fld2"+tabNsNodes+" align=\"right\">22</fld2>][\n]"); evalTest("for $x in doc('tab.xml')/result/row[2]/text()" + " return ('[',$x,']')", "[\n][\n][\n]"); evalTest("for $x in doc('tab.xml')/result/row[2]//text()" + " return ('[',$x,']')", "[\n][b1][\n][22][\n]"); evalTest("doc('tab.xml')/result/row/*[2]", "<fld2"+tabNsNodes+" align=\"right\">12</fld2>" + "<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("for $x in <T>r1<fld1>a1</fld1><fld3/>r2<fld2>12</fld2></T>" + " /node()" + " return ('[',$x,']')", "[r1][<fld1>a1</fld1>][<fld3 />][r2][<fld2>12</fld2>]"); evalTest("(doc('tab.xml')/result/row/*)[2]", "<fld2"+tabNsNodes+" align=\"right\">12</fld2>"); evalTest("(doc('tab.xml')/result/row/*)[2 to 3]", "<fld2"+tabNsNodes+" align=\"right\">12</fld2>" +" <fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("(doc('tab.xml')/result/row/*)[position()>1]", "<fld2"+tabNsNodes+" align=\"right\">12</fld2>" +"<fld1"+tabNsNodes+" align=\"left\">b1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("(doc('tab.xml')/result/row/*)[position()>1][2]", "<fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("doc('tab.xml')/result/row/(fld2,fld1)", "<fld1"+tabNsNodes+">a1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\">12</fld2>" +"<fld1"+tabNsNodes+" align=\"left\">b1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("string-value(doc('tab.xml'))", "\n\na1\n12\n\n\nb1\n22\n\n\nc1\n33\n44\nc2\n\n\n"); evalTest("string(doc('tab.xml'))", "\n\na1\n12\n\n\nb1\n22\n\n\nc1\n33\n44\nc2\n\n\n"); evalTest("string(doc('tab.xml')/result/row/fld1/@align)", "left"); evalTest("string(doc('tab.xml')/result/row/fld2/@align)", "rightright"); evalTest("for $x in children(<a>xy{3+4}kl<c>def</c>{9}{11}</a>)" + " return ('[',$x,']')", "[xy 7 kl][<c>def</c>][9 11]"); evalTest("children(<a>xy{3+4}kl<c>def</c>{9}{11}</a>)", "xy 7 kl<c>def</c>9 11"); evalTest("<a>aab</a> ='aab'", "true"); evalTest("<a>abc</a>='abb'", "false"); evalTest("string(<a>{'aa''bb&#88;cc&#x5a;dd'}</a>)", "aa'bbXccZdd"); evalTest("doc('tab.xml')/result/row[fld1]", "<row"+tabNsNodes+">\n" + "<fld1>a1</fld1>\n" + "<fld2 align=\"right\">12</fld2>\n</row>" + "<row"+tabNsNodes+">\n" + "<fld1 align=\"left\">b1</fld1>\n" + "<fld2 align=\"right\">22</fld2>\n" + "</row>"); evalTest("doc('tab.xml')/result/row[fld3]", ""); evalTest("doc('tab.xml')/result/row/fld1[@align]", "<fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("doc('tab.xml')/result/row/fld2[@align]", "<fld2"+tabNsNodes+" align=\"right\">12</fld2>" +"<fld2"+tabNsNodes+" align=\"right\">22</fld2>"); evalTest("'a',doc('tab.xml')/result/row/fld1[@align='left']", "a<fld1"+tabNsNodes+" align=\"left\">b1</fld1>"); evalTest("'a',doc('tab.xml')/result/row/fld1[@align='right']", "a"); evalTest("let $x:=12,\n" + " $y:=<a>{$x+$x}</a>\n" + " return <b atr1='11' atr2=\"{$x}\">{($y,99,$y)}</b>", "<b atr1=\"11\" atr2=\"12\"><a>24</a>99<a>24</a></b>"); evalTest("let $el := 'elm' return " + "document{element {$el} {attribute at{\"abc\"}, \"data\"}}/elm", "<elm at=\"abc\">data</elm>"); evalTest("let $a := <a at1='val1'><b/><c/></a>," + " $b0 := <b/>," + " $b := $a/b return" + " ($a is $a, $a << $b, $b >> $b," + " $a isnot $b, $b, $b0, $b is $b0)", "true true false true <b /> <b /> false"); evalTest("let $a := <a at1='val1'><b/><c/></a>," + " $b := $a/b, $c := $a/c return" + " for $n in distinct-nodes(($c, $a/@at1, $a, $c, $b, $b, $c))" + " return ('[', $n, ']')", "[<a at1=\"val1\"><b /><c /></a>][ at1=\"val1\"][<b />][<c />]"); // Boundary whitsapce (xmlspace) tests: evalTest("declare xmlspace preserve;\n" + "for $n in (<a> <b/> {' x '} </a>)/node() return ($n,';')", " ;<b/>; x ;"); evalTest("declare xmlspace skip;\n" + "for $n in (<a> <b/> {' x '} </a>)/node() return ($n,';')", "<b/>; x ;"); evalTest("declare xmlspace skip;\n" + "for $n in (<a> x <b/> y<c/>&#x20;</a>)/node() return ($n,';')", " x ;<b/>; y;<c/>; ;"); evalTest("for $n in (<a> <b/> </a>)/node() return ($n,';')", "<b/>;"); // Simple namespace tests. evalTest("declare namespace xx='XXX';\n <xx:a>XX</xx:a>", "<xx:a xmlns:xx=\"XXX\">XX</xx:a>"); evalTest("declare namespace x1='XXX';\n declare namespace x2='XXX';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/x2:ab)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/x2:ab)", "X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/*)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/*:*)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/x1:*)", "X1"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:ab>X2</x2:ab></top>)/*:ab)", "X1X2"); evalTest("declare namespace x1='XXX';\n declare namespace x2='YYY';\n" + "string((<top><x1:ab>X1</x1:ab><x2:cd>X2</x2:cd></top>)/*:cd)", "X2"); evalTest("declare namespace h='H';\n" + "string(doc('tab.xml')/result/h:row)", "\nc1\n33\n44\nc2\n"); evalTest("declare namespace xx='H';\n" + "string(doc('tab.xml')/result/xx:row)", "\nc1\n33\n44\nc2\n"); evalTest("string(doc('tab.xml')/result/*:row)", "\na1\n12\n\nb1\n22\n\nc1\n33\n44\nc2\n"); evalTest("string(doc('tab.xml')/result/*:row/*:fld1)", "a1b1c1c2"); evalTest("declare namespace k='J';\n" + "string(doc('tab.xml')/result/*:row/k:fld1)", "c1c2"); evalTest("declare namespace k='J';\n" + "string(doc('tab.xml')/result/*:row[k:fld1])", "\nc1\n33\n44\nc2\n"); evalTest("declare namespace m1 = 'bb'; declare namespace m2 = 'cc';" + "let $m1:x := 3 return let $m2:x := 4 return" + " <m2:a a:c='{$a:x}' xmlns:a='bb'>{ count($a:x) }</m2:a>", "<m2:a xmlns:m2=\"cc\" xmlns:a=\"bb\" a:c=\"3\">1</m2:a>"); evalTest("doc('tab.xml')/result/row[1]/descendant::*", "<fld1"+tabNsNodes+">a1</fld1>" +"<fld2"+tabNsNodes+" align=\"right\">12</fld2>"); evalTest("for $x in doc('tab.xml')/result/row[1]/descendant::node() return ($x,';')", "\n;<fld1"+tabNsNodes+">a1</fld1>;a1;\n;" + "<fld2"+tabNsNodes+" align=\"right\">12</fld2>;12;\n;"); evalTest("doc('tab.xml')/result/row[1]/descendant::text()", "a112"); evalTest("doc('tab.xml')/result/row[1]/descendant-or-self::*", "<row"+tabNsNodes+"><fld1>a1</fld1>" + "<fld2 align=\"right\">12</fld2></row>" + "<fld1"+tabNsNodes+">a1</fld1>" + "<fld2"+tabNsNodes+" align=\"right\">12</fld2>"); // Based on bugs reported by Francois Leygues <vizawalou@wanadoo.fr>: evalTest("let $bx := <b x='xx'></b> return" + " let $x := <a>{for $y in $bx return $y}</a>" + " return $x/b", "<b x=\"xx\" />"); evalTest("element r {let $y := <b x='1'/>" + " let $x:=<a>{$y}</a> return $x/b/@x}", "<r x=\"1\" />"); evalTest("declare function x(){<a><b x='1'/><b x='2'/></a>};" + " let $i := <a>{for $a in x()/b return $a}</a> return $i/b/@x", " x=\"1\" x=\"2\""); evalTest("declare function s(){ <a x='10'>{for $n in (<b x='2'/>) return ($n) }</a>};" + " let $st := s()/b return (" + " '[',$st/@x ,'] [',$st ,']')", "[ x=\"2\"] [<b x=\"2\" />]"); // Testcase from <Seshukumar_Adiraju@infosys.com>: evalTest("let $books := " + "<books><book id='book1'/><book id='book2'/></books> " + "for $book in $books/book return <p>{string($book/@id)}</p>", "<p>book1</p><p>book2</p>"); evalTest("for $n in children(<a>xx<b/>yy</a>) return $n instanceof node()", "true true true"); evalTest("for $n in children(<a>xx<b/>yy</a>) return $n instanceof text ( )", "true false true"); evalTest("for $n in children(<a>xx<b/>yy</a>) return $n instanceof element(a,*)", "false false false"); evalTest("for $n in <a>xx<b/>yy</a>/node() return $n instanceof element(b,*)", "false true false"); // FIXME: evalTest("<a>xx<b/>yy</a>/node() instanceof node()", "false"); evalTest("<a>xx<b/>yy</a>/node() instanceof node()?", "false"); evalTest("<a>xx<b/>yy</a>/node() instanceof node()+", "true"); evalTest("<a>xx<b/>yy</a>/node() instanceof node()*", "true"); evalTest("<a>xx<b/>yy</a>/node() instanceof item()+", "true"); evalTest("(3,4,5) instanceof item()+", "true"); evalTest("('a','b') instanceof string+", "true"); evalTest("(2,3) instanceof string?", "false"); evalTest("(2,3) instanceof string+", "false"); evalTest("() instanceof string?", "true"); evalTest("() instanceof string+", "false"); evalTest("() instanceof string*", "true"); evalTest("('2') instanceof string?", "true"); evalTest("('2') instanceof string+", "true"); evalTest("('2') instanceof string*", "true"); evalTest("('2','3') instanceof string?", "false"); evalTest("('2','3') instanceof string+", "true"); evalTest("('2','3') instanceof string*", "true"); evalTest("declare namespace Int='class:java.lang.Integer';\n" + "Int:toHexString(266)", "10a"); evalTest("declare namespace File='class:java.io.File';\n" + "declare function make-file ($x as string) {File:new($x)};\n" + "declare function parent ($x) {java.io.File:getParent($x)};\n" + "parent(make-file('dir/mine.txt'))", "dir"); evalTest("java.lang.Integer:toHexString(255)", "ff"); // String functions evalTest("substring('motor car', 6)", "car"); evalTest("substring('metadata', 4, 3)", "ada"); // evalTest("substring('metadata', -INF, 3)", "met"); evalTest("(1 to 20)[. mod 5 = 0]", "5 10 15 20"); evalTest("(1 to 20)[. mod 5 ge 3]", "3 4 8 9 13 14 18 19"); evalTest("1,(99 to 0),3", "1 3"); evalTest("-10 to -2", "-10 -9 -8 -7 -6 -5 -4 -3 -2"); String some_elements = "let $top := <top><a/><b/><c/><d/></top>," + " $a:=$top/a, $b:=$top/b, $c:=$top/c, $d:=$top/d return "; evalNodeNames(some_elements+"($b, $a) union ($a, $b)", "a;b;"); evalNodeNames(some_elements+"($b, $a) union ($b, $c)", "a;b;c;"); evalNodeNames(some_elements+"($b, $a) intersect ($a, $b)", "a;b;"); evalNodeNames(some_elements+"($b, $a) intersect ($b, $c)", "b;"); evalNodeNames(some_elements+"($b, $a) except ($a, $b)", ""); evalNodeNames(some_elements+"($b, $a) except ($b, $c)", "a;"); evalNodeNames(some_elements+"($b, $a, $b, $d) intersect ($b, $d)", "b;d;"); evalNodeNames(some_elements+"($b, $a, $b, $d) except ($b, $d)", "a;"); evalNodeNames(some_elements+"($b, $a, $b, $d) except ()", "a;b;d;"); // Check for catching errors: evalTest("+ +", "*** syntax error - <string>:1:3: missing expression"); evalTest("declare namespace x1='XXX", "*** caught SyntaxException - <string>:1:26: " + "unexpected end-of-file in string"); evalTest("unescaped-data('<?--->'),let $x:=unescaped-data('an &amp;oslash;') return <b>{unescaped-data('<![CDATA[saw]]>')} {$x}</b>", "<?---><b><![CDATA[saw]]> an &oslash;</b>"); evalTestIdAttrs("doc('outline.xml')/book/part/chapter/ancestor::*", "b1;P1;"); evalTestIdAttrs("doc('outline.xml')/book/part/" +"chapter/ancestor-or-self::node()", ";b1;P1;c1;c2;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s1']/following-sibling::*", "s2;s3;"); evalTestIdAttrs("doc('outline.xml')//chapter/self::*", "c1;c2;"); evalTestIdAttrs("doc('outline.xml')//" +"para[@id='p31']/preceding::*", "s1;s11;s2;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s5']/preceding-sibling::*", "s4;"); evalTestIdAttrs("doc('outline.xml')//" +"chapter[@id='c1']/following::*", "c2;s4;s5;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s1']/(/book)", "b1;"); evalTestIdAttrs("doc('outline.xml')//" +"section[@id='s1']/(//chapter)", "c1;c2;"); evalTest("declare namespace XQuery = 'class:gnu.xquery.lang.XQuery';" + "XQuery:eval-with-focus(XQuery:getInstance()," + " '<r pos=\"{position()}\">{.}</r>', (<b/>, 3))", "<r pos=\"1\"><b /></r><r pos=\"2\">3</r>"); evalTest("declare namespace XQuery = 'class:gnu.xquery.lang.XQuery';" + "XQuery:eval-with-focus(XQuery:getInstance()," + " '<r pos=\"{position()}\">{.}</r>', <b/>, 3, 4)", "<r pos=\"3\"><b /></r>"); Object r; String e = "<r pos='{position()}' size='{last()}'>{.}</r>"; try { r = interp.evalWithFocus(e, interp.eval("2,3,4")); } catch (Throwable ex) { r = ex; } matchTest(e, r, "<r pos=\"1\" size=\"3\">2</r>, " + "<r pos=\"2\" size=\"3\">3</r>, " + "<r pos=\"3\" size=\"3\">4</r>"); try { r = interp.evalWithFocus(e, interp.eval("<b/>"), 4, 10); } catch (Throwable ex) { r = ex; } matchTest(e, r, "<r pos=\"4\" size=\"10\"><b/></r>"); printSummary(); }
41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/e0e4ec78ecf3d560f8e737bef519341ec70036fd/TestMisc.java/clean/gnu/xquery/testsuite/TestMisc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 225, 288, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 8481, 9141, 2244, 273, 315, 79, 2219, 69, 17, 4450, 17, 8481, 10951, 31, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 4148, 5108, 4742, 273, 638, 31, 565, 368, 22416, 18, 4148, 5108, 7951, 4742, 273, 638, 31, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 3113, 315, 24, 18, 25, 8863, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 269, 24, 14, 22, 18, 25, 3113, 315, 24, 18, 25, 1728, 18, 20, 8863, 565, 5302, 4709, 2932, 23, 32, 25, 3113, 315, 3767, 8863, 565, 5302, 4709, 2932, 1810, 271, 92, 30, 33, 23, 15, 24, 327, 271, 92, 3113, 315, 27, 8863, 565, 5302, 4709, 2932, 1810, 271, 92, 30, 33, 23, 15, 24, 327, 411, 69, 20511, 92, 12863, 69, 2984, 16, 3532, 69, 34, 27, 1757, 69, 2984, 1769, 565, 368, 1660, 2245, 271, 2293, 471, 271, 2740, 358, 8100, 590, 19, 2740, 16, 565, 368, 1496, 1338, 1347, 2898, 4565, 486, 5275, 6261, 2489, 18, 565, 5302, 4709, 2932, 1810, 271, 2293, 30, 33, 22, 16, 271, 2740, 30, 33, 23, 327, 9253, 2293, 26020, 2740, 2225, 16, 315, 25, 8863, 565, 5302, 4709, 2932, 19068, 271, 92, 316, 261, 21, 16, 576, 16, 890, 3631, 271, 93, 316, 261, 22, 16, 890, 16, 1059, 2225, 202, 377, 397, 315, 17917, 271, 92, 397, 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, 2774, 12, 780, 8526, 833, 13, 225, 288, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 8481, 9141, 2244, 273, 315, 79, 2219, 69, 17, 4450, 17, 8481, 10951, 31, 565, 368, 314, 13053, 18, 8638, 18, 3120, 2966, 18, 4148, 5108, 4742, 273, 638, 31, 565, 368, 22416, 18, 4148, 5108, 7951, 4742, 273, 638, 31, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 3113, 315, 24, 18, 25, 8863, 565, 5302, 4709, 2932, 23, 18, 25, 15, 21, 269, 24, 14, 22, 18, 25, 3113, 315, 24, 18, 25, 1728, 18, 20, 8863, 565, 5302, 4709, 2932, 23, 32, 25, 3113, 315, 3767, 8863, 565, 5302, 4709, 2932, 1810, 271, 2 ]
Atom atom = new Atom("C");
Atom atom = builder.newAtom("C");
public void testClone_FractionalPoint3d() { Atom atom = new Atom("C"); atom.setFractionalPoint3d(new Point3d(2, 3, 4)); Atom clone = (Atom)atom.clone(); // test cloning atom.setFractX3d(5); assertEquals(clone.getFractX3d(), 2.0, 0.001); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/2569471249d8066c9cb1c037569a570e039ed288/AtomTest.java/clean/src/org/openscience/cdk/test/AtomTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 67, 13724, 287, 2148, 23, 72, 1435, 288, 3639, 7149, 3179, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 3639, 3179, 18, 542, 13724, 287, 2148, 23, 72, 12, 2704, 4686, 23, 72, 12, 22, 16, 890, 16, 1059, 10019, 3639, 7149, 3236, 273, 261, 3641, 13, 7466, 18, 14056, 5621, 3639, 368, 1842, 927, 22470, 3639, 3179, 18, 542, 42, 14266, 60, 23, 72, 12, 25, 1769, 3639, 1815, 8867, 12, 14056, 18, 588, 42, 14266, 60, 23, 72, 9334, 576, 18, 20, 16, 374, 18, 11664, 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,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 39, 8863, 3639, 3179, 18, 542, 13724, 287, 2148, 23, 72, 12, 2704, 4686, 23, 72, 12, 22, 16, 890, 16, 1059, 10019, 3639, 7149, 3236, 273, 261, 3641, 13, 7466, 18, 14056, 5621, 3639, 368, 1842, 927, 22470, 3639, 3179, 18, 542, 42, 14266, 60, 23, 72, 12, 25, 1769, 3639, 1815, 8867, 12, 14056, 18, 588, 42, 14266, 60, 23, 72, 9334, 576, 18, 20, 16, 374, 18, 11664, 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 ]
list.addSelectionListener( new SelectionAdapter( ) {
list.addSelectionListener( new SelectionListener( ) {
protected Control createDialogArea( Composite parent ) { Composite compo = (Composite) super.createDialogArea( parent ); GridLayout layout = (GridLayout) compo.getLayout( ); layout.numColumns = 1; Label preLabel = new Label( compo, SWT.NONE ); list = new List( compo, SWT.SINGLE | SWT.BORDER ); list.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { getOkButton( ).setEnabled( list.getSelectionCount( ) > 0 ); } } ); list.setLayoutData( new GridData( GridData.FILL_BOTH ) ); preLabel.setFont( FontManager.getFont( "Dialog", 8, SWT.NORMAL ) ); //$NON-NLS-1$ preLabel.setText( LABEL_PRE ); initList( ); return compo; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/aadd7a3a3f6b97e67373b5ccd4348e8ff6532eb5/NewSectionDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/NewSectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6353, 5484, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 1161, 83, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 982, 11272, 202, 202, 6313, 3744, 3511, 273, 261, 6313, 3744, 13, 1161, 83, 18, 588, 3744, 12, 11272, 202, 202, 6741, 18, 2107, 3380, 273, 404, 31, 202, 202, 2224, 675, 2224, 273, 394, 5287, 12, 1161, 83, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1098, 273, 394, 987, 12, 1161, 83, 16, 348, 8588, 18, 20184, 571, 348, 8588, 18, 38, 7954, 11272, 202, 202, 1098, 18, 1289, 6233, 2223, 12, 394, 12977, 4216, 12, 262, 288, 1082, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 1082, 202, 95, 9506, 202, 588, 8809, 3616, 12, 262, 18, 542, 1526, 12, 666, 18, 588, 6233, 1380, 12, 262, 405, 374, 11272, 1082, 202, 97, 202, 202, 97, 11272, 202, 202, 1098, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 262, 11272, 202, 202, 1484, 2224, 18, 542, 5711, 12, 10063, 1318, 18, 588, 5711, 12, 315, 6353, 3113, 1725, 16, 348, 8588, 18, 15480, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1484, 2224, 18, 542, 1528, 12, 18210, 67, 3670, 11272, 202, 202, 2738, 682, 12, 11272, 202, 202, 2463, 1161, 83, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 8888, 752, 6353, 5484, 12, 14728, 982, 262, 202, 95, 202, 202, 9400, 1161, 83, 273, 261, 9400, 13, 2240, 18, 2640, 6353, 5484, 12, 982, 11272, 202, 202, 6313, 3744, 3511, 273, 261, 6313, 3744, 13, 1161, 83, 18, 588, 3744, 12, 11272, 202, 202, 6741, 18, 2107, 3380, 273, 404, 31, 202, 202, 2224, 675, 2224, 273, 394, 5287, 12, 1161, 83, 16, 348, 8588, 18, 9826, 11272, 202, 202, 1098, 273, 394, 987, 12, 1161, 83, 16, 348, 8588, 18, 20184, 571, 348, 8588, 18, 38, 7954, 11272, 202, 202, 1098, 18, 1289, 6233, 2223, 12, 394, 12977, 4216, 12, 262, 288, 1082, 202, 482, 918, 3604, 7416, 12, 12977, 1133, 425, 262, 2 ]
this.exceptionType = AjTypeSystem.getAjType(Class.forName(exceptionTypeName));
ClassLoader cl = declaringType.getJavaClass().getClassLoader(); this.exceptionType = AjTypeSystem.getAjType(Class.forName(exceptionTypeName,false,cl));
public DeclareSoftImpl(AjType declaringType, String pcut, String exceptionTypeName) { this.declaringType = declaringType; this.pointcut = new PointcutExpressionImpl(pcut); try { this.exceptionType = AjTypeSystem.getAjType(Class.forName(exceptionTypeName)); } catch (ClassNotFoundException ex) { this.missingTypeName = exceptionTypeName; } }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/81e6b60e4eabeaf322651941c65f9f24a0ea80a9/DeclareSoftImpl.java/buggy/aspectj5rt/java5-src/org/aspectj/internal/lang/reflect/DeclareSoftImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16110, 834, 12468, 2828, 12, 37, 78, 559, 20845, 559, 16, 514, 293, 5150, 16, 514, 1520, 7947, 13, 288, 202, 202, 2211, 18, 8840, 5968, 559, 273, 20845, 559, 31, 202, 202, 2211, 18, 1153, 5150, 273, 394, 4686, 5150, 2300, 2828, 12, 2436, 322, 1769, 202, 202, 698, 288, 1082, 202, 2211, 18, 4064, 559, 273, 432, 78, 559, 3163, 18, 588, 37, 78, 559, 12, 797, 18, 1884, 461, 12, 4064, 7947, 10019, 202, 202, 97, 1044, 261, 797, 3990, 431, 13, 288, 1082, 202, 2211, 18, 7337, 7947, 273, 1520, 7947, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16110, 834, 12468, 2828, 12, 37, 78, 559, 20845, 559, 16, 514, 293, 5150, 16, 514, 1520, 7947, 13, 288, 202, 202, 2211, 18, 8840, 5968, 559, 273, 20845, 559, 31, 202, 202, 2211, 18, 1153, 5150, 273, 394, 4686, 5150, 2300, 2828, 12, 2436, 322, 1769, 202, 202, 698, 288, 1082, 202, 2211, 18, 4064, 559, 273, 432, 78, 559, 3163, 18, 588, 37, 78, 559, 12, 797, 18, 1884, 461, 12, 4064, 7947, 10019, 202, 202, 97, 1044, 261, 797, 3990, 431, 13, 288, 1082, 202, 2211, 18, 7337, 7947, 273, 1520, 7947, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.testEmail = testEmail; }
this.testEmail = testEmail; }
public void setTestEmail(String testEmail) { this.testEmail = testEmail; }
51576 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51576/de8cf3204cc93c4fff2891473e3a73ee9c476e79/ConstrainedPropertyTests.java/buggy/test/commons/org/codehaus/groovy/grails/validation/ConstrainedPropertyTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 4709, 4134, 12, 780, 1842, 4134, 13, 288, 202, 202, 2211, 18, 3813, 4134, 273, 1842, 4134, 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,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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 ]
boolean valid = true;
public static boolean areAttributesEqual( final Attribute one, final Attribute two ) { if( null == one || null == two ) { return ( null == one && null == two ); } boolean valid = true; final String nameOne = one.getName(); final String nameTwo = two.getName(); if( null == nameTwo || null == nameOne ) { if( null != nameTwo || null != nameOne ) { valid = false; } } if( valid ) { final String valueOne = one.getValue(); final String valueTwo = two.getValue(); if( null == valueTwo || null == valueOne ) { if( null != valueTwo || null != valueOne ) { valid = false; } } else { if( !valueOne.equals( valueTwo ) ) { valid = false; } } } if( valid ) { final Properties parametersOne = one.getParameters(); final Properties parametersTwo = two.getParameters(); if( null == parametersTwo || null == parametersOne ) { if( null != parametersTwo || null != parametersOne ) { valid = false; } } else { final Enumeration keySetOne = parametersOne.keys(); final Enumeration keySetTwo = parametersTwo.keys(); while( keySetOne.hasMoreElements() ) { final Object oOne = keySetOne.nextElement(); if( keySetTwo.hasMoreElements() ) { final Object oTwo = keySetTwo.nextElement(); if( oOne instanceof String ) { final String stringOne = (String)oOne; final String stringTwo = (String)oTwo; if( !stringOne.equals( stringTwo ) ) { valid = false; break; } } } else { valid = false; break; } } final Collection valuesOne = parametersOne.values(); final Collection valuesTwo = parametersTwo.values(); final Iterator iteratorTwo = valuesTwo.iterator(); for( final Iterator iteratorOne = valuesOne.iterator(); iteratorOne.hasNext(); ) { final String stringOne = (String)iteratorOne.next(); final String stringTwo = (String)iteratorTwo.next(); if( !stringOne.equals( stringTwo ) ) { valid = false; break; } } } } return valid; }
2797 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2797/ca0930906b39f11ac92b1da69961ca7e68ab264c/MetaClassTestUtility.java/clean/spice/sandbox/metaclass/src/test/org/realityforge/metaclass/test/MetaClassTestUtility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 854, 2498, 5812, 12, 727, 3601, 1245, 16, 727, 3601, 2795, 262, 565, 288, 3639, 309, 12, 446, 422, 1245, 747, 446, 422, 2795, 262, 3639, 288, 5411, 327, 261, 446, 422, 1245, 597, 446, 422, 2795, 11272, 3639, 289, 2868, 727, 514, 508, 3335, 273, 1245, 18, 17994, 5621, 3639, 727, 514, 508, 11710, 273, 2795, 18, 17994, 5621, 3639, 309, 12, 446, 422, 508, 11710, 747, 446, 422, 508, 3335, 262, 3639, 288, 5411, 309, 12, 446, 480, 508, 11710, 747, 446, 480, 508, 3335, 262, 5411, 288, 7734, 923, 273, 629, 31, 5411, 289, 3639, 289, 3639, 309, 12, 923, 262, 3639, 288, 5411, 727, 514, 460, 3335, 273, 1245, 18, 24805, 5621, 5411, 727, 514, 460, 11710, 273, 2795, 18, 24805, 5621, 5411, 309, 12, 446, 422, 460, 11710, 747, 446, 422, 460, 3335, 262, 5411, 288, 7734, 309, 12, 446, 480, 460, 11710, 747, 446, 480, 460, 3335, 262, 7734, 288, 10792, 923, 273, 629, 31, 7734, 289, 5411, 289, 5411, 469, 5411, 288, 7734, 309, 12, 401, 1132, 3335, 18, 14963, 12, 460, 11710, 262, 262, 7734, 288, 10792, 923, 273, 629, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 309, 12, 923, 262, 3639, 288, 5411, 727, 6183, 1472, 3335, 273, 1245, 18, 588, 2402, 5621, 5411, 727, 6183, 1472, 11710, 273, 2795, 18, 588, 2402, 5621, 5411, 309, 12, 446, 422, 1472, 11710, 747, 446, 422, 1472, 3335, 262, 5411, 288, 7734, 309, 12, 446, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 854, 2498, 5812, 12, 727, 3601, 1245, 16, 727, 3601, 2795, 262, 565, 288, 3639, 309, 12, 446, 422, 1245, 747, 446, 422, 2795, 262, 3639, 288, 5411, 327, 261, 446, 422, 1245, 597, 446, 422, 2795, 11272, 3639, 289, 2868, 727, 514, 508, 3335, 273, 1245, 18, 17994, 5621, 3639, 727, 514, 508, 11710, 273, 2795, 18, 17994, 5621, 3639, 309, 12, 446, 422, 508, 11710, 747, 446, 422, 508, 3335, 262, 3639, 288, 5411, 309, 12, 446, 480, 508, 11710, 747, 446, 480, 508, 3335, 262, 5411, 288, 7734, 923, 273, 629, 31, 5411, 289, 3639, 289, 3639, 309, 12, 923, 262, 3639, 288, 5411, 727, 514, 460, 3335, 273, 1245, 18, 24805, 2 ]
centerPanel.add(Box.createVerticalStrut(20)); infoLabel = new JLabel("", parent.icons.getImageIcon("information"), JLabel.TRAILING);
public FinishPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); vs = new VariableSubstitutor(idata.getVariableValueMap()); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Insets(0, 0, 0, 0); gbConstraints.fill = GridBagConstraints.NONE; gbConstraints.anchor = GridBagConstraints.CENTER; // We initialize our 'real' layout centerPanel = new JPanel(); layout = new BoxLayout(centerPanel, BoxLayout.Y_AXIS); centerPanel.setLayout(layout); superLayout.addLayoutComponent(centerPanel, gbConstraints); add(centerPanel); // We create and put the labels centerPanel.add(Box.createVerticalStrut(20)); infoLabel = new JLabel("", parent.icons.getImageIcon("information"), JLabel.TRAILING); }
28044 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28044/24ab501f4d8488467fd8b63b1057fcc96217b3bf/FinishPanel.java/buggy/src/lib/com/izforge/izpack/panels/FinishPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18560, 5537, 12, 18678, 3219, 982, 16, 10284, 751, 612, 396, 13, 565, 288, 3639, 2240, 12, 2938, 16, 612, 396, 1769, 7734, 6195, 273, 394, 7110, 1676, 5223, 3408, 12, 350, 396, 18, 588, 3092, 26795, 10663, 7734, 368, 1021, 296, 9565, 11, 3511, 3639, 7145, 5013, 3744, 2240, 3744, 273, 394, 7145, 5013, 3744, 5621, 3639, 18479, 12, 9565, 3744, 1769, 3639, 13075, 21649, 4878, 273, 394, 13075, 5621, 3639, 21649, 4878, 18, 267, 4424, 273, 394, 22300, 12, 20, 16, 374, 16, 374, 16, 374, 1769, 3639, 21649, 4878, 18, 5935, 273, 13075, 18, 9826, 31, 3639, 21649, 4878, 18, 16215, 273, 13075, 18, 19835, 31, 7734, 368, 1660, 4046, 3134, 296, 7688, 11, 3511, 3639, 4617, 5537, 273, 394, 24048, 5621, 3639, 3511, 273, 394, 8549, 3744, 12, 5693, 5537, 16, 8549, 3744, 18, 61, 67, 25614, 1769, 3639, 4617, 5537, 18, 542, 3744, 12, 6741, 1769, 3639, 2240, 3744, 18, 1289, 3744, 1841, 12, 5693, 5537, 16, 21649, 4878, 1769, 3639, 527, 12, 5693, 5537, 1769, 7734, 368, 1660, 752, 471, 1378, 326, 3249, 7734, 4617, 5537, 18, 1289, 12, 3514, 18, 2640, 15704, 1585, 322, 12, 3462, 10019, 7734, 1123, 2224, 273, 394, 21403, 2932, 3113, 982, 18, 14516, 18, 588, 2040, 5554, 2932, 13117, 6, 3631, 21403, 18, 20060, 2627, 1360, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18560, 5537, 12, 18678, 3219, 982, 16, 10284, 751, 612, 396, 13, 565, 288, 3639, 2240, 12, 2938, 16, 612, 396, 1769, 7734, 6195, 273, 394, 7110, 1676, 5223, 3408, 12, 350, 396, 18, 588, 3092, 26795, 10663, 7734, 368, 1021, 296, 9565, 11, 3511, 3639, 7145, 5013, 3744, 2240, 3744, 273, 394, 7145, 5013, 3744, 5621, 3639, 18479, 12, 9565, 3744, 1769, 3639, 13075, 21649, 4878, 273, 394, 13075, 5621, 3639, 21649, 4878, 18, 267, 4424, 273, 394, 22300, 12, 20, 16, 374, 16, 374, 16, 374, 1769, 3639, 21649, 4878, 18, 5935, 273, 13075, 18, 9826, 31, 3639, 21649, 4878, 18, 16215, 273, 13075, 18, 19835, 31, 7734, 368, 1660, 4046, 3134, 296, 7688, 11, 2 ]
throw new UnsupportedOperationException();
return ("localhost");
public String getServerName() { throw new UnsupportedOperationException(); }
54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/90bc061a6c2dcb4d13b2abbeaac9ff47036ca39c/MockHttpServletRequest.java/buggy/src/test/org/apache/struts/mock/MockHttpServletRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11543, 461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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11543, 461, 1435, 288, 3639, 327, 7566, 13014, 8863, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new MissingPropertyException(MIN_CONSTRAINT,propertyType); } Range r = getRange(); if(r != null) { LOG.warn("Range constraint already set ignoring constraint ["+MIN_CONSTRAINT+"] for value ["+min+"]"); return; } Constraint c = (MinConstraint)this.appliedConstraints.get( MIN_CONSTRAINT ); if(c != null) { c.setParameter(min); } else { c = new MinConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(min); this.appliedConstraints.put( MIN_CONSTRAINT, c ); } }
throw new MissingPropertyException(MIN_CONSTRAINT,propertyType); } Range r = getRange(); if(r != null) { LOG.warn("Range constraint already set ignoring constraint ["+MIN_CONSTRAINT+"] for value ["+min+"]"); return; } Constraint c = (MinConstraint)this.appliedConstraints.get( MIN_CONSTRAINT ); if(c != null) { c.setParameter(min); } else { c = new MinConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(min); this.appliedConstraints.put( MIN_CONSTRAINT, c ); } }
public void setMin(Comparable min) { if(min == null) { this.appliedConstraints.remove( MIN_CONSTRAINT ); return; } if(!propertyType.equals( min.getClass() )) { throw new MissingPropertyException(MIN_CONSTRAINT,propertyType); } Range r = getRange(); if(r != null) { LOG.warn("Range constraint already set ignoring constraint ["+MIN_CONSTRAINT+"] for value ["+min+"]"); return; } Constraint c = (MinConstraint)this.appliedConstraints.get( MIN_CONSTRAINT ); if(c != null) { c.setParameter(min); } else { c = new MinConstraint(); c.setOwningClass(this.owningClass); c.setPropertyName(this.propertyName); c.setParameter(min); this.appliedConstraints.put( MIN_CONSTRAINT, c ); } }
51826 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51826/975905c7e8c55e5fe91c94dc583c4269318ca341/ConstrainedProperty.java/clean/src/commons/org/codehaus/groovy/grails/validation/ConstrainedProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27724, 12, 799, 10207, 1131, 13, 288, 202, 202, 430, 12, 1154, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 6989, 67, 15199, 11272, 1082, 202, 2463, 31, 202, 202, 97, 3639, 309, 12, 5, 4468, 559, 18, 14963, 12, 1131, 18, 588, 797, 1435, 8623, 288, 1082, 202, 12849, 394, 10230, 1396, 503, 12, 6236, 67, 15199, 16, 4468, 559, 1769, 202, 202, 97, 202, 202, 2655, 436, 273, 22373, 5621, 202, 202, 430, 12, 86, 480, 446, 13, 288, 1082, 202, 4842, 18, 8935, 2932, 2655, 4954, 1818, 444, 14398, 4954, 8247, 15, 6236, 67, 15199, 9078, 65, 364, 460, 8247, 15, 1154, 9078, 4279, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 5806, 276, 273, 261, 2930, 5806, 13, 2211, 18, 438, 3110, 4878, 18, 588, 12, 6989, 67, 15199, 11272, 202, 202, 430, 12, 71, 480, 446, 13, 288, 1082, 202, 71, 18, 542, 1662, 12, 1154, 1769, 6862, 202, 97, 202, 202, 12107, 288, 1082, 202, 71, 273, 394, 5444, 5806, 5621, 1082, 202, 71, 18, 542, 3494, 2093, 797, 12, 2211, 18, 995, 310, 797, 1769, 1082, 202, 71, 18, 542, 13073, 12, 2211, 18, 4468, 461, 1769, 1082, 202, 71, 18, 542, 1662, 12, 1154, 1769, 25083, 202, 2211, 18, 438, 3110, 4878, 18, 458, 12, 6989, 67, 15199, 16, 276, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27724, 12, 799, 10207, 1131, 13, 288, 202, 202, 430, 12, 1154, 422, 446, 13, 288, 1082, 202, 2211, 18, 438, 3110, 4878, 18, 4479, 12, 6989, 67, 15199, 11272, 1082, 202, 2463, 31, 202, 202, 97, 3639, 309, 12, 5, 4468, 559, 18, 14963, 12, 1131, 18, 588, 797, 1435, 8623, 288, 1082, 202, 12849, 394, 10230, 1396, 503, 12, 6236, 67, 15199, 16, 4468, 559, 1769, 202, 202, 97, 202, 202, 2655, 436, 273, 22373, 5621, 202, 202, 430, 12, 86, 480, 446, 13, 288, 1082, 202, 4842, 18, 8935, 2932, 2655, 4954, 1818, 444, 14398, 4954, 8247, 15, 6236, 67, 15199, 9078, 65, 364, 460, 8247, 15, 1154, 9078, 4279, 1769, 1082, 2 ]
if(log.isInfoEnabled()) log.info("merge task started");
if(log.isDebugEnabled()) log.debug("merge task started");
public void run() { long interval; Vector coords=null; Event evt; Vector initial_mbrs; if(log.isInfoEnabled()) log.info("merge task started"); while(thread != null) { interval=computeInterval(); Util.sleep(interval); if(thread == null) break; initial_mbrs=findInitialMembers(); if(thread == null) break; if(log.isInfoEnabled()) log.info("initial_mbrs=" + initial_mbrs); coords=findMultipleCoordinators(initial_mbrs); if(coords != null && coords.size() > 1) { if(log.isInfoEnabled()) log.info("found multiple coordinators: " + coords + "; sending up MERGE event"); evt=new Event(Event.MERGE, coords); passUp(evt); } } }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/f4d48c5d12530ffb09ab46034b71d9594b0f1287/MERGE2.java/clean/src/org/jgroups/protocols/MERGE2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 1525, 3673, 31, 5411, 5589, 6074, 33, 2011, 31, 5411, 2587, 6324, 31, 5411, 5589, 2172, 67, 1627, 5453, 31, 9079, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 2702, 1562, 5746, 8863, 6647, 1323, 12, 5930, 480, 446, 13, 288, 7734, 3673, 33, 9200, 4006, 5621, 7734, 3564, 18, 19607, 12, 6624, 1769, 7734, 309, 12, 5930, 422, 446, 13, 898, 31, 7734, 2172, 67, 1627, 5453, 33, 4720, 4435, 6918, 5621, 7734, 309, 12, 5930, 422, 446, 13, 898, 31, 1171, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 6769, 67, 1627, 5453, 1546, 397, 2172, 67, 1627, 5453, 1769, 7734, 6074, 33, 4720, 8438, 5401, 30425, 12, 6769, 67, 1627, 5453, 1769, 7734, 309, 12, 9076, 480, 446, 597, 6074, 18, 1467, 1435, 405, 404, 13, 288, 10792, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 7015, 3229, 2745, 30425, 30, 315, 397, 4766, 11794, 6074, 397, 13636, 5431, 731, 490, 654, 7113, 871, 8863, 10792, 6324, 33, 2704, 2587, 12, 1133, 18, 20969, 7113, 16, 6074, 1769, 10792, 1342, 1211, 12, 73, 11734, 1769, 7734, 289, 5411, 289, 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, 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8863, 6647, 1323, 12, 5930, 480, 446, 13, 288, 7734, 3673, 33, 9200, 4006, 5621, 7734, 3564, 18, 19607, 12, 6624, 1769, 7734, 309, 12, 5930, 422, 446, 13, 898, 31, 7734, 2172, 67, 1627, 5453, 33, 4720, 4435, 6918, 5621, 7734, 309, 12, 5930, 422, 446, 13, 898, 31, 1171, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 6769, 67, 1627, 5453, 1546, 397, 2172, 67, 1627, 5453, 1769, 7734, 6074, 2 ]
String msg = ref.getRefId()+" doesn\'t denote a mapper";
String msg = ref.getRefId() + " doesn\'t denote a mapper";
protected Mapper getRef() { if (!checked) { Stack stk = new Stack(); stk.push(this); dieOnCircularReference(stk, getProject()); } Object o = ref.getReferencedObject(getProject()); if (!(o instanceof Mapper)) { String msg = ref.getRefId()+" doesn\'t denote a mapper"; throw new BuildException(msg); } else { return (Mapper) o; } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/0dab862ee09d706c3f373fc18bedbf17caf427b9/Mapper.java/buggy/src/main/org/apache/tools/ant/types/Mapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19273, 17404, 1435, 288, 3639, 309, 16051, 4532, 13, 288, 5411, 7283, 384, 79, 273, 394, 7283, 5621, 5411, 384, 79, 18, 6206, 12, 2211, 1769, 5411, 10387, 1398, 25858, 2404, 12, 334, 79, 16, 11080, 10663, 3639, 289, 7734, 1033, 320, 273, 1278, 18, 588, 22344, 921, 12, 588, 4109, 10663, 3639, 309, 16051, 12, 83, 1276, 19273, 3719, 288, 5411, 514, 1234, 273, 1278, 18, 588, 1957, 548, 1435, 397, 315, 3302, 3730, 88, 5545, 1168, 279, 5815, 14432, 5411, 604, 394, 18463, 12, 3576, 1769, 3639, 289, 469, 288, 5411, 327, 261, 4597, 13, 320, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19273, 17404, 1435, 288, 3639, 309, 16051, 4532, 13, 288, 5411, 7283, 384, 79, 273, 394, 7283, 5621, 5411, 384, 79, 18, 6206, 12, 2211, 1769, 5411, 10387, 1398, 25858, 2404, 12, 334, 79, 16, 11080, 10663, 3639, 289, 7734, 1033, 320, 273, 1278, 18, 588, 22344, 921, 12, 588, 4109, 10663, 3639, 309, 16051, 12, 83, 1276, 19273, 3719, 288, 5411, 514, 1234, 273, 1278, 18, 588, 1957, 548, 1435, 397, 315, 3302, 3730, 88, 5545, 1168, 279, 5815, 14432, 5411, 604, 394, 18463, 12, 3576, 1769, 3639, 289, 469, 288, 5411, 327, 261, 4597, 13, 320, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
enum = arffModel.getInstances().attribute(i - 1).enumerateValues(); while (enum.hasMoreElements()) combo.addItem(enum.nextElement());
enm = arffModel.getInstances().attribute(i - 1).enumerateValues(); while (enm.hasMoreElements()) combo.addItem(enm.nextElement());
private void setLayout() { ArffTableSorter arffModel; int i; JComboBox combo; Enumeration enum; arffModel = (ArffTableSorter) getModel(); for (i = 0; i < getColumnCount(); i++) { // optimal colwidths (only according to header!) JTableHelper.setOptimalHeaderWidth(this, i); // CellRenderer getColumnModel().getColumn(i).setCellRenderer( new ArffTableCellRenderer()); // CellEditor if (i > 0) { if (arffModel.getType(i) == Attribute.NOMINAL) { combo = new JComboBox(); combo.addItem("?"); enum = arffModel.getInstances().attribute(i - 1).enumerateValues(); while (enum.hasMoreElements()) combo.addItem(enum.nextElement()); getColumnModel().getColumn(i).setCellEditor(new DefaultCellEditor(combo)); } else { getColumnModel().getColumn(i).setCellEditor(null); } } } }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/0d0967970f1688af4588c5ae97d8b59bf6e3f104/ArffTable.java/clean/trunk/weka/gui/arffviewer/ArffTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 18479, 1435, 288, 565, 1201, 1403, 1388, 24952, 1377, 419, 1403, 1488, 31, 565, 509, 5375, 277, 31, 565, 804, 22199, 5411, 16778, 31, 565, 13864, 1850, 2792, 31, 3639, 419, 1403, 1488, 273, 261, 686, 1403, 1388, 24952, 13, 7454, 5621, 3639, 364, 261, 77, 273, 374, 31, 277, 411, 6716, 1380, 5621, 277, 27245, 288, 1377, 368, 16413, 645, 17043, 261, 3700, 4888, 358, 1446, 24949, 1377, 804, 1388, 2276, 18, 542, 6179, 2840, 1864, 2384, 12, 2211, 16, 277, 1769, 5411, 368, 8614, 6747, 1377, 6716, 1488, 7675, 588, 1494, 12, 77, 2934, 542, 4020, 6747, 12, 1850, 394, 1201, 1403, 1388, 4020, 6747, 10663, 5411, 368, 8614, 6946, 1377, 309, 261, 77, 405, 374, 13, 288, 3639, 309, 261, 297, 1403, 1488, 18, 588, 559, 12, 77, 13, 422, 3601, 18, 50, 1872, 706, 1013, 13, 288, 1850, 16778, 273, 394, 804, 22199, 5621, 1850, 16778, 18, 1289, 1180, 2932, 7225, 1769, 1850, 2792, 225, 273, 419, 1403, 1488, 18, 588, 5361, 7675, 4589, 12, 77, 300, 404, 2934, 7924, 12600, 1972, 5621, 1850, 1323, 261, 7924, 18, 5332, 7417, 3471, 10756, 5411, 16778, 18, 1289, 1180, 12, 7924, 18, 4285, 1046, 10663, 1850, 6716, 1488, 7675, 588, 1494, 12, 77, 2934, 542, 4020, 6946, 12, 2704, 2989, 4020, 6946, 12, 25053, 10019, 3639, 289, 3639, 469, 288, 1850, 6716, 1488, 7675, 588, 1494, 12, 77, 2934, 542, 4020, 6946, 12, 2011, 1769, 3639, 289, 1377, 289, 565, 289, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 18479, 1435, 288, 565, 1201, 1403, 1388, 24952, 1377, 419, 1403, 1488, 31, 565, 509, 5375, 277, 31, 565, 804, 22199, 5411, 16778, 31, 565, 13864, 1850, 2792, 31, 3639, 419, 1403, 1488, 273, 261, 686, 1403, 1388, 24952, 13, 7454, 5621, 3639, 364, 261, 77, 273, 374, 31, 277, 411, 6716, 1380, 5621, 277, 27245, 288, 1377, 368, 16413, 645, 17043, 261, 3700, 4888, 358, 1446, 24949, 1377, 804, 1388, 2276, 18, 542, 6179, 2840, 1864, 2384, 12, 2211, 16, 277, 1769, 5411, 368, 8614, 6747, 1377, 6716, 1488, 7675, 588, 1494, 12, 77, 2934, 542, 4020, 6747, 12, 1850, 394, 1201, 1403, 1388, 4020, 6747, 10663, 5411, 368, 8614, 6946, 1377, 309, 261, 77, 2 ]
return services.remove(a); }
return services.remove(a); }
public boolean removeServices(ServiceDescription a) { return services.remove(a); }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/e4909e722f1523c0d2d11da738a69b2ea24f683e/DFAgentDescription.java/clean/src/jade/domain/FIPAAgentManagement/DFAgentDescription.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1206, 5676, 12, 1179, 3291, 279, 13, 288, 1377, 327, 4028, 18, 4479, 12, 69, 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, 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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:694:17: ( opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol ) // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:694:17: opt_eol ( constraint[constraints] | predicate[constraints] ) ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* opt_eol { following.push(FOLLOW_opt_eol_in_constraints1699); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:695:17: ( constraint[constraints] | predicate[constraints] ) int alt48=2; int LA48_0 = input.LA(1); if ( LA48_0==EOL||LA48_0==15 ) { alt48=1; } else if ( LA48_0==ID ) { int LA48_2 = input.LA(2); if ( LA48_2==32 ) { int LA48_3 = input.LA(3); if ( LA48_3==ID ) { int LA48_8 = input.LA(4); if ( LA48_8==53 ) { alt48=2; } else if ( LA48_8==EOL||LA48_8==15||(LA48_8>=24 && LA48_8<=25)||(LA48_8>=43 && LA48_8<=51) ) { alt48=1; } else { NoViableAltException nvae = new NoViableAltException("695:17: ( constraint[constraints] | predicate[constraints] )", 48, 8, input); throw nvae; } } else if ( LA48_3==EOL||LA48_3==15 ) { alt48=1; } else { NoViableAltException nvae = new NoViableAltException("695:17: ( constraint[constraints] | predicate[constraints] )", 48, 3, input); throw nvae; } } else if ( LA48_2==EOL||LA48_2==15||(LA48_2>=24 && LA48_2<=25)||(LA48_2>=43 && LA48_2<=51) ) { alt48=1; } else { NoViableAltException nvae = new NoViableAltException("695:17: ( constraint[constraints] | predicate[constraints] )", 48, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("695:17: ( constraint[constraints] | predicate[constraints] )", 48, 0, input); throw nvae; } switch (alt48) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:695:18: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1704); constraint(constraints); following.pop(); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:695:42: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1707); predicate(constraints); following.pop(); } break; } // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:696:17: ( opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) )* loop50: do { int alt50=2; alt50 = dfa50.predict(input); switch (alt50) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:696:19: opt_eol ',' opt_eol ( constraint[constraints] | predicate[constraints] ) { following.push(FOLLOW_opt_eol_in_constraints1715); opt_eol(); following.pop(); match(input,24,FOLLOW_24_in_constraints1717); following.push(FOLLOW_opt_eol_in_constraints1719); opt_eol(); following.pop(); // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:696:39: ( constraint[constraints] | predicate[constraints] ) int alt49=2; int LA49_0 = input.LA(1); if ( LA49_0==EOL||LA49_0==15 ) { alt49=1; } else if ( LA49_0==ID ) { int LA49_2 = input.LA(2); if ( LA49_2==32 ) { int LA49_3 = input.LA(3); if ( LA49_3==ID ) { int LA49_8 = input.LA(4); if ( LA49_8==53 ) { alt49=2; } else if ( LA49_8==EOL||LA49_8==15||(LA49_8>=24 && LA49_8<=25)||(LA49_8>=43 && LA49_8<=51) ) { alt49=1; } else { NoViableAltException nvae = new NoViableAltException("696:39: ( constraint[constraints] | predicate[constraints] )", 49, 8, input); throw nvae; } } else if ( LA49_3==EOL||LA49_3==15 ) { alt49=1; } else { NoViableAltException nvae = new NoViableAltException("696:39: ( constraint[constraints] | predicate[constraints] )", 49, 3, input); throw nvae; } } else if ( LA49_2==EOL||LA49_2==15||(LA49_2>=24 && LA49_2<=25)||(LA49_2>=43 && LA49_2<=51) ) { alt49=1; } else { NoViableAltException nvae = new NoViableAltException("696:39: ( constraint[constraints] | predicate[constraints] )", 49, 2, input); throw nvae; } } else { NoViableAltException nvae = new NoViableAltException("696:39: ( constraint[constraints] | predicate[constraints] )", 49, 0, input); throw nvae; } switch (alt49) { case 1 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:696:40: constraint[constraints] { following.push(FOLLOW_constraint_in_constraints1722); constraint(constraints); following.pop(); } break; case 2 : // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:696:64: predicate[constraints] { following.push(FOLLOW_predicate_in_constraints1725); predicate(constraints); following.pop(); } break; } } break; default : break loop50; } } while (true); following.push(FOLLOW_opt_eol_in_constraints1733); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return constraints; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cb210a30853642e270a3bba6ce570409f6046852/RuleParser.java/clean/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, 540, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 8148, 24, 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, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 8148, 24, 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, 2313, 2733, 1769, 5411, 2153, 67, 30951, 5621, 5411, 3751, 18, 5120, 5621, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 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, 540, 202, 202, 11967, 273, 394, 2407, 5621, 540, 202, 3639, 775, 288, 5411, 368, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 10649, 8464, 17, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 8148, 24, 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, 342, 8712, 19, 81, 1354, 69, 292, 19, 13582, 19, 2 ]
long time = System.currentTimeMillis() - startTime;
long time = date.getTime() - startTime;
private void createMainPanel () { mainComposite = new Canvas(mainShell, SWT.NO_BACKGROUND); GridData mainGridData = new GridData (GridData.HORIZONTAL_ALIGN_FILL, GridData.VERTICAL_ALIGN_FILL, true, true); mainGridData.widthHint = INITIAL_PANEL_WIDTH; mainGridData.heightHint = INITIAL_PANEL_HEIGHT; mainComposite.setLayoutData(mainGridData); mainComposite.addPaintListener(new PaintListener () { long lastPaint; public void paintControl(PaintEvent e) { long currentTime = System.currentTimeMillis(); if ( currentTime - lastPaint < 40 ) return; else lastPaint = currentTime; if (Display.getDefault() == null || e.width == 0 || e.height == 0) { return; } long startTime = System.currentTimeMillis(); // do a bit of our own double-buffering to stop flickering Image imageBuffer; try { imageBuffer = new Image(Display.getDefault(), e.width, e.height); } catch (SWTError noMoreHandles) { imageBuffer = null; noMoreHandles.printStackTrace(); return; } catch (IllegalArgumentException tooBig) { imageBuffer = null; tooBig.printStackTrace(); return; } GC gcBuffer = new GC(imageBuffer); // paint the relationships for (Iterator iter = relationships.iterator(); iter.hasNext();) { SimpleRelationship rel = (SimpleRelationship) iter.next(); SimpleNode src = (SimpleNode) rel.getSourceInLayout(); SimpleNode dest = (SimpleNode) rel.getDestinationInLayout(); // highlight the adjacent nodes if one of the nodes is selected if (src.equals(selectedEntity)) { dest.setAdjacent(); rel.setSelected(); } else if (dest.equals(selectedEntity)) { src.setAdjacent(); rel.setSelected(); } else { rel.setUnSelected(); } double srcX = src.getXInLayout() + src.getWidthInLayout()/2.0 ; double srcY = src.getYInLayout() + src.getHeightInLayout()/2.0; double destX = dest.getXInLayout() + dest.getWidthInLayout()/2.0; double destY = dest.getYInLayout() + dest.getHeightInLayout()/2.0; gcBuffer.setForeground((Color)rel.getColor()); gcBuffer.setLineWidth(rel.getLineWidth()); gcBuffer.drawLine((int)srcX, (int)srcY, (int)destX, (int)destY); } // paint the nodes for (Iterator iter = entities.iterator(); iter.hasNext();) { SimpleNode entity = (SimpleNode) iter.next(); String name = entity.toString(); Point textSize = gcBuffer.stringExtent(name); int entityX = (int)entity.getXInLayout(); int entityY = (int)entity.getYInLayout(); //TODO: What about resize from the layout algorithm int entityWidth = Math.max((int)entity.getWidthInLayout(), textSize.x + 8); int entityHeight = Math.max((int)entity.getHeightInLayout(), textSize.y + 2); gcBuffer.setBackground((Color)entity.getColor()); gcBuffer.fillRoundRectangle(entityX, entityY, entityWidth, entityHeight, 8, 8); // position the text in the middle of the node int x = (int)(entityX + (entityWidth / 2.0)) - (textSize.x / 2); gcBuffer.setForeground(BLACK); gcBuffer.drawString(name, x, entityY); gcBuffer.setForeground((Color)entity.getBorderColor()); gcBuffer.setLineWidth(entity.getBorderWidth()); gcBuffer.drawRoundRectangle(entityX, entityY, entityWidth, entityHeight, 8, 8); } e.gc.drawImage(imageBuffer, 0, 0); imageBuffer.dispose(); gcBuffer.dispose(); long time = System.currentTimeMillis() - startTime; if (time > 200) { } } }); mainComposite.setBackground(new Color (Display.getCurrent(), 255, 255, 255)); mainComposite.setLayout(null); mainComposite.addMouseMoveListener( new MouseMoveListener() { public void mouseMove(MouseEvent e) { if ( selectedEntity == null ) { // Nothing selected, lets use a mouse hover SimpleNode oldEntity = hoverEntity; hoverEntity = null; for (Iterator iter = entities.iterator(); iter.hasNext() && selectedEntity == null;) { SimpleNode entity = (SimpleNode) iter.next(); double x = entity.getXInLayout(); double y = entity.getYInLayout(); double w = entity.getWidthInLayout(); double h = entity.getHeightInLayout(); Rectangle rect = new Rectangle ((int)x, (int)y, (int)w, (int)h); if (rect.contains(e.x, e.y)) { hoverEntity = entity; hoverEntity.ignoreInLayout( true ); hoverEntity.setSelected(); break; } } if ( oldEntity != null && oldEntity != hoverEntity ) { oldEntity.ignoreInLayout( false ); oldEntity.setUnSelected(); } } } }); mainComposite.addMouseListener(new MouseListener () { public void mouseDoubleClick(MouseEvent e) { } public void mouseDown(MouseEvent e) { selectedEntity = null; hoverEntity = null; for (Iterator iter = entities.iterator(); iter.hasNext() && selectedEntity == null;) { SimpleNode entity = (SimpleNode) iter.next(); double x = entity.getXInLayout(); double y = entity.getYInLayout(); double w = entity.getWidthInLayout(); double h = entity.getHeightInLayout(); Rectangle rect = new Rectangle ((int)x, (int)y, (int)w, (int)h); if (rect.contains(e.x, e.y)) { selectedEntity = entity; } } if (selectedEntity != null) { mouseDownPoint = new Point (e.x, e.y); selectedEntityPositionAtMouseDown = new Point ((int)selectedEntity.getXInLayout(), (int)selectedEntity.getYInLayout()); selectedEntity.ignoreInLayout( true ); selectedEntity.setSelected(); } else { mouseDownPoint = null; selectedEntityPositionAtMouseDown = null; } } public void mouseUp(MouseEvent e) { if ( selectedEntity != null ) { selectedEntity.ignoreInLayout( false ); selectedEntity.setUnSelected(); List relatedNodes = selectedEntity.getRelatedEntities(); for (Iterator iter = relatedNodes.iterator(); iter.hasNext();) { SimpleNode element = (SimpleNode) iter.next(); element.setUnSelected(); } SimpleRelationship[] rels = selectedEntity.getRelationships(); for (int i = 0; i < rels.length; i++) { rels[i].resetLineWidth(); } } selectedEntity = null; mouseDownPoint = null; selectedEntityPositionAtMouseDown = null; } }); // stops the algorithm when the window is closed mainComposite.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { if (currentLayoutAlgorithm != null) { currentLayoutAlgorithm.stop(); } } }); mainComposite.addMouseMoveListener(new MouseMoveListener () { public void mouseMove(MouseEvent e) { if (selectedEntity != null && mouseDownPoint != null) { double dx = e.x - mouseDownPoint.x; double dy = e.y - mouseDownPoint.y; selectedEntity.setLocation(selectedEntityPositionAtMouseDown.x + dx, selectedEntityPositionAtMouseDown.y + dy ); } } }); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/090d607ab075f53992b73aad75e6a3af9e9aeef1/SimpleSWTExample.java/buggy/sandbox/org.eclipse.mylyn.zest.layouts/src/org/eclipse/mylyn/zest/layouts/exampleUses/SimpleSWTExample.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6376, 5537, 1832, 288, 202, 202, 5254, 9400, 273, 394, 20966, 12, 5254, 13220, 16, 348, 8588, 18, 3417, 67, 8720, 20166, 1769, 202, 202, 6313, 751, 2774, 6313, 751, 273, 394, 7145, 751, 261, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 16, 7145, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 16, 638, 16, 638, 1769, 202, 202, 5254, 6313, 751, 18, 2819, 7002, 273, 28226, 67, 30819, 2247, 67, 10023, 31, 202, 202, 5254, 6313, 751, 18, 4210, 7002, 273, 28226, 67, 30819, 2247, 67, 14595, 31, 202, 202, 5254, 9400, 18, 542, 3744, 751, 12, 5254, 6313, 751, 1769, 202, 202, 5254, 9400, 18, 1289, 12699, 2223, 12, 2704, 30001, 2223, 1832, 288, 1082, 202, 5748, 1142, 12699, 31, 25083, 3639, 1071, 918, 12574, 3367, 12, 12699, 1133, 425, 13, 288, 9506, 202, 5748, 6680, 273, 2332, 18, 2972, 28512, 5621, 9506, 202, 430, 261, 6680, 300, 1142, 12699, 411, 8063, 262, 4405, 202, 2463, 31, 9506, 202, 12107, 6862, 202, 2722, 12699, 273, 6680, 31, 202, 5411, 309, 261, 4236, 18, 588, 1868, 1435, 422, 446, 747, 425, 18, 2819, 422, 374, 747, 425, 18, 4210, 422, 374, 13, 288, 202, 7734, 327, 31, 202, 5411, 289, 9506, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 25083, 5411, 368, 741, 279, 2831, 434, 3134, 4953, 1645, 17, 4106, 310, 358, 2132, 1183, 5448, 310, 202, 5411, 3421, 1316, 1892, 31, 202, 2398, 202, 540, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6376, 5537, 1832, 288, 202, 202, 5254, 9400, 273, 394, 20966, 12, 5254, 13220, 16, 348, 8588, 18, 3417, 67, 8720, 20166, 1769, 202, 202, 6313, 751, 2774, 6313, 751, 273, 394, 7145, 751, 261, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 16, 7145, 751, 18, 21654, 10109, 67, 26439, 67, 29818, 16, 638, 16, 638, 1769, 202, 202, 5254, 6313, 751, 18, 2819, 7002, 273, 28226, 67, 30819, 2247, 67, 10023, 31, 202, 202, 5254, 6313, 751, 18, 4210, 7002, 273, 28226, 67, 30819, 2247, 67, 14595, 31, 202, 202, 5254, 9400, 18, 542, 3744, 751, 12, 5254, 6313, 751, 1769, 202, 202, 5254, 9400, 18, 1289, 12699, 2223, 12, 2704, 2 ]
putSidePutPermits_ += takeSidePutPermits_; takeSidePutPermits_ = 0; return putSidePutPermits_; }
putSidePutPermits_ += takeSidePutPermits_; takeSidePutPermits_ = 0; return putSidePutPermits_; }
protected final int reconcilePutPermits() { putSidePutPermits_ += takeSidePutPermits_; takeSidePutPermits_ = 0; return putSidePutPermits_; }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/a6a25004fd5e24a1bc5f053aa539d01dc2553fbf/BoundedLinkedQueue.java/buggy/src/java/org/logicalcobwebs/concurrent/BoundedLinkedQueue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 509, 27163, 6426, 9123, 1282, 1435, 288, 565, 1378, 8895, 6426, 9123, 1282, 67, 1011, 4862, 8895, 6426, 9123, 1282, 67, 31, 565, 4862, 8895, 6426, 9123, 1282, 67, 273, 374, 31, 565, 327, 1378, 8895, 6426, 9123, 1282, 67, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 509, 27163, 6426, 9123, 1282, 1435, 288, 565, 1378, 8895, 6426, 9123, 1282, 67, 1011, 4862, 8895, 6426, 9123, 1282, 67, 31, 565, 4862, 8895, 6426, 9123, 1282, 67, 273, 374, 31, 565, 327, 1378, 8895, 6426, 9123, 1282, 67, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
super(position);
super(position, NodeTypes.FLOATNODE);
public FloatNode(ISourcePosition position, double value) { super(position); this.value = value; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/6e15491217631472c05c6928672f9c7064a978b3/FloatNode.java/clean/src/org/jruby/ast/FloatNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5450, 907, 12, 45, 1830, 2555, 1754, 16, 1645, 460, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 15640, 8744, 1769, 3639, 333, 18, 1132, 273, 460, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5450, 907, 12, 45, 1830, 2555, 1754, 16, 1645, 460, 13, 288, 3639, 2240, 12, 3276, 16, 2029, 2016, 18, 15640, 8744, 1769, 3639, 333, 18, 1132, 273, 460, 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 ]
public ConfigurationManager(URL url) throws IOException, PropertyException { rawPropertyMap = loader(url); applySystemProperties(rawPropertyMap, globalProperties); configureLogger(); // we can't config the configuration manager with itself so we // do some of these config items manually. showCreations = "true".equals(getMyGlobalProperty(PROP_SHOW_CREATIONS)); }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/c43d21441a3a8beedeedd7aeaab48760d3ecd667/ConfigurationManager.java/buggy/edu/cmu/sphinx/util/props/ConfigurationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4659, 1318, 12, 1785, 880, 13, 1216, 1860, 16, 4276, 503, 288, 3639, 1831, 1396, 863, 273, 4088, 12, 718, 1769, 3639, 2230, 3163, 2297, 12, 1899, 1396, 863, 16, 2552, 2297, 1769, 3639, 5068, 3328, 5621, 7734, 368, 732, 848, 1404, 642, 326, 1664, 3301, 598, 6174, 1427, 732, 3639, 368, 741, 2690, 434, 4259, 642, 1516, 10036, 18, 3639, 2405, 1996, 1012, 273, 315, 3767, 9654, 14963, 12, 588, 12062, 5160, 1396, 12, 15811, 67, 16677, 67, 5458, 15297, 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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 377, 1071, 4659, 1318, 12, 1785, 880, 13, 1216, 1860, 16, 4276, 503, 288, 3639, 1831, 1396, 863, 273, 4088, 12, 718, 1769, 3639, 2230, 3163, 2297, 12, 1899, 1396, 863, 16, 2552, 2297, 1769, 3639, 5068, 3328, 5621, 7734, 368, 732, 848, 1404, 642, 326, 1664, 3301, 598, 6174, 1427, 732, 3639, 368, 741, 2690, 434, 4259, 642, 1516, 10036, 18, 3639, 2405, 1996, 1012, 273, 315, 3767, 9654, 14963, 12, 588, 12062, 5160, 1396, 12, 15811, 67, 16677, 67, 5458, 15297, 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 ]
type.setTaint(isTaint()); type.setFrozen(isFrozen());
if (!isNil()) { type.setTaint(isTaint()); type.setFrozen(isFrozen()); }
public MetaClass getSingletonClass() { if (isNil()) { return getNilSingletonClass(); } RubyClass type = getMetaClass(); if (!type.isSingleton()) { type = makeMetaClass(getMetaClass()); } assert type instanceof MetaClass; type.setTaint(isTaint()); type.setFrozen(isFrozen()); return (MetaClass)type; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/32d84ae899fd3c367ef3800d0984b69f53209031/RubyObject.java/clean/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6565, 797, 31662, 797, 1435, 288, 3639, 309, 261, 291, 12616, 10756, 288, 5411, 327, 11069, 330, 19571, 797, 5621, 3639, 289, 3639, 19817, 797, 618, 273, 11312, 797, 5621, 3639, 309, 16051, 723, 18, 291, 19571, 10756, 288, 2398, 618, 273, 1221, 2781, 797, 12, 588, 2781, 797, 10663, 3639, 289, 3639, 1815, 618, 1276, 6565, 797, 31, 540, 618, 18, 542, 29048, 12, 291, 29048, 10663, 3639, 618, 18, 542, 42, 9808, 12, 291, 42, 9808, 10663, 3639, 327,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6565, 797, 31662, 797, 1435, 288, 3639, 309, 261, 291, 12616, 10756, 288, 5411, 327, 11069, 330, 19571, 797, 5621, 3639, 289, 3639, 19817, 797, 618, 273, 11312, 797, 5621, 3639, 309, 16051, 723, 18, 291, 19571, 10756, 288, 2398, 618, 273, 1221, 2781, 797, 12, 588, 2781, 797, 10663, 3639, 289, 3639, 1815, 618, 1276, 6565, 797, 31, 540, 618, 18, 542, 29048, 12, 291, 29048, 10663, 3639, 618, 18, 542, 42, 9808, 12, 291, 42, 9808, 10663, 3639, 327, 261, 2781, 797, 13, 723, 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 ]
for (int i=0; i<values.length; i++)
for (int i = 0; i < values.length; i++)
public void addDC(String element, String qualifier, String lang, String[] values ) throws AuthorizeException { // We will not verify that they are valid entries in the registry // until update() is called. for (int i=0; i<values.length; i++) { DCValue dcv = new DCValue(); dcv.element = element; dcv.qualifier = qualifier; dcv.language = lang; dublinCore.add(dcv); } }
52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/85c7430ba7691f831fafc420459d280408310eb9/Item.java/buggy/dspace/src/org/dspace/content/Item.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 5528, 12, 780, 930, 16, 8227, 514, 12327, 16, 8227, 514, 3303, 16, 8227, 514, 8526, 924, 262, 3639, 1216, 23859, 503, 565, 288, 3639, 368, 1660, 903, 486, 3929, 716, 2898, 854, 923, 3222, 316, 326, 4023, 3639, 368, 3180, 1089, 1435, 353, 2566, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 21533, 620, 6744, 90, 273, 394, 21533, 620, 5621, 5411, 6744, 90, 18, 2956, 273, 930, 31, 5411, 6744, 90, 18, 28157, 273, 12327, 31, 5411, 6744, 90, 18, 4923, 273, 3303, 31, 5411, 302, 29056, 4670, 18, 1289, 12, 7201, 90, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 5528, 12, 780, 930, 16, 8227, 514, 12327, 16, 8227, 514, 3303, 16, 8227, 514, 8526, 924, 262, 3639, 1216, 23859, 503, 565, 288, 3639, 368, 1660, 903, 486, 3929, 716, 2898, 854, 923, 3222, 316, 326, 4023, 3639, 368, 3180, 1089, 1435, 353, 2566, 18, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 924, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 21533, 620, 6744, 90, 273, 394, 21533, 620, 5621, 5411, 6744, 90, 18, 2956, 273, 930, 31, 5411, 6744, 90, 18, 28157, 273, 12327, 31, 5411, 6744, 90, 18, 4923, 273, 3303, 31, 5411, 302, 29056, 4670, 18, 1289, 12, 7201, 90, 1769, 3639, 289, 565, 289, 2, -100, -100, -100 ]
if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!");
if (!canWrite()) throw new IOException( "Filesystem or directory is mounted read-only!");
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2DirectoryRecord dr; Ext2Entry newEntry; Ext2FileSystem fs = (Ext2FileSystem) getFileSystem(); try{ int rights = 0xFFFF & (Ext2Constants.EXT2_S_IRWXU | Ext2Constants.EXT2_S_IRWXG | Ext2Constants.EXT2_S_IRWXO); newINode = fs.createINode((int)iNode.getGroup(), Ext2Constants.EXT2_S_IFDIR, rights, 0, 0); dr = new Ext2DirectoryRecord(fs, newINode.getINodeNr(), Ext2Constants.EXT2_FT_DIR, name); addDirectoryRecord(dr); newINode.setLinksCount( newINode.getLinksCount()+1 ); newEntry = new Ext2Entry(newINode, name, Ext2Constants.EXT2_FT_DIR, fs, this); //add "." Ext2Directory newDir = new Ext2Directory(newEntry); Ext2DirectoryRecord drThis = new Ext2DirectoryRecord( fs, newINode.getINodeNr(), Ext2Constants.EXT2_FT_DIR, "." ); newINode.setLinksCount( 2 ); newDir.addDirectoryRecord( drThis ); //add ".." long parentINodeNr = ((Ext2Directory)entry.getDirectory()).getINode().getINodeNr(); Ext2DirectoryRecord drParent=new Ext2DirectoryRecord( fs, parentINodeNr, Ext2Constants.EXT2_FT_DIR, ".." ); newDir.addDirectoryRecord( drParent ); //increase the reference count for the parent directory INode parentINode = fs.getINode((int)parentINodeNr); parentINode.setLinksCount( parentINode.getLinksCount()+1 ); //update the number of used directories in the block group int group = (int)( (newINode.getINodeNr()-1) / fs.getSuperblock().getINodesPerGroup()) ; fs.modifyUsedDirsCount(group, 1); //update the new inode newINode.update(); }catch(FileSystemException fse) { throw new IOException(fse); } return newEntry; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4fe0410e3d1e4dea160852289195cd6981c0f456/Ext2Directory.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2Directory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9247, 1622, 28430, 1622, 12, 780, 508, 13, 1216, 1860, 288, 202, 202, 430, 12, 5, 4169, 3067, 10756, 1082, 202, 12849, 394, 1860, 2932, 12861, 578, 1867, 353, 20919, 855, 17, 3700, 4442, 1769, 202, 202, 759, 2640, 279, 394, 277, 907, 364, 326, 585, 202, 202, 759, 6241, 30, 2006, 14989, 16, 585, 618, 16, 10034, 471, 611, 734, 1410, 506, 2275, 3059, 326, 9247, 2853, 1560, 202, 202, 23184, 394, 23184, 31, 202, 202, 2482, 22, 2853, 2115, 5081, 31, 202, 202, 2482, 22, 1622, 24086, 31, 202, 202, 2482, 22, 11785, 2662, 273, 261, 2482, 22, 11785, 13, 29986, 5621, 3196, 202, 698, 95, 1082, 202, 474, 14989, 273, 374, 21718, 473, 261, 2482, 22, 2918, 18, 4142, 22, 67, 55, 67, 7937, 59, 60, 57, 571, 6419, 22, 2918, 18, 4142, 22, 67, 55, 67, 7937, 59, 60, 43, 571, 6419, 22, 2918, 18, 4142, 22, 67, 55, 67, 7937, 59, 60, 51, 1769, 1082, 202, 2704, 23184, 273, 2662, 18, 2640, 23184, 12443, 474, 13, 77, 907, 18, 588, 1114, 9334, 6419, 22, 2918, 18, 4142, 22, 67, 55, 67, 5501, 4537, 16, 14989, 16, 374, 16, 374, 1769, 25083, 202, 3069, 273, 394, 6419, 22, 2853, 2115, 12, 2556, 16, 394, 23184, 18, 588, 23184, 18726, 9334, 6419, 22, 2918, 18, 4142, 22, 67, 4464, 67, 4537, 16, 508, 1769, 1082, 202, 1289, 2853, 2115, 12, 3069, 1769, 25083, 202, 2704, 23184, 18, 542, 7100, 1380, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9247, 1622, 28430, 1622, 12, 780, 508, 13, 1216, 1860, 288, 202, 202, 430, 12, 5, 4169, 3067, 10756, 1082, 202, 12849, 394, 1860, 2932, 12861, 578, 1867, 353, 20919, 855, 17, 3700, 4442, 1769, 202, 202, 759, 2640, 279, 394, 277, 907, 364, 326, 585, 202, 202, 759, 6241, 30, 2006, 14989, 16, 585, 618, 16, 10034, 471, 611, 734, 1410, 506, 2275, 3059, 326, 9247, 2853, 1560, 202, 202, 23184, 394, 23184, 31, 202, 202, 2482, 22, 2853, 2115, 5081, 31, 202, 202, 2482, 22, 1622, 24086, 31, 202, 202, 2482, 22, 11785, 2662, 273, 261, 2482, 22, 11785, 13, 29986, 5621, 3196, 202, 698, 95, 1082, 202, 474, 14989, 273, 374, 21718, 473, 2 ]
public boolean isEditable();
boolean isEditable();
public boolean isEditable();
9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/edfbbd9ac4b0509913ee0d047a6b893c082271af/ModifiableComponent.java/buggy/csmart/src/org/cougaar/tools/csmart/ui/component/ModifiableComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 15470, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 15470, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
pullDownButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { fireEvent(TabFolderEvent.EVENT_PANE_MENU, getSelection(), getPaneMenuLocation()); } });
actualToolBar.addMouseListener(new MouseAdapter() { /* (non-Javadoc) * @see org.eclipse.swt.events.MouseAdapter#mouseDown(org.eclipse.swt.events.MouseEvent) */ public void mouseDown(MouseEvent e) { fireEvent(TabFolderEvent.EVENT_PANE_MENU, getSelection(), getPaneMenuLocation()); } });
public DefaultTabFolder(Composite parent, int flags, boolean allowMin, boolean allowMax) { paneFolder = new PaneFolder(parent, flags | SWT.NO_BACKGROUND); paneFolder.addButtonListener(buttonListener); paneFolder.setMinimizeVisible(allowMin); paneFolder.setMaximizeVisible(allowMax); paneFolder.getControl().addListener(SWT.Selection, selectionListener); paneFolder.setTopRight(null); // Initialize view menu dropdown { viewToolBar = new Composite(paneFolder.getControl(), SWT.NO_BACKGROUND); viewToolBar.setLayout(new EnhancedFillLayout()); viewToolBar.setVisible(false); ToolBar actualToolBar = new ToolBar(viewToolBar, SWT.FLAT | SWT.NO_BACKGROUND); ToolItem pullDownButton = new ToolItem(actualToolBar, SWT.PUSH); Image hoverImage = WorkbenchImages .getImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU_HOVER); pullDownButton.setDisabledImage(hoverImage); pullDownButton.setImage(hoverImage); pullDownButton.setToolTipText(WorkbenchMessages.getString("Menu")); //$NON-NLS-1$ pullDownButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { fireEvent(TabFolderEvent.EVENT_PANE_MENU, getSelection(), getPaneMenuLocation()); } }); } // Initialize content description label { titleLabel = new Label(paneFolder.getControl(), SWT.NONE); titleLabel.moveAbove(null); titleLabel.setVisible(false); } attachListeners(paneFolder.getControl(), true); paneFolder.setTabHeight(computeTabHeight()); viewToolBar.moveAbove(null); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3f94593c2848dae8f82ac51ad8d585bd89404143/DefaultTabFolder.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/defaultpresentation/DefaultTabFolder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2989, 5661, 3899, 12, 9400, 982, 16, 509, 2943, 16, 1250, 1699, 2930, 16, 1250, 1699, 2747, 13, 288, 3639, 13618, 3899, 273, 394, 453, 8806, 3899, 12, 2938, 16, 2943, 571, 348, 8588, 18, 3417, 67, 8720, 20166, 1769, 3639, 13618, 3899, 18, 1289, 3616, 2223, 12, 5391, 2223, 1769, 3639, 13618, 3899, 18, 542, 2930, 10153, 6207, 12, 5965, 2930, 1769, 3639, 13618, 3899, 18, 542, 2747, 10153, 6207, 12, 5965, 2747, 1769, 3639, 13618, 3899, 18, 588, 3367, 7675, 1289, 2223, 12, 55, 8588, 18, 6233, 16, 4421, 2223, 1769, 3639, 13618, 3899, 18, 542, 3401, 4726, 12, 2011, 1769, 7734, 368, 9190, 1476, 3824, 13972, 3639, 288, 5411, 1476, 6364, 5190, 273, 394, 14728, 12, 29009, 3899, 18, 588, 3367, 9334, 348, 8588, 18, 3417, 67, 8720, 20166, 1769, 5411, 1476, 6364, 5190, 18, 542, 3744, 12, 2704, 1374, 17221, 8026, 3744, 10663, 5411, 1476, 6364, 5190, 18, 542, 6207, 12, 5743, 1769, 13491, 13288, 5190, 3214, 6364, 5190, 273, 394, 13288, 5190, 12, 1945, 6364, 5190, 16, 348, 8588, 18, 42, 12190, 571, 348, 8588, 18, 3417, 67, 8720, 20166, 1769, 2398, 202, 3639, 13288, 1180, 6892, 4164, 3616, 273, 394, 13288, 1180, 12, 18672, 6364, 5190, 16, 348, 8588, 18, 30348, 1769, 202, 3639, 3421, 15758, 2040, 273, 4147, 22144, 8946, 202, 7734, 263, 588, 2040, 12, 45, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 48, 5017, 67, 12145, 67, 29227, 67, 7995, 2204, 1769, 202, 3639, 6892, 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, 2989, 5661, 3899, 12, 9400, 982, 16, 509, 2943, 16, 1250, 1699, 2930, 16, 1250, 1699, 2747, 13, 288, 3639, 13618, 3899, 273, 394, 453, 8806, 3899, 12, 2938, 16, 2943, 571, 348, 8588, 18, 3417, 67, 8720, 20166, 1769, 3639, 13618, 3899, 18, 1289, 3616, 2223, 12, 5391, 2223, 1769, 3639, 13618, 3899, 18, 542, 2930, 10153, 6207, 12, 5965, 2930, 1769, 3639, 13618, 3899, 18, 542, 2747, 10153, 6207, 12, 5965, 2747, 1769, 3639, 13618, 3899, 18, 588, 3367, 7675, 1289, 2223, 12, 55, 8588, 18, 6233, 16, 4421, 2223, 1769, 3639, 13618, 3899, 18, 542, 3401, 4726, 12, 2011, 1769, 7734, 368, 9190, 1476, 3824, 13972, 3639, 288, 5411, 1476, 6364, 5190, 273, 394, 2 ]
public boolean appendSemicolon(boolean a) { boolean old = this.appendSemicolon; this.appendSemicolon = a; return old;
public boolean appendSemicolon() { return appendSemicolon;
public boolean appendSemicolon(boolean a) { boolean old = this.appendSemicolon; this.appendSemicolon = a; return old; }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/3d89dbe1de98f29c3fc47971d4a9b9af8cab2dca/PrettyPrinter.java/buggy/src/polyglot/visit/PrettyPrinter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 714, 13185, 17280, 12, 6494, 279, 13, 288, 3639, 1250, 1592, 273, 333, 18, 6923, 13185, 17280, 31, 3639, 333, 18, 6923, 13185, 17280, 273, 279, 31, 202, 2463, 1592, 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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 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 714, 13185, 17280, 12, 6494, 279, 13, 288, 3639, 1250, 1592, 273, 333, 18, 6923, 13185, 17280, 31, 3639, 333, 18, 6923, 13185, 17280, 273, 279, 31, 202, 2463, 1592, 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 ]
private static synchronized void testInitialize(Properties pProperties, PrintStream pOut, PrintStream pErr) { initialized = true;
private static synchronized void testInitialize(Properties pProperties, PrintStream pOut, PrintStream pErr) { initialized= true;
private static synchronized void testInitialize(Properties pProperties, PrintStream pOut, PrintStream pErr) { initialized = true; loggers.clear(); rootLoggerLevel = WARN; debug = false; out = pOut; err = pErr; checkProperties(pProperties); }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/96769faec3ab62f18300a49b416f1c5e2f108496/Logger.java/clean/src/main/org/testng/log4testng/Logger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 3852, 918, 1842, 7520, 12, 2297, 293, 2297, 16, 21677, 293, 1182, 16, 21677, 293, 2524, 13, 225, 288, 565, 6454, 273, 638, 31, 565, 18244, 18, 8507, 5621, 565, 1365, 3328, 2355, 273, 20440, 31, 565, 1198, 273, 629, 31, 565, 596, 273, 293, 1182, 31, 565, 393, 273, 293, 2524, 31, 565, 866, 2297, 12, 84, 2297, 1769, 225, 289, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3852, 918, 1842, 7520, 12, 2297, 293, 2297, 16, 21677, 293, 1182, 16, 21677, 293, 2524, 13, 225, 288, 565, 6454, 273, 638, 31, 565, 18244, 18, 8507, 5621, 565, 1365, 3328, 2355, 273, 20440, 31, 565, 1198, 273, 629, 31, 565, 596, 273, 293, 1182, 31, 565, 393, 273, 293, 2524, 31, 565, 866, 2297, 12, 84, 2297, 1769, 225, 289, 225, 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 ]
throw new KeytoolException("Empty input");
throw new IOException("Empty input");
static Collection readCRLs(String fileName, String providerName) throws CertificateException, NoSuchProviderException, IOException, KeytoolException, CRLException { InputStream input = getInputStream(fileName); CertificateFactory factory = getCertificateFactory(providerName); if (input == System.in){ System.out.println("Please, input CRL(s)..."); } try { // let the user paste the certificates or CRLs, if read from stdin. // If reading from file, don't sleep. Thread.sleep(sleepPeriod); } catch (InterruptedException e) { // do nothing } // if the file is empty or nothing was entered // FIXME: remove available. Try to read and catch exception? if (input.available() <= 0) { throw new KeytoolException("Empty input"); } try { Collection crlCollection = factory.generateCRLs(input); if (input != System.in) { input.close(); } return crlCollection; } catch (CRLException e) { throw new CRLException("Failed to generate a CRL from the input. ", e); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/dfe686274f987c8e7c877a5c1eaec991e36ac063/CertReader.java/clean/modules/tools/src/main/java/org/apache/harmony/tools/keytool/CertReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 2200, 855, 29524, 87, 12, 780, 3968, 16, 514, 26036, 13, 5411, 1216, 29551, 16, 5823, 2249, 503, 16, 1860, 16, 5411, 1929, 6738, 503, 16, 26526, 503, 288, 3639, 5037, 810, 273, 14424, 12, 17812, 1769, 3639, 6660, 1733, 3272, 273, 27653, 1733, 12, 6778, 461, 1769, 3639, 309, 261, 2630, 422, 2332, 18, 267, 15329, 5411, 2332, 18, 659, 18, 8222, 2932, 8496, 16, 810, 26526, 12, 87, 13, 7070, 1769, 3639, 289, 3639, 775, 288, 5411, 368, 2231, 326, 729, 19401, 326, 12522, 578, 26526, 87, 16, 309, 855, 628, 8801, 18, 5411, 368, 971, 6453, 628, 585, 16, 2727, 1404, 5329, 18, 5411, 4884, 18, 19607, 12, 19607, 5027, 1769, 3639, 289, 1044, 261, 24485, 503, 425, 13, 288, 5411, 368, 741, 5083, 3639, 289, 3639, 368, 309, 326, 585, 353, 1008, 578, 5083, 1703, 16219, 3639, 368, 9852, 30, 1206, 2319, 18, 6161, 358, 855, 471, 1044, 1520, 35, 3639, 309, 261, 2630, 18, 5699, 1435, 1648, 374, 13, 288, 5411, 604, 394, 1860, 2932, 1921, 810, 8863, 3639, 289, 3639, 775, 288, 5411, 2200, 18789, 2532, 273, 3272, 18, 7163, 29524, 87, 12, 2630, 1769, 5411, 309, 261, 2630, 480, 2332, 18, 267, 13, 288, 7734, 810, 18, 4412, 5621, 5411, 289, 5411, 327, 18789, 2532, 31, 3639, 289, 1044, 261, 29524, 503, 425, 13, 288, 5411, 604, 394, 26526, 503, 2932, 2925, 358, 2103, 279, 26526, 628, 326, 810, 18, 3104, 10792, 425, 1769, 3639, 289, 565, 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, 760, 2200, 855, 29524, 87, 12, 780, 3968, 16, 514, 26036, 13, 5411, 1216, 29551, 16, 5823, 2249, 503, 16, 1860, 16, 5411, 1929, 6738, 503, 16, 26526, 503, 288, 3639, 5037, 810, 273, 14424, 12, 17812, 1769, 3639, 6660, 1733, 3272, 273, 27653, 1733, 12, 6778, 461, 1769, 3639, 309, 261, 2630, 422, 2332, 18, 267, 15329, 5411, 2332, 18, 659, 18, 8222, 2932, 8496, 16, 810, 26526, 12, 87, 13, 7070, 1769, 3639, 289, 3639, 775, 288, 5411, 368, 2231, 326, 729, 19401, 326, 12522, 578, 26526, 87, 16, 309, 855, 628, 8801, 18, 5411, 368, 971, 6453, 628, 585, 16, 2727, 1404, 5329, 18, 5411, 4884, 18, 19607, 12, 19607, 5027, 1769, 3639, 289, 1044, 2 ]