rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
if (peer != null) ((MenuPeer) peer).addSeparator();
add(new MenuItem(separatorLabel));
addSeparator(){ if (peer != null) ((MenuPeer) peer).addSeparator();}
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/14511e3ad21013e92c6399b2bd2ec09a8263e33a/Menu.java/buggy/libjava/java/awt/Menu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 527, 6581, 1435, 95, 225, 309, 261, 12210, 480, 446, 13, 565, 14015, 4599, 6813, 13, 4261, 2934, 1289, 6581, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 527, 6581, 1435, 95, 225, 309, 261, 12210, 480, 446, 13, 565, 14015, 4599, 6813, 13, 4261, 2934, 1289, 6581, 5621, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
for(int i = 0; i < elements2.length; i++){ if(elements2[i] instanceof PsiLocalVariable){ vars2.add(elements2[i]);
for(PsiElement aElements2 : elements2){ if(aElements2 instanceof PsiLocalVariable){ vars2.add(aElements2);
private static boolean declarationStatementsAreEquivalent(PsiDeclarationStatement statement1, PsiDeclarationStatement statement2){ final PsiElement[] elements1 = statement1.getDeclaredElements(); final List vars1 = new ArrayList(elements1.length); for(int i = 0; i < elements1.length; i++){ if(elements1[i] instanceof PsiLocalVariable){ vars1.add(elements1[i]); } } final PsiElement[] elements2 = statement2.getDeclaredElements(); final List vars2 = new ArrayList(elements2.length); for(int i = 0; i < elements2.length; i++){ if(elements2[i] instanceof PsiLocalVariable){ vars2.add(elements2[i]); } } if(vars1.size() != vars2.size()){ return false; } for(int i = 0; i < vars1.size(); i++){ final PsiLocalVariable var1 = (PsiLocalVariable) vars1.get(i); final PsiLocalVariable var2 = (PsiLocalVariable) vars2.get(i); if(localVariableAreEquivalent(var1, var2)){ return false; } } return true; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/2d46d291193579a7564649b4881c7ea8e02eda5b/EquivalenceChecker.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/EquivalenceChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 8266, 14663, 4704, 22606, 12, 52, 7722, 6094, 3406, 3021, 21, 16, 4766, 17311, 453, 7722, 6094, 3406, 3021, 22, 15329, 3639, 727, 453, 7722, 1046, 8526, 2186, 21, 273, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 1250, 8266, 14663, 4704, 22606, 12, 52, 7722, 6094, 3406, 3021, 21, 16, 4766, 17311, 453, 7722, 6094, 3406, 3021, 22, 15329, 3639, 727, 453, 7722, 1046, 8526, 2186, 21, 273, 30...
top = (SimpleNode)location.jjtGetParent().jjtGetParent().jjtGetParent();
primaryExpression = (SimpleNode)location.jjtGetParent().jjtGetParent().jjtGetParent();
public boolean isOnLeftHandSide() { SimpleNode top = null; if (location.jjtGetParent() instanceof ASTPrimaryExpression) { top = (SimpleNode)location.jjtGetParent().jjtGetParent(); } else if (location.jjtGetParent().jjtGetParent() instanceof ASTPrimaryExpression) { top = (SimpleNode)location.jjtGetParent().jjtGetParent().jjtGetParent(); } else { throw new RuntimeException("Found a NameOccurrence that didn't have an ASTPrimary Expression as parent or grandparent. Parent = " + location.jjtGetParent() + " and grandparent = " + location.jjtGetParent().jjtGetParent()); } return top.jjtGetNumChildren() > 1 && top.jjtGetChild(1) instanceof ASTAssignmentOperator; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/a6ee8f7694c0e310f57c03a2bf83632a30749189/NameOccurrence.java/clean/pmd/src/net/sourceforge/pmd/symboltable/NameOccurrence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 28181, 3910, 1144, 8895, 1435, 288, 3639, 4477, 907, 1760, 273, 446, 31, 3639, 309, 261, 3562, 18, 78, 78, 88, 967, 3054, 1435, 1276, 9183, 6793, 2300, 13, 288, 5411, 1760, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 28181, 3910, 1144, 8895, 1435, 288, 3639, 4477, 907, 1760, 273, 446, 31, 3639, 309, 261, 3562, 18, 78, 78, 88, 967, 3054, 1435, 1276, 9183, 6793, 2300, 13, 288, 5411, 1760, ...
throws XmlException, IOException, FatalCompileTimeException {
throws IOException, FatalCompileTimeException {
protected GenXWorkModuleConfigModel createStrutsApp(ClassDeclaration jclass) throws XmlException, IOException, FatalCompileTimeException { File sourceFile = CompilerUtils.getSourceFile(jclass, true); return new GenXWorkModuleConfigModel(sourceFile, jclass, getEnv(), getFCSourceFileInfo(), true, getDiagnostics()); }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/74cda7c2aa1023c821782bc0e607fe2cf90d80d3/PageFlowChecker.java/clean/ti/jars/core/src/java/org/apache/ti/compiler/internal/PageFlowChecker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10938, 60, 2421, 3120, 809, 1488, 752, 1585, 12940, 3371, 12, 797, 6094, 525, 1106, 13, 5411, 1216, 1860, 16, 10375, 9937, 950, 503, 288, 3639, 1387, 16338, 273, 12972, 1989, 18, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10938, 60, 2421, 3120, 809, 1488, 752, 1585, 12940, 3371, 12, 797, 6094, 525, 1106, 13, 5411, 1216, 1860, 16, 10375, 9937, 950, 503, 288, 3639, 1387, 16338, 273, 12972, 1989, 18, 58...
setModified(true);
public void setType(String type) { if (((type == null) && (_type != null)) || ((type != null) && (_type == null)) || ((type != null) && (_type != null) && !type.equals(_type))) { if (!XSS_ALLOW_TYPE) { type = XSSUtil.strip(type); } _type = type; setModified(true); } }
53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/f4d6afc6707f57fd84bf6b624f0c119657b0a766/GroupModel.java/buggy/portal-ejb/src/com/liferay/portal/model/GroupModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 8811, 12, 780, 618, 13, 288, 202, 202, 430, 261, 12443, 723, 422, 446, 13, 597, 261, 67, 723, 480, 446, 3719, 747, 9506, 202, 12443, 723, 480, 446, 13, 597, 261, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8811, 12, 780, 618, 13, 288, 202, 202, 430, 261, 12443, 723, 422, 446, 13, 597, 261, 67, 723, 480, 446, 3719, 747, 9506, 202, 12443, 723, 480, 446, 13, 597, 261, 67, ...
if ( ChartUIUtil.checkDataBinding( getCurrentModelState( ) )
if ( ChartPreviewPainter.isLivePreviewEnabled( ) && ChartUIUtil.checkDataBinding( getCurrentModelState( ) )
private void doLivePreviewWithoutRenderModel( ) { if ( ChartUIUtil.checkDataBinding( getCurrentModelState( ) ) && hasDataSet( ) ) { // Enable live preview ChartPreviewPainter.setEnableLivePreview( true ); // Make sure not affect model changed ChartAdapter.ignoreNotifications( true ); try { ChartUIUtil.doLivePreview( getCurrentModelState( ), ( (ChartWizardContext) getContext( ) ).getDataServiceProvider( ) ); } // Includes RuntimeException catch ( Exception e ) { // Enable sample data instead ChartPreviewPainter.setEnableLivePreview( false ); } ChartAdapter.ignoreNotifications( false ); } else { // Disable live preview ChartPreviewPainter.setEnableLivePreview( false ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/36ec0b1d5c154ba2c05e0f9aa1813da7d488f7d1/TaskFormatChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/TaskFormatChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 741, 12328, 11124, 8073, 3420, 1488, 12, 262, 202, 95, 202, 202, 430, 261, 14804, 5370, 1304, 18, 1893, 751, 5250, 12, 5175, 1488, 1119, 12, 262, 262, 9506, 202, 10, 10,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 12328, 11124, 8073, 3420, 1488, 12, 262, 202, 95, 202, 202, 430, 261, 14804, 5370, 1304, 18, 1893, 751, 5250, 12, 5175, 1488, 1119, 12, 262, 262, 9506, 202, 10, 10,...
queueResendRequest(packetNumber);
try { queueResendRequest(packetNumber); } catch (UpdatableSortedLinkedListKilledException e) { }
public void receivedAckRequest(int packetNumber) { if(queuedAck(packetNumber)) { // Already going to send an ack // Don't speed it up though; wasteful } else { if(packetNumbersReceived.contains(packetNumber)) { // We have received it, so send them an ack queueAck(packetNumber); } else { // We have not received it, so get them to resend it queueResendRequest(packetNumber); synchronized(this) { highestSeenIncomingSerialNumber = Math.max(highestSeenIncomingSerialNumber, packetNumber); } } } }
46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/b4ecaa4055b5835413830d4125c72de27d68e306/KeyTracker.java/buggy/src/freenet/node/KeyTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 11931, 691, 12, 474, 4414, 1854, 13, 288, 3639, 309, 12, 19499, 11931, 12, 11482, 1854, 3719, 288, 5411, 368, 17009, 8554, 358, 1366, 392, 8479, 5411, 368, 7615, 1404, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5079, 11931, 691, 12, 474, 4414, 1854, 13, 288, 3639, 309, 12, 19499, 11931, 12, 11482, 1854, 3719, 288, 5411, 368, 17009, 8554, 358, 1366, 392, 8479, 5411, 368, 7615, 1404, 86...
jsc.add("return ");
jsc.add("return new org.exolab.castor.util.IteratorEnumeration( ");
public void createGetMethod(JMethod method) { JSourceCode jsc = method.getSourceCode(); JType jType = method.getReturnType(); jsc.add("return "); jsc.append(getName()); jsc.append(";"); } //-- createGetMethod
3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/3bdfccc1d9880f58a8155c21ced8f3204ba6d8b7/CollectionInfoJ2.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/builder/CollectionInfoJ2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 967, 1305, 12, 46, 1305, 707, 13, 288, 3639, 804, 1830, 1085, 525, 1017, 273, 707, 18, 588, 1830, 1085, 5621, 3639, 804, 559, 525, 559, 273, 707, 18, 588, 9102, 5621, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 967, 1305, 12, 46, 1305, 707, 13, 288, 3639, 804, 1830, 1085, 525, 1017, 273, 707, 18, 588, 1830, 1085, 5621, 3639, 804, 559, 525, 559, 273, 707, 18, 588, 9102, 5621, ...
super(why);
public ServantAlreadyActive(String why) { super(why); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/ServantAlreadyActive.java/buggy/core/src/classpath/org/org/omg/PortableServer/POAPackage/ServantAlreadyActive.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1275, 7445, 9430, 3896, 12, 780, 11598, 13, 225, 288, 377, 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,...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1275, 7445, 9430, 3896, 12, 780, 11598, 13, 225, 288, 377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
e.hasMoreElements();) {
e.hasMoreElements();) {
private static void registerCalls (OPT_IR ir) { OPT_SSADictionary dictionary = ir.HIRInfo.SSADictionary; for (OPT_BasicBlockEnumeration bbe = ir.getBasicBlocks(); bbe.hasMoreElements();) { OPT_BasicBlock b = bbe.next(); for (OPT_InstructionEnumeration e = b.forwardInstrEnumerator(); e.hasMoreElements();) { OPT_Instruction s = e.next(); //-#if RVM_FOR_IA32 boolean isSynch = false; // ignore this for now. //-#elif RVM_FOR_IA32 boolean isSynch = false; // ignore this for now. //-#elif RVM_FOR_POWERPC boolean isSynch = (s.operator() == SYNC) || (s.operator() == ISYNC); //-#endif if (isSynch || Call.conforms(s) || CallSpecial.conforms(s) || MonitorOp.conforms(s) || Prepare.conforms(s) || Attempt.conforms(s) || CacheOp.conforms(s) || s.isDynamicLinkingPoint()) { dictionary.registerUnknown(s, b); } } } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/019b5cbe54869a39aa59c39b50635e717b28f5ae/OPT_EnterSSA.java/clean/rvm/src/vm/compilers/optimizing/optimizations/global/ssa/builder/OPT_EnterSSA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1744, 10125, 261, 15620, 67, 7937, 9482, 13, 288, 565, 16456, 67, 1260, 1880, 3192, 3880, 273, 9482, 18, 44, 7937, 966, 18, 1260, 1880, 3192, 31, 565, 364, 261, 15620, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1744, 10125, 261, 15620, 67, 7937, 9482, 13, 288, 565, 16456, 67, 1260, 1880, 3192, 3880, 273, 9482, 18, 44, 7937, 966, 18, 1260, 1880, 3192, 31, 565, 364, 261, 15620, 6...
String ls = System.getProperty("line.separator"); if (!modes.isBinary() && !"\n".equals(ls)) { shouldReplace = true; if ("\r".equals(ls)) { isWin = false; } }
public IOHandlerSeekable(IRuby runtime, String path, IOModes modes) throws IOException, InvalidValueException { super(runtime); this.path = path; this.modes = modes; JRubyFile theFile = JRubyFile.create(runtime.getCurrentDirectory(),path); if (theFile.exists()) { if (modes.shouldTruncate()) { // If we only want to open for writing we should remove // the old file before opening the fresh one. If it fails // to remove it we should do something? if (!theFile.delete()) { } } } else { if (modes.isReadable() && !modes.isWriteable()) { throw new FileNotFoundException(); } } // Do not open as 'rw' if we don't need to since a file with permissions for read-only // will barf if opened 'rw'. String javaMode = "r"; if (modes.isWriteable()) { javaMode += "w"; } // We always open this rw since we can only open it r or rw. file = new RandomAccessFile(theFile, javaMode); isOpen = true; if (modes.isAppendable()) { seek(0, SEEK_END); } String ls = System.getProperty("line.separator"); if (!modes.isBinary() && !"\n".equals(ls)) { shouldReplace = true; if ("\r".equals(ls)) { isWin = false; } } // We give a fileno last so that we do not consume these when // we have a problem opening a file. fileno = RubyIO.getNewFileno(); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/500bc20ac823da86d173c906df2b9e776a4d35e2/IOHandlerSeekable.java/clean/src/org/jruby/util/IOHandlerSeekable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1665, 1503, 16134, 429, 12, 7937, 10340, 3099, 16, 514, 589, 16, 1665, 18868, 12382, 13, 1377, 202, 15069, 1860, 16, 1962, 9738, 288, 3639, 2240, 12, 9448, 1769, 7734, 333, 18, 803,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1665, 1503, 16134, 429, 12, 7937, 10340, 3099, 16, 514, 589, 16, 1665, 18868, 12382, 13, 1377, 202, 15069, 1860, 16, 1962, 9738, 288, 3639, 2240, 12, 9448, 1769, 7734, 333, 18, 803,...
if (jj_3R_297()) {
if (jj_3R_294()) {
final private boolean jj_3R_282() { Token xsp; xsp = jj_scanpos; if (jj_3R_297()) { jj_scanpos = xsp; if (jj_3R_298()) { jj_scanpos = xsp; if (jj_3R_299()) { jj_scanpos = xsp; if (jj_3R_300()) return true; } } } return false; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/ab83afb5228ef279b7bcc47c36ec843d3de7d3b1/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 6030, 22, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5540, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 6030, 22, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 5540, 24...
try { while (shouldRun) {
while (shouldRun) { try {
public void offerService() throws Exception { long lastHeartbeat = 0, lastBlockReport = 0; LOG.info("using BLOCKREPORT_INTERVAL of " + blockReportInterval + "msec"); // // Now loop for a long time.... // try { while (shouldRun) { long now = System.currentTimeMillis(); // // Every so often, send heartbeat or block-report // if (now - lastHeartbeat > HEARTBEAT_INTERVAL) { // // All heartbeat messages include following info: // -- Datanode name // -- data transfer port // -- Total capacity // -- Bytes remaining // BlockCommand cmd = namenode.sendHeartbeat(dnRegistration, data.getCapacity(), data.getRemaining(), xmitsInProgress, xceiverCount.getValue()); //LOG.info("Just sent heartbeat, with name " + localName); lastHeartbeat = now; if( cmd != null ) { data.checkDataDir(); if (cmd.transferBlocks()) { // // Send a copy of a block to another datanode // Block blocks[] = cmd.getBlocks(); DatanodeInfo xferTargets[][] = cmd.getTargets(); for (int i = 0; i < blocks.length; i++) { if (!data.isValidBlock(blocks[i])) { String errStr = "Can't send invalid block " + blocks[i]; LOG.info(errStr); namenode.errorReport( dnRegistration, DatanodeProtocol.INVALID_BLOCK, errStr); break; } else { if (xferTargets[i].length > 0) { LOG.info("Starting thread to transfer block " + blocks[i] + " to " + xferTargets[i]); new Daemon(new DataTransfer(xferTargets[i], blocks[i])).start(); } } } } else if (cmd.invalidateBlocks()) { // // Some local block(s) are obsolete and can be // safely garbage-collected. // Block toDelete[] = cmd.getBlocks(); data.invalidate(toDelete); myMetrics.removedBlocks(toDelete.length); } else if( cmd.shutdownNode()) { // shut down the data node this.shutdown(); continue; } } } // send block report if (now - lastBlockReport > blockReportInterval) { // before send block report, check if data directory is healthy data.checkDataDir(); // // Send latest blockinfo report if timer has expired. // Get back a list of local block(s) that are obsolete // and can be safely GC'ed. // Block toDelete[] = namenode.blockReport(dnRegistration, data.getBlockReport()); data.invalidate(toDelete); lastBlockReport = now; continue; } // check if there are newly received blocks Block [] blockArray=null; synchronized( receivedBlockList ) { if (receivedBlockList.size() > 0) { // // Send newly-received blockids to namenode // blockArray = (Block[]) receivedBlockList.toArray(new Block[receivedBlockList.size()]); receivedBlockList.removeAllElements(); } } if( blockArray != null ) { namenode.blockReceived( dnRegistration, blockArray ); } // // There is no work to do; sleep until hearbeat timer elapses, // or work arrives, and then iterate again. // long waitTime = HEARTBEAT_INTERVAL - (System.currentTimeMillis() - lastHeartbeat); synchronized( receivedBlockList ) { if (waitTime > 0 && receivedBlockList.size() == 0) { try { receivedBlockList.wait(waitTime); } catch (InterruptedException ie) { } } } // synchronized } // while (shouldRun) } catch(DiskErrorException e) { handleDiskError(e.getLocalizedMessage()); } catch( RemoteException re ) { String reClass = re.getClassName(); if( UnregisteredDatanodeException.class.getName().equals( reClass )) { LOG.warn( "DataNode is shutting down: " + StringUtils.stringifyException(re)); shutdown(); return; } throw re; } } // offerService
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/13ef41b9ec54840ddc6397f4d21faa3c014f2db2/DataNode.java/clean/src/java/org/apache/hadoop/dfs/DataNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10067, 1179, 1435, 1216, 1185, 288, 6647, 1525, 1142, 15894, 273, 374, 16, 1142, 1768, 4820, 273, 374, 31, 1377, 2018, 18, 1376, 2932, 9940, 14073, 22710, 67, 16435, 434, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10067, 1179, 1435, 1216, 1185, 288, 6647, 1525, 1142, 15894, 273, 374, 16, 1142, 1768, 4820, 273, 374, 31, 1377, 2018, 18, 1376, 2932, 9940, 14073, 22710, 67, 16435, 434, 315, ...
return 0;
return super.methodArity(methodId);
public int methodArity(int methodId, IdFunction function) { switch (methodId) { case ConstructorId_UTC: case ConstructorId_parse: case Id_constructor: case Id_setTime: case Id_setMilliseconds: case Id_setUTCMilliseconds: case Id_setDate: case Id_setUTCDate: case Id_setYear: return 1; case Id_setSeconds: case Id_setUTCSeconds: case Id_setMonth: case Id_setUTCMonth: return 2; case Id_setMinutes: case Id_setUTCMinutes: case Id_setFullYear: case Id_setUTCFullYear: return 3; case Id_setHours: case Id_setUTCHours: return 4; } return 0; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/a5853f6845d59167138e770e814122511e0cc22b/NativeDate.java/buggy/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 707, 686, 560, 12, 474, 707, 548, 16, 3124, 2083, 445, 13, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 11471, 30, 3639, 648, 11417, 548, 67, 2670, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 707, 686, 560, 12, 474, 707, 548, 16, 3124, 2083, 445, 13, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 11471, 30, 3639, 648, 11417, 548, 67, 2670, ...
Element element = null; if (type == DEFAULT_TYPE) { element = (Element)content; } else if (type == PLUS_TYPE || type == COMMA_TYPE) { element = ((ContentModel)content).first();
Element element; try { if (type == STAR_TYPE || type == QUESTION_TYPE || type == LINE_TYPE || type == AMPER_TYPE) { element = null; } else if (type == PLUS_TYPE || type == COMMA_TYPE) { element = ((ContentModel) content).first(); } else { element = (Element) content; } return element; } catch (ClassCastException e) { throw new ClassCastException (content.getClass().getName());
public Element first() { Element element = null; if (type == DEFAULT_TYPE) { element = (Element)content; } else if (type == PLUS_TYPE || type == COMMA_TYPE) { element = ((ContentModel)content).first(); } return element; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/64e4d198631331ce1a6d00e374c2337873e890b9/ContentModel.java/clean/modules/swing/src/main/java/common/javax/swing/text/html/parser/ContentModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3010, 1122, 1435, 288, 3639, 3010, 930, 273, 446, 31, 3639, 309, 261, 723, 422, 3331, 67, 2399, 13, 288, 5411, 930, 273, 261, 1046, 13, 1745, 31, 3639, 289, 469, 309, 261, 723, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3010, 1122, 1435, 288, 3639, 3010, 930, 273, 446, 31, 3639, 309, 261, 723, 422, 3331, 67, 2399, 13, 288, 5411, 930, 273, 261, 1046, 13, 1745, 31, 3639, 289, 469, 309, 261, 723, ...
public void testTestsMethodNameForEqualityToString() { MethodNameMatcher matcher; matcher = new MethodNameMatcher(METHOD_NAME); assertTrue("Should match name", matcher.matches(exampleInvocation)); matcher = new MethodNameMatcher(OTHER_NAME); assertFalse("Should not match other name", matcher.matches(exampleInvocation)); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/MethodNameMatcherTest.java/buggy/jmock/core/src/test/jmock/core/matcher/MethodNameMatcherTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 14650, 11666, 1290, 20273, 5808, 1435, 288, 202, 202, 11666, 6286, 4546, 31, 9506, 202, 22761, 273, 394, 2985, 461, 6286, 12, 5327, 67, 1985, 1769, 202, 202, 11231, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14650, 11666, 1290, 20273, 5808, 1435, 288, 202, 202, 11666, 6286, 4546, 31, 9506, 202, 22761, 273, 394, 2985, 461, 6286, 12, 5327, 67, 1985, 1769, 202, 202, 11231, 5...
} catch(PSQLException(ex1) {
} catch(PSQLException ex1) {
public java.sql.Connection connect(String url, Properties info) throws SQLException { if((props = parseURL(url,info))==null) return null; DriverManager.println("Using "+connectClass); try { postgresql.Connection con = (postgresql.Connection)(Class.forName(connectClass).newInstance()); con.openConnection (host(), port(), props, database(), url, this); return (java.sql.Connection)con; } catch(ClassNotFoundException ex) { throw new PSQLException("postgresql.jvm.version",ex); } catch(PSQLException(ex1) { // re-throw the exception, otherwise it will be caught next, and a // postgresql.unusual error will be returned instead. throw ex1; } catch(Exception ex2) {
2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/a82d23e5c013587296f807ff3886359fd4941f96/Driver.java/buggy/postgresql/Driver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 1952, 3077, 12, 780, 880, 16, 6183, 1123, 13, 1216, 6483, 225, 288, 565, 309, 12443, 9693, 273, 1109, 1785, 12, 718, 16, 1376, 3719, 631, 2011, 13, 1377, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 1952, 3077, 12, 780, 880, 16, 6183, 1123, 13, 1216, 6483, 225, 288, 565, 309, 12443, 9693, 273, 1109, 1785, 12, 718, 16, 1376, 3719, 631, 2011, 13, 1377, 327, ...
{ PredefinedStyle s1 = (PredefinedStyle) arg0; PredefinedStyle s2 = (PredefinedStyle) arg1; return s1.getName( ).compareTo( s2.getName( ) ); }
{ PredefinedStyle s1 = (PredefinedStyle) arg0; PredefinedStyle s2 = (PredefinedStyle) arg1; return s1.getName( ).compareTo( s2.getName( ) ); }
public int compare( Object arg0, Object arg1 ) { PredefinedStyle s1 = (PredefinedStyle) arg0; PredefinedStyle s2 = (PredefinedStyle) arg1; return s1.getName( ).compareTo( s2.getName( ) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/2012a7e6d8d91844c6c396ee5b7b69a4345dea99/Generator.java/clean/model/org.eclipse.birt.report.model/romdoc/src/org/eclipse/birt/doc/romdoc/Generator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 3400, 12, 1033, 1501, 20, 16, 1033, 1501, 21, 262, 202, 202, 95, 1082, 202, 1386, 2178, 2885, 272, 21, 273, 261, 1386, 2178, 2885, 13, 1501, 20, 31, 1082, 202, 1386, 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, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 509, 3400, 12, 1033, 1501, 20, 16, 1033, 1501, 21, 262, 202, 202, 95, 1082, 202, 1386, 2178, 2885, 272, 21, 273, 261, 1386, 2178, 2885, 13, 1501, 20, 31, 1082, 202, 1386, 2...
if (length != source.length) { return false;
if ((length != source.length) || (comp.length - offset < length)) { return false;
public static boolean equals(byte[] comp, int offset, int length, byte[] source) { if (length != source.length) { return false; } for (int i = 0; i < length; i++) { if (comp[offset+i] != source[i]) { return false; } } return true; }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/de71a13dd9d82d1df2a37155b9c62e4c7a504e01/MultipartIterator.java/clean/src/share/org/apache/struts/upload/MultipartIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 760, 1250, 1606, 12, 7229, 8526, 1161, 16, 509, 1384, 16, 509, 769, 16, 27573, 1160, 8526, 1084, 13, 288, 6647, 309, 261, 2469, 480, 1084, 18, 2469, 13, 288, 540, 327, 629, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 760, 1250, 1606, 12, 7229, 8526, 1161, 16, 509, 1384, 16, 509, 769, 16, 27573, 1160, 8526, 1084, 13, 288, 6647, 309, 261, 2469, 480, 1084, 18, 2469, 13, 288, 540, 327, 629, 31, ...
return Boolean.valueOf(proxy == args[0]);
return Boolean.valueOf(proxy == nargs[0]);
public static IRubyObject new_proxy_instance(final IRubyObject recv, IRubyObject[] args) { if (args.length < 1) { throw recv.getRuntime().newArgumentError("wrong # of arguments(" + args.length + " for 1)"); } final RubyProc proc = args[args.length - 1] instanceof RubyProc ? (RubyProc)args[args.length - 1] : recv.getRuntime().newProc(); int size = args[args.length - 1] instanceof RubyProc ? args.length - 1 : args.length; Class[] interfaces = new Class[size]; for (int i = 0; i < size; i++) { if (!(args[i] instanceof JavaClass) || !((JavaClass)args[i]).interface_p().isTrue()) { throw recv.getRuntime().newArgumentError("Java interface expected."); } interfaces[i] = ((JavaClass) args[i]).javaClass(); } return JavaObject.wrap(recv.getRuntime(), Proxy.newProxyInstance(recv.getRuntime().getJavaSupport().getJavaClassLoader(), interfaces, new InvocationHandler() { public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { if (method.getName().equals("toString") && method.getParameterTypes().length == 0) { return proxy.getClass().getName(); } else if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { return new Integer(proxy.getClass().hashCode()); } else if (method.getName().equals("equals") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0].equals(Object.class)) { return Boolean.valueOf(proxy == args[0]); } int length = args == null ? 0 : args.length; IRubyObject[] rubyArgs = new IRubyObject[length + 2]; rubyArgs[0] = JavaObject.wrap(recv.getRuntime(), proxy); rubyArgs[1] = new JavaMethod(recv.getRuntime(), method); for (int i = 0; i < length; i++) { rubyArgs[i + 2] = JavaObject.wrap(recv.getRuntime(), args[i]); } return JavaUtil.convertArgument(proc.call(rubyArgs), method.getReturnType()); } })); }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/ca6b16e996ea9af83ce593594b9c69b9364a9924/Java.java/buggy/src/org/jruby/javasupport/Java.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 394, 67, 5656, 67, 1336, 12, 6385, 15908, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15908, 10340, 921, 394, 67, 5656, 67, 1336, 12, 6385, 15908, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 288, ...
IResourceDelta[] affectedChildren= delta.getAffectedChildren();
private void processResourceDelta(IResourceDelta delta, Object parent) { int status= delta.getKind(); IResource resource= delta.getResource(); // filter out changes affecting the output folder if (resource == null) return; // this could be optimized by handling all the added children in the parent if ((status & IResourceDelta.REMOVED) != 0) { if (parent instanceof IPackageFragment) // refresh one level above to deal with empty package filtering properly postRefresh(internalGetParent(parent)); else postRemove(resource); } if ((status & IResourceDelta.ADDED) != 0) { if (parent instanceof IPackageFragment) // refresh one level above to deal with empty package filtering properly postRefresh(internalGetParent(parent)); else postAdd(parent, resource); } IResourceDelta[] affectedChildren= delta.getAffectedChildren(); if (affectedChildren.length > 1) { // more than one child changed, refresh from here downwards postRefresh(resource); return; } for (int i= 0; i < affectedChildren.length; i++) processResourceDelta(affectedChildren[i], resource); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/8d149b4e77e1afe27d2cd0a8a6ee65ce9f3d2865/PackageExplorerContentProvider.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1207, 1420, 9242, 12, 45, 1420, 9242, 3622, 16, 1033, 982, 13, 288, 202, 202, 474, 1267, 33, 3622, 18, 588, 5677, 5621, 202, 202, 45, 1420, 1058, 33, 3622, 18, 588, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1207, 1420, 9242, 12, 45, 1420, 9242, 3622, 16, 1033, 982, 13, 288, 202, 202, 474, 1267, 33, 3622, 18, 588, 5677, 5621, 202, 202, 45, 1420, 1058, 33, 3622, 18, 588, 14...
}
}
public void internalWorked(double work) { JobInfo info = getJobInfo(job); if (info.hasTaskInfo()) { info.addWork(work); refreshJobInfo(info); } if (listener != null) { listener.internalWorked(work); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/82e45bfb168fa5c37a8ced4976d2cc8fef6ce0f2/ProgressManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2713, 2421, 329, 12, 9056, 1440, 13, 288, 1082, 202, 2278, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 1082, 202, 430, 261, 1376, 18, 5332, 2174, 966, 10756, 288, 9506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 2713, 2421, 329, 12, 9056, 1440, 13, 288, 1082, 202, 2278, 966, 1123, 273, 13024, 966, 12, 4688, 1769, 1082, 202, 430, 261, 1376, 18, 5332, 2174, 966, 10756, 288, 9506, ...
choiceSet = DesignEngine.getMetaDataDictionary( )
choiceSet = DEUtil.getMetaDataDictionary( )
private IChoiceSet getFormatChoiceSet( String type ) { IChoiceSet choiceSet = null; if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) ) { choiceSet = DesignEngine.getMetaDataDictionary( ) .getChoiceSet( DesignChoiceConstants.CHOICE_STRING_FORMAT_TYPE ); } else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) ) { choiceSet = DesignEngine.getMetaDataDictionary( ) .getChoiceSet( DesignChoiceConstants.CHOICE_DATETIME_FORMAT_TYPE ); } else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type ) || DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) ) { choiceSet = DesignEngine.getMetaDataDictionary( ) .getChoiceSet( DesignChoiceConstants.CHOICE_NUMBER_FORMAT_TYPE ); } return choiceSet; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/112d9727a9137a0204f4192391212e00ab899e84/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 10538, 694, 10959, 10538, 694, 12, 514, 618, 262, 202, 95, 202, 202, 45, 10538, 694, 6023, 694, 273, 446, 31, 202, 202, 430, 261, 29703, 10538, 2918, 18, 8388, 67, 2399,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 10538, 694, 10959, 10538, 694, 12, 514, 618, 262, 202, 95, 202, 202, 45, 10538, 694, 6023, 694, 273, 446, 31, 202, 202, 430, 261, 29703, 10538, 2918, 18, 8388, 67, 2399,...
try { WindowControl windowControl = (WindowControl) myBrowserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME); nativeWebShell = windowControl.getNativeWebShell(); } catch (Exception e) { System.out.println(e.getMessage()); }
public CurrentPageImpl(WrapperFactory yourFactory, BrowserControl yourBrowserControl){ super(yourFactory, yourBrowserControl); // save the native webshell ptr try { WindowControl windowControl = (WindowControl) myBrowserControl.queryInterface(BrowserControl.WINDOW_CONTROL_NAME); nativeWebShell = windowControl.getNativeWebShell(); } catch (Exception e) { System.out.println(e.getMessage()); }}
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/1072637f9a2a191cbff8b7f5605eabeafb62f193/CurrentPageImpl.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6562, 1964, 2828, 12, 3611, 1733, 3433, 1733, 16, 13491, 15408, 3367, 3433, 9132, 3367, 15329, 565, 2240, 12, 93, 477, 1733, 16, 3433, 9132, 3367, 1769, 565, 368, 1923, 326, 6448, 3311, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6562, 1964, 2828, 12, 3611, 1733, 3433, 1733, 16, 13491, 15408, 3367, 3433, 9132, 3367, 15329, 565, 2240, 12, 93, 477, 1733, 16, 3433, 9132, 3367, 1769, 565, 368, 1923, 326, 6448, 3311, ...
{ return false; }
{ return false; }
public boolean jdbcCompliant() { return false; }
11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/6a061da272f04e1463864065f87f1f3fd61d6162/Driver.java/buggy/src/interfaces/jdbc/postgresql/Driver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 16579, 799, 18515, 1435, 202, 95, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 16579, 799, 18515, 1435, 202, 95, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
private int visibleInitStage(int target) { // figure out if we should count pushes or pops as stages boolean countPop = (sdepFactory.containsReceiver(filter) && sdepFactory.isDownstream() || sdepFactory.containsSender(filter) && !sdepFactory.isDownstream()); // count of visible stage we have found int count = -1; // index in terms of original phases int index=0; while (true) { // count popping stages where appropriate if (countPop && super.getInitPopStage(index)>0) count++; // count pushing stages where appropriate if (!countPop && super.getInitPushStage(index)>0) count++; // quit when we reach the desired <target> if (count == target) break; index++; } return index; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/b24567f492692231a0ea1584dc3140d1f848d326/SDEPFilterIter.java/clean/streams/src/streamit/library/iriter/SDEPFilterIter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 6021, 2570, 8755, 12, 474, 1018, 13, 288, 3639, 368, 7837, 596, 309, 732, 1410, 1056, 27351, 578, 28518, 487, 20298, 3639, 1250, 1056, 7049, 273, 261, 87, 15037, 1733, 18, 1229...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 6021, 2570, 8755, 12, 474, 1018, 13, 288, 3639, 368, 7837, 596, 309, 732, 1410, 1056, 27351, 578, 28518, 487, 20298, 3639, 1250, 1056, 7049, 273, 261, 87, 15037, 1733, 18, 1229...
protected List getSelectedResources() { //recompute if selection has changed. if (selectionDirty) { computeResources(); selectionDirty = false; } if (resources == null) return EMPTY_LIST; else return resources; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/aae3eca80506b8832b7f0389b92f86f52d59cb9f/SelectionListenerAction.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/SelectionListenerAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 987, 16625, 3805, 1435, 288, 202, 202, 759, 266, 9200, 309, 4421, 711, 3550, 18, 202, 202, 430, 261, 10705, 10785, 13, 288, 1082, 202, 9200, 3805, 5621, 1082, 202, 10705, 10785...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 987, 16625, 3805, 1435, 288, 202, 202, 759, 266, 9200, 309, 4421, 711, 3550, 18, 202, 202, 430, 261, 10705, 10785, 13, 288, 1082, 202, 9200, 3805, 5621, 1082, 202, 10705, 10785...
if ( firstStatement ) { statement = "if";
statement = "if";
private void writeClassParsing( ModelClass modelClass, JSourceCode sc, Model objectModel, boolean withLoop ) throws IOException { if ( outputElement( modelClass.getVersion(), modelClass.getName() ) ) { if ( withLoop ) { sc.add( "while ( parser.nextTag() == XmlPullParser.START_TAG )" ); sc.add( "{" ); sc.indent(); } String statement; List fields = objectModel.getAllFields( modelClass ); int fieldCount = fields.size(); boolean firstStatement = true; if ( fieldCount > 0 ) { sc.add( "if ( parser.getName().equals( \"" + uncapitalise( modelClass.getName() ) + "\") )" ); sc.add( "{" ); sc.indent(); for ( int i = 0; i < fieldCount; i++ ) { ModelField field = (ModelField) fields.get( i ); XmlMetaData xmlMetaData = (XmlMetaData)field.getMetaData( XmlMetaData.ID ); if ( !xmlMetaData.isAttribute() ) { continue; } if ( outputElement( field.getVersion(), modelClass.getName() + "." + field.getName() ) ) { if ( firstStatement ) { statement = "if"; firstStatement = false; } else { statement = "else if"; } writeFieldParsing( modelClass, field, sc, statement, objectModel, true ); } } sc.unindent(); sc.add( "}" ); } firstStatement = true; for ( int i = 0; i < fieldCount; i++ ) { ModelField field = (ModelField) fields.get( i ); XmlMetaData xmlMetaData = (XmlMetaData)field.getMetaData( XmlMetaData.ID ); if ( xmlMetaData.isAttribute() ) { continue; } if ( outputElement( field.getVersion(), modelClass.getName() + "." + field.getName() ) ) { if ( firstStatement ) { statement = "if"; firstStatement = false; } else { statement = "else if"; } writeFieldParsing( modelClass, field, sc, statement, objectModel, false ); } } firstStatement = true; List associations = modelClass.getAssociations(); int associationCount = associations.size(); for ( int i = 0; i < associationCount; i++ ) { ModelAssociation association = (ModelAssociation) associations.get( i ); if ( outputElement( association.getVersion(), modelClass.getName() + "." + association.getName() ) ) { if ( firstStatement ) { statement = "if"; firstStatement = false; } else { statement = "else if"; } writeAssociationParsing( modelClass, association, sc, statement, objectModel ); } } if ( withLoop ) { if ( fieldCount > 0 || associationCount > 0 ) { writeCatchAll( sc ); } sc.unindent(); sc.add( "}" ); } } }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/daa514af4d763b54a27699af5f57ebfc60586ac3/Xpp3ReaderGenerator.java/clean/modello-xpp3-generator/src/main/java/org/codehaus/modello/generator/xml/xpp3/Xpp3ReaderGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 797, 13963, 12, 3164, 797, 13082, 16, 804, 1830, 1085, 888, 16, 3164, 733, 1488, 16, 1250, 598, 6452, 262, 3639, 1216, 1860, 565, 288, 3639, 309, 261, 876, 1046, 12, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 797, 13963, 12, 3164, 797, 13082, 16, 804, 1830, 1085, 888, 16, 3164, 733, 1488, 16, 1250, 598, 6452, 262, 3639, 1216, 1860, 565, 288, 3639, 309, 261, 876, 1046, 12, 13...
if ( Player.ROOT_CAMO.equals( category ) ) category = "";
if ( Player.ROOT_CAMO.equals( category ) ) category = "";
public Image getPlayerCamo( Player player ) { // Return a null if the player has selected no camo file. if ( null == player.getCamoCategory() || Player.NO_CAMO.equals( player.getCamoCategory() ) ) { return null; } // Try to get the player's camo file. Image camo = null; try { // Translate the root camo directory name. String category = player.getCamoCategory(); if ( Player.ROOT_CAMO.equals( category ) ) category = ""; camo = (Image) camos.getItem( category, player.getCamoFileName() ); } catch ( Exception err ) { err.printStackTrace(); } return camo; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/18ec0036f3c5df3d8fbef60e9dd53cc153fc889e/TilesetManager.java/buggy/megamek/src/megamek/client/ui/AWT/TilesetManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3421, 1689, 6363, 39, 301, 83, 12, 19185, 7291, 262, 288, 3639, 368, 2000, 279, 446, 309, 326, 7291, 711, 3170, 1158, 5861, 83, 585, 18, 3639, 309, 261, 446, 422, 7291, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3421, 1689, 6363, 39, 301, 83, 12, 19185, 7291, 262, 288, 3639, 368, 2000, 279, 446, 309, 326, 7291, 711, 3170, 1158, 5861, 83, 585, 18, 3639, 309, 261, 446, 422, 7291, 18, 588, ...
f.println( "edge: " + fromNode.getId() + " " + toNode.getId() + " " + acousticScore + " " + lmScore );
f.println( "edge: " + fromNode.getId() + " " + toNode.getId() + " " + acousticScore + " " + lmScore );
void dump(PrintWriter f) throws IOException { f.println( "edge: " + fromNode.getId() + " " + toNode.getId() + " " + acousticScore + " " + lmScore ); }
8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/6cb43cf2b5ed0235953b349c1be69d991c56547a/Edge.java/buggy/sphinx4/edu/cmu/sphinx/result/Edge.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4657, 12, 5108, 2289, 284, 13, 1216, 1860, 288, 3639, 284, 18, 8222, 12, 315, 7126, 30, 315, 397, 628, 907, 18, 26321, 1435, 397, 315, 315, 397, 358, 907, 18, 26321, 1435, 397, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4657, 12, 5108, 2289, 284, 13, 1216, 1860, 288, 3639, 284, 18, 8222, 12, 315, 7126, 30, 315, 397, 628, 907, 18, 26321, 1435, 397, 315, 315, 397, 358, 907, 18, 26321, 1435, 397, 3...
if (element.equals(name)) { return true;
if (ignoreCase) { if (element.equalsIgnoreCase(name)) { return true; } } else { if (element.equals(name)) { return true; }
private boolean isElementType(String name, String[] elementList) { for (int i = 0; i < elementList.length; i++) { String element = elementList[i]; if (element.equals(name)) { return true; } } return false; }
49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/1e861835713549becc258e7a86fcdf59531ec299/Markup.java/clean/outliner/src/com/organic/maynard/util/format/Markup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 17481, 12, 780, 508, 16, 514, 8526, 930, 682, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 930, 682, 18, 2469, 31, 277, 27245, 288, 1082, 202,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 353, 17481, 12, 780, 508, 16, 514, 8526, 930, 682, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 930, 682, 18, 2469, 31, 277, 27245, 288, 1082, 202,...
ignoreMapping = getIngnoreMapping(table, row); operationData = getOperationData(metaData, ignoreMapping, connection);
noneMapping = getIgnoreMapping(table, row); operationData = getOperationData(metaData, noneMapping, connection);
public void execute(IDatabaseConnection connection, IDataSet dataSet) throws DatabaseUnitException, SQLException { DatabaseConfig databaseConfig = connection.getConfig(); IStatementFactory factory = (IStatementFactory)databaseConfig.getProperty( DatabaseConfig.PROPERTY_STATEMENT_FACTORY); // for each table ITableIterator iterator = iterator(dataSet); while (iterator.next()) { ITable table = iterator.getTable(); // Do not process empty table if (isEmpty(table)) { continue; } ITableMetaData metaData = getOperationMetaData(connection, table.getTableMetaData()); BigInteger ignoreMapping = null; OperationData operationData = null; IPreparedBatchStatement statement = null; try { // For each row int start = _reverseRowOrder ? table.getRowCount() - 1 : 0; int increment = _reverseRowOrder ? -1 : 1; try { for (int i = start; ; i = i + increment) { int row = i; // If current row have a diffrent ignore value mapping than // previous one, we generate a new statement if (ignoreMapping == null || !equalsIgnoreMapping(ignoreMapping, table, row)) { // Execute and close previous statement if (statement != null) { statement.executeBatch(); statement.clearBatch(); statement.close(); } ignoreMapping = getIngnoreMapping(table, row); operationData = getOperationData(metaData, ignoreMapping, connection); statement = factory.createPreparedBatchStatement( operationData.getSql(), connection); } // for each column Column[] columns = operationData.getColumns(); for (int j = 0; j < columns.length; j++) { // Bind value only if not in ignore mapping if (!ignoreMapping.testBit(j)) { Column column = columns[j]; statement.addValue(table.getValue(row, column.getColumnName()), column.getDataType()); } } statement.addBatch(); } } catch (RowOutOfBoundsException e) { // end of table } statement.executeBatch(); statement.clearBatch(); } finally { statement.close(); } } }
2032 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2032/25bbf357fd300ea3f9746661899cd8fa40101df5/AbstractBatchOperation.java/buggy/src/java/org/dbunit/operation/AbstractBatchOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 734, 2451, 1952, 1459, 16, 467, 13676, 14837, 13, 5411, 1216, 5130, 2802, 503, 16, 6483, 565, 288, 3639, 5130, 809, 2063, 809, 273, 1459, 18, 588, 809, 5621, 3639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 734, 2451, 1952, 1459, 16, 467, 13676, 14837, 13, 5411, 1216, 5130, 2802, 503, 16, 6483, 565, 288, 3639, 5130, 809, 2063, 809, 273, 1459, 18, 588, 809, 5621, 3639, ...
{ setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); GridBagLayout gridbag = new GridBagLayout(); setLayout(gridbag); GridBagConstraints c = new GridBagConstraints(); JLabel label = new JLabel(" Wavelength"); c.ipadx = RenderingAgt.H_SPACE; c.weightx = 0.5; c.gridx = 0; c.gridy = 0; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(label, c); add(label); c.gridy = 1; label = new JLabel(" Map"); gridbag.setConstraints(label, c); add(label); c.gridy = 2; gridbag.setConstraints(gammaLabel, c); add(gammaLabel); c.gridy = 3; label = new JLabel(" Resolution"); gridbag.setConstraints(label, c); add(label); c.gridy = 4; label = new JLabel(" Histogram"); gridbag.setConstraints(label, c); add(label); c.gridx = 1; c.gridy = 0; JPanel wp = buildComponentPanel(wavelengths); gridbag.setConstraints(wp, c); add(wp); c.gridy = 1; wp = buildComponentPanel(transformations); gridbag.setConstraints(wp, c); add(wp); c.gridy = 2; c.weightx = 1.0; c.ipadx = 5; JPanel gp = buildSliderPanel(gamma); gridbag.setConstraints(gp, c); add(gp); c.gridy = 3; JPanel brp = buildSliderPanel(bitResolution); gridbag.setConstraints(brp, c); add(brp); c.gridy = 4; c.weightx = 0.0; c.ipadx = 0; JPanel hp = buildComponentPanel(histogram); gridbag.setConstraints(hp, c); add(hp); }
{ setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); GridBagLayout gridbag = new GridBagLayout(); setLayout(gridbag); GridBagConstraints c = new GridBagConstraints(); JLabel label = new JLabel(" Wavelength"); c.ipadx = RenderingAgt.H_SPACE; c.weightx = 0.5; c.gridx = 0; c.gridy = 0; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(label, c); add(label); c.gridy = 1; label = new JLabel(" Map"); gridbag.setConstraints(label, c); add(label); c.gridy = 2; gridbag.setConstraints(gammaLabel, c); add(gammaLabel); c.gridy = 3; label = new JLabel(" Resolution"); gridbag.setConstraints(label, c); add(label); c.gridy = 4; label = new JLabel(" Histogram"); gridbag.setConstraints(label, c); add(label); c.gridy = 5; label = new JLabel(" Noise reduction"); gridbag.setConstraints(label, c); add(label); c.gridx = 1; c.gridy = 0; JPanel wp = UIUtilities.buildComponentPanel(wavelengths); gridbag.setConstraints(wp, c); add(wp); c.gridy = 1; wp = UIUtilities.buildComponentPanel(transformations); gridbag.setConstraints(wp, c); add(wp); c.gridy = 2; c.weightx = 1.0; c.ipadx = 5; JPanel gp = buildSliderPanel(gamma); gridbag.setConstraints(gp, c); add(gp); c.gridy = 3; JPanel brp = buildSliderPanel(bitResolution); gridbag.setConstraints(brp, c); add(brp); c.gridy = 4; c.weightx = 0.0; c.ipadx = 0; JPanel hp = UIUtilities.buildComponentPanel(histogram); gridbag.setConstraints(hp, c); add(hp); c.gridy = 5; JPanel np = UIUtilities.buildComponentPanel(noise); gridbag.setConstraints(np, c); add(np); }
private void buildGUI() { setBorder(BorderFactory.createEmptyBorder(5, 10, 5, 10)); GridBagLayout gridbag = new GridBagLayout(); setLayout(gridbag); GridBagConstraints c = new GridBagConstraints(); JLabel label = new JLabel(" Wavelength"); c.ipadx = RenderingAgt.H_SPACE; c.weightx = 0.5; c.gridx = 0; c.gridy = 0; c.fill = GridBagConstraints.HORIZONTAL; gridbag.setConstraints(label, c); add(label); c.gridy = 1; label = new JLabel(" Map"); gridbag.setConstraints(label, c); add(label); c.gridy = 2; gridbag.setConstraints(gammaLabel, c); add(gammaLabel); c.gridy = 3; label = new JLabel(" Resolution"); gridbag.setConstraints(label, c); add(label); c.gridy = 4; label = new JLabel(" Histogram"); gridbag.setConstraints(label, c); add(label); c.gridx = 1; c.gridy = 0; JPanel wp = buildComponentPanel(wavelengths); gridbag.setConstraints(wp, c); add(wp); c.gridy = 1; wp = buildComponentPanel(transformations); gridbag.setConstraints(wp, c); add(wp); c.gridy = 2; c.weightx = 1.0; c.ipadx = 5; JPanel gp = buildSliderPanel(gamma); gridbag.setConstraints(gp, c); add(gp); c.gridy = 3; JPanel brp = buildSliderPanel(bitResolution); gridbag.setConstraints(brp, c); add(brp); c.gridy = 4; c.weightx = 0.0; c.ipadx = 0; JPanel hp = buildComponentPanel(histogram); gridbag.setConstraints(hp, c); add(hp); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/DomainPane.java/clean/SRC/org/openmicroscopy/shoola/agents/rnd/pane/DomainPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1361, 43, 5370, 1435, 202, 95, 202, 202, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 12, 25, 16, 1728, 16, 1381, 16, 1728, 10019, 202, 202, 6313, 5013, 3744, 3068, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1361, 43, 5370, 1435, 202, 95, 202, 202, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 12, 25, 16, 1728, 16, 1381, 16, 1728, 10019, 202, 202, 6313, 5013, 3744, 3068, ...
}
public void run() { try { result[0] = busyOpenWorkbenchWindow(perspID, input); } catch (WorkbenchException e) { result[0] = e; } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/bc508e6d12aaf5e44777fe0ae256945be5760cc6/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 2088, 63, 20, 65, 273, 21697, 3678, 2421, 22144, 3829, 12, 10422, 84, 734, 16, 810, 1769, 9506, 202, 14683, 261, 2421, 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, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 698, 288, 6862, 202, 2088, 63, 20, 65, 273, 21697, 3678, 2421, 22144, 3829, 12, 10422, 84, 734, 16, 810, 1769, 9506, 202, 14683, 261, 2421, 2...
Preferences.TEXTAREA_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.TEXTAREA_BACKGROUND_COLOR.restoreTemporaryToCurrent();
setColorPref(signature, Preferences.TEXTAREA_BACKGROUND_COLOR);
public synchronized void execute(Vector signature) { String variableName = (String) signature.elementAt(1); if (variableName.equals(Preferences.DESKTOP_BACKGROUND_COLOR.getCommand())) { Preferences.DESKTOP_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.DESKTOP_BACKGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.PANEL_BACKGROUND_COLOR.getCommand())) { Preferences.PANEL_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.PANEL_BACKGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TEXTAREA_BACKGROUND_COLOR.getCommand())) { Preferences.TEXTAREA_BACKGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.TEXTAREA_BACKGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TEXTAREA_FOREGROUND_COLOR.getCommand())) { Preferences.TEXTAREA_FOREGROUND_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.TEXTAREA_FOREGROUND_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SELECTED_CHILD_COLOR.getCommand())) { Preferences.SELECTED_CHILD_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.SELECTED_CHILD_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_NUMBER_COLOR.getCommand())) { Preferences.LINE_NUMBER_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.LINE_NUMBER_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_NUMBER_SELECTED_COLOR.getCommand())) { Preferences.LINE_NUMBER_SELECTED_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.LINE_NUMBER_SELECTED_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_NUMBER_SELECTED_CHILD_COLOR.getCommand())) { Preferences.LINE_NUMBER_SELECTED_CHILD_COLOR.cur = parseColor((String) signature.elementAt(2)); Preferences.LINE_NUMBER_SELECTED_CHILD_COLOR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.PRINT_ENVIRONMENT.getCommand())) { Preferences.PRINT_ENVIRONMENT.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.PRINT_ENVIRONMENT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SHOW_LINE_NUMBERS.getCommand())) { Preferences.SHOW_LINE_NUMBERS.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.SHOW_LINE_NUMBERS.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.IS_MAXIMIZED.getCommand())) { Preferences.IS_MAXIMIZED.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.IS_MAXIMIZED.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.NEW_DOC_ON_STARTUP.getCommand())) { Preferences.NEW_DOC_ON_STARTUP.cur = BOOLEAN_VALIDATOR.getValidValue((String) signature.elementAt(2)); Preferences.NEW_DOC_ON_STARTUP.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.INDENT.getCommand())) { Preferences.INDENT.cur = INDENT_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.INDENT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.VERTICAL_SPACING.getCommand())) { Preferences.VERTICAL_SPACING.cur = VERTICAL_SPACING_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.VERTICAL_SPACING.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LEFT_MARGIN.getCommand())) { Preferences.LEFT_MARGIN.cur = LEFT_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.LEFT_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TOP_MARGIN.getCommand())) { Preferences.TOP_MARGIN.cur = TOP_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.TOP_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.RIGHT_MARGIN.getCommand())) { Preferences.RIGHT_MARGIN.cur = RIGHT_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.RIGHT_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.BOTTOM_MARGIN.getCommand())) { Preferences.BOTTOM_MARGIN.cur = BOTTOM_MARGIN_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.BOTTOM_MARGIN.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.UNDO_QUEUE_SIZE.getCommand())) { Preferences.UNDO_QUEUE_SIZE.cur = UNDO_QUEUE_SIZE_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.UNDO_QUEUE_SIZE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.RECENT_FILES_LIST_SIZE.getCommand())) { Preferences.RECENT_FILES_LIST_SIZE.cur = RECENT_FILES_LIST_SIZE_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.RECENT_FILES_LIST_SIZE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.FONT_SIZE.getCommand())) { Preferences.FONT_SIZE.cur = FONT_SIZE_VALIDATOR.getValidValue((String) signature.elementAt(2)).intValue(); Preferences.FONT_SIZE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.FONT_FACE.getCommand())) { Preferences.FONT_FACE.cur = (String) signature.elementAt(2); Preferences.FONT_FACE.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_WRAP.getCommand())) { Preferences.LINE_WRAP.cur = (String) signature.elementAt(2); Preferences.LINE_WRAP.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.LINE_END.getCommand())) { Preferences.LINE_END.cur = (String) signature.elementAt(2); Preferences.LINE_END.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OPEN_ENCODING.getCommand())) { Preferences.OPEN_ENCODING.cur = (String) signature.elementAt(2); Preferences.OPEN_ENCODING.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SAVE_ENCODING.getCommand())) { Preferences.SAVE_ENCODING.cur = (String) signature.elementAt(2); Preferences.SAVE_ENCODING.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OPEN_FORMAT.getCommand())) { Preferences.OPEN_FORMAT.cur = (String) signature.elementAt(2); Preferences.OPEN_FORMAT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.SAVE_FORMAT.getCommand())) { Preferences.SAVE_FORMAT.cur = (String) signature.elementAt(2); Preferences.SAVE_FORMAT.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.MOST_RECENT_OPEN_DIR.getCommand())) { Preferences.MOST_RECENT_OPEN_DIR.cur = (String) signature.elementAt(2); Preferences.MOST_RECENT_OPEN_DIR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.MOST_RECENT_SAVE_DIR.getCommand())) { Preferences.MOST_RECENT_SAVE_DIR.cur = (String) signature.elementAt(2); Preferences.MOST_RECENT_SAVE_DIR.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OWNER_NAME.getCommand())) { Preferences.OWNER_NAME.cur = (String) signature.elementAt(2); Preferences.OWNER_NAME.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.OWNER_EMAIL.getCommand())) { Preferences.OWNER_EMAIL.cur = (String) signature.elementAt(2); Preferences.OWNER_EMAIL.restoreTemporaryToCurrent(); } else if (variableName.equals(Preferences.TIME_ZONE_FOR_SAVING_DATES.getCommand())) { Preferences.TIME_ZONE_FOR_SAVING_DATES.cur = (String) signature.elementAt(2); Preferences.TIME_ZONE_FOR_SAVING_DATES.restoreTemporaryToCurrent(); } else if (variableName.equals(COMMAND_RECENT_FILE)) { if (RecentFilesList.docInfoList.size() < Preferences.RECENT_FILES_LIST_SIZE.cur) { try { // Create a new DocumentInfo object DocumentInfo docInfo = new DocumentInfo( (String) signature.elementAt(2), (String) signature.elementAt(3), (String) signature.elementAt(4), (String) signature.elementAt(5), (String) signature.elementAt(6), (String) signature.elementAt(7), (String) signature.elementAt(8), (String) signature.elementAt(9), (String) signature.elementAt(10), (String) signature.elementAt(11), Integer.parseInt((String) signature.elementAt(12)), Integer.parseInt((String) signature.elementAt(13)), Integer.parseInt((String) signature.elementAt(14)), Integer.parseInt((String) signature.elementAt(15)), Integer.parseInt((String) signature.elementAt(16)), (String) signature.elementAt(17), (String) signature.elementAt(18) ); RecentFilesList.docInfoList.addElement(docInfo); } catch (ArrayIndexOutOfBoundsException e) {} } } else if (variableName.equals(COMMAND_ENCODING)) { Preferences.ENCODINGS.addElement((String) signature.elementAt(2)); } }
49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/e24a42ed0dfb51866c96fe6c7b5a33b3c93e59b1/SetPrefCommand.java/buggy/outliner/src/com/organic/maynard/outliner/SetPrefCommand.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1836, 12, 5018, 3372, 13, 288, 202, 202, 780, 17834, 273, 261, 780, 13, 3372, 18, 2956, 861, 12, 21, 1769, 202, 202, 430, 261, 6105, 461, 18, 14963, 12, 12377, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3852, 918, 1836, 12, 5018, 3372, 13, 288, 202, 202, 780, 17834, 273, 261, 780, 13, 3372, 18, 2956, 861, 12, 21, 1769, 202, 202, 430, 261, 6105, 461, 18, 14963, 12, 12377, 18...
event.addProperty(completed.toProperty(ICalTok.COMPLETED, false));
component.addProperty(completed.toProperty(ICalTok.COMPLETED, false));
public ZComponent newToVComponent(boolean useOutlookCompatMode) throws ServiceException { ZComponent event = new ZComponent(IcalXmlStrMap.sCompTypeMap.toIcal(mCompType)); event.addProperty(new ZProperty(ICalTok.UID, getUid())); IRecurrence recur = getRecurrence(); if (recur != null) { for (Iterator iter = recur.addRulesIterator(); iter!=null && iter.hasNext();) { IRecurrence cur = (IRecurrence)iter.next(); switch (cur.getType()) { case Recurrence.TYPE_SINGLE_INSTANCE: //Recurrence.SingleInstanceRule sir = (Recurrence.SingleInstanceRule)cur; // FIXME break; case Recurrence.TYPE_REPEATING: Recurrence.SimpleRepeatingRule srr = (Recurrence.SimpleRepeatingRule)cur; event.addProperty(new ZProperty(ICalTok.RRULE, srr.getRecur().toString())); break; } } for (Iterator iter = recur.subRulesIterator(); iter!=null && iter.hasNext();) { IRecurrence cur = (IRecurrence)iter.next(); switch (cur.getType()) { case Recurrence.TYPE_SINGLE_INSTANCE: //Recurrence.SingleInstanceRule sir = (Recurrence.SingleInstanceRule)cur; // FIXME break; case Recurrence.TYPE_REPEATING: Recurrence.SimpleRepeatingRule srr = (Recurrence.SimpleRepeatingRule)cur; event.addProperty(new ZProperty(ICalTok.EXRULE, srr.getRecur().toString())); break; } } } // ORGANIZER if (hasOrganizer()) event.addProperty(getOrganizer().toProperty()); // SUMMARY (aka Name or Subject) String name = getName(); if (name != null && name.length()>0) event.addProperty(new ZProperty(ICalTok.SUMMARY, name)); // DESCRIPTION String fragment = getFragment(); if (fragment != null && fragment.length()>0) event.addProperty(new ZProperty(ICalTok.DESCRIPTION, fragment)); // COMMENT String comment = getComment(); if (comment != null && comment.length()>0) event.addProperty(new ZProperty(ICalTok.COMMENT, comment)); // DTSTART ParsedDateTime dtstart = getStartTime(); if (dtstart != null) event.addProperty(dtstart.toProperty(ICalTok.DTSTART, useOutlookCompatMode)); // DTEND or DUE ParsedDateTime dtend = getEndTime(); if (dtend != null) { ICalTok prop = ICalTok.DTEND; if (isTodo()) prop = ICalTok.DUE; event.addProperty(dtend.toProperty(prop, useOutlookCompatMode)); } // DURATION ParsedDuration dur = getDuration(); if (dur != null) event.addProperty(new ZProperty(ICalTok.DURATION, dur.toString())); // LOCATION String location = getLocation(); if (location != null) event.addProperty(new ZProperty(ICalTok.LOCATION, location.toString())); // STATUS String status = getStatus(); String statusIcal = IcalXmlStrMap.sStatusMap.toIcal(status); if (IcalXmlStrMap.STATUS_ZCO_WAITING.equals(status) || IcalXmlStrMap.STATUS_ZCO_DEFERRED.equals(status)) { ZParameter param = new ZParameter(ICalTok.X_ZIMBRA_STATUS, statusIcal); ZProperty prop = new ZProperty(ICalTok.STATUS, ICalTok.IN_PROCESS.toString()); prop.addParameter(param); event.addProperty(prop); } else { event.addProperty(new ZProperty(ICalTok.STATUS, statusIcal)); } if (isEvent()) { // allDay if (isAllDayEvent()) event.addProperty(new ZProperty(ICalTok.X_MICROSOFT_CDO_ALLDAYEVENT, true)); // Microsoft Outlook compatibility for free-busy status { String outlookFreeBusy = IcalXmlStrMap.sOutlookFreeBusyMap.toIcal(getFreeBusy()); event.addProperty(new ZProperty(ICalTok.X_MICROSOFT_CDO_BUSYSTATUS, outlookFreeBusy)); event.addProperty(new ZProperty(ICalTok.X_MICROSOFT_CDO_INTENDEDSTATUS, outlookFreeBusy)); } // TRANSPARENCY event.addProperty(new ZProperty(ICalTok.TRANSP, IcalXmlStrMap.sTranspMap.toIcal(getTransparency()))); } // ATTENDEES for (ZAttendee at : (List<ZAttendee>)getAttendees()) event.addProperty(at.toProperty()); // RECURRENCE-ID RecurId recurId = getRecurId(); if (recurId != null) event.addProperty(recurId.toProperty(useOutlookCompatMode)); // DTSTAMP ParsedDateTime dtStamp = ParsedDateTime.fromUTCTime(getDTStamp()); event.addProperty(dtStamp.toProperty(ICalTok.DTSTAMP, useOutlookCompatMode)); // SEQUENCE event.addProperty(new ZProperty(ICalTok.SEQUENCE, getSeqNo())); // PRIORITY if (mPriority != null) event.addProperty(new ZProperty(ICalTok.PRIORITY, mPriority)); // PERCENT-COMPLETE if (isTodo() && mPercentComplete != null) event.addProperty(new ZProperty(ICalTok.PERCENT_COMPLETE, mPercentComplete)); // COMPLETED if (isTodo() && mCompleted != 0) { ParsedDateTime completed = ParsedDateTime.fromUTCTime(mCompleted); event.addProperty(completed.toProperty(ICalTok.COMPLETED, false)); } return event; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/d2bb4f39fb971bbc73c0ecff01cbd6d1962c353b/Invite.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/calendar/Invite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2285, 1841, 394, 774, 58, 1841, 12, 6494, 999, 1182, 7330, 13322, 2309, 13, 565, 1216, 16489, 288, 3639, 2285, 1841, 871, 273, 394, 2285, 1841, 12, 45, 771, 4432, 1585, 863, 18, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2285, 1841, 394, 774, 58, 1841, 12, 6494, 999, 1182, 7330, 13322, 2309, 13, 565, 1216, 16489, 288, 3639, 2285, 1841, 871, 273, 394, 2285, 1841, 12, 45, 771, 4432, 1585, 863, 18, 8...
public static InterfaceAdapter create(Class cl, Function f)
static Object create(Context cx, Class cl, Callable f)
public static InterfaceAdapter create(Class cl, Function f) { ClassCache cache = ClassCache.get(f); InterfaceAdapter master; master = (InterfaceAdapter)cache.getInterfaceAdapter(cl); if (master == null) { if (!cl.isInterface()) return null; Method[] methods = cl.getMethods(); if (methods.length == 0) { return null; } Class returnType = methods[0].getReturnType(); Class[] argTypes = methods[0].getParameterTypes(); // check that the rest of methods has the same signature for (int i = 1; i != methods.length; ++i) { if (returnType != methods[i].getReturnType()) { return null; } Class[] types2 = methods[i].getParameterTypes(); if (types2.length != argTypes.length) { return null; } for (int j = 0; j != argTypes.length; ++j) { if (types2[j] != argTypes[j]) { return null; } } } String className = "iadapter"+cache.newClassSerialNumber(); byte[] code = createCode(cl, methods, returnType, argTypes, className); Class iadapterClass = JavaAdapter.loadAdapterClass(className, code); try { master = (InterfaceAdapter)iadapterClass.newInstance(); } catch (Exception ex) { throw Context.throwAsScriptRuntimeEx(ex); } master.initMaster(returnType, argTypes); cache.cacheInterfaceAdapter(cl, master); } return master.wrap(f); }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/e48a66202ed48af0a8cc17b9027e8431d5432b50/InterfaceAdapter.java/buggy/src/org/mozilla/javascript/InterfaceAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1033, 752, 12, 1042, 9494, 16, 1659, 927, 16, 10464, 284, 13, 565, 288, 3639, 1659, 1649, 1247, 273, 1659, 1649, 18, 588, 12, 74, 1769, 3639, 6682, 4216, 4171, 31, 3639, 4171, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 12, 1042, 9494, 16, 1659, 927, 16, 10464, 284, 13, 565, 288, 3639, 1659, 1649, 1247, 273, 1659, 1649, 18, 588, 12, 74, 1769, 3639, 6682, 4216, 4171, 31, 3639, 4171, 273,...
void add(long b_time, long g_time)
void add(long b_time, long g_time, long n_time)
void add(long b_time, long g_time) { Long b = new Long(b_time); Long g = new Long(g_time); Double s = new Double(b.doubleValue() / g.doubleValue()); b_times.add(b); g_times.add(g); s_times.add(s); b_total += b.longValue(); g_total += g.longValue(); s_total += s.doubleValue(); s_avg.add(new Double(s_total/(double)s_times.size())); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/ComparisonTest.java/buggy/components/omeio-bdb/test/ome/io/bdb/utests/ComparisonTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 527, 12, 5748, 324, 67, 957, 16, 1525, 314, 67, 957, 16, 1525, 290, 67, 957, 13, 565, 288, 3639, 3407, 324, 273, 394, 3407, 12, 70, 67, 957, 1769, 3639, 3407, 314, 273, 394, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 527, 12, 5748, 324, 67, 957, 16, 1525, 314, 67, 957, 16, 1525, 290, 67, 957, 13, 565, 288, 3639, 3407, 324, 273, 394, 3407, 12, 70, 67, 957, 1769, 3639, 3407, 314, 273, 394, 34...
PreparedStatement pStmt = cx.prepareStatement("select s from #t0007 where i = ?");
PreparedStatement pStmt = cx.prepareStatement("select s from #t0007 where i = ?");
public void testPreparedStatement0007() throws Exception { Connection cx = getConnection(); dropTable("#t0007"); Statement stmt = cx.createStatement(); stmt.executeUpdate("create table #t0007 " + " (i integer not null, " + " s char(10) not null) "); final int rowsToAdd = 20; int count = 0; for (int i = 1; i <= rowsToAdd; i++) { String sql = "insert into #t0007 values (" + i + ", 'row" + i + "')"; count += stmt.executeUpdate(sql); } assertTrue(count == rowsToAdd); PreparedStatement pStmt = cx.prepareStatement("select s from #t0007 where i = ?"); pStmt.setInt(1, 7); ResultSet rs = pStmt.executeQuery(); assertNotNull(rs); assertTrue("Expected a result set", rs.next()); assertEquals(rs.getString(1).trim(), "row7"); // assertTrue("Expected no result set", !rs.next()); pStmt.setInt(1, 8); rs = pStmt.executeQuery(); assertNotNull(rs); assertTrue("Expected a result set", rs.next()); assertEquals(rs.getString(1).trim(), "row8"); assertTrue("Expected no result set", !rs.next()); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/d456535dc5bca0bbf54c0b9c6730e782aa275787/TimestampTest.java/clean/src.old/test/freetds/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 29325, 3784, 27, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 3784, 27, 8863, 202, 202, 3406, 3480, 273, 949...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29325, 3784, 27, 1435, 1216, 1185, 202, 95, 202, 202, 1952, 9494, 273, 6742, 5621, 202, 202, 7285, 1388, 2932, 7, 88, 3784, 27, 8863, 202, 202, 3406, 3480, 273, 949...
throw new NNTPException("could not create article",ioe);
throw new NNTPException("Could not create article",ioe);
public String readLine() { try { String line = reader.readLine(); // check for end of article. if ( line.equals(".") ) line = null; else if ( line.startsWith(".") ) line = line.substring(1,line.length()); return line; } catch(IOException ioe) { throw new NNTPException("could not create article",ioe); } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/cc100f37ee536c71759c5c9fd585b8437c35e0e2/NNTPLineReaderImpl.java/clean/src/java/org/apache/james/nntpserver/repository/NNTPLineReaderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12273, 1435, 288, 3639, 775, 288, 5411, 514, 980, 273, 2949, 18, 896, 1670, 5621, 5411, 368, 866, 364, 679, 434, 7559, 18, 5411, 309, 261, 980, 18, 14963, 2932, 1199, 13, 262...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 12273, 1435, 288, 3639, 775, 288, 5411, 514, 980, 273, 2949, 18, 896, 1670, 5621, 5411, 368, 866, 364, 679, 434, 7559, 18, 5411, 309, 261, 980, 18, 14963, 2932, 1199, 13, 262...
public void addSupport(Module module) {
public void addSupport(@NotNull Module module) {
public void addSupport(Module module) { ModifiableRootModel rootModel = ModuleRootManager.getInstance(module).getModifiableModel(); if (myAddSupportContexts != null) { for (AddSupportContext supportContext : myAddSupportContexts) { if (supportContext.isAddSupport()) { supportContext.installSupport(module, rootModel); } } } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/0193e86550d342791debcc4e336c0b7d4da8046c/ModuleBuilder.java/buggy/openapi/src/com/intellij/ide/util/projectWizard/ModuleBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 6289, 26964, 5962, 5924, 1605, 13, 288, 565, 3431, 8424, 2375, 1488, 1365, 1488, 273, 5924, 2375, 1318, 18, 588, 1442, 12, 2978, 2934, 588, 1739, 8424, 1488, 5621, 565, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 6289, 26964, 5962, 5924, 1605, 13, 288, 565, 3431, 8424, 2375, 1488, 1365, 1488, 273, 5924, 2375, 1318, 18, 588, 1442, 12, 2978, 2934, 588, 1739, 8424, 1488, 5621, 565, 30...
return connection.getResultSet(null, f, v, "OK", 1);
return ((AbstractJdbc1Statement)connection.createStatement()).createResultSet(f, v, "OK", 1, 0, false);
public java.sql.ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException { Field f[] = new Field[7]; Vector v = new Vector(); f[0] = new Field(connection, "TABLE_CAT", iVarcharOid, getMaxNameLength()); f[1] = new Field(connection, "TABLE_SCHEM", iVarcharOid, getMaxNameLength()); f[2] = new Field(connection, "TABLE_NAME", iVarcharOid, getMaxNameLength()); f[3] = new Field(connection, "GRANTOR", iVarcharOid, getMaxNameLength()); f[4] = new Field(connection, "GRANTEE", iVarcharOid, getMaxNameLength()); f[5] = new Field(connection, "PRIVILEGE", iVarcharOid, getMaxNameLength()); f[6] = new Field(connection, "IS_GRANTABLE", iVarcharOid, getMaxNameLength()); String sql; if (connection.haveMinimumServerVersion("7.3")) { sql = "SELECT n.nspname,c.relname,u.usename,c.relacl "+ " FROM pg_catalog.pg_namespace n, pg_catalog.pg_class c, pg_catalog.pg_user u "+ " WHERE c.relnamespace = n.oid "+ " AND u.usesysid = c.relowner "+ " AND c.relkind = 'r' "; if (schemaPattern != null && !"".equals(schemaPattern)) { sql += " AND n.nspname LIKE '"+escapeQuotes(schemaPattern)+"' "; } } else { sql = "SELECT NULL::text AS nspname,c.relname,u.usename,c.relacl "+ "FROM pg_class c, pg_user u "+ " WHERE u.usesysid = c.relowner "+ " AND c.relkind = 'r' "; } if (tableNamePattern != null && !"".equals(tableNamePattern)) { sql += " AND c.relname LIKE '"+escapeQuotes(tableNamePattern)+"' "; } sql += " ORDER BY nspname, relname "; ResultSet rs = connection.createStatement().executeQuery(sql); while (rs.next()) { byte schema[] = rs.getBytes("nspname"); byte table[] = rs.getBytes("relname"); String owner = rs.getString("usename"); String acl = rs.getString("relacl"); Hashtable permissions = parseACL(acl); String permNames[] = new String[permissions.size()]; Enumeration e = permissions.keys(); int i=0; while (e.hasMoreElements()) { permNames[i++] = (String)e.nextElement(); } sortStringArray(permNames); for (i=0; i<permNames.length; i++) { byte[] privilege = permNames[i].getBytes(); Vector grantees = (Vector)permissions.get(permNames[i]); for (int j=0; j<grantees.size(); j++) { String grantee = (String)grantees.elementAt(j); String grantable = owner.equals(grantee) ? "YES" : "NO"; byte[][] tuple = new byte[7][]; tuple[0] = null; tuple[1] = schema; tuple[2] = table; tuple[3] = owner.getBytes(); tuple[4] = grantee.getBytes(); tuple[5] = privilege; tuple[6] = grantable.getBytes(); v.addElement(tuple); } } } rs.close(); return connection.getResultSet(null, f, v, "OK", 1); }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/16a30346c86590fbdcd83cacd2a0a9dbd2cd00dc/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 5638, 27692, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 27, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2252, 18, 4669, 18, 13198, 5638, 27692, 12, 780, 6222, 16, 514, 1963, 3234, 16, 514, 4775, 3234, 13, 1216, 6483, 202, 95, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 27, 1...
if (!level.isNumeric()) {
if (!numeric) {
public void addLevelConstraint(SqlQuery query, RolapLevel level) { super.addLevelConstraint(query, level); String column = level.getKeyExp().getExpression(query); String value = childName; if (!level.isNumeric()) { // some dbs (like DB2) compare case sensitive column = query.getDialect().toUpper(column); value = value.toUpperCase(); } value = query.quote(level.isNumeric(), value); query.addWhere(column, RolapUtil.sqlNullLiteral.equals(value) ? " is " : " = ", value); }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/c833d381140883b1711ec9c58cdba40a31e664b1/ChildByNameConstraint.java/buggy/src/main/mondrian/rolap/ChildByNameConstraint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2355, 5806, 12, 5101, 1138, 843, 16, 11714, 438, 2355, 1801, 13, 288, 3639, 2240, 18, 1289, 2355, 5806, 12, 2271, 16, 1801, 1769, 3639, 514, 1057, 273, 1801, 18, 588, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 527, 2355, 5806, 12, 5101, 1138, 843, 16, 11714, 438, 2355, 1801, 13, 288, 3639, 2240, 18, 1289, 2355, 5806, 12, 2271, 16, 1801, 1769, 3639, 514, 1057, 273, 1801, 18, 588, 65...
createMouse();
public void executeTest() { initialize(false); System.out.println("Test ready:\n"); // windowed mode System.out.println("=========== WINDOWED MODE =============="); for(int i=0; i<2; i++) { System.out.println("Test " + (i+1) + ":"); createMouse(); wiggleMouse(); destroyMouse(); System.out.println(""); } // recreate display in fullscreen mode System.out.print("Destroying display..."); System.out.println("success"); System.out.print("Entering fullscreen mode..."); try { Window.destroy(); initialize(true); Display.setDisplayMode(displayMode); } catch (Exception e) { e.printStackTrace(); } System.out.println("success"); // fullscreen mode System.out.println("=========== FULLSCREEN MODE =============="); for(int i=0; i<2; i++) { System.out.println("Test " + (i+3) + ":"); createMouse(); wiggleMouse(); destroyMouse(); System.out.println(""); } System.out.println("Test completed successfully!"); System.out.print("Shutting down..."); Display.resetDisplayMode(); Mouse.destroy(); Window.destroy(); System.out.println("shutdown complete"); }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/afb8491cfa1301023ffc16f5a9cd2c3c4a5b70fa/MouseCreationTest.java/clean/src/java/org/lwjgl/test/input/MouseCreationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 4709, 1435, 288, 202, 202, 11160, 12, 5743, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 4709, 5695, 5581, 82, 8863, 3639, 368, 2742, 329, 1965, 202, 202, 3163, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1836, 4709, 1435, 288, 202, 202, 11160, 12, 5743, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 4709, 5695, 5581, 82, 8863, 3639, 368, 2742, 329, 1965, 202, 202, 3163, 1...
String linkTarget = linkedResourceGroup.getLinkTarget(); if (linkTarget != null) { linkTargetPath = URIUtil.toURI(linkTarget); } else { linkTargetPath = null; }
linkTargetPath = linkedResourceGroup.getLinkTargetURI();
protected void createLinkTarget() { String linkTarget = linkedResourceGroup.getLinkTarget(); if (linkTarget != null) { linkTargetPath = URIUtil.toURI(linkTarget); } else { linkTargetPath = null; } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/f21a158e540a7a992bc7c1d5732d5d6926ff4f2c/WizardNewFolderMainPage.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 2098, 2326, 1435, 288, 202, 202, 780, 1692, 2326, 273, 8459, 18860, 18, 588, 2098, 2326, 5621, 202, 202, 430, 261, 1232, 2326, 480, 446, 13, 288, 1082, 202, 1232, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 752, 2098, 2326, 1435, 288, 202, 202, 780, 1692, 2326, 273, 8459, 18860, 18, 588, 2098, 2326, 5621, 202, 202, 430, 261, 1232, 2326, 480, 446, 13, 288, 1082, 202, 1232, 2...
if(clauseSequence.matches( "[\\w+]["+this.clause+"][\\w+]" )) {
if(clauseSequence.matches( "(\\w+)("+this.clause+")(\\w+)" )) {
protected Object doInvokeInternal(final Class clazz, String methodName, Object[] arguments) { Matcher match = super.getPattern().matcher( methodName ); String[] clauses; // get the sequence clauses String clauseSequence = match.group(2); // if it contains logical ands split on Ands if(clauseSequence.matches( "[\\w+]["+this.clause+"][\\w+]" )) { // TODO: Bit error prone this, as properties could start // with "and" which would cause a problem. discuss? clauses = clauseSequence.split(this.clause); // convert first characters to lower case for (int i = 0; i < clauses.length; i++) { clauses[i] = clauses[i].substring(0,0).toLowerCase() + clauses[i].substring(1); } } // otherwise there is only one clause else { clauses = new String[1]; // convert first char to lower case clauses[0] = clauseSequence.substring(0,0).toLowerCase() + clauseSequence.substring(1); } // The number of clauses must equal the number of arguments if(clauses.length != arguments.length) throw new MissingMethodException(methodName,clazz,arguments); final Map queryMap = createQueryMap(clauses, arguments); return doInvokeInternalWithQueryMap(clazz, methodName, arguments, queryMap); }
51763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51763/0eaccb7593c553bc3f5eca1a5d3966a06edece60/AbstractClausedStaticPersistentMethod.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/AbstractClausedStaticPersistentMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 741, 10969, 3061, 12, 6385, 1659, 4003, 16, 514, 4918, 16, 1082, 202, 921, 8526, 1775, 13, 288, 202, 202, 6286, 845, 273, 2240, 18, 588, 3234, 7675, 22761, 12, 4918, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1033, 741, 10969, 3061, 12, 6385, 1659, 4003, 16, 514, 4918, 16, 1082, 202, 921, 8526, 1775, 13, 288, 202, 202, 6286, 845, 273, 2240, 18, 588, 3234, 7675, 22761, 12, 4918, 11...
this.pm.create(mappingImpl); } catch (PersistenceManagerException e) { _log.error("Error saving credential mapping " + e);
mapping = (CredentialMapping)Class.forName(this.credentialMappingImpl).newInstance(); } catch (Exception e) { _log.error("Error creating instance of credential mapping", e);
public void createCredentialMapping(CredentialMapping mapping) throws CredentialNotPermittedException { String subject = mapping.getSubject(); if (isCredentialPermitted(subject)) { GlobusCredentialMapping mappingImpl = (GlobusCredentialMapping)mapping; try { this.pm.create(mappingImpl); } catch (PersistenceManagerException e) { _log.error("Error saving credential mapping " + e); } } else { throw new CredentialNotPermittedException("Credential subject not permitted"); } }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/e40fbeb3f641eed353ee68047bc5250c3ea8b983/AbstractCredentialManager.java/buggy/src/org/gridlab/gridsphere/core/security/impl/AbstractCredentialManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 8605, 3233, 12, 8605, 3233, 2874, 13, 5411, 1216, 15232, 1248, 31465, 503, 288, 3639, 514, 3221, 273, 2874, 18, 588, 6638, 5621, 3639, 309, 261, 291, 8605, 31465, 12, 7857...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 8605, 3233, 12, 8605, 3233, 2874, 13, 5411, 1216, 15232, 1248, 31465, 503, 288, 3639, 514, 3221, 273, 2874, 18, 588, 6638, 5621, 3639, 309, 261, 291, 8605, 31465, 12, 7857...
sourceList.add("/folder1/subfolder11/"); sourceList.add("/folder1/subfolder12/"); sourceList.add("/folder2/subfolder21/");
sourceList.add("/sites/default/folder1/subfolder11/"); sourceList.add("/sites/default/folder1/subfolder12/"); sourceList.add("/sites/default/folder2/subfolder21/");
public void testSynchronizeSeveralFolders() throws Exception { // save what gets synchronized CmsSynchronizeSettings syncSettings = new CmsSynchronizeSettings(); String dest = getTestDataPath("") + "sync2" + File.separator; File destFolder = new File(dest); if (!destFolder.exists()) { destFolder.mkdirs(); } syncSettings.setDestinationPathInRfs(dest); ArrayList sourceList = new ArrayList(); sourceList.add("/folder1/subfolder11/"); sourceList.add("/folder1/subfolder12/"); sourceList.add("/folder2/subfolder21/"); syncSettings.setSourceListInVfs(sourceList); syncSettings.setEnabled(true); try { CmsObject cms = getCmsObject(); echo("Testing synchronization of several folders"); storeResources(cms, "/"); // synchronize everything to the RFS new CmsSynchronize(cms, syncSettings, new CmsShellReport()); Iterator it = syncSettings.getSourceListInVfs().iterator(); List tree = new ArrayList(); // modify resources in the RFS while (it.hasNext()) { String source = (String)it.next(); List subTree = getSubtree(cms, source); tree.addAll(subTree); for (int i = 0, n = subTree.size(); i < n; i++) { CmsResource resource = (CmsResource)subTree.get(i); int type = resource.getTypeId(); if (((type == CmsResourceTypePlain.getStaticTypeId())) || (type == CmsResourceTypeJsp.getStaticTypeId()) || (type == CmsResourceTypeXmlPage.getStaticTypeId())) { // modify date last modified on resource touchResourceInRfs(cms, resource, syncSettings); } } } // sleep 2 seconds to avoid issues with file system timing Thread.sleep(2000); // synchronize everything back to the VFS new CmsSynchronize(cms, syncSettings, new CmsShellReport()); // assert if the synchronization worked fine for (int i = 0, n = tree.size(); i < n; i++) { CmsResource vfsResource = (CmsResource)tree.get(i); int type = vfsResource.getTypeId(); String vfsname = cms.getSitePath(vfsResource); System.out.println("( " + i + " / " + (n - 1) + " ) Checking " + vfsname); if (((type == CmsResourceTypePlain.getStaticTypeId())) || (type == CmsResourceTypeJsp.getStaticTypeId()) || (type == CmsResourceTypeXmlPage.getStaticTypeId())) { // assert the resource state assertState(cms, vfsname, I_CmsConstants.C_STATE_CHANGED); // assert the modification date File rfsResource = new File(getRfsPath(cms, vfsResource, syncSettings)); assertDateLastModifiedAfter(cms, vfsname, rfsResource.lastModified()); } else { assertState(cms, vfsname, I_CmsConstants.C_STATE_UNCHANGED); } } } finally { // remove the test data echo("Purging directory " + dest); CmsFileUtil.purgeDirectory(new File(dest)); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/87ad1ea1781b974f5adcda55d55b608b862ca549/TestSynchronize.java/clean/test/org/opencms/synchronize/TestSynchronize.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19298, 554, 1761, 502, 287, 14885, 1435, 1216, 1185, 288, 3639, 368, 1923, 4121, 5571, 3852, 3639, 2149, 19298, 554, 2628, 3792, 2628, 273, 394, 2149, 19298, 554, 2628, 562...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19298, 554, 1761, 502, 287, 14885, 1435, 1216, 1185, 288, 3639, 368, 1923, 4121, 5571, 3852, 3639, 2149, 19298, 554, 2628, 3792, 2628, 273, 394, 2149, 19298, 554, 2628, 562...
Color foreground= createColor(store, ContentAssistPreference.PROPOSALS_FOREGROUND, display); assistant.setContextInformationPopupForeground(foreground); assistant.setContextSelectorForeground(foreground); assistant.setProposalSelectorForeground(foreground);
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) { IPreferenceStore store= CUIPlugin.getDefault().getPreferenceStore(); ContentAssistant assistant= new ContentAssistant(); assistant.setContentAssistProcessor(fProcessor, IDocument.DEFAULT_CONTENT_TYPE); //assistant.enableAutoInsert(store.getBoolean(ContentAssistPreference.AUTOINSERT)); assistant.enableAutoActivation(store.getBoolean(ContentAssistPreference.AUTOACTIVATION)); assistant.setAutoActivationDelay(store.getInt(ContentAssistPreference.AUTOACTIVATION_DELAY)); assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY); assistant.setContextInformationPopupOrientation(IContentAssistant.CONTEXT_INFO_ABOVE); //assistant.setInformationControlCreator(getInformationControlCreator(sourceViewer)); Display display= sourceViewer.getTextWidget().getDisplay(); Color background= createColor(store, ContentAssistPreference.PROPOSALS_BACKGROUND, display); assistant.setContextInformationPopupBackground(background); //assistant.setContextSelectorBackground(background); //assistant.setProposalSelectorBackground(background); //Color foreground= createColor(store, ContentAssistPreference.PROPOSALS_FOREGROUND, display); //assistant.setContextInformationPopupForeground(foreground); //assistant.setContextSelectorForeground(foreground); //assistant.setProposalSelectorForeground(foreground); return assistant; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/9df570138a7c9a06f714ff6a7de5c0021783a9a8/EditTemplateDialog.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/preferences/EditTemplateDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 1350, 2610, 17175, 5154, 2610, 17175, 12, 45, 1830, 18415, 1084, 18415, 13, 288, 1082, 202, 45, 9624, 2257, 1707, 33, 385, 5370, 3773, 18, 588, 1868, 7675, 588, 9624, 2257...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 1350, 2610, 17175, 5154, 2610, 17175, 12, 45, 1830, 18415, 1084, 18415, 13, 288, 1082, 202, 45, 9624, 2257, 1707, 33, 385, 5370, 3773, 18, 588, 1868, 7675, 588, 9624, 2257...
return map;
return payload;
public Object getPayload() { return map; }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/95f75ea31a83e0bddba86755822ab32a7beec233/JdbcMessageAdapter.java/buggy/transports/jdbc/src/main/java/org/mule/providers/jdbc/JdbcMessageAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 19275, 1435, 565, 288, 3639, 327, 2385, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 19275, 1435, 565, 288, 3639, 327, 2385, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
public MDLWriter(FileOutputStream out)
public MDLWriter(FileOutputStream out) throws Exception
public MDLWriter(FileOutputStream out) { try { writer = new BufferedWriter(new OutputStreamWriter(out)); } catch (Exception exc) { } }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/4ea74b758bf329c33793811a5dde7e720634d1a9/MDLWriter.java/clean/org/openscience/cdk/io/MDLWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 490, 8914, 2289, 12, 812, 4632, 596, 13, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 6299, 273, 394, 22490, 12, 2704, 24248, 12, 659, 10019, 202, 202, 97, 202, 202, 146...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 490, 8914, 2289, 12, 812, 4632, 596, 13, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 6299, 273, 394, 22490, 12, 2704, 24248, 12, 659, 10019, 202, 202, 97, 202, 202, 146...
xpp.require(xpp.START_DOCUMENT, null, null);
xpp.require(XmlPullParser.START_DOCUMENT, null, null);
private void checkTestSetPrefixSoap2(String soapEnvelope) throws Exception { xpp.setInput(new StringReader(soapEnvelope)); xpp.setFeature(xpp.FEATURE_PROCESS_NAMESPACES, true); xpp.require(xpp.START_DOCUMENT, null, null); xpp.next(); // essentially moveToContent() xpp.require(xpp.START_TAG, ENV, "Envelope"); xpp.nextTag(); xpp.require(xpp.START_TAG, ENV, "Header"); xpp.nextTag(); xpp.require(xpp.START_TAG, ALERTCONTROL, "alertcontrol"); String mustUderstand = xpp.getAttributeValue(ENV, "mustUnderstand"); assertEquals("true", mustUderstand); String role = xpp.getAttributeValue(ENV, "role"); assertEquals(ROLE, role); xpp.nextTag(); xpp.require(xpp.START_TAG, ALERTCONTROL, "priority"); String text = xpp.nextText(); assertEquals("1", text); //Integer.parseInt(text); xpp.nextTag(); xpp.require(xpp.START_TAG, ALERTCONTROL, "expires"); text = xpp.nextText(); assertEquals(EXPIRES, text); xpp.nextTag(); xpp.require(xpp.END_TAG, ALERTCONTROL, "alertcontrol"); xpp.nextTag(); xpp.require(xpp.END_TAG, ENV, "Header"); xpp.nextTag(); xpp.require(xpp.START_TAG, ENV, "Body"); xpp.nextTag(); xpp.require(xpp.START_TAG, ALERT, "alert"); xpp.nextTag(); xpp.require(xpp.START_TAG, ALERT, "msg"); text = xpp.nextText(); assertEquals(MSG, text); xpp.nextTag(); xpp.require(xpp.END_TAG, ALERT, "alert"); xpp.nextTag(); xpp.require(xpp.END_TAG, ENV, "Body"); xpp.nextTag(); xpp.require(xpp.END_TAG, ENV, "Envelope"); xpp.next(); xpp.require(xpp.END_DOCUMENT, null, null); }
3949 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3949/25be6df80154469aacea3441a8e7758596d46574/TestSerializeWithNs.java/clean/src/java/tests/org/xmlpull/v1/tests/TestSerializeWithNs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 4709, 694, 2244, 20601, 22, 12, 780, 9930, 10862, 13, 1216, 1185, 288, 3639, 619, 11858, 18, 542, 1210, 12, 2704, 26227, 12, 19215, 10862, 10019, 3639, 619, 11858, 18, 542...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 866, 4709, 694, 2244, 20601, 22, 12, 780, 9930, 10862, 13, 1216, 1185, 288, 3639, 619, 11858, 18, 542, 1210, 12, 2704, 26227, 12, 19215, 10862, 10019, 3639, 619, 11858, 18, 542...
LOG.error("Topic with id '" + externalTopicId + "'not found"); setErrorMessage("Topic with id '" + externalTopicId + "'not found");
LOG.error("Topic with id '" + externalTopicId + "' not found"); setErrorMessage("Topic with id '" + externalTopicId + "' not found");
private String displayTopicById(String externalTopicId) { if (LOG.isDebugEnabled()) { LOG.debug("processActionDisplayTopicById(String" + externalTopicId + ")"); } String topicId = null; selectedTopic = null; try { topicId = getExternalParameterByKey(externalTopicId); if (topicId != null) { DiscussionTopic topic = null; try { Long.parseLong(topicId); topic = forumManager.getTopicById(new Long(topicId)); } catch (NumberFormatException e) { LOG.error(e.getMessage(), e); setErrorMessage("Unable to retrive topic"); return MAIN; } setSelectedForumForCurrentTopic(topic); selectedTopic = getDecoratedTopic(topic); } else { LOG.error("Topic with id '" + externalTopicId + "'not found"); setErrorMessage("Topic with id '" + externalTopicId + "'not found"); return MAIN; } } catch (Exception e) { LOG.error(e.getMessage(), e); setErrorMessage(e.getMessage()); return "main"; } return ALL_MESSAGES; }
52248 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52248/933189d531055aa61b7e796f4ce42f605233d8ff/DiscussionForumTool.java/clean/messageforums-app/src/java/org/sakaiproject/tool/messageforums/DiscussionForumTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 2562, 6657, 5132, 12, 780, 3903, 6657, 548, 13, 225, 288, 565, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 565, 288, 1377, 2018, 18, 4148, 2932, 2567, 1803, 4236, 6657, 5132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 2562, 6657, 5132, 12, 780, 3903, 6657, 548, 13, 225, 288, 565, 309, 261, 4842, 18, 291, 2829, 1526, 10756, 565, 288, 1377, 2018, 18, 4148, 2932, 2567, 1803, 4236, 6657, 5132, ...
private static String js_toUTCString(double date) {
private static String js_toUTCString(double date) {
private static String js_toUTCString(double date) { StringBuffer result = new StringBuffer(60); appendWeekDayName(result, WeekDay(date)); result.append(", "); append0PaddedUint(result, DateFromTime(date), 2); result.append(' '); appendMonthName(result, MonthFromTime(date)); result.append(' '); int year = YearFromTime(date); if (year < 0) { result.append('-'); year = -year; } append0PaddedUint(result, year, 4); result.append(' '); append0PaddedUint(result, HourFromTime(date), 2); result.append(':'); append0PaddedUint(result, MinFromTime(date), 2); result.append(':'); append0PaddedUint(result, SecFromTime(date), 2); result.append(" GMT"); return result.toString(); }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/02ecf7529127113a2cb5d3237d62ee474eb599d0/NativeDate.java/clean/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 3828, 67, 869, 11471, 780, 12, 9056, 1509, 13, 288, 3639, 6674, 563, 273, 394, 6674, 12, 4848, 1769, 3639, 714, 6630, 4245, 461, 12, 2088, 16, 10527, 4245, 12, 712, 1001...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 514, 3828, 67, 869, 11471, 780, 12, 9056, 1509, 13, 288, 3639, 6674, 563, 273, 394, 6674, 12, 4848, 1769, 3639, 714, 6630, 4245, 461, 12, 2088, 16, 10527, 4245, 12, 712, 1001...
return elem.getEntry() + (elem.isRemoved() ? " (removed)" : "");
return elem.getEntry() + (elem.isRemoved() ? addAnnotation(DISABLED_LABEL) : "");
public String getText(Object element) { if (element instanceof DiscoveredElement) { DiscoveredElement elem = (DiscoveredElement) element; switch (elem.getEntryKind()) { case DiscoveredElement.PATHS_GROUP: return CPathEntryMessages.getString("CPElementLabelProvider.Includes"); //$NON-NLS-1$ case DiscoveredElement.SYMBOLS_GROUP: return CPathEntryMessages.getString("CPElementLabelProvider.PreprocessorSymbols"); //$NON-NLS-1$ case DiscoveredElement.CONTAINER: case DiscoveredElement.INCLUDE_PATH: case DiscoveredElement.SYMBOL_DEFINITION: return elem.getEntry() + (elem.isRemoved() ? " (removed)" : ""); } } return super.getText(element); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/090013eb810490486f7fc5eb896c425af6dbff60/DiscoveredElementLabelProvider.java/clean/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/scannerconfig/DiscoveredElementLabelProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 202, 202, 430, 261, 2956, 1276, 3035, 16810, 1046, 13, 288, 1082, 202, 28851, 1046, 3659, 273, 261, 28851, 1046, 13, 930, 31, 1082, 202, 9610...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6701, 12, 921, 930, 13, 288, 202, 202, 430, 261, 2956, 1276, 3035, 16810, 1046, 13, 288, 1082, 202, 28851, 1046, 3659, 273, 261, 28851, 1046, 13, 930, 31, 1082, 202, 9610...
return(lineIncrement);
return getLineIncrement ();
getUnitIncrement(){ return(lineIncrement);}
1023 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1023/3fe1c14284ce32b79d0e66441aec6a45a77ff684/Scrollbar.java/clean/libjava/java/awt/Scrollbar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 19194, 10798, 1435, 95, 225, 327, 12, 1369, 10798, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 19194, 10798, 1435, 95, 225, 327, 12, 1369, 10798, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
public Vector generateRows(Object settings) {
public Vector<Vector> generateRows(Object settings) {
public Vector generateRows(Object settings) { SpamSettings spamSettings = (SpamSettings) settings; Vector allRows = new Vector(2); int rowIndex = 0; // INBOUND rowIndex++; Vector inboundRow = new Vector(8); SpamIMAPConfig spamIMAPConfigInbound = spamSettings.getIMAPInbound(); inboundRow.add( super.ROW_SAVED ); inboundRow.add( rowIndex ); inboundRow.add( SOURCE_INBOUND ); inboundRow.add( spamIMAPConfigInbound.getScan() ); ComboBoxModel inboundStrengthComboBoxModel = super.generateComboBoxModel( SpamIMAPConfig.getScanStrengthEnumeration(), spamIMAPConfigInbound.getStrengthByName()); inboundRow.add( inboundStrengthComboBoxModel ); ComboBoxModel inboundActionComboBoxModel = super.generateComboBoxModel( SpamMessageAction.getValues(), spamIMAPConfigInbound.getMsgAction() ); inboundRow.add( inboundActionComboBoxModel ); inboundRow.add( spamIMAPConfigInbound.getNotes() ); inboundRow.add( spamIMAPConfigInbound ); allRows.add(inboundRow); // OUTBOUND rowIndex++; Vector outboundRow = new Vector(8); SpamIMAPConfig spamIMAPConfigOutbound = spamSettings.getIMAPOutbound(); outboundRow.add( super.ROW_SAVED ); outboundRow.add( rowIndex ); outboundRow.add( SOURCE_OUTBOUND ); outboundRow.add( spamIMAPConfigOutbound.getScan() ); ComboBoxModel outboundStrengthComboBoxModel = super.generateComboBoxModel( SpamIMAPConfig.getScanStrengthEnumeration(), spamIMAPConfigOutbound.getStrengthByName()); outboundRow.add( outboundStrengthComboBoxModel ); ComboBoxModel outboundActionComboBoxModel = super.generateComboBoxModel( SpamMessageAction.getValues(), spamIMAPConfigOutbound.getMsgAction() ); outboundRow.add( outboundActionComboBoxModel ); outboundRow.add( spamIMAPConfigOutbound.getNotes() ); outboundRow.add( spamIMAPConfigOutbound ); allRows.add(outboundRow); return allRows; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/ff039aa0a88558bd57c3af5130d7d059b60c42c3/ImapConfigJPanel.java/buggy/tran/spam/main/com/metavize/tran/spam/gui/ImapConfigJPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 32, 5018, 34, 2103, 4300, 12, 921, 1947, 13, 288, 3639, 5878, 301, 2628, 24824, 2628, 273, 261, 3389, 301, 2628, 13, 1947, 31, 3639, 5589, 777, 4300, 273, 394, 5589, 12, 22,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5589, 32, 5018, 34, 2103, 4300, 12, 921, 1947, 13, 288, 3639, 5878, 301, 2628, 24824, 2628, 273, 261, 3389, 301, 2628, 13, 1947, 31, 3639, 5589, 777, 4300, 273, 394, 5589, 12, 22,...
FileWindow(SwingGui debugGui, Dim.SourceInfo sourceInfo) {
public FileWindow(SwingGui debugGui, Dim.SourceInfo sourceInfo) {
FileWindow(SwingGui debugGui, Dim.SourceInfo sourceInfo) { super(SwingGui.getShortName(sourceInfo.url()), true, true, true, true); this.debugGui = debugGui; this.sourceInfo = sourceInfo; updateToolTip(); currentPos = -1; textArea = new FileTextArea(this); textArea.setRows(24); textArea.setColumns(80); p = new JScrollPane(); fileHeader = new FileHeader(this); p.setViewportView(textArea); p.setRowHeaderView(fileHeader); setContentPane(p); pack(); updateText(sourceInfo); textArea.select(0); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/e4c74a91b5c4165a9c90cde4d7b2ddd72e81af8d/SwingGui.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 3829, 12, 6050, 310, 18070, 1198, 18070, 16, 463, 381, 18, 1830, 966, 1084, 966, 13, 288, 3639, 2240, 12, 6050, 310, 18070, 18, 588, 29983, 12, 3168, 966, 18, 718, 1435, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1387, 3829, 12, 6050, 310, 18070, 1198, 18070, 16, 463, 381, 18, 1830, 966, 1084, 966, 13, 288, 3639, 2240, 12, 6050, 310, 18070, 18, 588, 29983, 12, 3168, 966, 18, 718, 1435, 363...
String signature = NativeJavaMethod.signature(args);
String signature = NativeJavaMethod.scriptSignature(args);
public static Scriptable constructSpecific(Context cx, Scriptable scope, Scriptable thisObj, Constructor ctor, Object[] args) throws JavaScriptException { Scriptable topLevel = ScriptableObject.getTopLevelScope(thisObj); Class classObject = ctor.getDeclaringClass(); Class[] paramTypes = ctor.getParameterTypes(); for (int i = 0; i < args.length; i++) { args[i] = NativeJavaObject.coerceType(paramTypes[i], args[i]); } try { /* we need to force this to be wrapped, because construct _has_ * to return a scriptable */ return (Scriptable) NativeJavaObject.wrap(topLevel, ctor.newInstance(args), classObject); } catch (InstantiationException instEx) { Object[] errArgs = { instEx.getMessage(), classObject.getName() }; throw Context.reportRuntimeError(Context.getMessage ("msg.cant.instantiate", errArgs)); } catch (IllegalArgumentException argEx) { String signature = NativeJavaMethod.signature(args); String ctorString = ctor.toString(); Object[] errArgs = { argEx.getMessage(),ctorString,signature }; throw Context.reportRuntimeError(Context.getMessage ("msg.bad.ctor.sig", errArgs)); } catch (InvocationTargetException e) { throw JavaScriptException.wrapException(scope, e); } catch (IllegalAccessException accessEx) { Object[] errArgs = { accessEx.getMessage() }; throw Context.reportRuntimeError(Context.getMessage ("msg.java.internal.private", errArgs)); } }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/a66a71b8d7fdff3115a1305db27d683777b6080b/NativeJavaClass.java/clean/js/rhino/src/org/mozilla/javascript/NativeJavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22780, 4872, 9969, 12, 1042, 9494, 16, 4766, 7734, 22780, 2146, 16, 4766, 7734, 22780, 15261, 16, 4766, 7734, 11417, 15120, 16, 4766, 9079, 1033, 8526, 833, 13, 3639, 1216, 11905...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 22780, 4872, 9969, 12, 1042, 9494, 16, 4766, 7734, 22780, 2146, 16, 4766, 7734, 22780, 15261, 16, 4766, 7734, 11417, 15120, 16, 4766, 9079, 1033, 8526, 833, 13, 3639, 1216, 11905...
while (iterator.hasNext()) { Interface group_element = (Interface) iterator.next(); if (group_element.getFcItfName().equals(interfaceName)) { count++; } } if (count > 0) { if (count == itf_ref_group.size()) { return interfaceReferences[i]; } else { throw new NoSuchInterfaceException( "some elements of the collection are not named " + interfaceName); } } } else { if (interfaceReferences[i].getFcItfName().equals(interfaceName)) { return interfaceReferences[i]; } } } } throw new NoSuchInterfaceException(interfaceName); }
while (iterator.hasNext()) { Interface group_element = (Interface) iterator.next(); if (group_element.getFcItfName().equals(interfaceName)) { count++; } } if (count > 0) { if (count == itf_ref_group.size()) { return interfaceReferences[i]; } else { throw new NoSuchInterfaceException( "some elements of the collection are not named " + interfaceName); } } } else { if (interfaceReferences[i].getFcItfName().equals(interfaceName)) { return interfaceReferences[i]; } } } } throw new NoSuchInterfaceException(interfaceName); }
public Object getFcInterface(String interfaceName) throws NoSuchInterfaceException{ if (interfaceReferences != null) { for (int i = 0; i < interfaceReferences.length; i++) { if (ProActiveGroup.isGroup(interfaceReferences[i])) { // need to find at least one occurence of the interface // if exists but not for all elements of the group -> throw error // if does not exist -> do nothing int count = 0; Group itf_ref_group = ProActiveGroup.getGroup(interfaceReferences[i]); Iterator iterator = itf_ref_group.iterator(); // ensure groups are coherent (ie : if 1 interface of the given name exists, // all of the group elements should be of this kind while (iterator.hasNext()) { Interface group_element = (Interface) iterator.next(); if (group_element.getFcItfName().equals(interfaceName)) { count++; } } if (count > 0) { if (count == itf_ref_group.size()) { return interfaceReferences[i]; } else { throw new NoSuchInterfaceException( "some elements of the collection are not named " + interfaceName); } } } else { //looking into single interface if (interfaceReferences[i].getFcItfName().equals(interfaceName)) { return interfaceReferences[i]; } } } } throw new NoSuchInterfaceException(interfaceName); }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/466c325df727388912d7efbc91a624f8a1e015c8/ProActiveComponentImpl.java/buggy/src/org/objectweb/proactive/core/component/identity/ProActiveComponentImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 2812, 71, 1358, 12, 780, 24088, 13, 1216, 5823, 1358, 503, 95, 202, 202, 430, 261, 5831, 8221, 480, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 2812, 71, 1358, 12, 780, 24088, 13, 1216, 5823, 1358, 503, 95, 202, 202, 430, 261, 5831, 8221, 480, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 41...
protected final void TRAP_IF_IMM(OPT_Instruction s) {
protected final void TRAP_IF_IMM(OPT_Instruction s, boolean longConstant) {
protected final void TRAP_IF_IMM(OPT_Instruction s) { OPT_RegisterOperand gRes = TrapIf.getClearGuardResult(s); OPT_RegisterOperand v1 = (OPT_RegisterOperand)TrapIf.getClearVal1(s); OPT_IntConstantOperand v2 = (OPT_IntConstantOperand)TrapIf.getClearVal2(s); OPT_ConditionOperand cond = TrapIf.getClearCond(s); OPT_TrapCodeOperand tc = TrapIf.getClearTCode(s); switch(tc.getTrapCode()) { case VM_Runtime.TRAP_ARRAY_BOUNDS: { if (cond.isLOWER_EQUAL()) { EMIT(MIR_Trap.mutate(s, PPC_TWI, gRes, new OPT_PowerPCTrapOperand(cond), v1, v2, tc)); } else if (cond.isHIGHER_EQUAL()) { // have flip the operands and use non-immediate so trap handler can recognize. OPT_RegisterOperand tmp = regpool.makeTempInt(); IntConstant(tmp.register, v2.value); EMIT(MIR_Trap.mutate(s, PPC_TW, gRes, new OPT_PowerPCTrapOperand(cond.flipOperands()), tmp, v1, tc)); } else { throw new OPT_OptimizingCompilerException("Unexpected case of trap_if"+s); } } break; case VM_Runtime.TRAP_DIVIDE_BY_ZERO: { //-#if RVM_FOR_32_ADDR // A slightly ugly matter, but we need to deal with combining // the two pieces of a long register from a LONG_ZERO_CHECK. // A little awkward, but probably the easiest workaround... if (v1.type.isLongType()) { OPT_RegisterOperand rr = regpool.makeTempInt(); EMIT(MIR_Binary.create(PPC_OR, rr, v1, I(regpool.getSecondReg(v1.register)))); v1 = rr.copyD2U(); } if (cond.isEQUAL() && v2.value == 0) { EMIT(MIR_Trap.mutate(s, PPC_TWI, gRes, new OPT_PowerPCTrapOperand(cond), v1, v2, tc)); } else { throw new OPT_OptimizingCompilerException("Unexpected case of trap_if"+s); } //-#endif //-#if RVM_FOR_64_ADDR if (cond.isEQUAL() && v2.value == 0) { if (v1.type.isLongType()) { EMIT(MIR_Trap.mutate(s, PPC64_TDI, gRes, new OPT_PowerPCTrapOperand(cond), v1, v2, tc)); } else { EMIT(MIR_Trap.mutate(s, PPC_TWI, gRes, new OPT_PowerPCTrapOperand(cond), v1, v2, tc)); } } else { throw new OPT_OptimizingCompilerException("Unexpected case of trap_if"+s); } //-#endif } break; default: throw new OPT_OptimizingCompilerException("Unexpected case of trap_if"+s); } }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/d27af499479cd2deb576ec7231352cf0b0ac9864/OPT_BURS_Helpers.java/clean/rvm/src/vm/arch/powerPC/compilers/optimizing/ir/conversions/lir2mir/OPT_BURS_Helpers.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 727, 918, 4235, 2203, 67, 5501, 67, 3445, 49, 12, 15620, 67, 11983, 272, 16, 1250, 1525, 6902, 13, 288, 565, 16456, 67, 3996, 10265, 314, 607, 273, 399, 1266, 2047, 18, 588, 9094,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4235, 2203, 67, 5501, 67, 3445, 49, 12, 15620, 67, 11983, 272, 16, 1250, 1525, 6902, 13, 288, 565, 16456, 67, 3996, 10265, 314, 607, 273, 399, 1266, 2047, 18, 588, 9094,...
runQueryCheckResult(
assertQueryReturns(
public void _testMemberPropertyAsCalcMember() { runQueryCheckResult( // todo: implement <member>.PROPERTIES "WITH MEMBER Measures.[Store SqFt] AS '[Store].CURRENTMEMBER.PROPERTIES(\"Store SQFT\")'" + nl + "SELECT { [Measures].[Store SQFT], [Measures].[Units Shipped], [Measures].[Units Ordered] } ON COLUMNS," + nl + " [Store].[Store Name].MEMBERS ON ROWS" + nl + "FROM Warehouse", ""); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/3041f930b5fc4bf6aa3339845b828801c1d8b366/BasicQueryTest.java/buggy/testsrc/main/mondrian/test/BasicQueryTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 389, 3813, 4419, 1396, 1463, 25779, 4419, 1435, 288, 3639, 1815, 1138, 1356, 12, 368, 10621, 30, 2348, 411, 5990, 18652, 17421, 7734, 315, 9147, 18990, 6271, 18174, 1823, 18, 63,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 3813, 4419, 1396, 1463, 25779, 4419, 1435, 288, 3639, 1815, 1138, 1356, 12, 368, 10621, 30, 2348, 411, 5990, 18652, 17421, 7734, 315, 9147, 18990, 6271, 18174, 1823, 18, 63,...
if (value == null) throw new DataFormatException(
if (value == null) { throw new DataFormatException(
public static FontData asFontData(String value) throws DataFormatException { if (value == null) throw new DataFormatException( "Null doesn't represent a valid font data"); //$NON-NLS-1$ String name = null; int height = 0; int style = 0; try { int length = value.length(); int heightIndex = value.lastIndexOf(SEPARATOR); if (heightIndex == -1) throw new DataFormatException( "No correct font data format \"" + value + "\""); //$NON-NLS-2$//$NON-NLS-1$ height = StringConverter.asInt(value.substring(heightIndex + 1, length)); int faceIndex = value.lastIndexOf(SEPARATOR, heightIndex - 1); if (faceIndex == -1) throw new DataFormatException( "No correct font data format \"" + value + "\""); //$NON-NLS-2$//$NON-NLS-1$ String s = value.substring(faceIndex + 1, heightIndex); if (BOLD_ITALIC.equals(s)) { style = SWT.BOLD | SWT.ITALIC; } else if (BOLD.equals(s)) { style = SWT.BOLD; } else if (ITALIC.equals(s)) { style = SWT.ITALIC; } else if (REGULAR.equals(s)) { style = SWT.NORMAL; } else { throw new DataFormatException("Unknown face name \"" + s + "\""); //$NON-NLS-2$//$NON-NLS-1$ } name = value.substring(0, faceIndex); } catch (NoSuchElementException e) { throw new DataFormatException(e.getMessage()); } return new FontData(name, height, style); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/391f2606b4ea2c1fb5052d938ca90877ee7631f6/StringConverter.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/StringConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 10063, 751, 487, 5711, 751, 12, 780, 460, 13, 1216, 1910, 9291, 288, 3639, 309, 261, 1132, 422, 446, 13, 5411, 604, 394, 1910, 9291, 12, 10792, 315, 2041, 3302, 1404, 2406, 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, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 10063, 751, 487, 5711, 751, 12, 780, 460, 13, 1216, 1910, 9291, 288, 3639, 309, 261, 1132, 422, 446, 13, 5411, 604, 394, 1910, 9291, 12, 10792, 315, 2041, 3302, 1404, 2406, 2...
jsFunction_setUTCFullYear(args));
makeDate(args, 3, false));
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { switch (methodId) { case ConstructorId_UTC: return wrap_double(jsStaticFunction_UTC(args)); case ConstructorId_parse: return wrap_double(jsStaticFunction_parse (ScriptRuntime.toString(args, 0))); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f, true). jsFunction_toString(); case Id_toTimeString: return realThis(thisObj, f, true). jsFunction_toTimeString(); case Id_toDateString: return realThis(thisObj, f, true). jsFunction_toDateString(); case Id_toLocaleString: return realThis(thisObj, f, true). jsFunction_toLocaleString(); case Id_toLocaleTimeString: return realThis(thisObj, f, true). jsFunction_toLocaleTimeString(); case Id_toLocaleDateString: return realThis(thisObj, f, true). jsFunction_toLocaleDateString(); case Id_toGMTString: case Id_toUTCString: return realThis(thisObj, f, true). jsFunction_toUTCString(); case Id_valueOf: return wrap_double(realThis(thisObj, f, true). jsFunction_valueOf()); case Id_getTime: return wrap_double(realThis(thisObj, f, true). jsFunction_getTime()); case Id_getYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getYear(cx)); case Id_getFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getFullYear()); case Id_getUTCFullYear: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCFullYear()); case Id_getMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getMonth()); case Id_getUTCMonth: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMonth()); case Id_getDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getDate()); case Id_getUTCDate: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDate()); case Id_getDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getDay()); case Id_getUTCDay: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCDay()); case Id_getHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getHours()); case Id_getUTCHours: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCHours()); case Id_getMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getMinutes()); case Id_getUTCMinutes: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMinutes()); case Id_getSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getSeconds()); case Id_getUTCSeconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCSeconds()); case Id_getMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getMilliseconds()); case Id_getUTCMilliseconds: return wrap_double(realThis(thisObj, f, true). jsFunction_getUTCMilliseconds()); case Id_getTimezoneOffset: return wrap_double(realThis(thisObj, f, true). jsFunction_getTimezoneOffset()); case Id_setTime: return wrap_double(realThis(thisObj, f, true). jsFunction_setTime(ScriptRuntime.toNumber(args, 0))); case Id_setMilliseconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setMilliseconds(args)); case Id_setUTCMilliseconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMilliseconds(args)); case Id_setSeconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setSeconds(args)); case Id_setUTCSeconds: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCSeconds(args)); case Id_setMinutes: return wrap_double(realThis(thisObj, f, false). jsFunction_setMinutes(args)); case Id_setUTCMinutes: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMinutes(args)); case Id_setHours: return wrap_double(realThis(thisObj, f, false). jsFunction_setHours(args)); case Id_setUTCHours: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCHours(args)); case Id_setDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setDate(args)); case Id_setUTCDate: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCDate(args)); case Id_setMonth: return wrap_double(realThis(thisObj, f, false). jsFunction_setMonth(args)); case Id_setUTCMonth: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCMonth(args)); case Id_setFullYear: return wrap_double(realThis(thisObj, f, false). jsFunction_setFullYear(args)); case Id_setUTCFullYear: return wrap_double(realThis(thisObj, f, false). jsFunction_setUTCFullYear(args)); case Id_setYear: return wrap_double(realThis(thisObj, f, true). jsFunction_setYear(ScriptRuntime.toNumber(args, 0))); } } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/ea784f12624d5ef9899dfbae006ec438e546253e/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, ...
if (isActive()) { activityStopped(); }
public void run() { activityStarted(); // execute the initialization if needed. Only once if (initActive != null) { initActive.initActivity(this); initActive = null; // we won't do it again } // run the activity of the body try { runActive.runActivity(this); // the body terminate its activity if (isActive()) { // serve remaining requests if non dead while (!(localBodyStrategy.getRequestQueue().isEmpty())) { serve(localBodyStrategy.getRequestQueue().removeOldest()); } } } catch (Exception e) { logger.error("Exception occured in runActivity method of body " + toString() + ". Now terminating the body"); e.printStackTrace(); terminate(); } finally { if (isActive()) { activityStopped(); } // execute the end of activity if not after migration if ((!hasJustMigrated) && (endActive != null)) { endActive.endActivity(this); } } }
58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/a14498ef1d16bc454d02aaf70beae6174422596e/ActiveBody.java/buggy/src/org/objectweb/proactive/core/body/ActiveBody.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 5728, 9217, 5621, 3639, 368, 1836, 326, 10313, 309, 3577, 18, 5098, 3647, 3639, 309, 261, 2738, 3896, 480, 446, 13, 288, 5411, 1208, 3896, 18, 2738, 6193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 5728, 9217, 5621, 3639, 368, 1836, 326, 10313, 309, 3577, 18, 5098, 3647, 3639, 309, 261, 2738, 3896, 480, 446, 13, 288, 5411, 1208, 3896, 18, 2738, 6193...
public Object call() throws Exception {
public Object call() throws Exception {
public FutureMessageResult sendAsyncToRemoteComponent(final String component, String transformers, final Object payload, final Map messageProperties) throws UMOException { FutureMessageResult result = null; UMOTransformer trans = null; Callable callable = new Callable() { public Object call() throws Exception { return doToRemoteComponent(component, payload, messageProperties, true); } }; if (transformers != null) { trans = MuleObjectHelper.getTransformer(transformers, ","); result = new FutureMessageResult(callable, trans); } else { result = new FutureMessageResult(callable); } result.execute(); return result; }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/589f59b15144184ea22999b384d5ea92ddec8bb9/RemoteDispatcher.java/buggy/mule-extras/client/src/java/org/mule/extras/client/RemoteDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9108, 1079, 1253, 1366, 2771, 774, 5169, 1841, 12, 6385, 514, 1794, 16, 4766, 12900, 514, 20522, 16, 4766, 12900, 727, 1033, 2385, 16, 4766, 12900, 727, 1635, 883, 2297, 13, 1216, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9108, 1079, 1253, 1366, 2771, 774, 5169, 1841, 12, 6385, 514, 1794, 16, 4766, 12900, 514, 20522, 16, 4766, 12900, 727, 1033, 2385, 16, 4766, 12900, 727, 1635, 883, 2297, 13, 1216, 5...
addElement(function);
if(function.getOwnerTemplateDeclaration() == null) addElement(function); else if(function.getOwnerTemplateDeclaration() instanceof IASTTemplateDeclaration) addElement((IASTTemplateDeclaration)function.getOwnerTemplateDeclaration());
public void enterFunctionBody(IASTFunction function) { addElement(function); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/53d5b620ebdef2d9ade1299666742d48cb727d11/StructuralParseCallback.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/StructuralParseCallback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6103, 2083, 2250, 12, 45, 9053, 2083, 445, 13, 288, 202, 202, 1289, 1046, 12, 915, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6103, 2083, 2250, 12, 45, 9053, 2083, 445, 13, 288, 202, 202, 1289, 1046, 12, 915, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
private Node parse(String file, Reader content, RubyParserConfiguration config) { config.setLocalVariables(runtime.getScope().getLocalNames()); DefaultRubyParser parser = null; RubyParserResult result = null; try { parser = RubyParserPool.getInstance().borrowParser(); parser.setWarnings(runtime.getWarnings()); parser.init(config); LexerSource lexerSource = LexerSource.getSource(file, content); result = parser.parse(lexerSource); } catch (SyntaxException e) { StringBuffer buffer = new StringBuffer(100); buffer.append(e.getPosition().getFile()).append(':'); buffer.append(e.getPosition().getLine()).append(": "); buffer.append(e.getMessage()); throw new SyntaxError(runtime, buffer.toString()); } finally { RubyParserPool.getInstance().returnParser(parser); } if (hasNewLocalVariables(result)) { expandLocalVariables(result.getLocalVariables()); } result.addAppendBeginAndEndNodes(); return result.getAST();
public Node parse(String file, String content) { return parse(file, new StringReader(content));
private Node parse(String file, Reader content, RubyParserConfiguration config) { config.setLocalVariables(runtime.getScope().getLocalNames()); DefaultRubyParser parser = null; RubyParserResult result = null; try { parser = RubyParserPool.getInstance().borrowParser(); parser.setWarnings(runtime.getWarnings()); parser.init(config); LexerSource lexerSource = LexerSource.getSource(file, content); result = parser.parse(lexerSource); } catch (SyntaxException e) { StringBuffer buffer = new StringBuffer(100); buffer.append(e.getPosition().getFile()).append(':'); buffer.append(e.getPosition().getLine()).append(": "); buffer.append(e.getMessage()); throw new SyntaxError(runtime, buffer.toString()); } finally { RubyParserPool.getInstance().returnParser(parser); } if (hasNewLocalVariables(result)) { expandLocalVariables(result.getLocalVariables()); } result.addAppendBeginAndEndNodes(); return result.getAST(); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0f6e18726a82e6e618032c9fbecf61f67509d272/Parser.java/buggy/src/org/jruby/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2029, 1109, 12, 780, 585, 16, 5393, 913, 16, 19817, 2678, 1750, 642, 13, 288, 3639, 642, 18, 542, 2042, 6158, 12, 9448, 18, 588, 3876, 7675, 588, 2042, 1557, 10663, 7734, 2989, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1109, 12, 780, 585, 16, 5393, 913, 16, 19817, 2678, 1750, 642, 13, 288, 3639, 642, 18, 542, 2042, 6158, 12, 9448, 18, 588, 3876, 7675, 588, 2042, 1557, 10663, 7734, 2989, 54...
private static void weaveCFlowPointcutAttributes( final AspectWerkzDefinition definition, final String className, final QDoxParser qdoxParser) { final JavaMethod[] javaMethods = qdoxParser.getJavaMethods(); for (int i = 0; i < javaMethods.length; i++) { DocletTag[] cflowTags = javaMethods[i].getTagsByName(AttributeTag.CFLOW); for (int j = 0; j < cflowTags.length; j++) { if (cflowTags[j] == null) { continue; } String[] attributes = cflowTags[j].getParameters(); if (attributes.length == 0) { continue; } // get the user defined name for the cflow pointcut String name = attributes[0]; // create A add a new pointcut def PointcutDefinition pointcutDef = new PointcutDefinition(); pointcutDef.setName(name); pointcutDef.setClassPattern(className); pointcutDef.setPattern(createMethodPattern(javaMethods[i])); pointcutDef.setType(PointcutDefinition.CFLOW); definition.getAspectDefinition(AspectWerkzDefinition.SYSTEM_ASPECT). addPointcut(pointcutDef); // create A add a new weaving rule def AdviceWeavingRule weavingRule = new AdviceWeavingRule(); weavingRule.setExpression(name); weavingRule.addAdviceRef(CFlowAdvice.NAME); definition.getAspectDefinition(AspectWerkzDefinition.SYSTEM_ASPECT). addAdviceWeavingRule(weavingRule); break; } } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/a963297246be4fe2dccc15b9a0d970317687b6f3/SourceFileMetaDataCompiler.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/metadata/SourceFileMetaDataCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 732, 836, 39, 5249, 2148, 5150, 2498, 12, 5411, 727, 2970, 1181, 59, 264, 79, 94, 1852, 2379, 16, 5411, 727, 514, 2658, 16, 5411, 727, 2238, 40, 2409, 2678, 1043, 72, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 918, 732, 836, 39, 5249, 2148, 5150, 2498, 12, 5411, 727, 2970, 1181, 59, 264, 79, 94, 1852, 2379, 16, 5411, 727, 514, 2658, 16, 5411, 727, 2238, 40, 2409, 2678, 1043, 72, ...
fieldAndMethods = members.getFieldAndMethodsObjects(javaObject, false);
fieldAndMethods = members.getFieldAndMethodsObjects(this, javaObject, true);
public NativeJavaClass(Scriptable scope, Class cl) { super(scope, cl, JavaMembers.lookupClass(scope, cl, cl)); fieldAndMethods = members.getFieldAndMethodsObjects(javaObject, false); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/d51c86ce41d18ae0fb0b3b8271845674d5ce2728/NativeJavaClass.java/clean/js/rhino/src/org/mozilla/javascript/NativeJavaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16717, 5852, 797, 12, 3651, 429, 2146, 16, 1659, 927, 13, 288, 3639, 2240, 12, 4887, 16, 927, 16, 5110, 6918, 18, 8664, 797, 12, 4887, 16, 927, 16, 927, 10019, 3639, 652, 1876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16717, 5852, 797, 12, 3651, 429, 2146, 16, 1659, 927, 13, 288, 3639, 2240, 12, 4887, 16, 927, 16, 5110, 6918, 18, 8664, 797, 12, 4887, 16, 927, 16, 927, 10019, 3639, 652, 1876, ...
throw re;
if (args.length == 3) { ((RubyException) exception).set_backtrace(args[2]); } throw new RaiseException((RubyException) exception);
public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); IRuby runtime = recv.getRuntime(); RubyString string = null; RubyException excptn = null; RaiseException re = null; switch (args.length) { case 0 : IRubyObject defaultException = runtime.getGlobalVariables().get("$!"); if (defaultException.isNil()) { re = new RaiseException(runtime, runtime.getClass("RuntimeError"), "", false); } else { re = new RaiseException((RubyException) defaultException); } break; case 1 : if (args[0] instanceof RubyException) { re = new RaiseException((RubyException) args[0]); } else if (args[0] instanceof RubyClass) { re = new RaiseException(RubyException.newInstance(args[0], new IRubyObject[0])); } else { re = new RaiseException(RubyException.newInstance(runtime.getClass("RuntimeError"), args)); } break; case 2 : if (args[0] == runtime.getClass("Exception")) { re = new RaiseException((RubyException) args[0].callMethod("exception", args[1])); } else { string = (RubyString) args[1]; re = new RaiseException(new RubyException(runtime, ((RubyClass)args[0]), string.getValue())); } break; case 3: if (args[0] == runtime.getClass("Exception")) { re = new RaiseException((RubyException) args[0].callMethod("exception", args[1])); } else { string = (RubyString) args[1]; excptn = new RubyException(runtime, ((RubyClass)args[0]), string.getValue()); excptn.set_backtrace(args[2]); re = new RaiseException(excptn); } break; default : re = runtime.newArgumentError("wrong number of arguments"); } // Insert exception to be raised into global var and current thread runtime.getGlobalVariables().set("$!", re.getException()); throw re; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/db72794764bda58903c87df9b567f1f843bea69c/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 15908, 10340, 921, 1002, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 368, 9852, 225, 4582, 648, 316, 22155, 3639, 368, 10665, 18, 1893, 1379, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15908, 10340, 921, 1002, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 368, 9852, 225, 4582, 648, 316, 22155, 3639, 368, 10665, 18, 1893, 1379, ...
ISourceViewer viewer= createJavaSourceViewer(parent, verticalRuler, getOverviewRuler(), isOverviewRulerVisible(), styles, getPreferenceStore());
IPreferenceStore store= getPreferenceStore(); ISourceViewer viewer= createJavaSourceViewer(parent, verticalRuler, getOverviewRuler(), isOverviewRulerVisible(), styles, store);
protected final ISourceViewer createSourceViewer(Composite parent, IVerticalRuler verticalRuler, int styles) { ISourceViewer viewer= createJavaSourceViewer(parent, verticalRuler, getOverviewRuler(), isOverviewRulerVisible(), styles, getPreferenceStore()); JavaSourceViewer javaSourceViewer= null; if (viewer instanceof JavaSourceViewer) javaSourceViewer= (JavaSourceViewer)viewer; /* * This is a performance optimization to reduce the computation of * the text presentation triggered by {@link #setVisibleDocument(IDocument)} */ if (javaSourceViewer != null && isFoldingEnabled()) javaSourceViewer.prepareDelayedProjection(); ProjectionViewer projectionViewer= (ProjectionViewer)viewer; fProjectionSupport= new ProjectionSupport(projectionViewer, getAnnotationAccess(), getSharedColors()); fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.error"); //$NON-NLS-1$ fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.warning"); //$NON-NLS-1$ fProjectionSupport.setHoverControlCreator(new IInformationControlCreator() { public IInformationControl createInformationControl(Shell shell) { return new CustomSourceInformationControl(shell, IDocument.DEFAULT_CONTENT_TYPE); } }); fProjectionSupport.install(); fProjectionModelUpdater= JavaPlugin.getDefault().getFoldingStructureProviderRegistry().getCurrentFoldingProvider(); if (fProjectionModelUpdater != null) fProjectionModelUpdater.install(this, projectionViewer); // ensure source viewer decoration support has been created and configured getSourceViewerDecorationSupport(viewer); return viewer; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/0fed9e0588b60632a2fab249a59f4d8269b75589/JavaEditor.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 727, 467, 1830, 18415, 752, 1830, 18415, 12, 9400, 982, 16, 467, 15704, 54, 17040, 9768, 54, 17040, 16, 509, 5687, 13, 288, 202, 202, 45, 1830, 18415, 14157, 33, 752, 5852, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 467, 1830, 18415, 752, 1830, 18415, 12, 9400, 982, 16, 467, 15704, 54, 17040, 9768, 54, 17040, 16, 509, 5687, 13, 288, 202, 202, 45, 1830, 18415, 14157, 33, 752, 5852, 1...
if (null != publisherIdStr) {
if ( null != publisherIdStr ) {
private DocumentDomainObject getDocumentFromSqlResultRow( String[] result ) { final int documentTypeId = Integer.parseInt( result[1] ); DocumentDomainObject document = DocumentDomainObject.fromDocumentTypeId( documentTypeId ); document.setId( Integer.parseInt( result[0] ) ); document.setHeadline( result[2] ); document.setMenuText( result[3] ); document.setMenuImage( result[4] ); document.setCreator( imcmsAAUM.getUser( Integer.parseInt( result[5] ) ) ); document.setPermissionSetOneIsMorePrivilegedThanPermissionSetTwo( getBooleanFromSqlResultString( result[6] ) ); document.setLinkableByOtherUsers( getBooleanFromSqlResultString( result[7] ) ); document.setVisibleInMenusForUnauthorizedUsers( getBooleanFromSqlResultString( result[8] ) ); document.setLanguageIso639_2( LanguageMapper.getAsIso639_2OrDefaultLanguage( result[9], service ) ); DateFormat dateFormat = new SimpleDateFormat( DateConstants.DATETIME_SECONDS_FORMAT_STRING ); document.setCreatedDatetime( parseDateFormat( dateFormat, result[10] ) ); document.setModifiedDatetime( parseDateFormat( dateFormat, result[11] ) ); document.setSearchDisabled( getBooleanFromSqlResultString( result[12] ) ); document.setTarget( result[13] ); document.setArchivedDatetime( parseDateFormat( dateFormat, result[14] ) ); String publisherIdStr = result[15]; if (null != publisherIdStr) { UserDomainObject publisher = imcmsAAUM.getUser( Integer.parseInt( publisherIdStr ) ); document.setPublisher( publisher ); } document.setStatus( Integer.parseInt( result[16] ) ); document.setPublicationStartDatetime( parseDateFormat( dateFormat, result[17] ) ); document.setPublicationEndDatetime( parseDateFormat( dateFormat, result[18] ) ); return document; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/54567949e7925946b53c3e8da3c43b2ac114b2ed/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 4319, 3748, 921, 9956, 1265, 5101, 1253, 1999, 12, 514, 8526, 563, 262, 288, 3639, 727, 509, 1668, 11731, 273, 2144, 18, 2670, 1702, 12, 563, 63, 21, 65, 11272, 3639, 4319, 3748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4319, 3748, 921, 9956, 1265, 5101, 1253, 1999, 12, 514, 8526, 563, 262, 288, 3639, 727, 509, 1668, 11731, 273, 2144, 18, 2670, 1702, 12, 563, 63, 21, 65, 11272, 3639, 4319, 3748, ...
public String changeTableMapKey(String oldName, String newName) {
public void changeTableMapKey(String oldName, String newName) {
public String changeTableMapKey(String oldName, String newName) { // If the names are the same, do nothing. if (oldName.equals(newName)) return newName; String baseName = newName; for (int i = 1; this.tables.containsKey(newName); newName = baseName + "_" + i) ; // Update our mapping but don't rename the columns themselves. Table tbl = (Table) this.tables.get(oldName); this.tables.put(newName, tbl); this.tables.remove(oldName); return newName; }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/d5fc27c7a560ef3a4471b6a89217da033aa066d2/Schema.java/clean/src/java/org/biomart/builder/model/Schema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 2549, 6844, 653, 12, 780, 22916, 16, 514, 13253, 13, 288, 1082, 202, 759, 971, 326, 1257, 854, 326, 1967, 16, 741, 5083, 18, 1082, 202, 430, 261, 1673, 461, 18, 14963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 2549, 6844, 653, 12, 780, 22916, 16, 514, 13253, 13, 288, 1082, 202, 759, 971, 326, 1257, 854, 326, 1967, 16, 741, 5083, 18, 1082, 202, 430, 261, 1673, 461, 18, 14963, ...
Node copy = new ScopeNode(null, refValue, getNextNode());
Node copy = new ScopeNode(null, refValue.cloneCRefNode(), getNextNode());
public Node copyNodeScope(CRefNode refValue) { Node copy = new ScopeNode(null, refValue, getNextNode()); if (getTable() != null) { RubyIdPointer newTable = new RubyIdPointer(getTable().getId(0).intValue() + 1); newTable.set(getTable(), getTable().getId(0).intValue() + 1); copy.setTable(newTable); } return copy; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/ea333ae74f85b7ba58ee38a692c16b25f8047f57/Node.java/buggy/org/jruby/nodes/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 1610, 907, 3876, 12, 39, 1957, 907, 1278, 620, 13, 288, 3639, 2029, 1610, 273, 394, 5468, 907, 12, 2011, 16, 1278, 620, 18, 14056, 39, 1957, 907, 9334, 6927, 907, 10663, 773...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2029, 1610, 907, 3876, 12, 39, 1957, 907, 1278, 620, 13, 288, 3639, 2029, 1610, 273, 394, 5468, 907, 12, 2011, 16, 1278, 620, 18, 14056, 39, 1957, 907, 9334, 6927, 907, 10663, 773...
Log.setApplicationVersionDate("$Id: WrapperFactoryImpl.java,v 1.1 2000/03/04 01:10:56 edburns%acm.org Exp $");
Log.setApplicationVersionDate("$Id: WrapperFactoryImpl.java,v 1.2 2000/03/07 22:10:08 ashuk%eng.sun.com Exp $");
public static void main(String [] args){ Assert.setEnabled(true); WrapperFactory me = new WrapperFactoryImpl(); Log.setApplicationName("WrapperFactoryImpl"); Log.setApplicationVersion("0.0"); Log.setApplicationVersionDate("$Id: WrapperFactoryImpl.java,v 1.1 2000/03/04 01:10:56 edburns%acm.org Exp $"); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/6171e421f6a72546cc271225d0875af441b85f84/WrapperFactoryImpl.java/clean/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/WrapperFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 918, 2774, 12, 780, 5378, 833, 15329, 565, 5452, 18, 542, 1526, 12, 3767, 1769, 565, 18735, 1733, 1791, 273, 394, 18735, 1733, 2828, 5621, 565, 1827, 18, 542, 3208, 461, 2932, 3611,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 760, 918, 2774, 12, 780, 5378, 833, 15329, 565, 5452, 18, 542, 1526, 12, 3767, 1769, 565, 18735, 1733, 1791, 273, 394, 18735, 1733, 2828, 5621, 565, 1827, 18, 542, 3208, 461, 2932, 3611,...
case 290 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); }
case 291 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); }
protected void consumeRule(int act) { switch ( act ) { case 27 : if (DEBUG) { System.out.println("Type ::= PrimitiveType"); } //$NON-NLS-1$ consumePrimitiveType(); break; case 41 : if (DEBUG) { System.out.println("ReferenceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeReferenceType(); break; case 45 : if (DEBUG) { System.out.println("ClassOrInterface ::= Name"); } //$NON-NLS-1$ consumeClassOrInterfaceName(); break; case 46 : if (DEBUG) { System.out.println("ClassOrInterface ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeClassOrInterface(); break; case 47 : if (DEBUG) { System.out.println("GenericType ::= ClassOrInterface TypeArguments"); } //$NON-NLS-1$ consumeGenericType(); break; case 48 : if (DEBUG) { System.out.println("ArrayTypeWithTypeArgumentsName ::= GenericType DOT Name"); } //$NON-NLS-1$ consumeArrayTypeWithTypeArgumentsName(); break; case 49 : if (DEBUG) { System.out.println("ArrayType ::= PrimitiveType Dims"); } //$NON-NLS-1$ consumePrimitiveArrayType(); break; case 50 : if (DEBUG) { System.out.println("ArrayType ::= Name Dims"); } //$NON-NLS-1$ consumeNameArrayType(); break; case 51 : if (DEBUG) { System.out.println("ArrayType ::= ArrayTypeWithTypeArgumentsName Dims"); } //$NON-NLS-1$ consumeGenericTypeNameArrayType(); break; case 52 : if (DEBUG) { System.out.println("ArrayType ::= GenericType Dims"); } //$NON-NLS-1$ consumeGenericTypeArrayType(); break; case 57 : if (DEBUG) { System.out.println("QualifiedName ::= Name DOT SimpleName"); } //$NON-NLS-1$ consumeQualifiedName(); break; case 58 : if (DEBUG) { System.out.println("CompilationUnit ::= EnterCompilationUnit..."); } //$NON-NLS-1$ consumeCompilationUnit(); break; case 59 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration"); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 60 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 61 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 62 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= PackageDeclaration..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 63 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnit(); break; case 64 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= TypeDeclarations"); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 65 : if (DEBUG) { System.out.println("InternalCompilationUnit ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeInternalCompilationUnitWithTypes(); break; case 66 : if (DEBUG) { System.out.println("InternalCompilationUnit ::="); } //$NON-NLS-1$ consumeEmptyInternalCompilationUnit(); break; case 67 : if (DEBUG) { System.out.println("ReduceImports ::="); } //$NON-NLS-1$ consumeReduceImports(); break; case 68 : if (DEBUG) { System.out.println("EnterCompilationUnit ::="); } //$NON-NLS-1$ consumeEnterCompilationUnit(); break; case 83 : if (DEBUG) { System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeCatchHeader(); break; case 85 : if (DEBUG) { System.out.println("ImportDeclarations ::= ImportDeclarations..."); } //$NON-NLS-1$ consumeImportDeclarations(); break; case 87 : if (DEBUG) { System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); } //$NON-NLS-1$ consumeTypeDeclarations(); break; case 88 : if (DEBUG) { System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); } //$NON-NLS-1$ consumePackageDeclaration(); break; case 89 : if (DEBUG) { System.out.println("PackageDeclarationName ::= Modifiers package..."); } //$NON-NLS-1$ consumePackageDeclarationNameWithModifiers(); break; case 90 : if (DEBUG) { System.out.println("PackageDeclarationName ::= package Name"); } //$NON-NLS-1$ consumePackageDeclarationName(); break; case 95 : if (DEBUG) { System.out.println("SingleTypeImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 96 : if (DEBUG) { System.out.println("SingleTypeImportDeclarationName ::= import Name"); } //$NON-NLS-1$ consumeSingleTypeImportDeclarationName(); break; case 97 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 98 : if (DEBUG) { System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT..."); } //$NON-NLS-1$ consumeTypeImportOnDemandDeclarationName(); break; case 101 : if (DEBUG) { System.out.println("TypeDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyTypeDeclaration(); break; case 105 : if (DEBUG) { System.out.println("Modifiers ::= Modifiers Modifier"); } //$NON-NLS-1$ consumeModifiers2(); break; case 117 : if (DEBUG) { System.out.println("Modifier ::= Annotation"); } //$NON-NLS-1$ consumeAnnotationAsModifier(); break; case 118 : if (DEBUG) { System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); } //$NON-NLS-1$ consumeClassDeclaration(); break; case 119 : if (DEBUG) { System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt..."); } //$NON-NLS-1$ consumeClassHeader(); break; case 120 : if (DEBUG) { System.out.println("ClassHeaderName ::= ClassHeaderName1 TypeParameters"); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 122 : if (DEBUG) { System.out.println("ClassHeaderName1 ::= Modifiersopt class Identifier"); } //$NON-NLS-1$ consumeClassHeaderName1(); break; case 123 : if (DEBUG) { System.out.println("ClassHeaderExtends ::= extends ClassType"); } //$NON-NLS-1$ consumeClassHeaderExtends(); break; case 124 : if (DEBUG) { System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); } //$NON-NLS-1$ consumeClassHeaderImplements(); break; case 126 : if (DEBUG) { System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA..."); } //$NON-NLS-1$ consumeInterfaceTypeList(); break; case 127 : if (DEBUG) { System.out.println("InterfaceType ::= ClassOrInterfaceType"); } //$NON-NLS-1$ consumeInterfaceType(); break; case 130 : if (DEBUG) { System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations..."); } //$NON-NLS-1$ consumeClassBodyDeclarations(); break; case 134 : if (DEBUG) { System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 135 : if (DEBUG) { System.out.println("Diet ::="); } //$NON-NLS-1$ consumeDiet(); break; case 136 : if (DEBUG) { System.out.println("Initializer ::= Diet NestedMethod Block"); } //$NON-NLS-1$ consumeClassBodyDeclaration(); break; case 143 : if (DEBUG) { System.out.println("ClassMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyClassMemberDeclaration(); break; case 146 : if (DEBUG) { System.out.println("FieldDeclaration ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFieldDeclaration(); break; case 148 : if (DEBUG) { System.out.println("VariableDeclarators ::= VariableDeclarators COMMA..."); } //$NON-NLS-1$ consumeVariableDeclarators(); break; case 151 : if (DEBUG) { System.out.println("EnterVariable ::="); } //$NON-NLS-1$ consumeEnterVariable(); break; case 152 : if (DEBUG) { System.out.println("ExitVariableWithInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithInitialization(); break; case 153 : if (DEBUG) { System.out.println("ExitVariableWithoutInitialization ::="); } //$NON-NLS-1$ consumeExitVariableWithoutInitialization(); break; case 154 : if (DEBUG) { System.out.println("ForceNoDiet ::="); } //$NON-NLS-1$ consumeForceNoDiet(); break; case 155 : if (DEBUG) { System.out.println("RestoreDiet ::="); } //$NON-NLS-1$ consumeRestoreDiet(); break; case 160 : if (DEBUG) { System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); } //$NON-NLS-1$ // set to true to consume a method with a body consumeMethodDeclaration(true); break; case 161 : if (DEBUG) { System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); } //$NON-NLS-1$ // set to false to consume a method without body consumeMethodDeclaration(false); break; case 162 : if (DEBUG) { System.out.println("MethodHeader ::= MethodHeaderName FormalParameterListopt"); } //$NON-NLS-1$ consumeMethodHeader(); break; case 163 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt TypeParameters Type..."); } //$NON-NLS-1$ consumeMethodHeaderNameWithTypeParameters(); break; case 164 : if (DEBUG) { System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); } //$NON-NLS-1$ consumeMethodHeaderName(); break; case 165 : if (DEBUG) { System.out.println("MethodHeaderRightParen ::= RPAREN"); } //$NON-NLS-1$ consumeMethodHeaderRightParen(); break; case 166 : if (DEBUG) { System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeMethodHeaderExtendedDims(); break; case 167 : if (DEBUG) { System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); } //$NON-NLS-1$ consumeMethodHeaderThrowsClause(); break; case 168 : if (DEBUG) { System.out.println("ConstructorHeader ::= ConstructorHeaderName..."); } //$NON-NLS-1$ consumeConstructorHeader(); break; case 169 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt TypeParameters..."); } //$NON-NLS-1$ consumeConstructorHeaderNameWithTypeParameters(); break; case 170 : if (DEBUG) { System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); } //$NON-NLS-1$ consumeConstructorHeaderName(); break; case 172 : if (DEBUG) { System.out.println("FormalParameterList ::= FormalParameterList COMMA..."); } //$NON-NLS-1$ consumeFormalParameterList(); break; case 173 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type..."); } //$NON-NLS-1$ consumeFormalParameter(false); break; case 174 : if (DEBUG) { System.out.println("FormalParameter ::= Modifiersopt Type ELLIPSIS..."); } //$NON-NLS-1$ consumeFormalParameter(true); break; case 176 : if (DEBUG) { System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); } //$NON-NLS-1$ consumeClassTypeList(); break; case 177 : if (DEBUG) { System.out.println("ClassTypeElt ::= ClassType"); } //$NON-NLS-1$ consumeClassTypeElt(); break; case 178 : if (DEBUG) { System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt..."); } //$NON-NLS-1$ consumeMethodBody(); break; case 179 : if (DEBUG) { System.out.println("NestedMethod ::="); } //$NON-NLS-1$ consumeNestedMethod(); break; case 180 : if (DEBUG) { System.out.println("StaticInitializer ::= StaticOnly Block"); } //$NON-NLS-1$ consumeStaticInitializer(); break; case 181 : if (DEBUG) { System.out.println("StaticOnly ::= static"); } //$NON-NLS-1$ consumeStaticOnly(); break; case 182 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader MethodBody"); } //$NON-NLS-1$ consumeConstructorDeclaration() ; break; case 183 : if (DEBUG) { System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); } //$NON-NLS-1$ consumeInvalidConstructorDeclaration() ; break; case 184 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= this LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0, THIS_CALL); break; case 185 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments this"); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,THIS_CALL); break; case 186 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= super LPAREN..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(0,SUPER_CALL); break; case 187 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= OnlyTypeArguments..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(0,SUPER_CALL); break; case 188 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT super..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, SUPER_CALL); break; case 189 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, SUPER_CALL); break; case 190 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, SUPER_CALL); break; case 191 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, SUPER_CALL); break; case 192 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT this..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(1, THIS_CALL); break; case 193 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Primary DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(1, THIS_CALL); break; case 194 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN"); } //$NON-NLS-1$ consumeExplicitConstructorInvocation(2, THIS_CALL); break; case 195 : if (DEBUG) { System.out.println("ExplicitConstructorInvocation ::= Name DOT..."); } //$NON-NLS-1$ consumeExplicitConstructorInvocationWithTypeArguments(2, THIS_CALL); break; case 196 : if (DEBUG) { System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); } //$NON-NLS-1$ consumeInterfaceDeclaration(); break; case 197 : if (DEBUG) { System.out.println("InterfaceHeader ::= InterfaceHeaderName..."); } //$NON-NLS-1$ consumeInterfaceHeader(); break; case 198 : if (DEBUG) { System.out.println("InterfaceHeaderName ::= InterfaceHeaderName1..."); } //$NON-NLS-1$ consumeTypeHeaderNameWithTypeParameters(); break; case 200 : if (DEBUG) { System.out.println("InterfaceHeaderName1 ::= Modifiersopt interface..."); } //$NON-NLS-1$ consumeInterfaceHeaderName1(); break; case 202 : if (DEBUG) { System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); } //$NON-NLS-1$ consumeInterfaceHeaderExtends(); break; case 205 : if (DEBUG) { System.out.println("InterfaceMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarations(); break; case 206 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclaration(); break; case 209 : if (DEBUG) { System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); } //$NON-NLS-1$ ignoreMethodBody(); break; case 210 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(true); break; case 211 : if (DEBUG) { System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader..."); } //$NON-NLS-1$ ignoreInvalidConstructorDeclaration(false); break; case 218 : if (DEBUG) { System.out.println("PushLeftBrace ::="); } //$NON-NLS-1$ consumePushLeftBrace(); break; case 219 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace ,opt RBRACE"); } //$NON-NLS-1$ consumeEmptyArrayInitializer(); break; case 220 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 221 : if (DEBUG) { System.out.println("ArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeArrayInitializer(); break; case 223 : if (DEBUG) { System.out.println("VariableInitializers ::= VariableInitializers COMMA..."); } //$NON-NLS-1$ consumeVariableInitializers(); break; case 224 : if (DEBUG) { System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); } //$NON-NLS-1$ consumeBlock(); break; case 225 : if (DEBUG) { System.out.println("OpenBlock ::="); } //$NON-NLS-1$ consumeOpenBlock() ; break; case 227 : if (DEBUG) { System.out.println("BlockStatements ::= BlockStatements BlockStatement"); } //$NON-NLS-1$ consumeBlockStatements() ; break; case 231 : if (DEBUG) { System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); } //$NON-NLS-1$ ignoreInterfaceDeclaration(); break; case 232 : if (DEBUG) { System.out.println("LocalVariableDeclarationStatement ::=..."); } //$NON-NLS-1$ consumeLocalVariableDeclarationStatement(); break; case 233 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Type PushModifiers..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 234 : if (DEBUG) { System.out.println("LocalVariableDeclaration ::= Modifiers Type..."); } //$NON-NLS-1$ consumeLocalVariableDeclaration(); break; case 235 : if (DEBUG) { System.out.println("PushModifiers ::="); } //$NON-NLS-1$ consumePushModifiers(); break; case 236 : if (DEBUG) { System.out.println("PushModifiersForHeader ::="); } //$NON-NLS-1$ consumePushModifiersForHeader(); break; case 237 : if (DEBUG) { System.out.println("PushRealModifiers ::="); } //$NON-NLS-1$ consumePushRealModifiers(); break; case 263 : if (DEBUG) { System.out.println("EmptyStatement ::= SEMICOLON"); } //$NON-NLS-1$ consumeEmptyStatement(); break; case 264 : if (DEBUG) { System.out.println("LabeledStatement ::= Identifier COLON Statement"); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 265 : if (DEBUG) { System.out.println("LabeledStatementNoShortIf ::= Identifier COLON..."); } //$NON-NLS-1$ consumeStatementLabel() ; break; case 266 : if (DEBUG) { System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); } //$NON-NLS-1$ consumeExpressionStatement(); break; case 275 : if (DEBUG) { System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfNoElse(); break; case 276 : if (DEBUG) { System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 277 : if (DEBUG) { System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementIfWithElse(); break; case 278 : if (DEBUG) { System.out.println("SwitchStatement ::= switch LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementSwitch() ; break; case 279 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE RBRACE"); } //$NON-NLS-1$ consumeEmptySwitchBlock() ; break; case 282 : if (DEBUG) { System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlock() ; break; case 284 : if (DEBUG) { System.out.println("SwitchBlockStatements ::= SwitchBlockStatements..."); } //$NON-NLS-1$ consumeSwitchBlockStatements() ; break; case 285 : if (DEBUG) { System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); } //$NON-NLS-1$ consumeSwitchBlockStatement() ; break; case 287 : if (DEBUG) { System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); } //$NON-NLS-1$ consumeSwitchLabels() ; break; case 288 : if (DEBUG) { System.out.println("SwitchLabel ::= case ConstantExpression COLON"); } //$NON-NLS-1$ consumeCaseLabel(); break; case 289 : if (DEBUG) { System.out.println("SwitchLabel ::= default COLON"); } //$NON-NLS-1$ consumeDefaultLabel(); break; case 290 : if (DEBUG) { System.out.println("WhileStatement ::= while LPAREN Expression RPAREN..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 291 : if (DEBUG) { System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementWhile() ; break; case 292 : if (DEBUG) { System.out.println("DoStatement ::= do Statement while LPAREN Expression..."); } //$NON-NLS-1$ consumeStatementDo() ; break; case 293 : if (DEBUG) { System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 294 : if (DEBUG) { System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt..."); } //$NON-NLS-1$ consumeStatementFor() ; break; case 295 : if (DEBUG) { System.out.println("ForInit ::= StatementExpressionList"); } //$NON-NLS-1$ consumeForInit() ; break; case 299 : if (DEBUG) { System.out.println("StatementExpressionList ::= StatementExpressionList..."); } //$NON-NLS-1$ consumeStatementExpressionList() ; break; case 300 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression SEMICOLON"); } //$NON-NLS-1$ consumeSimpleAssertStatement() ; break; case 301 : if (DEBUG) { System.out.println("AssertStatement ::= assert Expression COLON Expression"); } //$NON-NLS-1$ consumeAssertStatement() ; break; case 302 : if (DEBUG) { System.out.println("BreakStatement ::= break SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreak() ; break; case 303 : if (DEBUG) { System.out.println("BreakStatement ::= break Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementBreakWithLabel() ; break; case 304 : if (DEBUG) { System.out.println("ContinueStatement ::= continue SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinue() ; break; case 305 : if (DEBUG) { System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); } //$NON-NLS-1$ consumeStatementContinueWithLabel() ; break; case 306 : if (DEBUG) { System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); } //$NON-NLS-1$ consumeStatementReturn() ; break; case 307 : if (DEBUG) { System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); } //$NON-NLS-1$ consumeStatementThrow(); break; case 308 : if (DEBUG) { System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN..."); } //$NON-NLS-1$ consumeStatementSynchronized(); break; case 309 : if (DEBUG) { System.out.println("OnlySynchronized ::= synchronized"); } //$NON-NLS-1$ consumeOnlySynchronized(); break; case 310 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catches"); } //$NON-NLS-1$ consumeStatementTry(false); break; case 311 : if (DEBUG) { System.out.println("TryStatement ::= try TryBlock Catchesopt Finally"); } //$NON-NLS-1$ consumeStatementTry(true); break; case 313 : if (DEBUG) { System.out.println("ExitTryBlock ::="); } //$NON-NLS-1$ consumeExitTryBlock(); break; case 315 : if (DEBUG) { System.out.println("Catches ::= Catches CatchClause"); } //$NON-NLS-1$ consumeCatches(); break; case 316 : if (DEBUG) { System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN..."); } //$NON-NLS-1$ consumeStatementCatch() ; break; case 318 : if (DEBUG) { System.out.println("PushLPAREN ::= LPAREN"); } //$NON-NLS-1$ consumeLeftParen(); break; case 319 : if (DEBUG) { System.out.println("PushRPAREN ::= RPAREN"); } //$NON-NLS-1$ consumeRightParen(); break; case 324 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayThis(); break; case 325 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression_NotName..."); } //$NON-NLS-1$ consumePrimaryNoNewArray(); break; case 326 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PushLPAREN Name PushRPAREN"); } //$NON-NLS-1$ consumePrimaryNoNewArrayWithName(); break; case 329 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT this"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameThis(); break; case 330 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT super"); } //$NON-NLS-1$ consumePrimaryNoNewArrayNameSuper(); break; case 331 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayName(); break; case 332 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= Name Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayArrayType(); break; case 333 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType Dims DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveArrayType(); break; case 334 : if (DEBUG) { System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); } //$NON-NLS-1$ consumePrimaryNoNewArrayPrimitiveType(); break; case 337 : if (DEBUG) { System.out.println("AllocationHeader ::= new ClassType LPAREN..."); } //$NON-NLS-1$ consumeAllocationHeader(); break; case 338 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionWithTypeArguments(); break; case 339 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN"); } //$NON-NLS-1$ consumeClassInstanceCreationExpression(); break; case 340 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 341 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::= Primary DOT new..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 342 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualified() ; break; case 343 : if (DEBUG) { System.out.println("ClassInstanceCreationExpression ::=..."); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionQualifiedWithTypeArguments() ; break; case 344 : if (DEBUG) { System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); } //$NON-NLS-1$ consumeClassInstanceCreationExpressionName() ; break; case 345 : if (DEBUG) { System.out.println("ClassBodyopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 347 : if (DEBUG) { System.out.println("ClassBodySimpleNameopt ::="); } //$NON-NLS-1$ consumeClassBodyopt(); break; case 349 : if (DEBUG) { System.out.println("EnterAnonymousClassBodySimpleName ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBodySimpleName(); break; case 350 : if (DEBUG) { System.out.println("EnterAnonymousClassBody ::="); } //$NON-NLS-1$ consumeEnterAnonymousClassBody(); break; case 352 : if (DEBUG) { System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); } //$NON-NLS-1$ consumeArgumentList(); break; case 353 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new PrimitiveType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 354 : if (DEBUG) { System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType..."); } //$NON-NLS-1$ consumeArrayCreationHeader(); break; case 355 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 356 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType"); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 357 : if (DEBUG) { System.out.println("ArrayCreationWithoutArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithoutInitializer(); break; case 358 : if (DEBUG) { System.out.println("ArrayCreationWithArrayInitializer ::= new..."); } //$NON-NLS-1$ consumeArrayCreationExpressionWithInitializer(); break; case 360 : if (DEBUG) { System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs..."); } //$NON-NLS-1$ consumeDimWithOrWithOutExprs(); break; case 362 : if (DEBUG) { System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeDimWithOrWithOutExpr(); break; case 363 : if (DEBUG) { System.out.println("Dims ::= DimsLoop"); } //$NON-NLS-1$ consumeDims(); break; case 366 : if (DEBUG) { System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); } //$NON-NLS-1$ consumeOneDimLoop(); break; case 367 : if (DEBUG) { System.out.println("FieldAccess ::= Primary DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(false); break; case 368 : if (DEBUG) { System.out.println("FieldAccess ::= super DOT Identifier"); } //$NON-NLS-1$ consumeFieldAccess(true); break; case 369 : if (DEBUG) { System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeMethodInvocationName(); break; case 370 : if (DEBUG) { System.out.println("MethodInvocation ::= Name DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationNameWithTypeArguments(); break; case 371 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationPrimaryWithTypeArguments(); break; case 372 : if (DEBUG) { System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationPrimary(); break; case 373 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT OnlyTypeArguments..."); } //$NON-NLS-1$ consumeMethodInvocationSuperWithTypeArguments(); break; case 374 : if (DEBUG) { System.out.println("MethodInvocation ::= super DOT Identifier LPAREN..."); } //$NON-NLS-1$ consumeMethodInvocationSuper(); break; case 375 : if (DEBUG) { System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); } //$NON-NLS-1$ consumeArrayAccess(true); break; case 376 : if (DEBUG) { System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 377 : if (DEBUG) { System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer..."); } //$NON-NLS-1$ consumeArrayAccess(false); break; case 379 : if (DEBUG) { System.out.println("PostfixExpression ::= Name"); } //$NON-NLS-1$ consumePostfixExpression(); break; case 382 : if (DEBUG) { System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,true); break; case 383 : if (DEBUG) { System.out.println("PostDecrementExpression ::= PostfixExpression..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,true); break; case 384 : if (DEBUG) { System.out.println("PushPosition ::="); } //$NON-NLS-1$ consumePushPosition(); break; case 387 : if (DEBUG) { System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 388 : if (DEBUG) { System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 390 : if (DEBUG) { System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS,false); break; case 391 : if (DEBUG) { System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS,false); break; case 393 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 394 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 396 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt..."); } //$NON-NLS-1$ consumeCastExpressionWithPrimitiveType(); break; case 397 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithGenericsArray(); break; case 398 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name..."); } //$NON-NLS-1$ consumeCastExpressionWithQualifiedGenericsArray(); break; case 399 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionLL1(); break; case 400 : if (DEBUG) { System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN..."); } //$NON-NLS-1$ consumeCastExpressionWithNameArray(); break; case 401 : if (DEBUG) { System.out.println("OnlyTypeArgumentsForCastExpression ::= OnlyTypeArguments"); } //$NON-NLS-1$ consumeOnlyTypeArgumentsForCastExpression(); break; case 402 : if (DEBUG) { System.out.println("InsideCastExpression ::="); } //$NON-NLS-1$ consumeInsideCastExpression(); break; case 403 : if (DEBUG) { System.out.println("InsideCastExpressionLL1 ::="); } //$NON-NLS-1$ consumeInsideCastExpressionLL1(); break; case 404 : if (DEBUG) { System.out.println("InsideCastExpressionWithQualifiedGenerics ::="); } //$NON-NLS-1$ consumeInsideCastExpressionWithQualifiedGenerics(); break; case 406 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 407 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 408 : if (DEBUG) { System.out.println("MultiplicativeExpression ::= MultiplicativeExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 410 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression PLUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 411 : if (DEBUG) { System.out.println("AdditiveExpression ::= AdditiveExpression MINUS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 413 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 414 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 415 : if (DEBUG) { System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 417 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 418 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression GREATER..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 419 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 420 : if (DEBUG) { System.out.println("RelationalExpression ::= RelationalExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 422 : if (DEBUG) { System.out.println("InstanceofExpression ::= InstanceofExpression instanceof"); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 424 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 425 : if (DEBUG) { System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 427 : if (DEBUG) { System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 429 : if (DEBUG) { System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 431 : if (DEBUG) { System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 433 : if (DEBUG) { System.out.println("ConditionalAndExpression ::= ConditionalAndExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 435 : if (DEBUG) { System.out.println("ConditionalOrExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 437 : if (DEBUG) { System.out.println("ConditionalExpression ::= ConditionalOrExpression..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 440 : if (DEBUG) { System.out.println("Assignment ::= PostfixExpression AssignmentOperator..."); } //$NON-NLS-1$ consumeAssignment(); break; case 442 : if (DEBUG) { System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); } //$NON-NLS-1$ ignoreExpressionAssignment(); break; case 443 : if (DEBUG) { System.out.println("AssignmentOperator ::= EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(EQUAL); break; case 444 : if (DEBUG) { System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MULTIPLY); break; case 445 : if (DEBUG) { System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(DIVIDE); break; case 446 : if (DEBUG) { System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(REMAINDER); break; case 447 : if (DEBUG) { System.out.println("AssignmentOperator ::= PLUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(PLUS); break; case 448 : if (DEBUG) { System.out.println("AssignmentOperator ::= MINUS_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(MINUS); break; case 449 : if (DEBUG) { System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(LEFT_SHIFT); break; case 450 : if (DEBUG) { System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(RIGHT_SHIFT); break; case 451 : if (DEBUG) { System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break; case 452 : if (DEBUG) { System.out.println("AssignmentOperator ::= AND_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(AND); break; case 453 : if (DEBUG) { System.out.println("AssignmentOperator ::= XOR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(XOR); break; case 454 : if (DEBUG) { System.out.println("AssignmentOperator ::= OR_EQUAL"); } //$NON-NLS-1$ consumeAssignmentOperator(OR); break; case 458 : if (DEBUG) { System.out.println("Expressionopt ::="); } //$NON-NLS-1$ consumeEmptyExpression(); break; case 463 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyClassBodyDeclarationsopt(); break; case 464 : if (DEBUG) { System.out.println("ClassBodyDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeClassBodyDeclarationsopt(); break; case 465 : if (DEBUG) { System.out.println("Modifiersopt ::="); } //$NON-NLS-1$ consumeDefaultModifiers(); break; case 466 : if (DEBUG) { System.out.println("Modifiersopt ::= Modifiers"); } //$NON-NLS-1$ consumeModifiers(); break; case 467 : if (DEBUG) { System.out.println("BlockStatementsopt ::="); } //$NON-NLS-1$ consumeEmptyBlockStatementsopt(); break; case 469 : if (DEBUG) { System.out.println("Dimsopt ::="); } //$NON-NLS-1$ consumeEmptyDimsopt(); break; case 471 : if (DEBUG) { System.out.println("ArgumentListopt ::="); } //$NON-NLS-1$ consumeEmptyArgumentListopt(); break; case 475 : if (DEBUG) { System.out.println("FormalParameterListopt ::="); } //$NON-NLS-1$ consumeFormalParameterListopt(); break; case 479 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyInterfaceMemberDeclarationsopt(); break; case 480 : if (DEBUG) { System.out.println("InterfaceMemberDeclarationsopt ::= NestedType..."); } //$NON-NLS-1$ consumeInterfaceMemberDeclarationsopt(); break; case 481 : if (DEBUG) { System.out.println("NestedType ::="); } //$NON-NLS-1$ consumeNestedType(); break; case 482 : if (DEBUG) { System.out.println("ForInitopt ::="); } //$NON-NLS-1$ consumeEmptyForInitopt(); break; case 484 : if (DEBUG) { System.out.println("ForUpdateopt ::="); } //$NON-NLS-1$ consumeEmptyForUpdateopt(); break; case 488 : if (DEBUG) { System.out.println("Catchesopt ::="); } //$NON-NLS-1$ consumeEmptyCatchesopt(); break; case 490 : if (DEBUG) { System.out.println("EnumDeclaration ::= EnumHeader EnumBody"); } //$NON-NLS-1$ consumeEnumDeclaration(); break; case 491 : if (DEBUG) { System.out.println("EnumHeader ::= EnumHeaderName ClassHeaderImplementsopt"); } //$NON-NLS-1$ consumeEnumHeader(); break; case 492 : if (DEBUG) { System.out.println("EnumHeaderName ::= Modifiersopt enum Identifier"); } //$NON-NLS-1$ consumeEnumHeaderName(); break; case 493 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumBodyDeclarationsopt RBRACE"); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 494 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE COMMA EnumBodyDeclarationsopt..."); } //$NON-NLS-1$ consumeEnumBodyNoConstants(); break; case 495 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants COMMA..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 496 : if (DEBUG) { System.out.println("EnumBody ::= LBRACE EnumConstants..."); } //$NON-NLS-1$ consumeEnumBodyWithConstants(); break; case 498 : if (DEBUG) { System.out.println("EnumConstants ::= EnumConstants COMMA EnumConstant"); } //$NON-NLS-1$ consumeEnumConstants(); break; case 499 : if (DEBUG) { System.out.println("EnumConstantHeaderName ::= Modifiersopt Identifier"); } //$NON-NLS-1$ consumeEnumConstantHeaderName(); break; case 500 : if (DEBUG) { System.out.println("EnumConstantHeader ::= EnumConstantHeaderName..."); } //$NON-NLS-1$ consumeEnumConstantHeader(); break; case 501 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader ForceNoDiet..."); } //$NON-NLS-1$ consumeEnumConstantWithClassBody(); break; case 502 : if (DEBUG) { System.out.println("EnumConstant ::= EnumConstantHeader"); } //$NON-NLS-1$ consumeEnumConstantNoClassBody(); break; case 503 : if (DEBUG) { System.out.println("Arguments ::= LPAREN ArgumentListopt RPAREN"); } //$NON-NLS-1$ consumeArguments(); break; case 504 : if (DEBUG) { System.out.println("Argumentsopt ::="); } //$NON-NLS-1$ consumeEmptyArguments(); break; case 506 : if (DEBUG) { System.out.println("EnumDeclarations ::= SEMICOLON ClassBodyDeclarationsopt"); } //$NON-NLS-1$ consumeEnumDeclarations(); break; case 507 : if (DEBUG) { System.out.println("EnumBodyDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyEnumDeclarations(); break; case 509 : if (DEBUG) { System.out.println("EnhancedForStatement ::= EnhancedForStatementHeader..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 510 : if (DEBUG) { System.out.println("EnhancedForStatementNoShortIf ::=..."); } //$NON-NLS-1$ consumeEnhancedForStatement(); break; case 511 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Type..."); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(false); break; case 512 : if (DEBUG) { System.out.println("EnhancedForStatementHeader ::= for LPAREN Modifiers Type"); } //$NON-NLS-1$ consumeEnhancedForStatementHeader(true); break; case 513 : if (DEBUG) { System.out.println("SingleStaticImportDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 514 : if (DEBUG) { System.out.println("SingleStaticImportDeclarationName ::= import static Name"); } //$NON-NLS-1$ consumeSingleStaticImportDeclarationName(); break; case 515 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclaration ::=..."); } //$NON-NLS-1$ consumeImportDeclaration(); break; case 516 : if (DEBUG) { System.out.println("StaticImportOnDemandDeclarationName ::= import static..."); } //$NON-NLS-1$ consumeStaticImportOnDemandDeclarationName(); break; case 517 : if (DEBUG) { System.out.println("TypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeTypeArguments(); break; case 518 : if (DEBUG) { System.out.println("OnlyTypeArguments ::= LESS TypeArgumentList1"); } //$NON-NLS-1$ consumeOnlyTypeArguments(); break; case 520 : if (DEBUG) { System.out.println("TypeArgumentList1 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList1(); break; case 522 : if (DEBUG) { System.out.println("TypeArgumentList ::= TypeArgumentList COMMA TypeArgument"); } //$NON-NLS-1$ consumeTypeArgumentList(); break; case 523 : if (DEBUG) { System.out.println("TypeArgument ::= ReferenceType"); } //$NON-NLS-1$ consumeTypeArgument(); break; case 527 : if (DEBUG) { System.out.println("ReferenceType1 ::= ReferenceType GREATER"); } //$NON-NLS-1$ consumeReferenceType1(); break; case 528 : if (DEBUG) { System.out.println("ReferenceType1 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType1(); break; case 530 : if (DEBUG) { System.out.println("TypeArgumentList2 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList2(); break; case 533 : if (DEBUG) { System.out.println("ReferenceType2 ::= ReferenceType RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType2(); break; case 534 : if (DEBUG) { System.out.println("ReferenceType2 ::= ClassOrInterface LESS..."); } //$NON-NLS-1$ consumeTypeArgumentReferenceType2(); break; case 536 : if (DEBUG) { System.out.println("TypeArgumentList3 ::= TypeArgumentList COMMA..."); } //$NON-NLS-1$ consumeTypeArgumentList3(); break; case 539 : if (DEBUG) { System.out.println("ReferenceType3 ::= ReferenceType UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeReferenceType3(); break; case 540 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION"); } //$NON-NLS-1$ consumeWildcard(); break; case 541 : if (DEBUG) { System.out.println("Wildcard ::= QUESTION WildcardBounds"); } //$NON-NLS-1$ consumeWildcardWithBounds(); break; case 542 : if (DEBUG) { System.out.println("WildcardBounds ::= extends ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsExtends(); break; case 543 : if (DEBUG) { System.out.println("WildcardBounds ::= super ReferenceType"); } //$NON-NLS-1$ consumeWildcardBoundsSuper(); break; case 544 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION GREATER"); } //$NON-NLS-1$ consumeWildcard1(); break; case 545 : if (DEBUG) { System.out.println("Wildcard1 ::= QUESTION WildcardBounds1"); } //$NON-NLS-1$ consumeWildcard1WithBounds(); break; case 546 : if (DEBUG) { System.out.println("WildcardBounds1 ::= extends ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Extends(); break; case 547 : if (DEBUG) { System.out.println("WildcardBounds1 ::= super ReferenceType1"); } //$NON-NLS-1$ consumeWildcardBounds1Super(); break; case 548 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard2(); break; case 549 : if (DEBUG) { System.out.println("Wildcard2 ::= QUESTION WildcardBounds2"); } //$NON-NLS-1$ consumeWildcard2WithBounds(); break; case 550 : if (DEBUG) { System.out.println("WildcardBounds2 ::= extends ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Extends(); break; case 551 : if (DEBUG) { System.out.println("WildcardBounds2 ::= super ReferenceType2"); } //$NON-NLS-1$ consumeWildcardBounds2Super(); break; case 552 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION UNSIGNED_RIGHT_SHIFT"); } //$NON-NLS-1$ consumeWildcard3(); break; case 553 : if (DEBUG) { System.out.println("Wildcard3 ::= QUESTION WildcardBounds3"); } //$NON-NLS-1$ consumeWildcard3WithBounds(); break; case 554 : if (DEBUG) { System.out.println("WildcardBounds3 ::= extends ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Extends(); break; case 555 : if (DEBUG) { System.out.println("WildcardBounds3 ::= super ReferenceType3"); } //$NON-NLS-1$ consumeWildcardBounds3Super(); break; case 556 : if (DEBUG) { System.out.println("TypeParameterHeader ::= Identifier"); } //$NON-NLS-1$ consumeTypeParameterHeader(); break; case 557 : if (DEBUG) { System.out.println("TypeParameters ::= LESS TypeParameterList1"); } //$NON-NLS-1$ consumeTypeParameters(); break; case 559 : if (DEBUG) { System.out.println("TypeParameterList ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList(); break; case 561 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtends(); break; case 562 : if (DEBUG) { System.out.println("TypeParameter ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameterWithExtendsAndBounds(); break; case 564 : if (DEBUG) { System.out.println("AdditionalBoundList ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList(); break; case 565 : if (DEBUG) { System.out.println("AdditionalBound ::= AND ReferenceType"); } //$NON-NLS-1$ consumeAdditionalBound(); break; case 567 : if (DEBUG) { System.out.println("TypeParameterList1 ::= TypeParameterList COMMA..."); } //$NON-NLS-1$ consumeTypeParameterList1(); break; case 568 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader GREATER"); } //$NON-NLS-1$ consumeTypeParameter1(); break; case 569 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtends(); break; case 570 : if (DEBUG) { System.out.println("TypeParameter1 ::= TypeParameterHeader extends..."); } //$NON-NLS-1$ consumeTypeParameter1WithExtendsAndBounds(); break; case 572 : if (DEBUG) { System.out.println("AdditionalBoundList1 ::= AdditionalBoundList..."); } //$NON-NLS-1$ consumeAdditionalBoundList1(); break; case 573 : if (DEBUG) { System.out.println("AdditionalBound1 ::= AND ReferenceType1"); } //$NON-NLS-1$ consumeAdditionalBound1(); break; case 579 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= PLUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.PLUS); break; case 580 : if (DEBUG) { System.out.println("UnaryExpression_NotName ::= MINUS PushPosition..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.MINUS); break; case 583 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= TWIDDLE..."); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.TWIDDLE); break; case 584 : if (DEBUG) { System.out.println("UnaryExpressionNotPlusMinus_NotName ::= NOT PushPosition"); } //$NON-NLS-1$ consumeUnaryExpression(OperatorIds.NOT); break; case 587 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MULTIPLY); break; case 588 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name MULTIPLY..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MULTIPLY); break; case 589 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.DIVIDE); break; case 590 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name DIVIDE..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.DIVIDE); break; case 591 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.REMAINDER); break; case 592 : if (DEBUG) { System.out.println("MultiplicativeExpression_NotName ::= Name REMAINDER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.REMAINDER); break; case 594 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.PLUS); break; case 595 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name PLUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.PLUS); break; case 596 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.MINUS); break; case 597 : if (DEBUG) { System.out.println("AdditiveExpression_NotName ::= Name MINUS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.MINUS); break; case 599 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break; case 600 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name LEFT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LEFT_SHIFT); break; case 601 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break; case 602 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.RIGHT_SHIFT); break; case 603 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= ShiftExpression_NotName..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 604 : if (DEBUG) { System.out.println("ShiftExpression_NotName ::= Name UNSIGNED_RIGHT_SHIFT..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.UNSIGNED_RIGHT_SHIFT); break; case 606 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS); break; case 607 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS); break; case 608 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= ShiftExpression_NotName"); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER); break; case 609 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER); break; case 610 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.LESS_EQUAL); break; case 611 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name LESS_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.LESS_EQUAL); break; case 612 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break; case 613 : if (DEBUG) { System.out.println("RelationalExpression_NotName ::= Name GREATER_EQUAL..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.GREATER_EQUAL); break; case 615 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::= Name instanceof..."); } //$NON-NLS-1$ consumeInstanceOfExpressionWithName(OperatorIds.INSTANCEOF); break; case 616 : if (DEBUG) { System.out.println("InstanceofExpression_NotName ::=..."); } //$NON-NLS-1$ consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break; case 618 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break; case 619 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name EQUAL_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.EQUAL_EQUAL); break; case 620 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::=..."); } //$NON-NLS-1$ consumeEqualityExpression(OperatorIds.NOT_EQUAL); break; case 621 : if (DEBUG) { System.out.println("EqualityExpression_NotName ::= Name NOT_EQUAL..."); } //$NON-NLS-1$ consumeEqualityExpressionWithName(OperatorIds.NOT_EQUAL); break; case 623 : if (DEBUG) { System.out.println("AndExpression_NotName ::= AndExpression_NotName AND..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND); break; case 624 : if (DEBUG) { System.out.println("AndExpression_NotName ::= Name AND EqualityExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND); break; case 626 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.XOR); break; case 627 : if (DEBUG) { System.out.println("ExclusiveOrExpression_NotName ::= Name XOR AndExpression"); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.XOR); break; case 629 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR); break; case 630 : if (DEBUG) { System.out.println("InclusiveOrExpression_NotName ::= Name OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR); break; case 632 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.AND_AND); break; case 633 : if (DEBUG) { System.out.println("ConditionalAndExpression_NotName ::= Name AND_AND..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.AND_AND); break; case 635 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::=..."); } //$NON-NLS-1$ consumeBinaryExpression(OperatorIds.OR_OR); break; case 636 : if (DEBUG) { System.out.println("ConditionalOrExpression_NotName ::= Name OR_OR..."); } //$NON-NLS-1$ consumeBinaryExpressionWithName(OperatorIds.OR_OR); break; case 638 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::=..."); } //$NON-NLS-1$ consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break; case 639 : if (DEBUG) { System.out.println("ConditionalExpression_NotName ::= Name QUESTION..."); } //$NON-NLS-1$ consumeConditionalExpressionWithName(OperatorIds.QUESTIONCOLON) ; break; case 643 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= Modifiers AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 644 : if (DEBUG) { System.out.println("AnnotationTypeDeclarationHeader ::= AT..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclarationHeader() ; break; case 645 : if (DEBUG) { System.out.println("AnnotationTypeDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeDeclaration() ; break; case 647 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationsopt ::="); } //$NON-NLS-1$ consumeEmptyAnnotationTypeMemberDeclarationsopt() ; break; case 650 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarations ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarations() ; break; case 651 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclarationHeader ::= Modifiersopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclarationHeader() ; break; case 652 : if (DEBUG) { System.out.println("AnnotationTypeMemberHeaderExtendedDims ::= Dimsopt"); } //$NON-NLS-1$ consumeAnnotationTypeMemberHeaderExtendedDims() ; break; case 653 : if (DEBUG) { System.out.println("AnnotationTypeMemberDeclaration ::=..."); } //$NON-NLS-1$ consumeAnnotationTypeMemberDeclaration() ; break; case 656 : if (DEBUG) { System.out.println("DefaultValueopt ::="); } //$NON-NLS-1$ consumeEmptyDefaultValue() ; break; case 662 : if (DEBUG) { System.out.println("NormalAnnotation ::= AT Name LPAREN MemberValuePairsopt"); } //$NON-NLS-1$ consumeNormalAnnotation() ; break; case 663 : if (DEBUG) { System.out.println("MemberValuePairsopt ::="); } //$NON-NLS-1$ consumeEmptyMemberValuePairsopt() ; break; case 666 : if (DEBUG) { System.out.println("MemberValuePairs ::= MemberValuePairs COMMA..."); } //$NON-NLS-1$ consumeMemberValuePairs() ; break; case 667 : if (DEBUG) { System.out.println("MemberValuePair ::= SimpleName EQUAL MemberValue"); } //$NON-NLS-1$ consumeMemberValuePair() ; break; case 669 : if (DEBUG) { System.out.println("MemberValue ::= Name"); } //$NON-NLS-1$ consumeMemberValueAsName() ; break; case 672 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 673 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeMemberValueArrayInitializer() ; break; case 674 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 675 : if (DEBUG) { System.out.println("MemberValueArrayInitializer ::= LBRACE PushLeftBrace..."); } //$NON-NLS-1$ consumeEmptyMemberValueArrayInitializer() ; break; case 677 : if (DEBUG) { System.out.println("MemberValues ::= MemberValues COMMA MemberValue"); } //$NON-NLS-1$ consumeMemberValues() ; break; case 678 : if (DEBUG) { System.out.println("MarkerAnnotation ::= AT Name"); } //$NON-NLS-1$ consumeMarkerAnnotation() ; break; case 679 : if (DEBUG) { System.out.println("SingleMemberAnnotation ::= AT Name LPAREN MemberValue..."); } //$NON-NLS-1$ consumeSingleMemberAnnotation() ; break; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/836fef68856b7e7f6b208deb388901eeda69de4b/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12732, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4750, 918, 7865, 2175, 12, 474, 1328, 13, 288, 225, 1620, 261, 1328, 262, 288, 565, 648, 12732, 294, 309, 261, 9394, 13, 288, 2332, 18, 659, 18, 8222, 2932, 559, 493, 33, 14488, 559, 8863, ...
public org.quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { org.quickfix.field.NoUnderlyingSecurityAltID value = new org.quickfix.field.NoUnderlyingSecurityAltID();
public quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { quickfix.field.NoUnderlyingSecurityAltID value = new quickfix.field.NoUnderlyingSecurityAltID();
public org.quickfix.field.NoUnderlyingSecurityAltID getNoUnderlyingSecurityAltID() throws FieldNotFound { org.quickfix.field.NoUnderlyingSecurityAltID value = new org.quickfix.field.NoUnderlyingSecurityAltID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/AllocationInstruction.java/clean/src/java/src/quickfix/fix44/AllocationInstruction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 14655, 6291, 4368, 10655, 734, 336, 2279, 14655, 6291, 4368, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2358, 18, 19525, 904, 18, 1518, 18, 2279, 14655, 6291, 4368, 10655, 734, 336, 2279, 14655, 6291, 4368, 10655, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, ...
return ((QueueConnectionFactory) connectionFactory).createQueueConnection();
return ((QueueConnectionFactory) connectionFactory).createQueueConnection(username, password);
public Connection createConnection(ConnectionFactory connectionFactory) throws JMSException { if (connectionFactory == null) { throw new IllegalArgumentException("connectionFactory cannot be null"); } if (connectionFactory instanceof QueueConnectionFactory) { return ((QueueConnectionFactory) connectionFactory).createQueueConnection(); } else if (connectionFactory instanceof TopicConnectionFactory) { return ((TopicConnectionFactory) connectionFactory).createTopicConnection(); } else { throw new IllegalArgumentException("Unsupported ConnectionFactory type: " + connectionFactory.getClass().getName()); } }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/2da07b2e68f6a70ecd7a3eef319a983cbe6e6067/Jms102bSupport.java/buggy/providers/jms/src/java/org/mule/providers/jms/Jms102bSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4050, 27870, 12, 18749, 1459, 1733, 13, 1216, 20343, 565, 288, 3639, 309, 261, 4071, 1733, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 4071, 1733, 2780, 506, 446, 8863, 3639, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4050, 27870, 12, 18749, 1459, 1733, 13, 1216, 20343, 565, 288, 3639, 309, 261, 4071, 1733, 422, 446, 13, 288, 5411, 604, 394, 2754, 2932, 4071, 1733, 2780, 506, 446, 8863, 3639, 289...
else { fos.write(lineBuffer, 0, bytesRead); }
protected File createLocalFile() throws IOException { File tempFile = File.createTempFile("strts", null, new File(tempDir)); BufferedOutputStream fos = new BufferedOutputStream(new FileOutputStream(tempFile), diskBufferSize); byte[] lineBuffer = new byte[MAX_LINE_SIZE]; int bytesRead = inputStream.readLine(lineBuffer, 0, MAX_LINE_SIZE); boolean cutCarriage = false; boolean cutNewline = false; try { while ((bytesRead != -1) && (!equals(lineBuffer, 0, boundaryBytes.length, boundaryBytes))) { if (cutCarriage) { fos.write('\r'); cutCarriage = false; } if (cutNewline) { fos.write('\n'); cutNewline = false; } if (bytesRead > 0) { if (lineBuffer[bytesRead-1] == '\r') { //bytesRead--; cutCarriage = true; fos.write(lineBuffer, 0, bytesRead-1); } else { fos.write(lineBuffer, 0, bytesRead); } } if (bytesRead < MAX_LINE_SIZE) { cutNewline = true; } bytesRead = inputStream.readLine(lineBuffer, 0, MAX_LINE_SIZE); } } catch (IOException ioe) { fos.close(); tempFile.delete(); throw ioe; } fos.flush(); fos.close(); return tempFile; }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/bfb5a0e8d77a4a57a15a01c848c25cdb102c1eba/MultipartIterator.java/clean/src/share/org/apache/struts/upload/MultipartIterator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1387, 752, 2042, 812, 1435, 1216, 1860, 288, 7734, 1387, 18286, 273, 1387, 18, 2640, 20181, 2932, 701, 3428, 3113, 446, 16, 394, 1387, 12, 5814, 1621, 10019, 3639, 28649, 17615, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1387, 752, 2042, 812, 1435, 1216, 1860, 288, 7734, 1387, 18286, 273, 1387, 18, 2640, 20181, 2932, 701, 3428, 3113, 446, 16, 394, 1387, 12, 5814, 1621, 10019, 3639, 28649, 17615, 273, ...
lockedInProject = res.getProjectId();
lockedInProject = lock.getProjectId();
public String getFileListFunction() { boolean isInsideCurrentProject = false; // if mode is "listonly", only the list will be shown boolean galleryView = "galleryview".equals(getSettings().getExplorerMode()); // if mode is "projectview", all changed files in that project will be shown boolean projectView = "projectview".equals(getSettings().getExplorerMode()); // if VFS links should be displayed, this is true boolean showVfsLinks = getSettings().getExplorerShowLinks(); CmsResource currentResource = null; String currentFolder = getSettings().getExplorerResource(); boolean found = true; try { currentResource = getCms().readFileHeader(currentFolder); } catch (CmsException e) { // file was not readable found = false; } if (found) { if (showVfsLinks) { // file / folder exists and is readable currentFolder = "vfslink:" + currentFolder; } } else { // show the root folder in case of an error and reset the state currentFolder = "/"; showVfsLinks = false; try { currentResource = getCms().readFileHeader(currentFolder); } catch (CmsException e) { // should not happen } } long check = getCms().getFileSystemFolderChanges(); boolean newTreePlease = getSettings().getExplorerChecksum() != check; // get the currentFolder Id CmsUUID currentFolderId; if (currentResource.isFile()) { currentFolderId = currentResource.getParentId(); } else { currentFolderId = currentResource.getId(); } // start creating content StringBuffer content = new StringBuffer(2048); content.append("function initialize() {\n");// if (galleryView) {// content.append("top.openfolderMethod='openthisfolderflat';\n");// } else {// content.append("top.openfolderMethod='openthisfolder';\n");// } content.append("top.mode=\""); content.append(getSettings().getExplorerMode()); content.append("\";\n"); content.append("top.showlinks="); content.append(showVfsLinks); content.append(";\n"); // // the flaturl// if (getSettings().getExplorerFlaturl() != null) {// content.append("top.flaturl='");// content.append(getSettings().getExplorerFlaturl());// content.append("';\n");// } else if (!galleryView) {// content.append("top.flaturl='';\n");// } // the help_url content.append("top.head.helpUrl='explorer/index.html';\n"); // the project content.append("top.setProject("); content.append(getSettings().getProject()); content.append(");\n"); // the onlineProject content.append("top.setOnlineProject("); content.append(I_CmsConstants.C_PROJECT_ONLINE_ID); content.append(");\n"); // set the checksum for the tree content.append("top.setChecksum("); content.append(check); content.append(");\n"); // set the writeAccess for the current Folder boolean writeAccess = "explorerview".equals(getSettings().getExplorerMode()); if (writeAccess && (! showVfsLinks)) { try { CmsFolder test = getCms().readFolder(currentFolder); //writeAccess = test.getProjectId() == getSettings().getProject(); writeAccess = getCms().isInsideCurrentProject(test); } catch (CmsException e) { writeAccess = false; } } content.append("top.enableNewButton("); content.append(writeAccess); content.append(");\n"); // the folder content.append("top.setDirectory(\""); content.append(currentFolderId.hashCode()); content.append("\",\""); content.append(CmsResource.getPath(getSettings().getExplorerResource())); content.append("\");\n"); if (showVfsLinks) { content.append("top.addHist('"); content.append(CmsResource.getPath(getSettings().getExplorerResource())); content.append("')\n"); } content.append("top.rD();\n\n"); // now check which filelist colums we want to show int preferences = getDefaultPreferences(); boolean showTitle = (preferences & I_CmsWpConstants.C_FILELIST_TITLE) > 0; boolean showPermissions = (preferences & I_CmsWpConstants.C_FILELIST_PERMISSIONS) > 0; boolean showSize = (preferences & I_CmsWpConstants.C_FILELIST_SIZE) > 0; boolean showDateLastModified = (preferences & I_CmsWpConstants.C_FILELIST_DATE_LASTMODIFIED) > 0; boolean showUserWhoLastModified = (preferences & I_CmsWpConstants.C_FILELIST_USER_LASTMODIFIED) > 0; boolean showDateCreated = (preferences & I_CmsWpConstants.C_FILELIST_DATE_CREATED) > 0; boolean showUserWhoCreated = (preferences & I_CmsWpConstants.C_FILELIST_USER_CREATED) > 0; // now get the entries for the filelist Vector resources = getRessources(getSettings().getExplorerResource()); // if a folder contains to much entrys we split them to pages of C_ENTRYS_PER_PAGE length int startat = 0; int stopat = resources.size(); int selectedPage = 1; int numberOfPages = 0; int maxEntrys = C_ENTRYS_PER_PAGE; if (!(galleryView || projectView || showVfsLinks)) { selectedPage = getSettings().getExplorerPage(); if (stopat > maxEntrys) { // we have to splitt numberOfPages = (stopat / maxEntrys) + 1; if (selectedPage > numberOfPages) { // the user has changed the folder and then selected a page for the old folder selectedPage = 1; } startat = (selectedPage - 1) * maxEntrys; if ((startat + maxEntrys) < stopat) { stopat = startat + maxEntrys; } } } for (int i = startat; i < stopat; i++) { CmsResource res = (CmsResource)resources.elementAt(i); CmsLock lock = null; String path = getCms().readAbsolutePath(res); try { lock = getCms().getLock(res); } catch (CmsException e) { lock = CmsLock.getNullLock(); if (I_CmsLogChannels.C_LOGGING && A_OpenCms.isLogging(I_CmsLogChannels.C_OPENCMS_CRITICAL)) { A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_CRITICAL, this.getClass().getName() + " error getting lock state for resource " + res + " " + e.getMessage()); } } isInsideCurrentProject = getCms().isInsideCurrentProject(res); content.append("top.aF("); // position 1: name content.append("\""); content.append(res.getResourceName()); content.append("\","); // position 2: path if (projectView || showVfsLinks) { content.append("\""); // TODO: Check this (won't work with new repository) content.append(path); content.append("\","); } else { //is taken from top.setDirectory content.append("\"\","); } // position 3: title if (showTitle) { String title = ""; try { title = getCms().readProperty(getCms().readAbsolutePath(res), I_CmsConstants.C_PROPERTY_TITLE); } catch (CmsException e) { } if (title == null) { title = ""; } content.append("\""); if (title != null) content.append(Encoder.escapeHtml(title)); content.append("\","); } else { content.append("\"\","); } // position 4: type content.append(res.getType()); content.append(","); // position 5: link count content.append(res.getLinkCount() > 1 ? 1 : 0); content.append(","); // position 6: size if (res.isFolder() || (!showSize)) { content.append("\"\","); } else { content.append(res.getLength()); content.append(","); } // position 7: state content.append(res.getState()); content.append(","); // position 8: project int projectId = lock.isNullLock() ? res.getProjectId() : lock.getProjectId(); //int projectId = lock.isNullLock() ? getCms().getRequestContext().currentProject().getId() : lock.getProjectId(); content.append(projectId); content.append(","); // position 9: date of last modification if (showDateLastModified) { content.append("\""); content.append(getSettings().getMessages().getDateTime(res.getDateLastModified())); content.append("\","); } else { content.append("\"\","); } // position 10: user who last modified the resource if (showUserWhoLastModified) { content.append("\""); try { content.append(getCms().readUser(res.getUserLastModified()).getName()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } else { content.append("\"\","); } // position 11: date of creation if (showDateCreated) { content.append("\""); content.append(getSettings().getMessages().getDateTime(res.getDateCreated())); content.append("\","); } else { content.append("\"\","); } // position 12 : user who created the resource if (showUserWhoCreated) { content.append("\""); try { content.append(getCms().readUser(res.getUserCreated()).getName()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } else { content.append("\"\","); } // position 13: permissions if (showPermissions) { content.append("\""); try { content.append(getCms().getPermissions(getCms().readAbsolutePath(res)).getPermissionString()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } else { content.append("\"\","); } // position 14: locked by if (lock.isNullLock()) { content.append("\"\","); } else { content.append("\""); try { //content.append(getCms().lockedBy(res).getName()); content.append(getCms().readUser(lock.getUserId()).getName()); } catch (CmsException e) { content.append(e.getMessage()); } content.append("\","); } // position 15: type of lock content.append(lock.getType()); content.append(","); // position 16: name of project where the resource is locked in /* int lockedInProject = lock.isNullLock() ? getCms().getRequestContext().currentProject().getId() : lock.getProjectId(); String lockedInProjectName = ""; if (res.getProjectId()>0) { try { lockedInProjectName = getCms().readProject(res.getProjectId()).getName(); } catch (CmsException exc) { // ignore the exception - this is an old project so ignore it } } */ int lockedInProject = I_CmsConstants.C_UNKNOWN_ID; if (lock.isNullLock() && res.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // resource is unlocked and modified lockedInProject = res.getProjectId(); } else { if (res.getState() != I_CmsConstants.C_STATE_UNCHANGED) { // resource is locked and modified lockedInProject = res.getProjectId(); } else { // resource is locked and unchanged lockedInProject = lock.getProjectId(); } } String lockedInProjectName = null; try { if (lockedInProject == I_CmsConstants.C_UNKNOWN_ID) { // the resource is unlocked and unchanged lockedInProjectName = ""; } else { lockedInProjectName = getCms().readProject(lockedInProject).getName(); } } catch (CmsException exc) { // where did my project go? lockedInProjectName = ""; } content.append("\""); content.append(lockedInProjectName); content.append("\","); // position 17: id of project where resource belongs to content.append(lockedInProject); content.append(",\""); // position 18: project state, I=resource is inside current project, O=resource is outside current project if (isInsideCurrentProject) { content.append("I"); } else { content.append("O"); } content.append("\""); content.append(");\n"); } // now the tree, only if changed if (newTreePlease && (!(galleryView || projectView || showVfsLinks))) { content.append("\ntop.rT();\n"); List tree = null; try { tree = getCms().getFolderTree(); } catch (CmsException e) { tree = new Vector(); } int startAt = 1; CmsUUID parentId = CmsUUID.getNullUUID(); boolean grey = false; if (CmsProject.isOnlineProject(getSettings().getProject())) { // all easy: we are in the onlineProject CmsFolder rootFolder = (CmsFolder)tree.get(0); content.append("top.aC(\""); content.append(rootFolder.getId().hashCode()); content.append("\", "); content.append("\""); content.append(getSettings().getMessages().key("title.rootfolder")); content.append("\", \""); content.append(rootFolder.getParentId().hashCode()); content.append("\", false);\n"); for (int i = startAt; i < tree.size(); i++) { CmsFolder folder = (CmsFolder)tree.get(i); content.append("top.aC(\""); // id content.append(folder.getId().hashCode()); content.append("\", "); // name content.append("\""); content.append(folder.getResourceName()); content.append("\", \""); // parentId content.append(folder.getParentId().hashCode()); content.append("\", false);\n"); } } else { // offline Project Hashtable idMixer = new Hashtable(); CmsFolder rootFolder = (CmsFolder)tree.get(0); String folderToIgnore = null; if (getCms().isInsideCurrentProject(rootFolder)) { grey = false; } else { grey = true; } content.append("top.aC(\""); content.append(rootFolder.getId().hashCode()); content.append("\", "); content.append("\""); content.append(getSettings().getMessages().key("title.rootfolder")); content.append("\", \""); content.append(rootFolder.getParentId().hashCode()); content.append("\", "); content.append(grey); content.append(");\n"); for (int i = startAt; i < tree.size(); i++) { CmsFolder folder = (CmsFolder)tree.get(i); if ((folder.getState() == I_CmsConstants.C_STATE_DELETED) || (getCms().readAbsolutePath(folder).equals(folderToIgnore))) { // if the folder is deleted - ignore it and the following online res folderToIgnore = getCms().readAbsolutePath(folder); } else { if (! CmsProject.isOnlineProject(folder.getProjectId())) { //grey = false; parentId = folder.getParentId(); try { // the next res is the same res in the online-project: ignore it! if (getCms().readAbsolutePath(folder).equals(getCms().readAbsolutePath((CmsFolder)tree.get(i + 1)))) { i++; idMixer.put(tree.get(i), folder.getId()); } } catch (IndexOutOfBoundsException exc) { // ignore the exception, this was the last resource } } else { //grey = true; parentId = folder.getParentId(); if (idMixer.containsKey(parentId)) { parentId = (CmsUUID) idMixer.get(parentId); } } if (getCms().isInsideCurrentProject(folder)) { grey = false; } else { grey = true; } content.append("top.aC(\""); // id content.append(folder.getId().hashCode()); content.append("\", "); // name content.append("\""); content.append(folder.getResourceName()); content.append("\", \""); // parentId content.append(parentId.hashCode()); content.append("\", "); content.append(grey); content.append(");\n"); } } } } content.append("top.dU(document,"); content.append(numberOfPages); content.append(","); content.append(selectedPage); content.append("); \n"); content.append("}\n"); return content.toString(); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/d22140a42aad7f4ed0103b70b5c2a8e2719e8aaf/CmsExplorer.java/clean/src/org/opencms/workplace/CmsExplorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6034, 682, 2083, 1435, 288, 540, 1250, 353, 18619, 3935, 4109, 273, 629, 31, 9079, 368, 309, 1965, 353, 315, 1098, 3700, 3113, 1338, 326, 666, 903, 506, 12188, 3639, 1250, 1362...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6034, 682, 2083, 1435, 288, 540, 1250, 353, 18619, 3935, 4109, 273, 629, 31, 9079, 368, 309, 1965, 353, 315, 1098, 3700, 3113, 1338, 326, 666, 903, 506, 12188, 3639, 1250, 1362...
} else contentProvider = SkeletonTreeContentProvider.INSTANCE;
} else contentProvider = SkeletonTreeContentProvider.INSTANCE;
public ITreeContentProvider getContentProvider() { if (contentProvider != null || contentProviderInitializationFailed) return contentProvider; synchronized (this) { try { if (contentProvider == null) { ITreeContentProvider treeContentProvider = (ITreeContentProvider) descriptor.getConfigurationElement().createExecutableExtension(NavigatorContentDescriptor.ATT_CONTENT_PROVIDER); if (treeContentProvider != null) { contentProvider = new NavigatorContentProvider(treeContentProvider, descriptor, contentService); contentProvider.init(getStateModel(), appliedMemento); viewerManager.initialize(contentProvider); } else contentProvider = SkeletonTreeContentProvider.INSTANCE; } } catch (CoreException e) { contentProviderInitializationFailed = true; e.printStackTrace(); } catch (RuntimeException e) { contentProviderInitializationFailed = true; e.printStackTrace(); } if (contentProviderInitializationFailed) contentProvider = SkeletonTreeContentProvider.INSTANCE; } return contentProvider; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e0b46ec766fbc7b3887a89a3b90905046c7610c3/NavigatorContentExtension.java/clean/bundles/org.eclipse.ui.navigator/src-navigator/org/eclipse/ui/navigator/internal/extensions/NavigatorContentExtension.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2471, 1350, 2249, 5154, 2249, 1435, 288, 202, 202, 430, 261, 1745, 2249, 480, 446, 747, 913, 2249, 17701, 2925, 13, 1082, 202, 2463, 913, 2249, 31, 202, 202, 22043, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 2471, 1350, 2249, 5154, 2249, 1435, 288, 202, 202, 430, 261, 1745, 2249, 480, 446, 747, 913, 2249, 17701, 2925, 13, 1082, 202, 2463, 913, 2249, 31, 202, 202, 22043, 261, ...
if ( !RADIOBUTTON.equals(t) )
if (!RADIOBUTTON.equals(t))
public void setType(String t) { if ( !RADIOBUTTON.equals(t) ) throw new IllegalArgumentException("type change not supported, type is fix: radiobutton"); super.setType(t); }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/933c8b57d9fb87a4e1c64ec1c696946b9d5351f4/SRadioButton.java/buggy/wings2/src/java/org/wings/SRadioButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8811, 12, 780, 268, 13, 288, 3639, 309, 16051, 28829, 4294, 20068, 18, 14963, 12, 88, 3719, 5411, 604, 394, 2754, 2932, 723, 2549, 486, 3260, 16, 618, 353, 2917, 30, 12094, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 8811, 12, 780, 268, 13, 288, 3639, 309, 16051, 28829, 4294, 20068, 18, 14963, 12, 88, 3719, 5411, 604, 394, 2754, 2932, 723, 2549, 486, 3260, 16, 618, 353, 2917, 30, 12094, 9...
return toXMLString();
return toXMLString(0);
public String toString() { if (hasSimpleContent()) { StringBuffer sb = new StringBuffer(); for(int i = 0; i < length(); i++) { XML next = getXmlFromAnnotation(i); sb.append(next.toString()); } return sb.toString(); } else { return toXMLString(); } }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/347734a288cc52cc58154ef5e55d0c26058627eb/XMLList.java/buggy/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 5332, 5784, 1350, 10756, 3639, 288, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 769, 5621, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1762, 1435, 565, 288, 3639, 309, 261, 5332, 5784, 1350, 10756, 3639, 288, 5411, 6674, 2393, 273, 394, 6674, 5621, 5411, 364, 12, 474, 277, 273, 374, 31, 277, 411, 769, 5621, ...
if (x == 0.0d && y == -0.0d) return 1; if (x == -0.0d && y == 0.0d) return -1;
if (x == 0 && y == 0) return (int) (1 / x - 1 / y);
public static int compare (double x, double y) { if (isNaN (x)) return isNaN (y) ? 0 : 1; if (isNaN (y)) return -1; if (x == 0.0d && y == -0.0d) return 1; if (x == -0.0d && y == 0.0d) return -1; if (x == y) return 0; return x > y ? 1 : -1; }
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/9e55cc17c514e90df7d264f9fe0dd7b35dec9b46/Double.java/buggy/libjava/java/lang/Double.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 3400, 261, 9056, 619, 16, 1645, 677, 13, 225, 288, 565, 309, 261, 291, 21172, 261, 92, 3719, 1377, 327, 11696, 261, 93, 13, 692, 374, 294, 404, 31, 565, 309, 261, 291,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 509, 3400, 261, 9056, 619, 16, 1645, 677, 13, 225, 288, 565, 309, 261, 291, 21172, 261, 92, 3719, 1377, 327, 11696, 261, 93, 13, 692, 374, 294, 404, 31, 565, 309, 261, 291,...
public OperatorNode getNode() { return node; }
public OperatorNode getNode() { return node; }
public OperatorNode getNode() { return node; }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/410012748e80bb0d59859c62c7bf66beef8f5397/FeedbackListObject.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/misc/FeedbackListObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11097, 907, 5973, 1435, 288, 202, 202, 2463, 756, 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,...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11097, 907, 5973, 1435, 288, 202, 202, 2463, 756, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
defaultSaveMode = MP3File.MP3_FILE_SAVE_WRITE;
public void setToDefault() { keywordMap = new HashMap(); compositeMatchOverwrite = false; defaultSaveMode = MP3File.MP3_FILE_SAVE_WRITE; endWordDelimiterList = new LinkedList(); filenameDelimiterList = new LinkedList(); filenameTagSave = false; id3v1Save = true; id3v1SaveAlbum = true; id3v1SaveArtist = true; id3v1SaveComment = true; id3v1SaveGenre = true; id3v1SaveTitle = true; id3v1SaveTrack = true; id3v1SaveYear = true; id3v2KeepEmptyFrameIfRead = false; id3v2PaddingCopyTag = true; id3v2PaddingWillShorten = false; id3v2Save = true; id3v2SaveEmptyFrame = false; id3v2SaveExtendedHeader = false; id3v2PaddingMultiplier = 2; id3v2PaddingSize = 2048; language = "eng"; lyrics3KeepEmptyFieldIfRead = false; lyrics3Save = true; lyrics3SaveEmptyField = false; lyrics3SaveFieldMap = new HashMap(); numberMP3SyncFrame = 3; parenthesisMap = new HashMap(); playCounterSize = 4; replaceWordMap = new HashMap(); startWordDelimiterList = new LinkedList(); textEncoding = 0; timeStampFormat = 2; upperLowerCaseWordList = new LinkedList(); /** * default all lyrics3 fields to save. id3v1 fields are individual * settings. id3v2 fields are always looked at to save. */ Iterator iterator = Lyrics3v2Fields.getInstanceOf().getIdToValueMap().keySet().iterator(); String fieldId; while (iterator.hasNext()) { fieldId = (String) iterator.next(); lyrics3SaveFieldMap.put(fieldId, new Boolean(true)); } try { addKeyword(FrameBodyCOMM.class, "ultimix"); addKeyword(FrameBodyCOMM.class, "dance"); addKeyword(FrameBodyCOMM.class, "mix"); addKeyword(FrameBodyCOMM.class, "remix"); addKeyword(FrameBodyCOMM.class, "rmx"); addKeyword(FrameBodyCOMM.class, "live"); addKeyword(FrameBodyCOMM.class, "cover"); addKeyword(FrameBodyCOMM.class, "soundtrack"); addKeyword(FrameBodyCOMM.class, "version"); addKeyword(FrameBodyCOMM.class, "acoustic"); addKeyword(FrameBodyCOMM.class, "original"); addKeyword(FrameBodyCOMM.class, "cd"); addKeyword(FrameBodyCOMM.class, "extended"); addKeyword(FrameBodyCOMM.class, "vocal"); addKeyword(FrameBodyCOMM.class, "unplugged"); addKeyword(FrameBodyCOMM.class, "acapella"); addKeyword(FrameBodyCOMM.class, "edit"); addKeyword(FrameBodyCOMM.class, "radio"); addKeyword(FrameBodyCOMM.class, "original"); addKeyword(FrameBodyCOMM.class, "album"); addKeyword(FrameBodyCOMM.class, "studio"); addKeyword(FrameBodyCOMM.class, "instrumental"); addKeyword(FrameBodyCOMM.class, "unedited"); addKeyword(FrameBodyCOMM.class, "karoke"); addKeyword(FrameBodyCOMM.class, "quality"); addKeyword(FrameBodyCOMM.class, "uncensored"); addKeyword(FrameBodyCOMM.class, "clean"); addKeyword(FrameBodyCOMM.class, "dirty"); addKeyword(FrameBodyTIPL.class, "f."); addKeyword(FrameBodyTIPL.class, "feat"); addKeyword(FrameBodyTIPL.class, "feat."); addKeyword(FrameBodyTIPL.class, "featuring"); addKeyword(FrameBodyTIPL.class, "ftng"); addKeyword(FrameBodyTIPL.class, "ftng."); addKeyword(FrameBodyTIPL.class, "ft."); addKeyword(FrameBodyTIPL.class, "ft"); iterator = GenreTypes.getInstanceOf().getValueToIdMap().keySet().iterator(); while (iterator.hasNext()) { addKeyword(FrameBodyCOMM.class, (String) iterator.next()); } } catch (TagException ex) { // this shouldn't happen. if it does, we should fix it right away. ex.printStackTrace(); } addUpperLowerCaseWord("a"); addUpperLowerCaseWord("in"); addUpperLowerCaseWord("of"); addUpperLowerCaseWord("the"); addUpperLowerCaseWord("on"); addUpperLowerCaseWord("is"); addUpperLowerCaseWord("it"); addUpperLowerCaseWord("to"); addUpperLowerCaseWord("at"); addUpperLowerCaseWord("an"); addUpperLowerCaseWord("and"); addUpperLowerCaseWord("but"); addUpperLowerCaseWord("or"); addUpperLowerCaseWord("for"); addUpperLowerCaseWord("nor"); addUpperLowerCaseWord("not"); addUpperLowerCaseWord("so"); addUpperLowerCaseWord("yet"); addUpperLowerCaseWord("with"); addUpperLowerCaseWord("into"); addUpperLowerCaseWord("by"); addUpperLowerCaseWord("up"); addUpperLowerCaseWord("as"); addUpperLowerCaseWord("if"); addUpperLowerCaseWord("feat."); addUpperLowerCaseWord("vs."); addUpperLowerCaseWord("I'm"); addUpperLowerCaseWord("I"); addUpperLowerCaseWord("I've"); addUpperLowerCaseWord("I'll"); addReplaceWord("v.", "vs."); addReplaceWord("vs.", "vs."); addReplaceWord("versus", "vs."); addReplaceWord("f.", "feat."); addReplaceWord("feat", "feat."); addReplaceWord("featuring", "feat."); addReplaceWord("ftng.", "feat."); addReplaceWord("ftng", "feat."); addReplaceWord("ft.", "feat."); addReplaceWord("ft", "feat."); addFilenameDelimiter("/"); addFilenameDelimiter("\\"); addFilenameDelimiter(" -"); addFilenameDelimiter(";"); addFilenameDelimiter("|"); addFilenameDelimiter(":"); iterator = this.getKeywordListIterator(FrameBodyTIPL.class); while (iterator.hasNext()) { addStartWordDelimiter((String) iterator.next()); } addParenthesis("(", ")"); addParenthesis("[", "]"); addParenthesis("{", "}"); addParenthesis("<", ">"); }
14186 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14186/ccb133777eacbbd40790326737927827b6882786/TagOptionSingleton.java/clean/src/org/jaudiotagger/tag/TagOptionSingleton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 19892, 1868, 1435, 565, 288, 3639, 4932, 863, 273, 394, 4317, 5621, 3639, 9635, 2060, 20832, 273, 629, 31, 9079, 679, 3944, 12007, 682, 273, 394, 10688, 5621, 3639, 1544, 12007, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19892, 1868, 1435, 565, 288, 3639, 4932, 863, 273, 394, 4317, 5621, 3639, 9635, 2060, 20832, 273, 629, 31, 9079, 679, 3944, 12007, 682, 273, 394, 10688, 5621, 3639, 1544, 12007, ...
MarkerCategory(MarkerAdapter adapter, int startIndex, int endIndex, int fieldNumber, MarkerCategory parentCategory) { markerAdapter = adapter; start = startIndex; end = endIndex; fieldIndex = fieldNumber; parent = parentCategory; TableSorter sorter = view.getTableSorter(); int prioritySlot = sorter.getPriorities()[fieldIndex]; IField field = sorter.getFields()[prioritySlot]; name = field.getCategoryValue(markerAdapter.lastMarkers.toArray()[startIndex]); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3cb3c464f1eeb8cd773d462560821d8819aec0b7/MarkerAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 7078, 4457, 12, 7078, 4216, 4516, 16, 509, 10588, 16, 509, 13818, 16, 9506, 202, 474, 652, 1854, 16, 14742, 4457, 982, 4457, 13, 288, 1082, 202, 11145, 4216, 273, 4516, 31, 1082, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 7078, 4457, 12, 7078, 4216, 4516, 16, 509, 10588, 16, 509, 13818, 16, 9506, 202, 474, 652, 1854, 16, 14742, 4457, 982, 4457, 13, 288, 1082, 202, 11145, 4216, 273, 4516, 31, 1082, ...
URI ruleAlgURI = abbrev.getFullCombiningURI((String)comboBox.getSelectedItem(), true); RuleCombiningAlgorithm algorithm;
URI algURI = abbrev.getFullCombiningURI((String)comboBox.getSelectedItem(), (node instanceof PolicyNode));
public CombiningAlgorithm getAlgorithm() { URI ruleAlgURI = abbrev.getFullCombiningURI((String)comboBox.getSelectedItem(), true); RuleCombiningAlgorithm algorithm; try { algorithm = (RuleCombiningAlgorithm)StandardCombiningAlgFactory.getInstance().createAlgorithm(ruleAlgURI); } catch (UnknownIdentifierException e) { ClientFrame.showErrorMessage("Invalid rule combining algorithm '" + ruleAlgURI + "'", e); return null; } return algorithm; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/33d5ff2d19fddfb03e7833b1513d9acb3acc972d/PolicyElementEditor.java/clean/src/org/exist/client/xacml/PolicyElementEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1286, 4757, 310, 6801, 336, 6801, 1435, 202, 95, 202, 202, 3098, 1720, 21883, 3098, 273, 1223, 27216, 18, 588, 5080, 24107, 310, 3098, 12443, 780, 13, 25053, 3514, 18, 588, 7416...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1286, 4757, 310, 6801, 336, 6801, 1435, 202, 95, 202, 202, 3098, 1720, 21883, 3098, 273, 1223, 27216, 18, 588, 5080, 24107, 310, 3098, 12443, 780, 13, 25053, 3514, 18, 588, 7416...
String arguments = (String) event.getEndpoint() .getProperties().get(RmiConnector.PROPERTY_SERVICE_METHOD_PARAM_TYPES);
String arguments = (String) event.getMessage().getProperty(RmiConnector.PROPERTY_SERVICE_METHOD_PARAM_TYPES);
private Method getMethodObject(UMOEvent event, EJBObject remoteObject) throws UMOException, NoSuchMethodException, ClassNotFoundException { UMOEndpointURI endpointUri = event.getEndpoint().getEndpointURI(); String methodName = PropertiesHelper.getStringProperty(endpointUri.getParams(), RmiConnector.PARAM_SERVICE_METHOD, null); if (null == methodName) { methodName = (String) event.getEndpoint() .getProperties() .get(RmiConnector.PARAM_SERVICE_METHOD); if (null == methodName) { throw new DispatchException(new org.mule.config.i18n.Message("ejb", RmiConnector.MSG_PARAM_SERVICE_METHOD_NOT_SET), event.getMessage(), event.getEndpoint()); } } // Parse method args String arguments = (String) event.getEndpoint() .getProperties().get(RmiConnector.PROPERTY_SERVICE_METHOD_PARAM_TYPES); List methodArgumentTypes = new ArrayList(); if (null != arguments) { String[] split = arguments.split(","); for (int i = 0; i < split.length; i++) { methodArgumentTypes.add(ClassHelper.loadClass(split[i].trim(), getClass())); } } else if (event.getTransformedMessage().getClass().isArray()) { Object args[] = (Object[]) event.getTransformedMessage(); for (int i = 0; i < args.length; i++) { methodArgumentTypes.add(args[i].getClass()); } } else { methodArgumentTypes.add(event.getTransformedMessage().getClass()); } Class types[] = new Class[methodArgumentTypes.size()]; types = (Class[]) methodArgumentTypes.toArray(types); // Returns possible method return (remoteObject.getClass().getMethod(methodName, types)); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/589f59b15144184ea22999b384d5ea92ddec8bb9/EjbMessageDispatcher.java/clean/providers/ejb/src/java/org/mule/providers/ejb/EjbMessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 2985, 6272, 921, 12, 2799, 51, 1133, 871, 16, 12157, 921, 2632, 921, 13, 1216, 587, 5980, 503, 16, 15959, 16, 10403, 288, 3639, 587, 5980, 3293, 3098, 2494, 3006, 273, 871, 18, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2985, 6272, 921, 12, 2799, 51, 1133, 871, 16, 12157, 921, 2632, 921, 13, 1216, 587, 5980, 503, 16, 15959, 16, 10403, 288, 3639, 587, 5980, 3293, 3098, 2494, 3006, 273, 871, 18, 58...
WagonUtils.fromString( checksumResource, wagon, actualChecksum );
public void transferCompleted( TransferEvent transferEvent ) { if ( digester == null ) { return; } Wagon wagon = transferEvent.getWagon(); actualChecksum = encode( digester.digest() ); digester = null; InputStream inputStream = null; transferingChecksum = true; String checksumResource = transferEvent.getResource().getName() + extension; int type = transferEvent.getRequestType(); try { if ( type == TransferEvent.REQUEST_GET ) { //we will fetch md5 cheksum from server and // read its content into memory File artifactFile = transferEvent.getLocalFile(); File checksumFile = new File( artifactFile.getPath() + extension ); wagon.get( checksumResource, checksumFile ); expectedChecksum = FileUtils.fileRead( checksumFile ).trim(); } else { //It's PUT put request we will also put md5 checksum // which was computed on the fly WagonUtils.fromString( checksumResource, wagon, actualChecksum ); } } catch ( ResourceDoesNotExistException e ) { transferError( new TransferEvent( wagon, new Resource( checksumResource ), e, type ) ); } catch ( WagonException e ) { transferError( new TransferEvent( wagon, new Resource( checksumResource ), e, type ) ); } catch ( IOException e ) { transferError( new TransferEvent( wagon, new Resource( checksumResource ), e, type ) ); } finally { IoUtils.close( inputStream ); transferingChecksum = false; } }
51920 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51920/53aeb055f07dc88e090d8e89f7a90ada34c4d317/ChecksumObserver.java/buggy/wagon-provider-api/src/main/java/org/apache/maven/wagon/observers/ChecksumObserver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7412, 9556, 12, 12279, 1133, 7412, 1133, 262, 565, 288, 3639, 309, 261, 23821, 422, 446, 262, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 678, 346, 265, 341, 346, 265, 273, 74...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7412, 9556, 12, 12279, 1133, 7412, 1133, 262, 565, 288, 3639, 309, 261, 23821, 422, 446, 262, 3639, 288, 5411, 327, 31, 3639, 289, 3639, 678, 346, 265, 341, 346, 265, 273, 74...
if (body == null) {
if (gmbr == null || gmbr.getBody() == null) {
public RubyObject call(RubyObject recv, String name, RubyPointer args, int scope) { CacheEntry ent = getRuby().getMethodCache().getEntry(this, name); RubyModule klass = this; int noex; Node body; if (ent != null) { if (ent.getMethod() == null) { RubyPointer newArgs = new RubyPointer(); newArgs.add(RubySymbol.newSymbol(getRuby(), name)); if (args != null) { newArgs.addAll(args); } return recv.funcall("method_missing", newArgs); } klass = ent.getOrigin(); name = ent.getOriginalName(); noex = ent.getNoex(); body = ent.getMethod(); } else { GetMethodBodyResult gmbr = getMethodBody(name, 0); klass = gmbr.getRecvClass(); name = gmbr.getId(); noex = gmbr.getNoex(); body = gmbr.getBody(); if (body == null) { if (scope == 3) { throw new RubyNameException(getRuby(), "super: no superclass method '" + name + "'"); } RubyPointer newArgs = new RubyPointer(); newArgs.add(RubySymbol.newSymbol(getRuby(), name)); if (args != null) { newArgs.addAll(args); } return recv.funcall("method_missing", newArgs); } } // if (mid != missing) { // /* receiver specified form for private method */ // if ((noex & NOEX_PRIVATE) && scope == 0) // return rb_undefined(recv, mid, argc, argv, CSTAT_PRIV); // /* self must be kind of a specified form for private method */ // if ((noex & NOEX_PROTECTED)) { // VALUE defined_class = klass; // while (TYPE(defined_class) == T_ICLASS) // defined_class = RBASIC(defined_class)->klass; // if (!rb_obj_is_kind_of(ruby_frame->self, defined_class)) // return rb_undefined(recv, mid, argc, argv, CSTAT_PROT); // } // } // ... return klass.call0(recv, name, args, body, false); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/6db60367cc1d14c2207b75284c69e4f6817da767/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 12, 54, 10340, 921, 10665, 16, 514, 508, 16, 19817, 4926, 833, 16, 509, 2146, 13, 288, 3639, 27657, 3281, 273, 4170, 10340, 7675, 588, 1305, 1649, 7675, 588, 1622, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 12, 54, 10340, 921, 10665, 16, 514, 508, 16, 19817, 4926, 833, 16, 509, 2146, 13, 288, 3639, 27657, 3281, 273, 4170, 10340, 7675, 588, 1305, 1649, 7675, 588, 1622, ...
_t = __t670;
_t = __t675;
public final void disconnectstate(AST _t) throws RecognitionException { AST disconnectstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t670 = _t; AST tmp1243_AST_in = (AST)_t; match(_t,DISCONNECT); _t = _t.getFirstChild(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp1244_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t670; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 9479, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 9479, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 9479, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 9479, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053...
ruby.getRubyParser().compileString(sb.toString(), fname, 0);
ruby.getRubyParser().compileString(fname.getValue(), RubyString.m_newString(ruby, sb.toString()), 0);
public void load(RubyString fname, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); NODE savedCRef = ruby.getRubyCRef(); // TMP_PROTECT; if (wrap && ruby.getSecurityLevel() >= 4) { // Check_Type(fname, T_STRING); } else { // Check_SafeStr(fname); } // fname = findFile(fname); if (fname == null) { throw new RubyException("No such file to load -- " + fname.getValue()); } // volatile ID last_func; // volatile VALUE wrapper = 0; // ruby_errinfo = Qnil; /* ensure */ RubyVarmap.push(ruby); pushClass(); RubyModule wrapper = ruby_wrapper; ruby.setRubyCRef(ruby.getTopCRef()); if (!wrap) { ruby.secure(4); /* should alter global state */ ruby.setRubyClass(ruby.getClasses().getObjectClass()); ruby_wrapper = null; } else { /* load in anonymous module as toplevel */ ruby_wrapper = RubyModule.m_newModule(ruby); ruby.setRubyClass(ruby_wrapper); self = ruby.getRubyTopSelf().m_clone(); self.extendObject(ruby.getRubyClass()); PUSH_CREF(ruby_wrapper); } ruby.getRubyFrame().push(); ruby.getRubyFrame().setLastFunc(null); ruby.getRubyFrame().setLastClass(null); ruby.getRubyFrame().setSelf(self); ruby.getRubyFrame().setCbase(new NodeFactory(ruby).newDefaultNode(NODE.NODE_CREF, ruby.getRubyClass(), null, null)); ruby.getRubyScope().push(); /* default visibility is private at loading toplevel */ setActMethodScope(SCOPE_PRIVATE); RubyId last_func = ruby.getRubyFrame().getLastFunc(); try { // RubyId last_func = ruby.getRubyFrame().getLastFunc(); // DEFER_INTS; ruby.setInEval(ruby.getInEval() + 1); // +++ try { File rubyFile = new File(fname.getValue()); StringBuffer sb = new StringBuffer((int)rubyFile.length()); BufferedReader br = new BufferedReader(new FileReader(rubyFile)); String line; while ((line = br.readLine()) != null) { sb.append(line).append('\n'); } br.close(); ruby.getRubyParser().compileString(sb.toString(), fname, 0); } catch (IOException ioExcptn) { System.out.println("Cannot read Rubyfile: \"" + fname.getValue() + "\""); System.out.println("IOEception: " + ioExcptn.getMessage()); } // --- ruby.setInEval(ruby.getInEval() - 1); eval(self, ruby.getParserHelper().getEvalTree()); // evalNode } catch (RubyException excptn) { } ruby.getRubyFrame().setLastFunc(last_func); /*if (ruby.getRubyScope().getFlags() == SCOPE_ALLOCA && ruby.getRubyClass() == ruby.getClasses().getObjectClass()) { if (ruby_scope->local_tbl) free(ruby_scope->local_tbl); }*/ ruby.setRubyCRef(savedCRef); ruby.getRubyScope().pop(); ruby.getRubyFrame().pop(); popClass(); RubyVarmap.pop(ruby); ruby_wrapper = wrapper; /*if (ruby_nerrs > 0) { ruby_nerrs = 0; rb_exc_raise(ruby_errinfo); }*/ }
49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/a6fb3288b71aaedfe3a7b5e8d1e561e0bc249dc6/RubyInterpreter.java/clean/org/jruby/interpreter/RubyInterpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1262, 12, 54, 10340, 780, 5299, 16, 1250, 2193, 13, 288, 3639, 19817, 921, 365, 273, 22155, 18, 588, 54, 10340, 3401, 10084, 5621, 3639, 11922, 5198, 39, 1957, 273, 22155, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1262, 12, 54, 10340, 780, 5299, 16, 1250, 2193, 13, 288, 3639, 19817, 921, 365, 273, 22155, 18, 588, 54, 10340, 3401, 10084, 5621, 3639, 11922, 5198, 39, 1957, 273, 22155, 18, ...
System.arraycopy(overflowBuffer.getBuffer(), 0, allSamples, start, overflowBuffer.getOccupancy());
System.arraycopy(overflowBuffer.getBuffer(), 0, allSamples, start, overflowBuffer.getOccupancy());
private void process(DoubleData input) throws DataProcessingException { currentCollectTime = input.getCollectTime(); double[] in = input.getValues(); int length = overflowBuffer.getOccupancy() + in.length; List dataList = new LinkedList(); dataList.add(input); Data utteranceEnd = null; // read in more Data if we have under one window's length of data while (length < cosineWindow.length) { Data next = getPredecessor().getData(); if (next instanceof DoubleData) { dataList.add(next); length += ((DoubleData) next).getValues().length; } else if (next instanceof DataEndSignal) { utteranceEnd = next; break; } } double[] allSamples = in; // prepend overflow samples if (length != in.length) { allSamples = new double[length]; int start = 0; // copy overflow samples to allSamples buffer System.arraycopy(overflowBuffer.getBuffer(), 0, allSamples, start, overflowBuffer.getOccupancy()); start = overflowBuffer.getOccupancy(); // copy input samples to allSamples buffer for (Iterator i = dataList.iterator(); i.hasNext(); ) { DoubleData next = (DoubleData) i.next(); double[] samples = next.getValues(); System.arraycopy(samples, 0, allSamples, start, samples.length); start += samples.length; } } // apply Hamming window int residual = applyRaisedCosineWindow(allSamples, length); // save elements that also belong to the next window overflowBuffer.reset(); if (length - residual > 0) { overflowBuffer.append(allSamples, residual, length - residual); } if (utteranceEnd != null) { // end of utterance handling processUtteranceEnd(); outputQueue.add(utteranceEnd); } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/b92cd7d1b30dfe032af79a340c4e5877f0e4ec0e/RaisedCosineWindower.java/buggy/src/sphinx4/edu/cmu/sphinx/frontend/window/RaisedCosineWindower.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 12, 5265, 751, 810, 13, 1216, 1910, 23684, 288, 3639, 783, 10808, 950, 273, 810, 18, 588, 10808, 950, 5621, 540, 202, 9056, 8526, 316, 273, 810, 18, 588, 1972, 5621, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1207, 12, 5265, 751, 810, 13, 1216, 1910, 23684, 288, 3639, 783, 10808, 950, 273, 810, 18, 588, 10808, 950, 5621, 540, 202, 9056, 8526, 316, 273, 810, 18, 588, 1972, 5621, 36...
private JMethod createSetter( Parameter parameter, JClass jClass )
private JMethod createSetter( Parameter parameter )
private JMethod createSetter( Parameter parameter, JClass jClass ) { String propertyName = capitalise( parameter.getName() ); JMethod setter = new JMethod( null, "set" + propertyName ); String type = parameter.getType(); JType parameterType; int arrayLocation = type.indexOf( "[]" ); if ( arrayLocation > 0 ) { type = type.substring( 0, arrayLocation ); parameterType = new JClass( type ).createArray(); } else { parameterType = new JClass( type ); } setter.addParameter( new JParameter( parameterType, parameter.getName() ) ); setter.getSourceCode().add( "addParameter( " + "\"" + parameter.getName() + "\", " + parameter.getName() + " );" ); return setter; }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/24c6328ad361f8e709e2b3fddefd9cde220a0628/BeanGenerator.java/buggy/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/BeanGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 804, 1305, 752, 8465, 12, 5498, 1569, 262, 565, 288, 3639, 514, 5470, 273, 12872, 784, 12, 1569, 18, 17994, 1435, 11272, 3639, 804, 1305, 7794, 273, 394, 804, 1305, 12, 446, 16, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 804, 1305, 752, 8465, 12, 5498, 1569, 262, 565, 288, 3639, 514, 5470, 273, 12872, 784, 12, 1569, 18, 17994, 1435, 11272, 3639, 804, 1305, 7794, 273, 394, 804, 1305, 12, 446, 16, 3...
if (helperModel.getType().equals("Pie Chart"))
if (helperModel.getType().equals("Pie Chart"))
private Chart getConvertedChart(Chart currentChart, String sNewSubType, Orientation newOrientation, String sNewDimension) { Chart helperModel = (Chart) EcoreUtil.copy(currentChart); if ((currentChart instanceof ChartWithAxes)) // Chart is ChartWithAxes { if (currentChart.getType().equals(sType)) // Original chart is of this type (LineChart) { if (!currentChart.getSubType().equals(sNewSubType)) // Original chart is of the required subtype { currentChart.setSubType(sNewSubType); EList axes = ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes(); for (int i = 0; i < axes.size(); i++) { ((Axis) axes.get(i)).setPercent(false); EList seriesdefinitions = ((Axis) axes.get(i)).getSeriesDefinitions(); for (int j = 0; j < seriesdefinitions.size(); j++) { Series series = ((SeriesDefinition) seriesdefinitions.get(j)).getDesignTimeSeries(); series.setStacked(false); } } } } else if (currentChart.getType().equals("Bar Chart") || currentChart.getType().equals("Stock Chart") || currentChart.getType().equals("Line Chart")) { currentChart.setSampleData(getConvertedSampleData(currentChart.getSampleData(), currentChart.getType() .equals("Stock Chart"))); currentChart.setType(sType); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setType(AxisType.LINEAR_LITERAL); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setCategoryAxis(false); currentChart.setSubType(sNewSubType); EList axes = ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes(); for (int i = 0; i < axes.size(); i++) { ((Axis) axes.get(i)).setPercent(false); EList seriesdefinitions = ((Axis) axes.get(i)).getSeriesDefinitions(); for (int j = 0; j < seriesdefinitions.size(); j++) { Series series = ((SeriesDefinition) seriesdefinitions.get(j)).getDesignTimeSeries(); series = getConvertedSeries(series); series.setStacked(false); ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().clear(); ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().add(series); } } ((ChartWithAxes) currentChart).setOrientation(newOrientation); currentChart.setDimension(getDimensionFor(sNewDimension)); } else { return null; } } else { // Create a new instance of the correct type and set initial properties currentChart = ChartWithAxesImpl.create(); currentChart.setType(sType); currentChart.setSubType(sNewSubType); ((ChartWithAxes) currentChart).setOrientation(newOrientation); currentChart.setDimension(getDimensionFor(sNewDimension)); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setOrientation(Orientation.HORIZONTAL_LITERAL); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setType(AxisType.LINEAR_LITERAL); ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).setCategoryAxis(false); ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)) .setOrientation(Orientation.VERTICAL_LITERAL); ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)) .setType(AxisType.LINEAR_LITERAL); // Copy generic chart properties from the old chart currentChart.setBlock(helperModel.getBlock()); currentChart.setDescription(helperModel.getDescription()); currentChart.setGridColumnCount(helperModel.getGridColumnCount()); currentChart.setSampleData(getConvertedSampleData(helperModel.getSampleData(), false)); currentChart.setScript(helperModel.getScript()); currentChart.setSeriesThickness(helperModel.getSeriesThickness()); currentChart.setUnits(helperModel.getUnits()); if (helperModel.getType().equals("Pie Chart")) { // Clear existing series definitions ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().clear(); // Copy base series definitions ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions().add( ((ChartWithoutAxes) helperModel).getSeriesDefinitions().get(0)); // Clear existing series definitions ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)) .getSeriesDefinitions().clear(); // Copy orthogonal series definitions ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getAssociatedAxes().get(0)) .getSeriesDefinitions().addAll( ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)) .getSeriesDefinitions().get(0)).getSeriesDefinitions()); // Update the base series Series series = ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)) .getSeriesDefinitions().get(0)).getDesignTimeSeries(); series = getConvertedSeries(series); // Clear existing series ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions() .get(0)).getSeries().clear(); // Add converted series ((SeriesDefinition) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)).getSeriesDefinitions() .get(0)).getSeries().add(series); // Update the orthogonal series EList seriesdefinitions = ((Axis) ((Axis) ((ChartWithAxes) currentChart).getAxes().get(0)) .getAssociatedAxes().get(0)).getSeriesDefinitions(); for (int j = 0; j < seriesdefinitions.size(); j++) { series = ((SeriesDefinition) seriesdefinitions.get(j)).getDesignTimeSeries(); series = getConvertedSeries(series); series.setStacked(false); // Clear any existing series ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().clear(); // Add the new series ((SeriesDefinition) seriesdefinitions.get(j)).getSeries().add(series); } } else { return null; } } if (currentChart instanceof ChartWithAxes && !((ChartWithAxes) currentChart).getOrientation().equals(newOrientation)) { ((ChartWithAxes) currentChart).setOrientation(newOrientation); } if (!currentChart.getDimension().equals(getDimensionFor(sNewDimension))) { currentChart.setDimension(getDimensionFor(sNewDimension)); } return currentChart; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/7793e94b4d7fab5891f226c6c937e37d85bebad8/ScatterChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/ScatterChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 14804, 336, 22063, 7984, 12, 7984, 783, 7984, 16, 514, 272, 1908, 30511, 16, 531, 12556, 394, 14097, 16, 3639, 514, 272, 1908, 8611, 13, 565, 288, 3639, 14804, 4222, 1488, 273, 261,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14804, 336, 22063, 7984, 12, 7984, 783, 7984, 16, 514, 272, 1908, 30511, 16, 531, 12556, 394, 14097, 16, 3639, 514, 272, 1908, 8611, 13, 565, 288, 3639, 14804, 4222, 1488, 273, 261,...
return new SingleCheckboxOptionsPanel(InspectionGadgetsBundle.message("primitive.fields.ignore.option"),
return new SingleCheckboxOptionsPanel( InspectionGadgetsBundle.message("primitive.fields.ignore.option"),
public JComponent createOptionsPanel(){ return new SingleCheckboxOptionsPanel(InspectionGadgetsBundle.message("primitive.fields.ignore.option"), this, "m_ignorePrimitives"); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/912f616da38dfe9d5389f4b0b0b889a672876818/InstanceVariableInitializationInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/initialization/InstanceVariableInitializationInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29058, 752, 1320, 5537, 1435, 95, 3639, 327, 394, 10326, 21272, 1320, 5537, 12, 22085, 7017, 43, 361, 14665, 3405, 18, 2150, 2932, 683, 5025, 18, 2821, 18, 6185, 18, 3482, 6, 3631, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29058, 752, 1320, 5537, 1435, 95, 3639, 327, 394, 10326, 21272, 1320, 5537, 12, 22085, 7017, 43, 361, 14665, 3405, 18, 2150, 2932, 683, 5025, 18, 2821, 18, 6185, 18, 3482, 6, 3631, ...
if ((p=project.getProperty("ant.netrexxc.sourcedir"))!=null) { this.sourcedir=Project.toBoolean(p);
if ((p = project.getProperty("ant.netrexxc.sourcedir")) != null) { this.sourcedir = Project.toBoolean(p);
public void init() { String p; if ((p=project.getProperty("ant.netrexxc.binary"))!=null) { this.binary=Project.toBoolean(p); } // classpath makes no sense if ((p=project.getProperty("ant.netrexxc.comments"))!=null) { this.comments=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.compact"))!=null) { this.compact=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.compile"))!=null) { this.compile=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.console"))!=null) { this.console=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.crossref"))!=null) { this.crossref=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.decimal"))!=null) { this.decimal=Project.toBoolean(p); // destDir } if ((p=project.getProperty("ant.netrexxc.diag"))!=null) { this.diag=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.explicit"))!=null) { this.explicit=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.format"))!=null) { this.format=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.java"))!=null) { this.java=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.keep"))!=null) { this.keep=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.logo"))!=null) { this.logo=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.replace"))!=null) { this.replace=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.savelog"))!=null) { this.savelog=Project.toBoolean(p); // srcDir } if ((p=project.getProperty("ant.netrexxc.sourcedir"))!=null) { this.sourcedir=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictargs"))!=null) { this.strictargs=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictassign"))!=null) { this.strictassign=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictcase"))!=null) { this.strictcase=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictimport"))!=null) { this.strictimport=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictprops"))!=null) { this.strictprops=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.strictsignal"))!=null) { this.strictsignal=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.symbols"))!=null) { this.symbols=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.time"))!=null) { this.time=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.trace"))!=null) { setTrace(p); } if ((p=project.getProperty("ant.netrexxc.utf8"))!=null) { this.utf8=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.verbose"))!=null) { setVerbose(p); } if ((p=project.getProperty("ant.netrexxc.suppressMethodArgumentNotUsed"))!=null) { this.suppressMethodArgumentNotUsed=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressPrivatePropertyNotUsed"))!=null) { this.suppressPrivatePropertyNotUsed=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressVariableNotUsed"))!=null) { this.suppressVariableNotUsed=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressExceptionNotSignalled"))!=null) { this.suppressExceptionNotSignalled=Project.toBoolean(p); } if ((p=project.getProperty("ant.netrexxc.suppressDeprecation"))!=null) { this.suppressDeprecation=Project.toBoolean(p); } }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c7b5b643b25b20f5c96097b2c54e2e26a054f212/NetRexxC.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/NetRexxC.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1435, 288, 3639, 514, 293, 31, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 8578, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1208, 1435, 288, 3639, 514, 293, 31, 3639, 309, 14015, 84, 33, 4406, 18, 588, 1396, 2932, 970, 18, 2758, 266, 5279, 71, 18, 8578, 6, 3719, 5, 33, 2011, 13, 288, 5411, 333, ...
BufferedImage scaledImg = powerOfTwoATOp.filter((BufferedImage)ri, null);
powerOfTwoATOp.filter(bi, scaledImg);
void evaluateExtNonPowerOfTwo(int ext) { // Only need to enforce for Raster or Background. if(!enforceNonPowerOfTwoSupport) { return; } // If npotSupported is false, a copy power of two image has been created // so we don't have to check again. if(!npotSupported) { return; } if (imageData == null && !isByReference()) { return; } if((ext & Canvas3D.TEXTURE_NON_POWER_OF_TWO) != 0) { return; } // NPOT is unsupported, set flag to false. npotSupported = false; int npotWidth; int npotHeight; // Always scale up if image size is smaller 512*512. if((width * height) < IMAGE_SIZE_512X512) { npotWidth = getCeilPowerOf2(width); npotHeight = getCeilPowerOf2(height); } else { npotWidth = getClosestPowerOf2(width); npotHeight = getClosestPowerOf2(height); } // System.err.println("width " + width + " height " + height + " npotWidth " + npotWidth + " npotHeight " + npotHeight); float xScale = (float)npotWidth/(float)width; float yScale = (float)npotHeight/(float)height; // scale if scales aren't 1.0 if (!(xScale == 1.0f && yScale == 1.0f)) { RenderedImage ri = null; if (imageData == null) { // This is a byRef, support format and is a RenderedImage case. // See ImageComponent2DRetained.set(RenderedImage image) ri = (RenderedImage) getRefImage(0); if(!(ri instanceof BufferedImage)) { // Create a buffered image from renderImage ColorModel cm = ri.getColorModel(); WritableRaster wRaster = ri.copyData(null); ri = new BufferedImage(cm, wRaster, cm.isAlphaPremultiplied() ,null); // Create image data object with buffer for image. */ imageData = createRenderedImageDataObject(null); copySupportedImageToImageData(ri, 0, imageData); } } assert imageData != null; ri = imageData.createBufferedImage(0); AffineTransform at = AffineTransform.getScaleInstance(xScale, yScale); powerOfTwoATOp = new AffineTransformOp(at, AffineTransformOp.TYPE_BILINEAR); BufferedImage scaledImg = powerOfTwoATOp.filter((BufferedImage)ri, null); imageDataPowerOfTwo = createRenderedImageDataObject(null, npotWidth, npotHeight); // Since ri is created from imageData, it's imageType is supported. copySupportedImageToImageData(scaledImg, 0, imageDataPowerOfTwo); } else { imageDataPowerOfTwo = null; } }
8698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8698/13c2b25663978af8afc7c52014cb84d1f5a67093/ImageComponentRetained.java/clean/src/classes/share/javax/media/j3d/ImageComponentRetained.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 5956, 2482, 3989, 13788, 951, 11710, 12, 474, 1110, 13, 288, 3639, 368, 5098, 1608, 358, 12980, 364, 30757, 578, 8977, 18, 3639, 309, 12, 5, 275, 5734, 3989, 13788, 951, 11710, 6289,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 5956, 2482, 3989, 13788, 951, 11710, 12, 474, 1110, 13, 288, 3639, 368, 5098, 1608, 358, 12980, 364, 30757, 578, 8977, 18, 3639, 309, 12, 5, 275, 5734, 3989, 13788, 951, 11710, 6289,...