rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if (fInDTD) { fDTDGrammar.endEntity(name); if (fDTDHandler != null) { fDTDHandler.endEntity(name); } } else { if (fDocumentHandler != null) { fDocumentHandler.endEntity(name); }
if (fDocumentHandler != null) { fDocumentHandler.endEntity(name, augs);
public void endEntity(String name) throws XNIException { // call handlers if (fInDTD) { fDTDGrammar.endEntity(name); if (fDTDHandler != null) { fDTDHandler.endEntity(name); } } else { if (fDocumentHandler != null) { fDocumentHandler.endEntity(name); } } } // endEntity(String)
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1281996de10d3af1b51f0b4d78cfcd75d8ade6fe/XMLDTDValidator.java/buggy/src/org/apache/xerces/impl/dtd/XMLDTDValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 1943, 12, 780, 508, 13, 1216, 1139, 50, 45, 503, 288, 3639, 368, 745, 4919, 3639, 309, 261, 74, 382, 25728, 13, 288, 5411, 284, 25728, 18576, 18, 409, 1943, 12, 529, 1769, 5411, 309, 261, 74, 25728, 1503, 480, 446, 13, 288, 7734, 284, 25728, 1503, 18, 409, 1943, 12, 529, 1769, 5411, 289, 3639, 289, 540, 469, 288, 5411, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 7734, 284, 2519, 1503, 18, 409, 1943, 12, 529, 1769, 5411, 289, 3639, 289, 565, 289, 368, 679, 1943, 12, 780, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 1943, 12, 780, 508, 13, 1216, 1139, 50, 45, 503, 288, 3639, 368, 745, 4919, 3639, 309, 261, 74, 382, 25728, 13, 288, 5411, 284, 25728, 18576, 18, 409, 1943, 12, 529, 1769, 5411, 309, 261, 74, 25728, 1503, 480, 446, 13, 288, 7734, 284, 25728, 1503, 18, 409, 1943, 12, 529, 1769, 5411, 289, 3639, 289, 540, 469, 288, 5411, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 7734, 284, 2519, 1503, 18, 409, 1943, 12, 529, 1769, 5411, 289, 3639, 289, 565, 289, 368, 679, 1943, 12, 780, 13, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List eventList = null;
boolean processSharedLibEvent(MIStoppedEvent stopped) { Session session = (Session)getSession(); MISession miSession = stopped.getMISession(); Target currentTarget = session.getTarget(miSession); SharedLibraryManager mgr = session.getSharedLibraryManager(); if (mgr.isDeferredBreakpoint()) { if (stopped instanceof MISharedLibEvent) { // Check if we have a new library loaded List eventList = null; try { eventList = mgr.updateState(currentTarget); } catch (CDIException e3) { eventList = Collections.EMPTY_LIST; } // A new Libraries loaded, try to set the breakpoints. if (eventList.size() > 0) { BreakpointManager bpMgr = session.getBreakpointManager(); ICDIBreakpoint bpoints[] = null; try { bpoints = bpMgr.getDeferredBreakpoints(currentTarget); } catch (CDIException e) { bpoints = new ICDIBreakpoint[0]; } for (int i = 0; i < bpoints.length; i++) { if (bpoints[i] instanceof Breakpoint) { Breakpoint bkpt = (Breakpoint)bpoints[i]; try { boolean enable = bkpt.isEnabled(); bpMgr.setLocationBreakpoint(bkpt); bpMgr.deleteFromDeferredList(bkpt); bpMgr.addToBreakpointList(bkpt); // If the breakpoint was disable in the IDE // install it but keep it disable if (!enable) { bpMgr.disableBreakpoint(bkpt); } MIBreakpoint[] miBreakpoints = bkpt.getMIBreakpoints(); if (miBreakpoints != null && miBreakpoints.length > 0) { eventList.add(new MIBreakpointCreatedEvent(miSession, miBreakpoints[0].getNumber())); } } catch (CDIException e) { // ignore } } } MIEvent[] events = (MIEvent[])eventList.toArray(new MIEvent[0]); miSession.fireEvents(events); } CommandFactory factory = miSession.getCommandFactory(); int type = (lastRunningEvent == null) ? MIRunningEvent.CONTINUE : lastRunningEvent.getType(); if (lastUserCommand == null) { switch (type) { case MIRunningEvent.NEXT: lastUserCommand = factory.createMIExecNext(1); break; case MIRunningEvent.NEXTI: lastUserCommand = factory.createMIExecNextInstruction(1); break; case MIRunningEvent.STEP: lastUserCommand = factory.createMIExecStep(1); break; case MIRunningEvent.STEPI: lastUserCommand = factory.createMIExecStepInstruction(1); break; case MIRunningEvent.FINISH: lastUserCommand = factory.createMIExecFinish(); break; case MIRunningEvent.RETURN: lastUserCommand = factory.createMIExecReturn(); break; case MIRunningEvent.CONTINUE: { MIExecContinue cont = factory.createMIExecContinue(); try { miSession.postCommand(cont); MIInfo info = cont.getMIInfo(); if (info == null) { // throw new CDIException("Target is not responding"); } } catch (MIException e) { // throw new MI2CDIException(e); } return true; // for the continue bailout early no need to the stuff below } } } int miLevel = 0; int tid = 0; Thread currentThread = null; try { currentThread = (Thread)currentTarget.getCurrentThread(); } catch (CDIException e1) { } tid = currentThread.getId(); // Select the old thread now. if (tid > 0) { MIThreadSelect selectThread = factory.createMIThreadSelect(tid); try { miSession.postCommand(selectThread); } catch (MIException e) { // ignore } } ICDIStackFrame frame = null; try { frame = currentThread.getCurrentStackFrame(); } catch (CDIException e2) { } int count = 0; try { MIStackInfoDepth depth = factory.createMIStackInfoDepth(); miSession.postCommand(depth); MIStackInfoDepthInfo info = depth.getMIStackInfoDepthInfo(); if (info == null) { //throw new CDIException("No answer"); } count = info.getDepth(); } catch (MIException e) { //throw new MI2CDIException(e); //System.out.println(e); } if (frame != null) { // Fortunately the ICDIStackFrame store the level // in ascending level the higher the stack the higher the level // GDB does the opposite the highest stack is 0. // This allow us to do some calculation, in figure out the // level of the old stack. The -1 is because gdb level is zero-based miLevel = count - frame.getLevel() - 1; } if (miLevel >= 0) { MIStackSelectFrame selectFrame = factory.createMIStackSelectFrame(miLevel); MIExecFinish finish = factory.createMIExecFinish(); try { miSession.postCommand(selectFrame); miSession.postCommand(finish); } catch (MIException e) { // ignore } } else { // if we are still at the same level in the backtrace // for example the StopEventLib was on a different thread // redo the last command. Command cmd = lastUserCommand; lastUserCommand = null; try { miSession.postCommand(cmd); } catch (MIException e) { // ignore } } return true; } else if (lastUserCommand != null) { Command cmd = lastUserCommand; lastUserCommand = null; try { miSession.postCommand(cmd); } catch (MIException e) { } return true; } } return false; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3264997df69613777a1d0c94d310bb478184cf27/EventManager.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6494, 1207, 7887, 5664, 1133, 12, 7492, 15294, 1133, 9627, 13, 288, 202, 202, 2157, 1339, 273, 261, 2157, 13, 588, 2157, 5621, 202, 202, 7492, 2157, 12837, 2157, 273, 9627, 18, 588, 7492, 2157, 5621, 202, 202, 2326, 783, 2326, 273, 1339, 18, 588, 2326, 12, 9197, 2157, 1769, 202, 202, 7887, 9313, 1318, 13333, 273, 1339, 18, 588, 7887, 9313, 1318, 5621, 202, 202, 430, 261, 13552, 18, 291, 16886, 20552, 10756, 288, 1082, 202, 430, 261, 24228, 1276, 20806, 7887, 5664, 1133, 13, 288, 9506, 202, 759, 2073, 309, 732, 1240, 279, 394, 5313, 4203, 9506, 202, 682, 871, 682, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 2575, 682, 273, 13333, 18, 2725, 1119, 12, 2972, 2326, 1769, 9506, 202, 97, 1044, 261, 39, 2565, 503, 425, 23, 13, 288, 6862, 202, 2575, 682, 273, 5737, 18, 13625, 67, 7085, 31, 9506, 202, 97, 9506, 202, 759, 432, 394, 10560, 11042, 4203, 16, 775, 358, 444, 326, 23416, 18, 9506, 202, 430, 261, 2575, 682, 18, 1467, 1435, 405, 374, 13, 288, 6862, 202, 20552, 1318, 9107, 9455, 273, 1339, 18, 588, 20552, 1318, 5621, 6862, 202, 2871, 2565, 20552, 324, 4139, 8526, 273, 446, 31, 6862, 202, 698, 288, 25083, 202, 70, 4139, 273, 9107, 9455, 18, 588, 16886, 7634, 4139, 12, 2972, 2326, 1769, 6862, 202, 97, 1044, 261, 39, 2565, 503, 425, 13, 288, 25083, 202, 70, 4139, 273, 394, 26899, 2565, 20552, 63, 20, 15533, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6494, 1207, 7887, 5664, 1133, 12, 7492, 15294, 1133, 9627, 13, 288, 202, 202, 2157, 1339, 273, 261, 2157, 13, 588, 2157, 5621, 202, 202, 7492, 2157, 12837, 2157, 273, 9627, 18, 588, 7492, 2157, 5621, 202, 202, 2326, 783, 2326, 273, 1339, 18, 588, 2326, 12, 9197, 2157, 1769, 202, 202, 7887, 9313, 1318, 13333, 273, 1339, 18, 588, 7887, 9313, 1318, 5621, 202, 202, 430, 261, 13552, 18, 291, 16886, 20552, 10756, 288, 1082, 202, 430, 261, 24228, 1276, 20806, 7887, 5664, 1133, 13, 288, 9506, 202, 759, 2073, 309, 732, 1240, 279, 394, 5313, 4203, 9506, 202, 682, 871, 682, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 2575, 682, 273, 13333, 18, 2 ]
if ( !isUpdateable() ) { throw new PSQLException( "postgresql.updateable.notupdateable" ); }
public synchronized void updateDouble(int columnIndex, double x) throws SQLException { if ( !isUpdateable() ) { throw new PSQLException( "postgresql.updateable.notupdateable" ); } if ( Driver.logDebug ) Driver.debug("updating double " + fields[columnIndex - 1].getName() + "=" + x); doingUpdates = !onInsertRow; updateValues.put( fields[columnIndex - 1].getName(), new Double(x) ); }
49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/289d9eea1298f2b85409b3e98857210fb69e8c9d/AbstractJdbc2ResultSet.java/buggy/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1089, 5265, 12, 474, 14882, 16, 1645, 619, 13, 202, 15069, 6483, 202, 95, 202, 202, 430, 261, 401, 291, 1891, 429, 1435, 262, 202, 202, 95, 1082, 202, 12849, 394, 453, 23116, 12, 315, 2767, 24330, 18, 2725, 429, 18, 902, 2725, 429, 6, 11272, 202, 202, 97, 202, 202, 430, 261, 9396, 18, 1330, 2829, 262, 1082, 202, 4668, 18, 4148, 2932, 5533, 1776, 1645, 315, 397, 1466, 63, 2827, 1016, 300, 404, 8009, 17994, 1435, 397, 9671, 397, 619, 1769, 202, 202, 2896, 310, 5121, 273, 401, 265, 4600, 1999, 31, 202, 202, 2725, 1972, 18, 458, 12, 1466, 63, 2827, 1016, 300, 404, 8009, 17994, 9334, 394, 3698, 12, 92, 13, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 1089, 5265, 12, 474, 14882, 16, 1645, 619, 13, 202, 15069, 6483, 202, 95, 202, 202, 430, 261, 401, 291, 1891, 429, 1435, 262, 202, 202, 95, 1082, 202, 12849, 394, 453, 23116, 12, 315, 2767, 24330, 18, 2725, 429, 18, 902, 2725, 429, 6, 11272, 202, 202, 97, 202, 202, 430, 261, 9396, 18, 1330, 2829, 262, 1082, 202, 4668, 18, 4148, 2932, 5533, 1776, 1645, 315, 397, 1466, 63, 2827, 1016, 300, 404, 8009, 17994, 1435, 397, 9671, 397, 619, 1769, 202, 202, 2896, 310, 5121, 273, 401, 265, 4600, 1999, 31, 202, 202, 2725, 1972, 18, 458, 12, 1466, 63, 2827, 1016, 300, 404, 8009, 17994, 9334, 394, 3698, 12, 92, 2 ]
public Object start() throws ReadOnlyException { LOG.debug("Pages used: " + domDb.debugPages(doc, false));
public Object start() { try { domDb.findKeys(idx); } catch (BTreeException e) { LOG.warn("start() - " + "error while removing doc", e); } catch (IOException e) { LOG.warn("start() - " + "error while removing doc", e); }
public Object start() throws ReadOnlyException { LOG.debug("Pages used: " + domDb.debugPages(doc, false)); return null; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1cdc39f2b9425c3dfaa7151e69c631212332b046/NativeBroker.java/clean/src/org/exist/storage/NativeBroker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 1033, 787, 1435, 1216, 20617, 503, 288, 10792, 2018, 18, 4148, 2932, 5716, 1399, 30, 315, 397, 4092, 4331, 18, 4148, 5716, 12, 2434, 16, 629, 10019, 10792, 327, 446, 31, 7734, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 1033, 787, 1435, 1216, 20617, 503, 288, 10792, 2018, 18, 4148, 2932, 5716, 1399, 30, 315, 397, 4092, 4331, 18, 4148, 5716, 12, 2434, 16, 629, 10019, 10792, 327, 446, 31, 7734, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (result.isEmpty())
if (result.isEmpty()) {
public IStructuredSelection convertToResources( IStructuredSelection originalSelection) { List result = new ArrayList(); Iterator elements = originalSelection.iterator(); while (elements.hasNext()) { Object currentElement = elements.next(); if (currentElement instanceof IResource) { // already a resource result.add(currentElement); } else if (currentElement instanceof IAdaptable) { Object adapter = ((IAdaptable) currentElement) .getAdapter(IResource.class); if (adapter != null) result.add(adapter); // add the converted resource } else { IAdapterManager adapterManager = Platform.getAdapterManager(); ResourceMapping mapping = (ResourceMapping) adapterManager .getAdapter(currentElement, ResourceMapping.class); ResourceTraversal[] traversals = null; try { traversals = mapping.getTraversals( ResourceMappingContext.LOCAL_CONTEXT, new NullProgressMonitor()); } catch (CoreException e) { IDEWorkbenchPlugin.log(e.getLocalizedMessage(), e .getStatus()); } if (traversals != null) { ResourceTraversal traversal = null; IResource[] resources = null; for (int i = 0; i < traversals.length; i++) { traversal = traversals[i]; resources = traversal.getResources(); if (resources != null) { for (int j = 0; j < resources.length; j++) { result.add(resources[j]); }// for }// if }// for }// if } } // all that can be converted are done, answer new selection if (result.isEmpty()) return StructuredSelection.EMPTY; return new StructuredSelection(result.toArray()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/IDESelectionConversionService.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDESelectionConversionService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 30733, 6233, 8137, 3805, 12, 1082, 202, 45, 30733, 6233, 2282, 6233, 13, 288, 202, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 3198, 2186, 273, 2282, 6233, 18, 9838, 5621, 202, 202, 17523, 261, 6274, 18, 5332, 2134, 10756, 288, 1082, 202, 921, 22993, 273, 2186, 18, 4285, 5621, 1082, 202, 430, 261, 2972, 1046, 1276, 467, 1420, 13, 288, 368, 1818, 279, 1058, 9506, 202, 2088, 18, 1289, 12, 2972, 1046, 1769, 1082, 202, 97, 469, 309, 261, 2972, 1046, 1276, 467, 13716, 429, 13, 288, 9506, 202, 921, 4516, 273, 14015, 45, 13716, 429, 13, 22993, 13, 25083, 202, 18, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 9506, 202, 430, 261, 10204, 480, 446, 13, 6862, 202, 2088, 18, 1289, 12, 10204, 1769, 368, 527, 326, 5970, 1058, 1082, 202, 97, 469, 288, 9506, 202, 45, 4216, 1318, 4516, 1318, 273, 11810, 18, 588, 4216, 1318, 5621, 9506, 202, 1420, 3233, 2874, 273, 261, 1420, 3233, 13, 4516, 1318, 25083, 202, 18, 588, 4216, 12, 2972, 1046, 16, 2591, 3233, 18, 1106, 1769, 9506, 202, 1420, 25087, 8526, 10704, 1031, 273, 446, 31, 9506, 202, 698, 288, 6862, 202, 31750, 1031, 273, 2874, 18, 588, 15844, 1031, 12, 6862, 1082, 202, 1420, 3233, 1042, 18, 14922, 67, 13181, 16, 6862, 1082, 202, 2704, 4112, 5491, 7187, 10663, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 10385, 2421, 22144, 3773, 18, 1330, 12, 73, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 30733, 6233, 8137, 3805, 12, 1082, 202, 45, 30733, 6233, 2282, 6233, 13, 288, 202, 202, 682, 563, 273, 394, 2407, 5621, 202, 202, 3198, 2186, 273, 2282, 6233, 18, 9838, 5621, 202, 202, 17523, 261, 6274, 18, 5332, 2134, 10756, 288, 1082, 202, 921, 22993, 273, 2186, 18, 4285, 5621, 1082, 202, 430, 261, 2972, 1046, 1276, 467, 1420, 13, 288, 368, 1818, 279, 1058, 9506, 202, 2088, 18, 1289, 12, 2972, 1046, 1769, 1082, 202, 97, 469, 309, 261, 2972, 1046, 1276, 467, 13716, 429, 13, 288, 9506, 202, 921, 4516, 273, 14015, 45, 13716, 429, 13, 22993, 13, 25083, 202, 18, 588, 4216, 12, 45, 1420, 18, 1106, 1769, 9506, 202, 430, 2 ]
protected IStatus run(IProgressMonitor monitor) { monitor.beginTask(JOB_LABEL, queries.size()); for (AbstractRepositoryQuery repositoryQuery : queries) { monitor.setTaskName("Synchronizing: " + repositoryQuery.getDescription()); setProperty(IProgressConstants.ICON_PROPERTY, TaskListImages.REPOSITORY_SYNCHRONIZE); repositoryQuery.setCurrentlySynchronizing(true); TaskRepository repository = MylarTaskListPlugin.getRepositoryManager().getRepository( repositoryQuery.getRepositoryKind(), repositoryQuery.getRepositoryUrl()); if (repository == null) { PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { public void run() { MessageDialog .openInformation(Display.getDefault().getActiveShell(), MylarTaskListPlugin.TITLE_DIALOG, "No task repository associated with this query. Open the query to associate it with a repository."); } }); } MultiStatus queryStatus = new MultiStatus(MylarTaskListPlugin.PLUGIN_ID, IStatus.OK, "Query result", null); hits = this.connector.performQuery(repositoryQuery, monitor, queryStatus); if (queryStatus.getChildren() != null && queryStatus.getChildren().length > 0) { if (queryStatus.getChildren()[0].getException() == null) { repositoryQuery.clearHits(); for (AbstractQueryHit newHit : hits) { repositoryQuery.addHit(newHit); if (newHit.getCorrespondingTask() != null && newHit instanceof AbstractQueryHit && newHit.getCorrespondingTask().getSyncState() == RepositoryTaskSyncState.SYNCHRONIZED) { this.connector.requestRefresh(newHit.getCorrespondingTask()); } } } else { repositoryQuery.setCurrentlySynchronizing(false); return queryStatus.getChildren()[0]; } } repositoryQuery.setCurrentlySynchronizing(false); repositoryQuery.setLastRefresh(new Date()); MylarTaskListPlugin.getTaskListManager().getTaskList().notifyQueryUpdated(repositoryQuery); monitor.worked(1); } return Status.OK_STATUS; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/677d1b3b7f1dbfbeed7ef8d28319b14f66edbc4d/SynchronizeQueryJob.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/SynchronizeQueryJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 10259, 18, 10086, 2174, 12, 18321, 67, 13545, 16, 6218, 18, 1467, 10663, 202, 202, 1884, 261, 7469, 3305, 1138, 3352, 1138, 294, 6218, 13, 288, 1082, 202, 10259, 18, 542, 2174, 461, 2932, 19298, 6894, 30, 315, 397, 3352, 1138, 18, 588, 3291, 10663, 1082, 202, 542, 1396, 12, 45, 5491, 2918, 18, 21745, 67, 9900, 16, 3837, 682, 8946, 18, 862, 30986, 67, 7474, 50, 1792, 19359, 15641, 1769, 1082, 202, 9071, 1138, 18, 542, 3935, 715, 19298, 6894, 12, 3767, 1769, 1082, 202, 2174, 3305, 3352, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 1138, 18, 588, 3305, 5677, 9334, 3352, 1138, 18, 588, 3305, 1489, 10663, 1082, 202, 430, 261, 9071, 422, 446, 13, 288, 9506, 202, 8201, 5370, 18, 588, 2421, 22144, 7675, 588, 4236, 7675, 3810, 1905, 12, 2704, 10254, 1435, 288, 6862, 202, 482, 918, 1086, 1435, 288, 25083, 202, 1079, 6353, 6862, 9506, 202, 18, 3190, 5369, 12, 4236, 18, 588, 1868, 7675, 588, 3896, 13220, 9334, 6862, 25083, 202, 12062, 7901, 2174, 682, 3773, 18, 14123, 67, 2565, 18683, 16, 6862, 25083, 202, 6, 2279, 1562, 3352, 3627, 598, 333, 843, 18, 3502, 326, 843, 358, 13251, 518, 598, 279, 3352, 1199, 1769, 6862, 202, 97, 9506, 202, 22938, 1082, 202, 97, 1082, 202, 5002, 1482, 843, 1482, 273, 394, 5991, 1482, 12, 12062, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 1482, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 202, 202, 10259, 18, 10086, 2174, 12, 18321, 67, 13545, 16, 6218, 18, 1467, 10663, 202, 202, 1884, 261, 7469, 3305, 1138, 3352, 1138, 294, 6218, 13, 288, 1082, 202, 10259, 18, 542, 2174, 461, 2932, 19298, 6894, 30, 315, 397, 3352, 1138, 18, 588, 3291, 10663, 1082, 202, 542, 1396, 12, 45, 5491, 2918, 18, 21745, 67, 9900, 16, 3837, 682, 8946, 18, 862, 30986, 67, 7474, 50, 1792, 19359, 15641, 1769, 1082, 202, 9071, 1138, 18, 542, 3935, 715, 19298, 6894, 12, 3767, 1769, 1082, 202, 2174, 3305, 3352, 273, 8005, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 2 ]
JOptionPane.showMessageDialog ( MainFrame.this, "This file is open in DrJava. You may not overwrite it.", "File Open Warning", JOptionPane.WARNING_MESSAGE);
_warnFileOpen();
public void warnFileOpen() { // If we'd like to change to an error message for this, instead // of a warning, change both incidents of WARNING to ERROR. JOptionPane.showMessageDialog ( MainFrame.this, "This file is open in DrJava. You may not overwrite it.", "File Open Warning", JOptionPane.WARNING_MESSAGE); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/28f2b1ea23c948581f63408215b04510a86e87f3/MainFrame.java/buggy/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1894, 812, 3678, 1435, 288, 1377, 368, 971, 732, 14271, 3007, 358, 2549, 358, 392, 555, 883, 364, 333, 16, 3560, 1377, 368, 434, 279, 3436, 16, 2549, 3937, 7290, 350, 4877, 434, 9744, 358, 5475, 18, 1377, 804, 1895, 8485, 18, 4500, 1079, 6353, 3639, 261, 12740, 3219, 18, 2211, 16, 540, 315, 2503, 585, 353, 1696, 316, 11473, 5852, 18, 225, 4554, 2026, 486, 6156, 518, 1199, 16, 540, 315, 812, 3502, 9728, 3113, 540, 804, 1895, 8485, 18, 9511, 67, 8723, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1894, 812, 3678, 1435, 288, 1377, 368, 971, 732, 14271, 3007, 358, 2549, 358, 392, 555, 883, 364, 333, 16, 3560, 1377, 368, 434, 279, 3436, 16, 2549, 3937, 7290, 350, 4877, 434, 9744, 358, 5475, 18, 1377, 804, 1895, 8485, 18, 4500, 1079, 6353, 3639, 261, 12740, 3219, 18, 2211, 16, 540, 315, 2503, 585, 353, 1696, 316, 11473, 5852, 18, 225, 4554, 2026, 486, 6156, 518, 1199, 16, 540, 315, 812, 3502, 9728, 3113, 540, 804, 1895, 8485, 18, 9511, 67, 8723, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Result result = execute("SELECT { [Store Sales] } ON COLUMNS," + nl + " TOPCOUNT( Filter( [Store].[Store Name].Members," + nl + " [Store].CurrentMember.Properties(\"Store Type\") = \"Supermarket\" )," + nl + " 10, [Store Sales]) ON ROWS" + nl + "FROM [Sales]");
Result result = executeQuery( wrap(new String[] { "SELECT { [Store Sales] } ON COLUMNS,", " TOPCOUNT( Filter( [Store].[Store Name].Members,", " [Store].CurrentMember.Properties(\"Store Type\") = \"Supermarket\" ),", " 10, [Store Sales]) ON ROWS", "FROM [Sales]"}));
public void testPropertiesFilter() { Result result = execute("SELECT { [Store Sales] } ON COLUMNS," + nl + " TOPCOUNT( Filter( [Store].[Store Name].Members," + nl + " [Store].CurrentMember.Properties(\"Store Type\") = \"Supermarket\" )," + nl + " 10, [Store Sales]) ON ROWS" + nl + "FROM [Sales]"); Assert.assertEquals(8, result.getAxes()[1].positions.length); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/3041f930b5fc4bf6aa3339845b828801c1d8b366/FunctionTest.java/clean/testsrc/main/mondrian/olap/fun/FunctionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2297, 1586, 1435, 288, 3639, 3438, 563, 273, 1836, 2932, 4803, 288, 306, 2257, 25996, 65, 289, 6229, 5597, 19639, 10837, 397, 7741, 397, 7734, 315, 8493, 3513, 51, 5321, 12, 4008, 12, 306, 2257, 8009, 63, 2257, 1770, 8009, 6918, 10837, 397, 7741, 397, 7734, 315, 10402, 306, 2257, 8009, 3935, 4419, 18, 2297, 23031, 2257, 1412, 2412, 13, 273, 1239, 3088, 9924, 278, 2412, 262, 10837, 397, 7741, 397, 7734, 315, 6647, 1728, 16, 306, 2257, 25996, 5717, 6229, 6525, 2651, 6, 397, 7741, 397, 7734, 315, 11249, 306, 23729, 4279, 1769, 3639, 5452, 18, 11231, 8867, 12, 28, 16, 563, 18, 588, 26494, 1435, 63, 21, 8009, 12388, 18, 2469, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2297, 1586, 1435, 288, 3639, 3438, 563, 273, 1836, 2932, 4803, 288, 306, 2257, 25996, 65, 289, 6229, 5597, 19639, 10837, 397, 7741, 397, 7734, 315, 8493, 3513, 51, 5321, 12, 4008, 12, 306, 2257, 8009, 63, 2257, 1770, 8009, 6918, 10837, 397, 7741, 397, 7734, 315, 10402, 306, 2257, 8009, 3935, 4419, 18, 2297, 23031, 2257, 1412, 2412, 13, 273, 1239, 3088, 9924, 278, 2412, 262, 10837, 397, 7741, 397, 7734, 315, 6647, 1728, 16, 306, 2257, 25996, 5717, 6229, 6525, 2651, 6, 397, 7741, 397, 7734, 315, 11249, 306, 23729, 4279, 1769, 3639, 5452, 18, 11231, 8867, 12, 28, 16, 563, 18, 588, 26494, 1435, 63, 21, 8009, 12388, 18, 2469, 1769, 565, 2 ]
if (!"".equals(path) && !path.startsWith("/")) {
if (CmsStringUtil.isNotEmpty(path) && !path.startsWith("/")) {
public static String getSitePath(CmsObject cms, String relativePath, String targetUri) { if (cms == null) { // required by unit test cases return targetUri; } URI uri; String path; String fragment; String query; String suffix; // malformed uri try { uri = new URI(targetUri); path = uri.getPath(); fragment = uri.getFragment(); if (fragment != null) { fragment = "#" + fragment; } else { fragment = ""; } query = uri.getQuery(); if (query != null) { query = "?" + query; } else { query = ""; } } catch (Exception e) { if (LOG.isWarnEnabled()) { LOG.warn(Messages.get().key(Messages.LOG_MALFORMED_URI_1, targetUri), e); } return null; } // concat fragment and query suffix = fragment.concat(query); // opaque URI if (uri.isOpaque()) { return null; } // absolute URI (i.e. uri has a scheme component like http:// ...) if (uri.isAbsolute()) { CmsSiteMatcher matcher = new CmsSiteMatcher(targetUri); if (OpenCms.getSiteManager().isMatching(matcher)) { if (path.startsWith(OpenCms.getSystemInfo().getOpenCmsContext())) { path = path.substring(OpenCms.getSystemInfo().getOpenCmsContext().length()); } return cms.getRequestContext().addSiteRoot( OpenCms.getSiteManager().matchSite(matcher).getSiteRoot(), path + suffix); } else { return null; } } // relative URI (i.e. no scheme component, but filename can still start with "/") String context = OpenCms.getSystemInfo().getOpenCmsContext(); if ((context != null) && path.startsWith(context)) { // URI is starting with opencms context String siteRoot = null; if (relativePath != null) { siteRoot = CmsSiteManager.getSiteRoot(relativePath); } // cut context from path path = path.substring(context.length()); if (siteRoot != null) { // special case: relative path contains a site root, i.e. we are in the root site if (!path.startsWith(siteRoot)) { // path does not already start with the site root, we have to add this path as site prefix return cms.getRequestContext().addSiteRoot(siteRoot, path + suffix); } else { // since path already contains the site root, we just leave it unchanged return path + suffix; } } else { // site root is added with standard mechanism return cms.getRequestContext().addSiteRoot(path + suffix); } } // URI with relative path is relative to the given relativePath if available and in a site, // otherwise invalid if (!"".equals(path) && !path.startsWith("/")) { if (relativePath != null) { String absolutePath = getAbsoluteUri(path, cms.getRequestContext().addSiteRoot(relativePath)); if (CmsSiteManager.getSiteRoot(absolutePath) != null) { return absolutePath + suffix; } } return null; } // relative uri (= vfs path relative to currently selected site root) if (!"".equals(path)) { return cms.getRequestContext().addSiteRoot(path) + suffix; } // uri without path (typically local link) return suffix; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/d6b5089281646a808cd03ce9039138d8b4818362/CmsLinkManager.java/buggy/src/org/opencms/staticexport/CmsLinkManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 29224, 12, 4747, 921, 6166, 16, 514, 12820, 16, 514, 1018, 3006, 13, 288, 3639, 309, 261, 6851, 422, 446, 13, 288, 5411, 368, 1931, 635, 2836, 1842, 6088, 5411, 327, 1018, 3006, 31, 3639, 289, 3639, 3699, 2003, 31, 3639, 514, 589, 31, 3639, 514, 5481, 31, 3639, 514, 843, 31, 3639, 514, 3758, 31, 3639, 368, 17458, 2003, 3639, 775, 288, 5411, 2003, 273, 394, 3699, 12, 3299, 3006, 1769, 5411, 589, 273, 2003, 18, 588, 743, 5621, 5411, 5481, 273, 2003, 18, 588, 7456, 5621, 5411, 309, 261, 11956, 480, 446, 13, 288, 7734, 5481, 273, 13092, 397, 5481, 31, 5411, 289, 469, 288, 7734, 5481, 273, 1408, 31, 5411, 289, 5411, 843, 273, 2003, 18, 588, 1138, 5621, 5411, 309, 261, 2271, 480, 446, 13, 288, 7734, 843, 273, 13574, 397, 843, 31, 5411, 289, 469, 288, 7734, 843, 273, 1408, 31, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 309, 261, 4842, 18, 291, 3160, 1526, 10756, 288, 7734, 2018, 18, 8935, 12, 5058, 18, 588, 7675, 856, 12, 5058, 18, 4842, 67, 49, 1013, 7473, 25773, 67, 3098, 67, 21, 16, 1018, 3006, 3631, 425, 1769, 5411, 289, 5411, 327, 446, 31, 3639, 289, 3639, 368, 3835, 5481, 471, 843, 540, 3758, 273, 5481, 18, 16426, 12, 2271, 1769, 3639, 368, 22519, 3699, 3639, 309, 261, 1650, 18, 291, 3817, 14886, 10756, 288, 5411, 327, 446, 31, 3639, 289, 3639, 368, 4967, 3699, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 29224, 12, 4747, 921, 6166, 16, 514, 12820, 16, 514, 1018, 3006, 13, 288, 3639, 309, 261, 6851, 422, 446, 13, 288, 5411, 368, 1931, 635, 2836, 1842, 6088, 5411, 327, 1018, 3006, 31, 3639, 289, 3639, 3699, 2003, 31, 3639, 514, 589, 31, 3639, 514, 5481, 31, 3639, 514, 843, 31, 3639, 514, 3758, 31, 3639, 368, 17458, 2003, 3639, 775, 288, 5411, 2003, 273, 394, 3699, 12, 3299, 3006, 1769, 5411, 589, 273, 2003, 18, 588, 743, 5621, 5411, 5481, 273, 2003, 18, 588, 7456, 5621, 5411, 309, 261, 11956, 480, 446, 13, 288, 7734, 5481, 273, 13092, 397, 5481, 31, 5411, 289, 469, 288, 7734, 5481, 273, 1408, 31, 5411, 289, 5411, 2 ]
private static int toPrototypeId(String s) { int id;// #generated# Last update: 2001-04-23 12:50:07 GMT+02:00 L0: { id = 0; String X = null; int c; L: switch (s.length()) { case 3: c=s.charAt(2); if (c=='b') { if (s.charAt(0)=='s' && s.charAt(1)=='u') {id=Id_sub; break L0;} } else if (c=='g') { if (s.charAt(0)=='b' && s.charAt(1)=='i') {id=Id_big; break L0;} } else if (c=='p') { if (s.charAt(0)=='s' && s.charAt(1)=='u') {id=Id_sup; break L0;} } break L; case 4: c=s.charAt(0); if (c=='b') { X="bold";id=Id_bold; } else if (c=='l') { X="link";id=Id_link; } break L; case 5: switch (s.charAt(4)) { case 'd': X="fixed";id=Id_fixed; break L; case 'e': X="slice";id=Id_slice; break L; case 'h': X="match";id=Id_match; break L; case 'k': X="blink";id=Id_blink; break L; case 'l': X="small";id=Id_small; break L; case 't': X="split";id=Id_split; break L; } break L; case 6: switch (s.charAt(1)) { case 'e': c=s.charAt(0); if (c=='l') { X="length";id=Id_length; } else if (c=='s') { X="search";id=Id_search; } break L; case 'h': X="charAt";id=Id_charAt; break L; case 'n': X="anchor";id=Id_anchor; break L; case 'o': X="concat";id=Id_concat; break L; case 'q': X="equals";id=Id_equals; break L; case 't': X="strike";id=Id_strike; break L; case 'u': X="substr";id=Id_substr; break L; } break L; case 7: switch (s.charAt(1)) { case 'a': X="valueOf";id=Id_valueOf; break L; case 'e': X="replace";id=Id_replace; break L; case 'n': X="indexOf";id=Id_indexOf; break L; case 't': X="italics";id=Id_italics; break L; } break L; case 8: c=s.charAt(0); if (c=='f') { X="fontsize";id=Id_fontsize; } else if (c=='t') { X="toString";id=Id_toString; } break L; case 9: c=s.charAt(0); if (c=='f') { X="fontcolor";id=Id_fontcolor; } else if (c=='s') { X="substring";id=Id_substring; } break L; case 10: X="charCodeAt";id=Id_charCodeAt; break L; case 11: switch (s.charAt(2)) { case 'L': X="toLowerCase";id=Id_toLowerCase; break L; case 'U': X="toUpperCase";id=Id_toUpperCase; break L; case 'n': X="constructor";id=Id_constructor; break L; case 's': X="lastIndexOf";id=Id_lastIndexOf; break L; } break L; case 16: X="equalsIgnoreCase";id=Id_equalsIgnoreCase; break L; } if (X!=null && X!=s && !X.equals(s)) id = 0; }// #/generated# return id; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/46abef99b96acbce8fc70d1fda52378933e3d9c8/NativeString.java/clean/js/rhino/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 358, 15846, 548, 12, 780, 272, 13, 565, 288, 3639, 509, 612, 31, 759, 468, 11168, 7, 6825, 1089, 30, 4044, 21, 17, 3028, 17, 4366, 2593, 30, 3361, 30, 8642, 21706, 15, 3103, 30, 713, 3639, 511, 20, 30, 288, 612, 273, 374, 31, 514, 1139, 273, 446, 31, 509, 276, 31, 5411, 511, 30, 1620, 261, 87, 18, 2469, 10756, 288, 5411, 648, 890, 30, 276, 33, 87, 18, 3001, 861, 12, 22, 1769, 7734, 309, 261, 71, 18920, 70, 6134, 288, 309, 261, 87, 18, 3001, 861, 12, 20, 13, 18920, 87, 11, 597, 272, 18, 3001, 861, 12, 21, 13, 18920, 89, 6134, 288, 350, 33, 548, 67, 1717, 31, 898, 511, 20, 31, 97, 289, 7734, 469, 309, 261, 71, 18920, 75, 6134, 288, 309, 261, 87, 18, 3001, 861, 12, 20, 13, 18920, 70, 11, 597, 272, 18, 3001, 861, 12, 21, 13, 18920, 77, 6134, 288, 350, 33, 548, 67, 14002, 31, 898, 511, 20, 31, 97, 289, 7734, 469, 309, 261, 71, 18920, 84, 6134, 288, 309, 261, 87, 18, 3001, 861, 12, 20, 13, 18920, 87, 11, 597, 272, 18, 3001, 861, 12, 21, 13, 18920, 89, 6134, 288, 350, 33, 548, 67, 2859, 31, 898, 511, 20, 31, 97, 289, 7734, 898, 511, 31, 5411, 648, 1059, 30, 276, 33, 87, 18, 3001, 861, 12, 20, 1769, 7734, 309, 261, 71, 18920, 70, 6134, 288, 1139, 1546, 16390, 14432, 350, 33, 548, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 358, 15846, 548, 12, 780, 272, 13, 565, 288, 3639, 509, 612, 31, 759, 468, 11168, 7, 6825, 1089, 30, 4044, 21, 17, 3028, 17, 4366, 2593, 30, 3361, 30, 8642, 21706, 15, 3103, 30, 713, 3639, 511, 20, 30, 288, 612, 273, 374, 31, 514, 1139, 273, 446, 31, 509, 276, 31, 5411, 511, 30, 1620, 261, 87, 18, 2469, 10756, 288, 5411, 648, 890, 30, 276, 33, 87, 18, 3001, 861, 12, 22, 1769, 7734, 309, 261, 71, 18920, 70, 6134, 288, 309, 261, 87, 18, 3001, 861, 12, 20, 13, 18920, 87, 11, 597, 272, 18, 3001, 861, 12, 21, 13, 18920, 89, 6134, 288, 350, 33, 548, 67, 1717, 31, 898, 2 ]
rubyArgs[i + 2] = JavaObject.wrap(recv.getRuntime(), args[i]);
rubyArgs[i + 2] = JavaObject.wrap(recv.getRuntime(), nargs[i]);
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()); } })); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/ca6b16e996ea9af83ce593594b9c69b9364a9924/Java.java/clean/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, 5411, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 2932, 21530, 468, 434, 1775, 2932, 397, 833, 18, 2469, 397, 315, 364, 404, 2225, 1769, 3639, 289, 3639, 727, 19817, 15417, 5418, 273, 833, 63, 1968, 18, 2469, 300, 404, 65, 1276, 19817, 15417, 692, 261, 54, 10340, 15417, 13, 1968, 63, 1968, 18, 2469, 300, 404, 65, 294, 10665, 18, 588, 5576, 7675, 2704, 15417, 5621, 3639, 509, 963, 273, 833, 63, 1968, 18, 2469, 300, 404, 65, 1276, 19817, 15417, 692, 833, 18, 2469, 300, 404, 294, 833, 18, 2469, 31, 3639, 1659, 8526, 7349, 273, 394, 1659, 63, 1467, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 31, 277, 27245, 288, 5411, 309, 16051, 12, 1968, 63, 77, 65, 1276, 29491, 13, 747, 401, 12443, 5852, 797, 13, 1968, 63, 77, 65, 2934, 5831, 67, 84, 7675, 291, 5510, 10756, 288, 7734, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 2932, 5852, 1560, 2665, 1199, 1769, 5411, 289, 5411, 7349, 63, 77, 65, 273, 14015, 5852, 797, 13, 833, 63, 77, 65, 2934, 6290, 797, 5621, 3639, 289, 3639, 327, 5110, 921, 18, 4113, 12, 18334, 18, 588, 5576, 9334, 7659, 18, 2704, 3886, 1442, 12, 18334, 18, 588, 5576, 7675, 588, 5852, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 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, 5411, 604, 10665, 18, 588, 5576, 7675, 2704, 1379, 668, 2932, 21530, 468, 434, 1775, 2932, 397, 833, 18, 2469, 397, 315, 364, 404, 2225, 1769, 3639, 289, 3639, 727, 19817, 15417, 5418, 273, 833, 63, 1968, 18, 2469, 300, 404, 65, 1276, 19817, 15417, 692, 261, 54, 10340, 15417, 13, 1968, 63, 1968, 18, 2469, 300, 404, 65, 294, 10665, 18, 588, 5576, 7675, 2704, 15417, 5621, 3639, 509, 963, 273, 833, 63, 1968, 18, 2469, 300, 404, 65, 1276, 19817, 15417, 692, 2 ]
BufferedReader reader = new BufferedReader(new FileReader(file.getLocation().toOSString()));
BufferedReader reader = new BufferedReader(new FileReader(file .getLocation().toOSString()));
private IDocument createDocument(IResource file) throws Exception { BufferedReader reader = new BufferedReader(new FileReader(file.getLocation().toOSString())); StringBuffer buffer = new StringBuffer(); while (reader.ready()) { buffer.append((char)reader.read()); } reader.close(); return new Document(buffer.toString()); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/fb8cc99347ed89eba89feea8ec146c92f358e9b0/MigratePluginWizard.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/tools/MigratePluginWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1599, 504, 650, 27569, 12, 45, 1420, 585, 13, 1216, 1185, 288, 202, 202, 17947, 2514, 2949, 273, 202, 202, 2704, 10633, 12, 2704, 23010, 12, 768, 18, 588, 2735, 7675, 869, 4618, 780, 1435, 10019, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 17523, 261, 10530, 18, 1672, 10756, 288, 1082, 202, 4106, 18, 6923, 12443, 3001, 13, 10530, 18, 896, 10663, 202, 202, 97, 202, 202, 10530, 18, 4412, 5621, 202, 202, 2463, 394, 4319, 12, 4106, 18, 10492, 10663, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1599, 504, 650, 27569, 12, 45, 1420, 585, 13, 1216, 1185, 288, 202, 202, 17947, 2514, 2949, 273, 202, 202, 2704, 10633, 12, 2704, 23010, 12, 768, 18, 588, 2735, 7675, 869, 4618, 780, 1435, 10019, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 202, 202, 17523, 261, 10530, 18, 1672, 10756, 288, 1082, 202, 4106, 18, 6923, 12443, 3001, 13, 10530, 18, 896, 10663, 202, 202, 97, 202, 202, 10530, 18, 4412, 5621, 202, 202, 2463, 394, 4319, 12, 4106, 18, 10492, 10663, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public boolean isType( TypeInfo.eType type, TypeInfo.eType upperType );
public boolean isType( TypeInfo.eType type );
public boolean isType( TypeInfo.eType type, TypeInfo.eType upperType );
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/5be9f16c62f0d96b0b15c3ec0642ea39b98ee65b/ISymbol.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/ISymbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20805, 12, 1412, 966, 18, 73, 559, 618, 16, 1412, 966, 18, 73, 559, 3854, 559, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 20805, 12, 1412, 966, 18, 73, 559, 618, 16, 1412, 966, 18, 73, 559, 3854, 559, 11272, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return cleanupInterval; }
return cleanupInterval; }
public int getCleanupInterval() { return cleanupInterval; }
3071 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3071/8129aa34ead4526d50e88ca158f47d9dedf9c74d/MagicPlanetImageComponent.java/clean/src/openmap/com/bbn/openmap/image/MagicPlanetImageComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1927, 298, 304, 416, 4006, 1435, 288, 202, 202, 2463, 6686, 4006, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1927, 298, 304, 416, 4006, 1435, 288, 202, 202, 2463, 6686, 4006, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(!indexVarOnlyUsedAsListIndex((PsiVariable) resolved, indexVar, body)){
final PsiVariable variable = (PsiVariable)resolved; final PsiStatement body = forStatement.getBody(); if(!indexVarOnlyUsedAsListIndex(variable, indexVar, body)) {
private static boolean isIndexedListLoopStatement( final PsiForStatement forStatement){ final PsiStatement initialization = forStatement.getInitialization(); if(!(initialization instanceof PsiDeclarationStatement)){ return false; } final PsiDeclarationStatement declaration = (PsiDeclarationStatement) initialization; if(declaration.getDeclaredElements().length != 1){ return false; } final PsiLocalVariable indexVar = (PsiLocalVariable) declaration .getDeclaredElements()[0]; final PsiExpression initialValue = indexVar.getInitializer(); if(initialValue == null){ return false; } final String initializerText = initialValue.getText(); if(!"0".equals(initializerText)){ return false; } final PsiExpression condition = forStatement.getCondition(); if(!isListSizeComparison(condition, indexVar)){ return false; } final PsiStatement update = forStatement.getUpdate(); if(!isIncrement(update, indexVar)){ return false; } final PsiReferenceExpression collectionReference = getVariableReferenceFromCondition( condition); final PsiStatement body = forStatement.getBody(); if(body == null){ return false; } PsiElement resolved = collectionReference.resolve(); if(!(resolved instanceof PsiVariable)){ return false; } if(!indexVarOnlyUsedAsListIndex((PsiVariable) resolved, indexVar, body)){ return false; } final String collectionName = collectionReference.getText(); return !isVariableAssigned(collectionName, body); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8629082a2f885120180c8da4e7204776468af6a2/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/jdk15/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 353, 15034, 682, 6452, 3406, 12, 5411, 727, 453, 7722, 1290, 3406, 364, 3406, 15329, 3639, 727, 453, 7722, 3406, 10313, 273, 364, 3406, 18, 588, 17701, 5621, 3639, 309, 12, 5, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 6094, 3406, 8266, 273, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 3639, 309, 12, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2042, 3092, 770, 1537, 273, 261, 52, 7722, 2042, 3092, 13, 8266, 7734, 263, 588, 18888, 3471, 1435, 63, 20, 15533, 3639, 727, 453, 7722, 2300, 11837, 273, 770, 1537, 18, 588, 14729, 5621, 3639, 309, 12, 6769, 620, 422, 446, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 727, 514, 12562, 1528, 273, 11837, 18, 588, 1528, 5621, 3639, 309, 12, 4442, 20, 9654, 14963, 12, 22181, 1528, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 2269, 273, 364, 3406, 18, 588, 3418, 5621, 3639, 309, 12, 5, 291, 682, 1225, 16059, 12, 4175, 16, 770, 1537, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 3406, 1089, 273, 364, 3406, 18, 588, 1891, 5621, 3639, 309, 12, 5, 291, 10798, 12, 2725, 16, 770, 1537, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2404, 2300, 1849, 2404, 273, 13522, 2404, 1265, 3418, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1250, 353, 15034, 682, 6452, 3406, 12, 5411, 727, 453, 7722, 1290, 3406, 364, 3406, 15329, 3639, 727, 453, 7722, 3406, 10313, 273, 364, 3406, 18, 588, 17701, 5621, 3639, 309, 12, 5, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 6094, 3406, 8266, 273, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 3639, 309, 12, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2042, 3092, 770, 1537, 273, 261, 52, 7722, 2042, 3092, 13, 8266, 7734, 263, 588, 18888, 3471, 1435, 63, 20, 15533, 3639, 727, 453, 7722, 2300, 11837, 273, 2 ]
System.out.println("factor = " + fontScalingFactor);
public void resetFontSize() { System.out.println("factor = " + fontScalingFactor); RenderingContext rc = getRenderingContext(); rc.getTextRenderer().setFontScale(1.0F); System.out.println("reset to " + rc.getTextRenderer().getFontScale()); relayout(); repaint(); }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/700deda900763fb4334d7a41940a307a33287ba5/XHTMLPanel.java/buggy/src/java/org/xhtmlrenderer/simple/XHTMLPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 22688, 1435, 288, 1082, 4202, 18018, 1042, 4519, 273, 336, 14261, 1042, 5621, 3639, 4519, 18, 588, 1528, 6747, 7675, 542, 5711, 5587, 12, 21, 18, 20, 42, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 6208, 358, 315, 397, 4519, 18, 588, 1528, 6747, 7675, 588, 5711, 5587, 10663, 3639, 1279, 2012, 5621, 3639, 24962, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 22688, 1435, 288, 1082, 4202, 18018, 1042, 4519, 273, 336, 14261, 1042, 5621, 3639, 4519, 18, 588, 1528, 6747, 7675, 542, 5711, 5587, 12, 21, 18, 20, 42, 1769, 202, 202, 3163, 18, 659, 18, 8222, 2932, 6208, 358, 315, 397, 4519, 18, 588, 1528, 6747, 7675, 588, 5711, 5587, 10663, 3639, 1279, 2012, 5621, 3639, 24962, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testCloseFileAllowAbandon() throws BadLocationException { OpenDefinitionsDocument doc = setupDocument(FOO_TEXT); // Try to close and check for proper events TestListener listener = new TestListener() { public boolean canAbandonFile(OpenDefinitionsDocument doc) { canAbandonCount++; return true; // yes allow the abandon } public void fileClosed(OpenDefinitionsDocument doc) { assertAbandonCount(1); closeCount++; } }; _model.addListener(listener); _model.closeFile(doc); listener.assertCloseCount(1); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/a2e65b5d7c2d7a000e177f6f8c9c0731c89b2734/GlobalModelIOTest.java/clean/drjava/src/edu/rice/cs/drjava/model/GlobalModelIOTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4605, 812, 7009, 5895, 464, 265, 1435, 1216, 6107, 2735, 503, 288, 565, 3502, 7130, 2519, 997, 273, 3875, 2519, 12, 3313, 51, 67, 5151, 1769, 565, 368, 6161, 358, 1746, 471, 866, 364, 5338, 2641, 565, 7766, 2223, 2991, 273, 394, 7766, 2223, 1435, 288, 1377, 1071, 1250, 848, 5895, 464, 265, 812, 12, 3678, 7130, 2519, 997, 13, 288, 3639, 848, 5895, 464, 265, 1380, 9904, 31, 3639, 327, 638, 31, 368, 12465, 1699, 326, 1223, 464, 265, 1377, 289, 1377, 1071, 918, 585, 7395, 12, 3678, 7130, 2519, 997, 13, 288, 3639, 1815, 5895, 464, 265, 1380, 12, 21, 1769, 3639, 1746, 1380, 9904, 31, 1377, 289, 565, 289, 31, 565, 389, 2284, 18, 1289, 2223, 12, 12757, 1769, 565, 389, 2284, 18, 4412, 812, 12, 2434, 1769, 565, 2991, 18, 11231, 4605, 1380, 12, 21, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4605, 812, 7009, 5895, 464, 265, 1435, 1216, 6107, 2735, 503, 288, 565, 3502, 7130, 2519, 997, 273, 3875, 2519, 12, 3313, 51, 67, 5151, 1769, 565, 368, 6161, 358, 1746, 471, 866, 364, 5338, 2641, 565, 7766, 2223, 2991, 273, 394, 7766, 2223, 1435, 288, 1377, 1071, 1250, 848, 5895, 464, 265, 812, 12, 3678, 7130, 2519, 997, 13, 288, 3639, 848, 5895, 464, 265, 1380, 9904, 31, 3639, 327, 638, 31, 368, 12465, 1699, 326, 1223, 464, 265, 1377, 289, 1377, 1071, 918, 585, 7395, 12, 3678, 7130, 2519, 997, 13, 288, 3639, 1815, 5895, 464, 265, 1380, 12, 21, 1769, 3639, 1746, 1380, 9904, 31, 1377, 289, 565, 289, 31, 565, 389, 2 ]
Logger.error(this, "Could not parse peer: "+e2+"\n"+fs.toString(),e2);
Logger.error(this, "Could not parse peer: "+e2+ '\n' +fs.toString(),e2);
private boolean readPeers(File peersFile) { boolean gotSome = false; FileInputStream fis; try { fis = new FileInputStream(peersFile); } catch (FileNotFoundException e4) { Logger.normal(this, "Peers file not found: "+peersFile); return false; } InputStreamReader ris = new InputStreamReader(fis); BufferedReader br = new BufferedReader(ris); try { // FIXME: no better way? while(true) { // Read a single NodePeer SimpleFieldSet fs; fs = new SimpleFieldSet(br); PeerNode pn; try { pn = new PeerNode(fs, node, true); } catch (FSParseException e2) { Logger.error(this, "Could not parse peer: "+e2+"\n"+fs.toString(),e2); continue; } catch (PeerParseException e2) { Logger.error(this, "Could not parse peer: "+e2+"\n"+fs.toString(),e2); continue; } catch (ReferenceSignatureVerificationException e2) { Logger.error(this, "Could not parse peer: "+e2+"\n"+fs.toString(),e2); continue; } addPeer(pn); gotSome = true; } } catch (EOFException e) { // End of file, fine } catch (IOException e1) { Logger.error(this, "Could not read peers file: "+e1, e1); } try { br.close(); } catch (IOException e3) { Logger.error(this, "Ignoring "+e3+" caught reading "+filename, e3); } return gotSome; }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/62fd59041864b4ed1f43adc676de6bfb5ea977f3/PeerManager.java/buggy/src/freenet/node/PeerManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 855, 14858, 12, 812, 10082, 812, 13, 288, 377, 202, 6494, 2363, 17358, 273, 629, 31, 377, 202, 812, 4348, 15324, 31, 202, 202, 698, 288, 1082, 202, 74, 291, 273, 394, 11907, 12, 30502, 812, 1769, 202, 202, 97, 1044, 261, 812, 3990, 425, 24, 13, 288, 1082, 202, 3328, 18, 6130, 12, 2211, 16, 315, 14858, 585, 486, 1392, 30, 13773, 30502, 812, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 15322, 436, 291, 273, 394, 15322, 12, 74, 291, 1769, 3639, 10633, 5186, 273, 394, 10633, 12, 18387, 1769, 3639, 775, 288, 368, 9852, 30, 1158, 7844, 4031, 35, 5411, 1323, 12, 3767, 13, 288, 7734, 368, 2720, 279, 2202, 2029, 6813, 7734, 4477, 974, 694, 2662, 31, 7734, 2662, 273, 394, 4477, 974, 694, 12, 2848, 1769, 7734, 10669, 907, 11059, 31, 7734, 775, 288, 10792, 11059, 273, 394, 10669, 907, 12, 2556, 16, 756, 16, 638, 1769, 7734, 289, 1044, 261, 4931, 13047, 425, 22, 13, 288, 10792, 4242, 18, 1636, 12, 2211, 16, 315, 4445, 486, 1109, 4261, 30, 13773, 73, 22, 15, 2337, 82, 11, 397, 2556, 18, 10492, 9334, 73, 22, 1769, 10792, 1324, 31, 7734, 289, 1044, 261, 6813, 13047, 425, 22, 13, 288, 10792, 4242, 18, 1636, 12, 2211, 16, 315, 4445, 486, 1109, 4261, 30, 13773, 73, 22, 15, 2337, 82, 11, 397, 2556, 18, 10492, 9334, 73, 22, 1769, 10792, 1324, 31, 7734, 289, 1044, 261, 2404, 5374, 13483, 503, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 855, 14858, 12, 812, 10082, 812, 13, 288, 377, 202, 6494, 2363, 17358, 273, 629, 31, 377, 202, 812, 4348, 15324, 31, 202, 202, 698, 288, 1082, 202, 74, 291, 273, 394, 11907, 12, 30502, 812, 1769, 202, 202, 97, 1044, 261, 812, 3990, 425, 24, 13, 288, 1082, 202, 3328, 18, 6130, 12, 2211, 16, 315, 14858, 585, 486, 1392, 30, 13773, 30502, 812, 1769, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 15322, 436, 291, 273, 394, 15322, 12, 74, 291, 1769, 3639, 10633, 5186, 273, 394, 10633, 12, 18387, 1769, 3639, 775, 288, 368, 9852, 30, 1158, 7844, 4031, 35, 5411, 1323, 12, 3767, 13, 288, 7734, 368, 2720, 279, 2202, 2029, 2 ]
return dd.getHwAddress(); }
return dd.getHwAddress(); }
public HardwareAddress getAddress() { return dd.getHwAddress(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e204bcd94e42168df8116332c5e2f0db99bd1c55/_3c90xDriver.java/buggy/net/src/driver/org/jnode/driver/net/_3c90x/_3c90xDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 27438, 1887, 14808, 1435, 288, 202, 202, 2463, 6957, 18, 588, 44, 91, 1887, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 27438, 1887, 14808, 1435, 288, 202, 202, 2463, 6957, 18, 588, 44, 91, 1887, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
subPanel.add(subSubPanel);
this.subPanel.add(subSubPanel);
public InsertPanel(InsertPlugin insertPlugin, boolean advancedMode) { this.insertPlugin = insertPlugin; this.advancedMode = advancedMode; globalPanel = new JPanel(); mainPanel = new JPanel(); mainPanel.setLayout(new BorderLayout(10, 10)); if(advancedMode) { subPanel = new JPanel(); subPanel.setLayout(new GridLayout(3,2, 20, 20)); } // FILE SELECTION JPanel subSubPanel = new JPanel(); subSubPanel.setLayout(new GridLayout(3, 1)); browseLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.filesToInsert")); subSubPanel.add(browseLabel); selectedFiles = new JTextField(20); selectedFiles.setEditable(true); subSubPanel.add(selectedFiles); browseButton = new JButton(I18n.getMessage("thaw.common.selectFiles")); browseButton.addActionListener(this); subSubPanel.add(browseButton); if(advancedMode) subPanel.add(subSubPanel); else mainPanel.add(subSubPanel, BorderLayout.CENTER); // KEY TYPE SELECTION subSubPanel = new JPanel(); subSubPanel.setLayout(new GridLayout(4, 1)); selectKeyLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.selectKey")); subSubPanel.add(selectKeyLabel); keyRadioButtons = new JRadioButton[3]; keyRadioButtons[0] = new JRadioButton(I18n.getMessage("thaw.plugin.insert.CHK")); keyRadioButtons[0].setSelected(true); keyType = 0; keyRadioButtons[1] = new JRadioButton(I18n.getMessage("thaw.plugin.insert.KSK")); keyRadioButtons[2] = new JRadioButton(I18n.getMessage("thaw.plugin.insert.SSK")); keyRadioGroup = new ButtonGroup(); for(int i = 0 ; i < keyRadioButtons.length ; i++) { keyRadioButtons[i].addItemListener(this); keyRadioGroup.add(keyRadioButtons[i]); subSubPanel.add(keyRadioButtons[i]); } if(advancedMode) subPanel.add(subSubPanel); /* GLOBAL */ subSubPanel = new JPanel(); subSubPanel.setLayout(new GridLayout(4, 1)); globalStr = new String[] { I18n.getMessage("thaw.common.true"), I18n.getMessage("thaw.common.false"), }; globalLabel = new JLabel(I18n.getMessage("thaw.common.globalQueue")); subSubPanel.add(globalLabel); globalSelecter = new JComboBox(globalStr); globalSelecter.setSelectedItem(I18n.getMessage("thaw.common.true")); subSubPanel.add(globalSelecter); if(advancedMode) subPanel.add(subSubPanel); // PRIORITY SELECTION priorities = new String[] { I18n.getMessage("thaw.plugin.priority.p0"), I18n.getMessage("thaw.plugin.priority.p1"), I18n.getMessage("thaw.plugin.priority.p2"), I18n.getMessage("thaw.plugin.priority.p3"), I18n.getMessage("thaw.plugin.priority.p4"), I18n.getMessage("thaw.plugin.priority.p5"), I18n.getMessage("thaw.plugin.priority.p6") }; subSubPanel.setLayout(new GridLayout(4, 1)); priorityLabel = new JLabel(I18n.getMessage("thaw.common.priority")); subSubPanel.add(priorityLabel); prioritySelecter = new JComboBox(priorities); prioritySelecter.setSelectedItem(I18n.getMessage("thaw.plugin.priority.p4")); subSubPanel.add(prioritySelecter); if(advancedMode) { subPanel.add(subSubPanel); subPanel.add(subSubPanel); } // REVISION SELECTION subSubPanel = new JPanel(); subSubPanel.setLayout(new GridLayout(4, 1)); selectRevLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.selectRev")); subSubPanel.add(selectRevLabel); revField = new JTextField(4); revField.setEditable(true); subSubPanel.add(revField); // NAME selectNameLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.selectName")); subSubPanel.add(selectNameLabel); nameField = new JTextField(10); nameField.setEditable(true); subSubPanel.add(nameField); if(advancedMode) subPanel.add(subSubPanel); setRevAndNameVisible(false); // MIME TYPE subSubPanel = new JPanel(); subSubPanel.setLayout(new GridLayout(4, 1)); mimeLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.mime")); Vector mimes = (Vector)DefaultMIMETypes.getAllMIMETypes().clone(); mimes.add(0, ""); mimeField = new JComboBox(mimes); mimeField.setEditable(true); mimeField.setPreferredSize(new Dimension(75, 20)); subSubPanel.add(mimeLabel); subSubPanel.add(mimeField); if(advancedMode) subPanel.add(subSubPanel); // PUBLIC / PRIVATE KEY subSubPanel = new JPanel(); subSubPanel.setLayout(new GridLayout(4, 1)); publicKeyLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.publicKey")); subSubPanel.add(publicKeyLabel); publicKeyField = new JTextField(20); publicKeyField.setEditable(true); subSubPanel.add(publicKeyField); privateKeyLabel = new JLabel(I18n.getMessage("thaw.plugin.insert.privateKey")); subSubPanel.add(privateKeyLabel); privateKeyField = new JTextField(20); privateKeyField.setEditable(true); subSubPanel.add(privateKeyField); if(advancedMode) subPanel.add(subSubPanel); setKeysVisible(false); if(advancedMode) mainPanel.add(subPanel, BorderLayout.CENTER); letsGoButton = new JButton(I18n.getMessage("thaw.plugin.insert.insertAction")); letsGoButton.setPreferredSize(new Dimension(200, 40)); letsGoButton.addActionListener(this); mainPanel.add(letsGoButton, BorderLayout.SOUTH); if(advancedMode) mainPanel.setSize(400, 400); else mainPanel.setSize(150, 250); globalPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 10, 10)); globalPanel.add(mainPanel); }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/InsertPanel.java/clean/src/thaw/plugins/insertPlugin/InsertPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8040, 5537, 12, 4600, 3773, 2243, 3773, 16, 1250, 16111, 2309, 13, 288, 202, 202, 2211, 18, 6387, 3773, 273, 2243, 3773, 31, 202, 202, 2211, 18, 27080, 2309, 273, 16111, 2309, 31, 202, 202, 6347, 5537, 273, 394, 24048, 5621, 202, 202, 5254, 5537, 273, 394, 24048, 5621, 202, 202, 5254, 5537, 18, 542, 3744, 12, 2704, 30814, 12, 2163, 16, 1728, 10019, 202, 202, 430, 12, 27080, 2309, 13, 288, 1082, 202, 1717, 5537, 273, 394, 24048, 5621, 1082, 202, 1717, 5537, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 23, 16, 22, 16, 4200, 16, 4200, 10019, 202, 202, 97, 9506, 202, 759, 7527, 3174, 15445, 202, 202, 46, 5537, 720, 1676, 5537, 273, 394, 24048, 5621, 202, 202, 1717, 1676, 5537, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 23, 16, 404, 10019, 202, 202, 25731, 2224, 273, 394, 21403, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 4094, 18, 6387, 18, 2354, 774, 4600, 7923, 1769, 202, 202, 1717, 1676, 5537, 18, 1289, 12, 25731, 2224, 1769, 202, 202, 8109, 2697, 273, 394, 804, 16157, 12, 3462, 1769, 202, 202, 8109, 2697, 18, 542, 15470, 12, 3767, 1769, 202, 202, 1717, 1676, 5537, 18, 1289, 12, 8109, 2697, 1769, 202, 202, 25731, 3616, 273, 394, 28804, 12, 45, 2643, 82, 18, 24906, 2932, 451, 2219, 18, 6054, 18, 4025, 2697, 7923, 1769, 202, 202, 25731, 3616, 18, 1289, 1803, 2223, 12, 2211, 1769, 202, 202, 1717, 1676, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8040, 5537, 12, 4600, 3773, 2243, 3773, 16, 1250, 16111, 2309, 13, 288, 202, 202, 2211, 18, 6387, 3773, 273, 2243, 3773, 31, 202, 202, 2211, 18, 27080, 2309, 273, 16111, 2309, 31, 202, 202, 6347, 5537, 273, 394, 24048, 5621, 202, 202, 5254, 5537, 273, 394, 24048, 5621, 202, 202, 5254, 5537, 18, 542, 3744, 12, 2704, 30814, 12, 2163, 16, 1728, 10019, 202, 202, 430, 12, 27080, 2309, 13, 288, 1082, 202, 1717, 5537, 273, 394, 24048, 5621, 1082, 202, 1717, 5537, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 23, 16, 22, 16, 4200, 16, 4200, 10019, 202, 202, 97, 9506, 202, 759, 7527, 3174, 15445, 202, 202, 46, 5537, 720, 1676, 5537, 2 ]
reminderList.add(program, minutes);
mReminderList.add(program, minutes);
private void addToReminderList(Program program, int minutes) { reminderList.add(program, minutes); }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/d580895df229632c4b8bc798a0285d45a4d94d3c/ReminderPlugin.java/buggy/tvbrowser/src/reminderplugin/ReminderPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 9604, 1933, 14055, 682, 12, 9459, 5402, 16, 509, 6824, 13, 288, 565, 312, 1933, 14055, 682, 18, 1289, 12, 12890, 16, 6824, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 9604, 1933, 14055, 682, 12, 9459, 5402, 16, 509, 6824, 13, 288, 565, 312, 1933, 14055, 682, 18, 1289, 12, 12890, 16, 6824, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throw new IllegalArgumentException("multiplier already set " + "- index: " + index);
throw new IllegalArgumentException ("multiplier already set " + "- index: " + index);
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern.charAt(index + 1) == '\'') { buf.append(c); ++index; } else if (c == '\'' && index + 2 < len && pattern.charAt(index + 2) == '\'') { buf.append(pattern.charAt(index + 1)); index += 2; } else if (c == '\u00a4') { if (index + 1 < len && pattern.charAt(index + 1) == '\u00a4') { buf.append(syms.getInternationalCurrencySymbol()); ++index; } else buf.append(syms.getCurrencySymbol()); } else if (is_suffix && c == syms.getPercent()) { if (multiplierSet) throw new IllegalArgumentException("multiplier already set " + "- index: " + index); multiplierSet = true; multiplier = 100; buf.append(c); } else if (is_suffix && c == syms.getPerMill()) { if (multiplierSet) throw new IllegalArgumentException("multiplier already set " + "- index: " + index); multiplierSet = true; multiplier = 1000; buf.append(c); } else if (patChars.indexOf(c) != -1) { // This is a pattern character. break; } else buf.append(c); ++index; } return index; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 509, 4135, 8585, 12, 780, 1936, 16, 509, 770, 16, 6674, 1681, 16, 514, 9670, 7803, 16, 29665, 14821, 24367, 16, 1250, 353, 67, 8477, 13, 288, 202, 202, 474, 562, 273, 1936, 18, 2469, 5621, 202, 202, 4385, 18, 542, 1782, 12, 20, 1769, 202, 202, 6494, 15027, 694, 273, 629, 31, 202, 202, 17523, 261, 1615, 411, 562, 13, 288, 1082, 202, 3001, 276, 273, 1936, 18, 3001, 861, 12, 1615, 1769, 1082, 202, 430, 261, 71, 422, 15053, 597, 770, 397, 404, 411, 562, 597, 1936, 18, 3001, 861, 12, 1615, 397, 404, 13, 422, 14118, 6134, 288, 9506, 202, 4385, 18, 6923, 12, 71, 1769, 9506, 202, 9904, 1615, 31, 1082, 202, 97, 469, 309, 261, 71, 422, 15053, 597, 770, 397, 576, 411, 562, 597, 1936, 18, 3001, 861, 12, 1615, 397, 576, 13, 422, 14118, 6134, 288, 9506, 202, 4385, 18, 6923, 12, 4951, 18, 3001, 861, 12, 1615, 397, 404, 10019, 9506, 202, 1615, 1011, 576, 31, 1082, 202, 97, 469, 309, 261, 71, 422, 2337, 89, 713, 69, 24, 6134, 288, 9506, 202, 430, 261, 1615, 397, 404, 411, 562, 597, 1936, 18, 3001, 861, 12, 1615, 397, 404, 13, 422, 2337, 89, 713, 69, 24, 6134, 288, 6862, 202, 4385, 18, 6923, 12, 9009, 959, 18, 588, 21843, 8371, 7623, 5335, 10663, 6862, 202, 9904, 1615, 31, 9506, 202, 97, 469, 6862, 202, 4385, 18, 6923, 12, 9009, 959, 18, 588, 7623, 5335, 10663, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 509, 4135, 8585, 12, 780, 1936, 16, 509, 770, 16, 6674, 1681, 16, 514, 9670, 7803, 16, 29665, 14821, 24367, 16, 1250, 353, 67, 8477, 13, 288, 202, 202, 474, 562, 273, 1936, 18, 2469, 5621, 202, 202, 4385, 18, 542, 1782, 12, 20, 1769, 202, 202, 6494, 15027, 694, 273, 629, 31, 202, 202, 17523, 261, 1615, 411, 562, 13, 288, 1082, 202, 3001, 276, 273, 1936, 18, 3001, 861, 12, 1615, 1769, 1082, 202, 430, 261, 71, 422, 15053, 597, 770, 397, 404, 411, 562, 597, 1936, 18, 3001, 861, 12, 1615, 397, 404, 13, 422, 14118, 6134, 288, 9506, 202, 4385, 18, 6923, 12, 71, 1769, 9506, 202, 9904, 1615, 31, 1082, 2 ]
localNodesWithImplementors.add(endPoint.getName());
String name = (String) names.next(); EndPoint endPoint = (EndPoint) m_localEndPoints.get(name); if (endPoint.hasImplementors()) { localNodesWithImplementors.add(endPoint.getName()); } created[i] = new EndPointCreated(RemoteMethodCall.classesToString(endPoint.getClasses()), name, endPoint.isSingleThreaded()); i++;
public void messageReceived(Serializable msg, INode from) { if(msg instanceof UnifiedInitRequest) { List localNodesWithImplementors = new ArrayList(); EndPointCreated[] created = new EndPointCreated[m_localEndPoints.keySet().size()]; Iterator names = m_localEndPoints.keySet().iterator(); int i = 0; while(names.hasNext()) { String name = (String) names.next(); EndPoint endPoint = (EndPoint) m_localEndPoints.get(name); if(endPoint.hasImplementors()) { localNodesWithImplementors.add(endPoint.getName()); } created[i] = new EndPointCreated( RemoteMethodCall.classesToString(endPoint.getClasses()), name, endPoint.isSingleThreaded()); i++; } Map nodesWithImplementors = new HashMap(m_remoteNodesWithImplementors); nodesWithImplementors.put(m_messenger.getLocalNode(),localNodesWithImplementors ); UnifiedInitMessage init = new UnifiedInitMessage(created, nodesWithImplementors); m_messenger.send(init, from); } }
8339 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8339/ca34366b9a3865cf25362f630569c84db100c969/UnifiedMessenger.java/clean/src/games/strategy/engine/message/UnifiedMessenger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 883, 8872, 12, 21682, 1234, 16, 21176, 628, 13, 3639, 288, 4766, 565, 309, 12, 3576, 1276, 1351, 939, 2570, 691, 13, 5411, 288, 7734, 987, 1191, 3205, 1190, 5726, 1383, 273, 394, 2407, 5621, 7734, 4403, 2148, 6119, 8526, 2522, 273, 394, 4403, 2148, 6119, 63, 81, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 1467, 1435, 15533, 7734, 4498, 1257, 273, 312, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 9838, 5621, 7734, 509, 277, 273, 374, 31, 7734, 1323, 12, 1973, 18, 5332, 2134, 10756, 7734, 288, 10792, 514, 508, 273, 261, 780, 13, 1257, 18, 4285, 5621, 10792, 4403, 2148, 19849, 273, 261, 27185, 13, 312, 67, 3729, 1638, 5636, 18, 588, 12, 529, 1769, 4766, 3639, 309, 12, 409, 2148, 18, 5332, 5726, 1383, 10756, 10792, 288, 13491, 514, 508, 273, 261, 780, 13, 1257, 18, 4285, 5621, 4403, 2148, 19849, 273, 261, 27185, 13, 312, 67, 3729, 1638, 5636, 18, 588, 12, 529, 1769, 225, 309, 261, 409, 2148, 18, 5332, 5726, 1383, 10756, 288, 1191, 3205, 1190, 5726, 1383, 18, 1289, 12, 409, 2148, 18, 17994, 10663, 289, 225, 2522, 63, 77, 65, 273, 394, 4403, 2148, 6119, 12, 5169, 12592, 18, 4701, 5808, 12, 409, 2148, 18, 588, 4818, 1435, 3631, 508, 16, 19849, 18, 291, 5281, 1315, 20528, 10663, 277, 9904, 31, 10792, 289, 4766, 3639, 2522, 63, 77, 65, 273, 394, 4403, 2148, 6119, 12, 4766, 4202, 6304, 12592, 18, 4701, 5808, 12, 409, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 883, 8872, 12, 21682, 1234, 16, 21176, 628, 13, 3639, 288, 4766, 565, 309, 12, 3576, 1276, 1351, 939, 2570, 691, 13, 5411, 288, 7734, 987, 1191, 3205, 1190, 5726, 1383, 273, 394, 2407, 5621, 7734, 4403, 2148, 6119, 8526, 2522, 273, 394, 4403, 2148, 6119, 63, 81, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 1467, 1435, 15533, 7734, 4498, 1257, 273, 312, 67, 3729, 1638, 5636, 18, 856, 694, 7675, 9838, 5621, 7734, 509, 277, 273, 374, 31, 7734, 1323, 12, 1973, 18, 5332, 2134, 10756, 7734, 288, 10792, 514, 508, 273, 261, 780, 13, 1257, 18, 4285, 5621, 10792, 4403, 2148, 19849, 273, 261, 27185, 13, 312, 67, 3729, 1638, 5636, 18, 588, 2 ]
running=true;
is_it_running=true;
void start() { if(senderThread == null || !senderThread.isAlive()) { senderThread=new Thread(thread_group, this, "ConnectionTable.Connection.Sender [" + getSockAddress() + "]"); senderThread.setDaemon(true); senderThread.start(); running=true; if(log.isTraceEnabled()) log.trace("ConnectionTable.Connection.Sender thread started"); } }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/820cff78bb2b2f435c6dccaa33a34c8147be04f6/BasicConnectionTable.java/clean/src/org/jgroups/blocks/BasicConnectionTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5411, 918, 787, 1435, 288, 9079, 309, 12, 15330, 3830, 422, 446, 747, 401, 15330, 3830, 18, 291, 10608, 10756, 288, 10402, 5793, 3830, 33, 2704, 4884, 12, 5930, 67, 1655, 16, 333, 16, 315, 1952, 1388, 18, 1952, 18, 12021, 8247, 397, 1322, 975, 1887, 1435, 397, 9870, 1769, 10402, 5793, 3830, 18, 542, 12858, 12, 3767, 1769, 10402, 5793, 3830, 18, 1937, 5621, 10402, 353, 67, 305, 67, 8704, 33, 3767, 31, 10402, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 15604, 613, 18, 5129, 2932, 1952, 1388, 18, 1952, 18, 12021, 2650, 5746, 8863, 9079, 289, 6647, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 5411, 918, 787, 1435, 288, 9079, 309, 12, 15330, 3830, 422, 446, 747, 401, 15330, 3830, 18, 291, 10608, 10756, 288, 10402, 5793, 3830, 33, 2704, 4884, 12, 5930, 67, 1655, 16, 333, 16, 315, 1952, 1388, 18, 1952, 18, 12021, 8247, 397, 1322, 975, 1887, 1435, 397, 9870, 1769, 10402, 5793, 3830, 18, 542, 12858, 12, 3767, 1769, 10402, 5793, 3830, 18, 1937, 5621, 10402, 353, 67, 305, 67, 8704, 33, 3767, 31, 10402, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 15604, 613, 18, 5129, 2932, 1952, 1388, 18, 1952, 18, 12021, 2650, 5746, 8863, 9079, 289, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
PieceSprite sprite = (PieceSprite)_spritemgr.getHighestHitSprite( e.getX(), e.getY());
PieceSprite sprite = null; Sprite s = _spritemgr.getHighestHitSprite(e.getX(), e.getY()); if (s instanceof PieceSprite) { sprite = (PieceSprite)s; if (!sprite.isSelectable()) { sprite = null; } }
public void mousePressed (MouseEvent e) { if (e.getButton() == MouseEvent.BUTTON1) { // if there's a piece under the mouse, select it PieceSprite sprite = (PieceSprite)_spritemgr.getHighestHitSprite( e.getX(), e.getY()); if (sprite != null) { selectSprite(sprite); } else if (_selectedSprite != null) { // request to move the selected sprite in that direction MoveData data = new MoveData(); data.pieceId = _selectedSprite.getPieceId(); data.x = e.getX() / SQUARE; data.y = e.getY() / SQUARE; BugsController.postAction( this, BugsController.MOVE_PIECE, data); // and clear the selection to debounce double clicking, etc. clearSpriteSelection(); } } else if (e.getButton() == MouseEvent.BUTTON2) { clearSpriteSelection(); } }
48228 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48228/6734030d3e2354b5cca0c2e8bfffe3dbbf0916d1/BugsBoardView.java/buggy/src/java/com/threerings/bugs/client/BugsBoardView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 24624, 261, 9186, 1133, 425, 13, 565, 288, 3639, 309, 261, 73, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 21, 13, 288, 5411, 368, 309, 1915, 1807, 279, 11151, 3613, 326, 7644, 16, 2027, 518, 5411, 453, 8414, 3389, 796, 16839, 273, 261, 22607, 3389, 796, 13, 67, 1752, 583, 351, 3197, 18, 588, 8573, 395, 13616, 3389, 796, 12, 7734, 425, 18, 588, 60, 9334, 425, 18, 588, 61, 10663, 5411, 309, 261, 1752, 796, 480, 446, 13, 288, 7734, 2027, 3389, 796, 12, 1752, 796, 1769, 5411, 289, 469, 309, 261, 67, 8109, 3389, 796, 480, 446, 13, 288, 7734, 368, 590, 358, 3635, 326, 3170, 16839, 316, 716, 4068, 7734, 9933, 751, 501, 273, 394, 9933, 751, 5621, 7734, 501, 18, 30100, 548, 273, 389, 8109, 3389, 796, 18, 588, 22607, 548, 5621, 7734, 501, 18, 92, 273, 425, 18, 588, 60, 1435, 342, 348, 17483, 31, 7734, 501, 18, 93, 273, 425, 18, 588, 61, 1435, 342, 348, 17483, 31, 7734, 605, 9024, 2933, 18, 2767, 1803, 12, 10792, 333, 16, 605, 9024, 2933, 18, 16537, 67, 24414, 1441, 16, 501, 1769, 7734, 368, 471, 2424, 326, 4421, 358, 18202, 8386, 1645, 4682, 310, 16, 5527, 18, 7734, 2424, 3389, 796, 6233, 5621, 5411, 289, 3639, 289, 469, 309, 261, 73, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 22, 13, 288, 5411, 2424, 3389, 796, 6233, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 7644, 24624, 261, 9186, 1133, 425, 13, 565, 288, 3639, 309, 261, 73, 18, 588, 3616, 1435, 422, 17013, 1133, 18, 20068, 21, 13, 288, 5411, 368, 309, 1915, 1807, 279, 11151, 3613, 326, 7644, 16, 2027, 518, 5411, 453, 8414, 3389, 796, 16839, 273, 261, 22607, 3389, 796, 13, 67, 1752, 583, 351, 3197, 18, 588, 8573, 395, 13616, 3389, 796, 12, 7734, 425, 18, 588, 60, 9334, 425, 18, 588, 61, 10663, 5411, 309, 261, 1752, 796, 480, 446, 13, 288, 7734, 2027, 3389, 796, 12, 1752, 796, 1769, 5411, 289, 469, 309, 261, 67, 8109, 3389, 796, 480, 446, 13, 288, 7734, 368, 590, 358, 3635, 326, 3170, 16839, 316, 716, 4068, 7734, 2 ]
if (afieldOrder != null) { for (int i = 0; i < afieldOrder.length; i++) { if (field == afieldOrder[i]) { return true; } } } return false; }
if (afieldOrder != null) { for (int i = 0; i < afieldOrder.length; i++) { if (field == afieldOrder[i]) { return true; } } } return false; }
private boolean isOrderedField(int field, int[] afieldOrder) { if (afieldOrder != null) { for (int i = 0; i < afieldOrder.length; i++) { if (field == afieldOrder[i]) { return true; } } } return false; }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/e9fcfc3f00e226dd4afab95dedec942fad2fd51b/FieldMap.java/buggy/src/quickfix/FieldMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 16756, 974, 12, 474, 652, 16, 509, 8526, 279, 1518, 2448, 13, 288, 202, 202, 430, 261, 69, 1518, 2448, 480, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 279, 1518, 2448, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 261, 1518, 422, 279, 1518, 2448, 63, 77, 5717, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 353, 16756, 974, 12, 474, 652, 16, 509, 8526, 279, 1518, 2448, 13, 288, 202, 202, 430, 261, 69, 1518, 2448, 480, 446, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 279, 1518, 2448, 18, 2469, 31, 277, 27245, 288, 9506, 202, 430, 261, 1518, 422, 279, 1518, 2448, 63, 77, 5717, 288, 6862, 202, 2463, 638, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(myPeers[i].getPeer().equals(peer))
if(peer.equals(myPeers[i].getPeer()))
public PeerNode getByPeer(Peer peer) { for(int i=0;i<myPeers.length;i++) { if(myPeers[i].getPeer().equals(peer)) return myPeers[i]; } return null; }
50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/c1430c70b5da9c6558f190fe4bddaf8334ecd008/PeerManager.java/buggy/src/freenet/node/PeerManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 9979, 6813, 12, 6813, 4261, 13, 288, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 4811, 14858, 18, 2469, 31, 77, 27245, 288, 5411, 309, 12, 12210, 18, 14963, 12, 4811, 14858, 63, 77, 8009, 588, 6813, 1435, 3719, 7734, 327, 3399, 14858, 63, 77, 15533, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 9979, 6813, 12, 6813, 4261, 13, 288, 3639, 364, 12, 474, 277, 33, 20, 31, 77, 32, 4811, 14858, 18, 2469, 31, 77, 27245, 288, 5411, 309, 12, 12210, 18, 14963, 12, 4811, 14858, 63, 77, 8009, 588, 6813, 1435, 3719, 7734, 327, 3399, 14858, 63, 77, 15533, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Date getUtcTimeOnly(int field) throws FieldNotFound { String value = getField(field).getValue(); try { return UtcTimeOnlyConverter.convert(value); } catch (FieldConvertError e) { throw newIncorrectDataException(e, field); } }
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/ac62cdb33fe9cdcbdda5568204116691fedd13fb/FieldMap.java/buggy/src/quickfix/FieldMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1626, 588, 57, 5111, 950, 3386, 12, 474, 1518, 13, 15069, 974, 2768, 95, 780, 1132, 33, 588, 974, 12, 1518, 2934, 24805, 5621, 698, 95, 2463, 57, 5111, 950, 3386, 5072, 18, 6283, 12, 1132, 1769, 97, 14683, 12, 974, 2723, 29228, 303, 266, 15329, 12849, 2704, 16268, 22480, 12, 73, 16, 1518, 1769, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1626, 588, 57, 5111, 950, 3386, 12, 474, 1518, 13, 15069, 974, 2768, 95, 780, 1132, 33, 588, 974, 12, 1518, 2934, 24805, 5621, 698, 95, 2463, 57, 5111, 950, 3386, 5072, 18, 6283, 12, 1132, 1769, 97, 14683, 12, 974, 2723, 29228, 303, 266, 15329, 12849, 2704, 16268, 22480, 12, 73, 16, 1518, 1769, 9090, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
log.error(e);
System.err.println(e);
public void run() { String comp_name; while(true) { try { AWTEvent evt=event_queue.getNextEvent(); Object obj=evt.getSource(); if(obj == null) { log.error("src is NULL"); continue; } if(obj instanceof Component) comp_name=((Component)obj).getName(); else if(obj instanceof MenuComponent) comp_name=((MenuComponent)obj).getName(); else { log.error("src is of type " + obj.getClass().getName()); continue; } if(evt instanceof FocusEvent || evt instanceof PaintEvent) { System.out.println(evt.getClass().getName() + " not copied"); processLocally(evt); continue; } System.out.println("MCasting "+evt.getClass().getName()+" event..."); MethodCall call = new MethodCall("processEvent", new Object[] {comp_name, evt}, new String[] {String.class.getName(), AWTEvent.class.getName()}); dispatcher.callRemoteMethods(null, call, GroupRequest.GET_NONE, 0); } catch(Exception e) { log.error(e); } } }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/5ad015d9a78e1da3350d9b398b46b2f5d4508564/DrawRepl.java/buggy/src/org/jgroups/demos/DrawRepl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 202, 780, 1161, 67, 529, 31, 202, 202, 17523, 12, 3767, 13, 288, 202, 565, 775, 288, 202, 202, 37, 8588, 1133, 6324, 33, 2575, 67, 4000, 18, 588, 2134, 1133, 5621, 202, 202, 921, 1081, 33, 73, 11734, 18, 588, 1830, 5621, 202, 202, 430, 12, 2603, 422, 446, 13, 288, 1082, 565, 613, 18, 1636, 2932, 4816, 353, 3206, 8863, 1082, 565, 1324, 31, 202, 202, 97, 9506, 202, 430, 12, 2603, 1276, 5435, 13, 1082, 565, 1161, 67, 529, 33, 12443, 1841, 13, 2603, 2934, 17994, 5621, 202, 202, 12107, 309, 12, 2603, 1276, 9809, 1841, 13, 1082, 565, 1161, 67, 529, 33, 12443, 4599, 1841, 13, 2603, 2934, 17994, 5621, 202, 202, 12107, 288, 1082, 565, 613, 18, 1636, 2932, 4816, 353, 434, 618, 315, 397, 1081, 18, 588, 797, 7675, 17994, 10663, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 430, 12, 73, 11734, 1276, 478, 4560, 1133, 747, 6324, 1276, 30001, 1133, 13, 288, 1082, 565, 2332, 18, 659, 18, 8222, 12, 73, 11734, 18, 588, 797, 7675, 17994, 1435, 397, 315, 486, 9268, 8863, 1082, 565, 1207, 1333, 1230, 12, 73, 11734, 1769, 1082, 565, 1324, 31, 202, 202, 97, 202, 202, 3163, 18, 659, 18, 8222, 2932, 49, 9735, 310, 13773, 73, 11734, 18, 588, 797, 7675, 17994, 1435, 9078, 871, 7070, 1769, 202, 202, 12592, 745, 273, 394, 2985, 1477, 2932, 2567, 1133, 3113, 394, 1033, 8526, 288, 2919, 67, 529, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 202, 780, 1161, 67, 529, 31, 202, 202, 17523, 12, 3767, 13, 288, 202, 565, 775, 288, 202, 202, 37, 8588, 1133, 6324, 33, 2575, 67, 4000, 18, 588, 2134, 1133, 5621, 202, 202, 921, 1081, 33, 73, 11734, 18, 588, 1830, 5621, 202, 202, 430, 12, 2603, 422, 446, 13, 288, 1082, 565, 613, 18, 1636, 2932, 4816, 353, 3206, 8863, 1082, 565, 1324, 31, 202, 202, 97, 9506, 202, 430, 12, 2603, 1276, 5435, 13, 1082, 565, 1161, 67, 529, 33, 12443, 1841, 13, 2603, 2934, 17994, 5621, 202, 202, 12107, 309, 12, 2603, 1276, 9809, 1841, 13, 1082, 565, 1161, 67, 529, 33, 12443, 4599, 1841, 13, 2603, 2934, 17994, 2 ]
public org.quickfix.field.EncodedHeadlineLen getEncodedHeadlineLen() throws FieldNotFound { org.quickfix.field.EncodedHeadlineLen value = new org.quickfix.field.EncodedHeadlineLen();
public quickfix.field.EncodedHeadlineLen getEncodedHeadlineLen() throws FieldNotFound { quickfix.field.EncodedHeadlineLen value = new quickfix.field.EncodedHeadlineLen();
public org.quickfix.field.EncodedHeadlineLen getEncodedHeadlineLen() throws FieldNotFound { org.quickfix.field.EncodedHeadlineLen value = new org.quickfix.field.EncodedHeadlineLen(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/clean/src/java/src/quickfix/fix42/News.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1414, 1369, 2891, 28799, 1414, 1369, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1414, 1369, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1414, 1369, 2891, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1414, 1369, 2891, 28799, 1414, 1369, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1414, 1369, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 1414, 1369, 2891, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_minimumValue = minimumValue;
this.minimumValue = minimumValue;
public DoubleProperty minimumValue(double minimumValue) { _minimumValue = minimumValue; return this; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/DoubleProperty.java/clean/modules/interop/src/java/org/apache/geronimo/interop/properties/DoubleProperty.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3698, 1396, 5224, 620, 12, 9056, 5224, 620, 13, 288, 3639, 333, 18, 15903, 620, 273, 5224, 620, 31, 3639, 327, 333, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3698, 1396, 5224, 620, 12, 9056, 5224, 620, 13, 288, 3639, 333, 18, 15903, 620, 273, 5224, 620, 31, 3639, 327, 333, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.user = this.serviceName + "/" + ((Authentication) response).getResource();
response = new NonSASLAuthentication(this).authenticateAnonymously();
public synchronized void loginAnonymously() throws XMPPException { if (!isConnected()) { throw new IllegalStateException("Not connected to server."); } if (authenticated) { throw new IllegalStateException("Already logged in to server."); } // Create the authentication packet we'll send to the server. Authentication auth = new Authentication(); PacketCollector collector = packetReader.createPacketCollector(new PacketIDFilter(auth.getPacketID())); // Send the packet. packetWriter.sendPacket(auth); // Wait up to a certain number of seconds for a response from the server. IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); if (response == null) { throw new XMPPException("Anonymous login failed."); } else if (response.getType() == IQ.Type.ERROR) { throw new XMPPException(response.getError()); } // Set the user value. if (response.getTo() != null) { this.user = response.getTo(); } else { this.user = this.serviceName + "/" + ((Authentication) response).getResource(); } // We're done with the collector, so explicitly cancel it. collector.cancel(); // Anonymous users can't have a roster. roster = null; // Set presence to online. packetWriter.sendPacket(new Presence(Presence.Type.AVAILABLE)); // Indicate that we're now authenticated. authenticated = true; anonymous = true; // If debugging is enabled, change the the debug window title to include the // name we are now logged-in as. // If DEBUG_ENABLED was set to true AFTER the connection was created the debugger // will be null if (DEBUG_ENABLED && debugger != null) { debugger.userHasLogged(user); } }
47643 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47643/2303fa33c925a897b6264f46d77ebb43306b0e6f/XMPPConnection.java/clean/source/org/jivesoftware/smack/XMPPConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 3925, 18792, 715, 1435, 1216, 23216, 503, 288, 3639, 309, 16051, 291, 8932, 10756, 288, 5411, 604, 394, 5477, 2932, 1248, 5840, 358, 1438, 1199, 1769, 3639, 289, 3639, 309, 261, 14454, 13, 288, 5411, 604, 394, 5477, 2932, 9430, 7545, 316, 358, 1438, 1199, 1769, 3639, 289, 3639, 368, 1788, 326, 5107, 4414, 732, 5614, 1366, 358, 326, 1438, 18, 3639, 8665, 1357, 273, 394, 8665, 5621, 3639, 11114, 7134, 8543, 273, 5411, 4414, 2514, 18, 2640, 6667, 7134, 12, 2704, 11114, 734, 1586, 12, 1944, 18, 588, 6667, 734, 1435, 10019, 3639, 368, 2479, 326, 4414, 18, 3639, 4414, 2289, 18, 4661, 6667, 12, 1944, 1769, 3639, 368, 5838, 731, 358, 279, 8626, 1300, 434, 3974, 364, 279, 766, 628, 326, 1438, 18, 3639, 26950, 766, 273, 261, 45, 53, 13, 8543, 18, 4285, 1253, 12, 9552, 484, 1750, 18, 588, 6667, 7817, 2694, 10663, 3639, 309, 261, 2740, 422, 446, 13, 288, 5411, 604, 394, 23216, 503, 2932, 18792, 3925, 2535, 1199, 1769, 3639, 289, 3639, 469, 309, 261, 2740, 18, 588, 559, 1435, 422, 26950, 18, 559, 18, 3589, 13, 288, 5411, 604, 394, 23216, 503, 12, 2740, 18, 588, 668, 10663, 3639, 289, 3639, 368, 1000, 326, 729, 460, 18, 3639, 309, 261, 2740, 18, 588, 774, 1435, 480, 446, 13, 288, 5411, 333, 18, 1355, 273, 766, 18, 588, 774, 5621, 3639, 289, 3639, 469, 288, 2398, 766, 273, 394, 3858, 55, 3033, 48, 6492, 12, 2211, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 3925, 18792, 715, 1435, 1216, 23216, 503, 288, 3639, 309, 16051, 291, 8932, 10756, 288, 5411, 604, 394, 5477, 2932, 1248, 5840, 358, 1438, 1199, 1769, 3639, 289, 3639, 309, 261, 14454, 13, 288, 5411, 604, 394, 5477, 2932, 9430, 7545, 316, 358, 1438, 1199, 1769, 3639, 289, 3639, 368, 1788, 326, 5107, 4414, 732, 5614, 1366, 358, 326, 1438, 18, 3639, 8665, 1357, 273, 394, 8665, 5621, 3639, 11114, 7134, 8543, 273, 5411, 4414, 2514, 18, 2640, 6667, 7134, 12, 2704, 11114, 734, 1586, 12, 1944, 18, 588, 6667, 734, 1435, 10019, 3639, 368, 2479, 326, 4414, 18, 3639, 4414, 2289, 18, 4661, 6667, 12, 1944, 1769, 3639, 368, 5838, 731, 358, 279, 8626, 2 ]
public void setPatchName(Patch p, int patchNum,String name)
public void setPatchName(IPatch p, int patchNum,String name)
public void setPatchName(Patch p, int patchNum,String name) { byte [] namebytes = new byte[32]; try{ int start=getPatchStart(patchNum); if (name.length()<8) name=name+" "; namebytes=name.getBytes("US-ASCII"); p.sysex[start+5]=((byte)(namebytes[0]%16)); p.sysex[start+6]=((byte)(namebytes[0]/16)); p.sysex[start+7]=((byte)(namebytes[1]%16)); p.sysex[start+8]=((byte)(namebytes[1]/16)); p.sysex[start+9]=((byte)(namebytes[2]%16)); p.sysex[start+10]=((byte)(namebytes[2]/16)); p.sysex[start+11]=((byte)(namebytes[3]%16)); p.sysex[start+12]=((byte)(namebytes[3]/16)); p.sysex[start+13]=((byte)(namebytes[4]%16)); p.sysex[start+14]=((byte)(namebytes[4]/16)); p.sysex[start+15]=((byte)(namebytes[5]%16)); p.sysex[start+16]=((byte)(namebytes[5]/16)); p.sysex[start+17]=((byte)(namebytes[6]%16)); p.sysex[start+18]=((byte)(namebytes[6]/16)); p.sysex[start+19]=((byte)(namebytes[7]%16)); p.sysex[start+20]=((byte)(namebytes[7]/16)); }catch (Exception e) {ErrorMsg.reportError("Error","Error in Matrix1000 Bank Driver",e);} }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/OberheimMatrixBankDriver.java/clean/JSynthLib/synthdrivers/OberheimMatrix/OberheimMatrixBankDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 7332, 461, 12, 7332, 293, 16, 509, 4729, 2578, 16, 780, 508, 13, 202, 225, 288, 202, 7229, 5378, 508, 3890, 273, 394, 1160, 63, 1578, 15533, 202, 698, 95, 3639, 509, 787, 33, 588, 7332, 1685, 12, 2272, 2578, 1769, 202, 430, 261, 529, 18, 2469, 1435, 32, 28, 13, 508, 33, 529, 9078, 3639, 13636, 3639, 508, 3890, 33, 529, 18, 588, 2160, 2932, 3378, 17, 13756, 8863, 202, 84, 18, 9009, 20909, 63, 1937, 15, 25, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 20, 65, 9, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 26, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 20, 18537, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 27, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 21, 65, 9, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 28, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 21, 18537, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 29, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 22, 65, 9, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 2163, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 22, 18537, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 2499, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 23, 65, 9, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 2138, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 23, 18537, 2313, 10019, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 7332, 461, 12, 7332, 293, 16, 509, 4729, 2578, 16, 780, 508, 13, 202, 225, 288, 202, 7229, 5378, 508, 3890, 273, 394, 1160, 63, 1578, 15533, 202, 698, 95, 3639, 509, 787, 33, 588, 7332, 1685, 12, 2272, 2578, 1769, 202, 430, 261, 529, 18, 2469, 1435, 32, 28, 13, 508, 33, 529, 9078, 3639, 13636, 3639, 508, 3890, 33, 529, 18, 588, 2160, 2932, 3378, 17, 13756, 8863, 202, 84, 18, 9009, 20909, 63, 1937, 15, 25, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 20, 65, 9, 2313, 10019, 202, 84, 18, 9009, 20909, 63, 1937, 15, 26, 65, 33, 12443, 7229, 21433, 529, 3890, 63, 20, 18537, 2313, 10019, 202, 84, 2 ]
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(territoryNameLabel) .add(territoryNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(phytNameLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(townComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 24, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(townLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel5Layout.createSequentialGroup() .add(1, 1, 1)
private void initComponents() { convertCoordinatesGroup = new javax.swing.ButtonGroup(); gpsLoadButton = new javax.swing.JButton(); gpsShowButton = new javax.swing.JButton(); gpsSymbolTextField = new javax.swing.JTextField(); gpsSymbolLabel = new javax.swing.JLabel(); gpsTableLabel = new javax.swing.JLabel(); jScrollPane8 = new javax.swing.JScrollPane(); topPanel = new javax.swing.JPanel(); basicPanel = new javax.swing.JPanel(); jPanel5 = new javax.swing.JPanel(); quadrantLabel = new javax.swing.JLabel(); countryLabel = new javax.swing.JLabel(); territoryNameLabel = new javax.swing.JLabel(); phytNameLabel = new javax.swing.JLabel(); territoryNameCombo = new AutoComboBoxNG3(true); phytNameCombo = new AutoComboBoxNG3(true); phytCountryCombo = new AutoComboBoxNG3(false); quadrantTextField = new javax.swing.JTextField(); townLabel = new javax.swing.JLabel(); //items = new Object[] {"Praha", "Brno", "Turnov", "Trebic"}; townComboBox = new AutoComboBoxNG3(true); jScrollPane2 = new javax.swing.JScrollPane(); descriptionArea = new javax.swing.JTextArea(); placeDescriptionLabel = new javax.swing.JLabel(); gpsPanel = new javax.swing.JPanel(); altitudeLabel = new javax.swing.JLabel(); latitudeLabel = new javax.swing.JLabel(); longitudeLabel = new javax.swing.JLabel(); altitudeTextField = new javax.swing.JTextField(); latitudeTextField = new javax.swing.JTextField(); longitudeTextField = new javax.swing.JTextField(); coordinateSystemLabel = new javax.swing.JLabel(); gpsChangeButton = new javax.swing.JButton(); locationNoteLabel = new javax.swing.JLabel(); jScrollPane4 = new javax.swing.JScrollPane(); locationNoteArea = new javax.swing.JTextArea(); clearLocationButton = new javax.swing.JButton(); confirmationLabel = new javax.swing.JLabel(); jPanel7 = new javax.swing.JPanel(); jScrollPane3 = new javax.swing.JScrollPane(); taxonTextArea = new AutoTextArea(this); taxonLabel = new javax.swing.JLabel(); jPanel4 = new javax.swing.JPanel(); monthLabel = new javax.swing.JLabel(); dayLabel = new javax.swing.JLabel(); monthChooser = new com.toedter.calendar.JMonthChooser(); timeLabel = new javax.swing.JLabel(); timeTextField = new javax.swing.JTextField(); dayTextField = new javax.swing.JTextField(); yearLabel = new javax.swing.JLabel(); yearSpinner = new javax.swing.JSpinner(); calendarButton = new javax.swing.JButton(); sourceCombo = new AutoComboBoxNG3(false); sourceLabel = new javax.swing.JLabel(); publicationLabel = new javax.swing.JLabel(); publicationCombo = new AutoComboBoxNG3(true); herbariumTextField = new javax.swing.JTextField(); herbariumLabel = new javax.swing.JLabel(); projectLabel = new javax.swing.JLabel(); projectCombo = new AutoComboBoxNG3(true); checklistButton = new javax.swing.JButton(); jScrollPane5 = new javax.swing.JScrollPane(); occurrenceNoteArea = new javax.swing.JTextArea(); jScrollPane1 = new javax.swing.JScrollPane(); authorTable = new javax.swing.JTable(); occurrenceNoteLabel = new javax.swing.JLabel(); clearOccurrenceButton = new javax.swing.JButton(); plantSearchButton = new javax.swing.JButton(); buttonPanel = new javax.swing.JPanel(); cancelButton = new javax.swing.JButton(); okButton = new javax.swing.JButton(); helpButton = new javax.swing.JButton(); settingsButton = new javax.swing.JButton(); requiredInfoLabel = new javax.swing.JLabel(); authButton = new javax.swing.JButton(); rememberButton = new javax.swing.JButton(); restoreButton = new javax.swing.JButton(); extendedPanel = new javax.swing.JPanel(); jScrollPane6 = new javax.swing.JScrollPane(); occurrenceTable = new javax.swing.JTable(); gpsLoadButton.setText("Load"); gpsShowButton.setText("Show"); gpsSymbolLabel.setText("Symbol:"); gpsTableLabel.setText("GPS table:"); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); jScrollPane8.setPreferredSize(new java.awt.Dimension(920, 685)); topPanel.setLayout(new java.awt.BorderLayout()); topPanel.setMinimumSize(new java.awt.Dimension(700, 100)); topPanel.setPreferredSize(new java.awt.Dimension(920, 680)); basicPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.BasicData"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); basicPanel.setMinimumSize(new java.awt.Dimension(600, 0)); basicPanel.setPreferredSize(new java.awt.Dimension(900, 520)); jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(L10n.getString("AddEdit.LocationPanel"))); jPanel5.setPreferredSize(new java.awt.Dimension(914, 500)); quadrantLabel.setText("Quadrant:"); countryLabel.setText("Country:"); territoryNameLabel.setText("Territory name:"); phytNameLabel.setText("Phytochoria name:"); territoryNameCombo.setActionCommand("territoryNameCombo"); phytNameCombo.setActionCommand("phytNameCombo"); phytCountryCombo.setActionCommand("phytCountryCombo"); phytCountryCombo.insertItemAt(model.EMPTY_STRING,0); quadrantTextField.setActionCommand("quadrantTextField"); townLabel.setText("Nearest bigger seat:"); townComboBox.setActionCommand("townComboBox"); descriptionArea.setColumns(20); descriptionArea.setRows(5); descriptionArea.setLineWrap(true); descriptionArea.setWrapStyleWord(true); new TabTransfersFocus(descriptionArea); jScrollPane2.setViewportView(descriptionArea); placeDescriptionLabel.setText("Place description:"); gpsPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.GPSPanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10))); altitudeLabel.setText("Altitude:"); latitudeLabel.setText("Latitude:"); longitudeLabel.setText("Longitude:"); altitudeTextField.setToolTipText(L10n.getString("AddEdit.AltitudeLabelTT")); altitudeTextField.setNextFocusableComponent(gpsChangeButton); latitudeTextField.setToolTipText(L10n.getString("AddEdit.LatitudeLabelTT")); latitudeTextField.setNextFocusableComponent(longitudeTextField); longitudeTextField.setToolTipText(L10n.getString("AddEdit.LongitudeLabelTT")); coordinateSystemLabel.setText("Coordinate system:"); gpsChangeButton.setText("Change"); gpsChangeButton.setNextFocusableComponent(taxonTextArea); org.jdesktop.layout.GroupLayout gpsPanelLayout = new org.jdesktop.layout.GroupLayout(gpsPanel); gpsPanel.setLayout(gpsPanelLayout); gpsPanelLayout.setHorizontalGroup( gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanelLayout.createSequentialGroup() .addContainerGap() .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanelLayout.createSequentialGroup() .add(latitudeLabel) .add(4, 4, 4) .add(latitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 153, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(coordinateSystemLabel)) .add(21, 21, 21) .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(gpsPanelLayout.createSequentialGroup() .add(longitudeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(longitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 144, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(gpsChangeButton)) .add(32, 32, 32) .add(altitudeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(altitudeTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 165, Short.MAX_VALUE) .addContainerGap()) ); gpsPanelLayout.linkSize(new java.awt.Component[] {altitudeTextField, latitudeTextField, longitudeTextField}, org.jdesktop.layout.GroupLayout.HORIZONTAL); gpsPanelLayout.setVerticalGroup( gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanelLayout.createSequentialGroup() .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(altitudeLabel) .add(latitudeLabel) .add(latitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(longitudeLabel) .add(longitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(altitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(gpsPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(coordinateSystemLabel) .add(gpsChangeButton))) ); locationNoteLabel.setText("Location note:"); locationNoteArea.setColumns(20); locationNoteArea.setRows(5); locationNoteArea.setLineWrap(true); locationNoteArea.setWrapStyleWord(true); new TabTransfersFocus(locationNoteArea); jScrollPane4.setViewportView(locationNoteArea); clearLocationButton.setText("Vyma\u017e"); confirmationLabel.setFont(new java.awt.Font("Dialog", 1, 14)); confirmationLabel.setForeground(new java.awt.Color(0, 204, 0)); confirmationLabel.setText("jLabel1"); org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(7, 7, 7) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(7, 7, 7) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(territoryNameLabel) .add(quadrantLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(org.jdesktop.layout.GroupLayout.LEADING, quadrantTextField) .add(org.jdesktop.layout.GroupLayout.LEADING, territoryNameCombo, 0, 145, Short.MAX_VALUE)) .add(12, 12, 12) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, phytNameLabel) .add(org.jdesktop.layout.GroupLayout.TRAILING, countryLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(phytCountryCombo, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(phytNameCombo, 0, 133, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(townLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(townComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 150, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel5Layout.createSequentialGroup() .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(gpsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(clearLocationButton) .add(confirmationLabel))) .add(jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(placeDescriptionLabel) .add(434, 434, 434)) .add(jPanel5Layout.createSequentialGroup() .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 578, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(locationNoteLabel) .add(jScrollPane4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 286, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(52, 52, 52)) ); jPanel5Layout.linkSize(new java.awt.Component[] {quadrantTextField, territoryNameCombo}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(territoryNameLabel) .add(territoryNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(phytNameLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(quadrantLabel) .add(quadrantTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(countryLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(placeDescriptionLabel) .add(locationNoteLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) .add(jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(phytNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(townLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(townComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 24, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(phytCountryCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane4, 0, 0, Short.MAX_VALUE) .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 54, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(gpsPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(jPanel5Layout.createSequentialGroup() .add(clearLocationButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 31, Short.MAX_VALUE) .add(confirmationLabel))) .addContainerGap()) ); jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder(L10n.getString("Occurrence"))); jPanel7.setPreferredSize(new java.awt.Dimension(914, 300)); taxonTextArea.setColumns(20); taxonTextArea.setRows(5); taxonTextArea.setAutoscrolls(false); jScrollPane3.setViewportView(taxonTextArea); taxonLabel.setText("Taxon:"); jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.TimePanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); monthLabel.setText("Month:"); dayLabel.setText("Day:"); ((JComboBox)monthChooser.getComboBox()).addItem(""); monthChooser.setLocale(L10n.getCurrentLocale()); timeLabel.setText("Time:"); timeTextField.setNextFocusableComponent(sourceCombo); yearLabel.setText("Year:"); yearSpinner.setValue(2006); ((SpinnerNumberModel)yearSpinner.getModel()).setMinimum(1); calendarButton.setText("Calendar"); org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(19, 19, 19) .add(dayLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(dayTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 45, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel4Layout.createSequentialGroup() .addContainerGap() .add(timeLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(timeTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 45, Short.MAX_VALUE))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel4Layout.createSequentialGroup() .add(monthLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(monthChooser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(yearLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(yearSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 73, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(calendarButton)) .addContainerGap()) ); jPanel4Layout.linkSize(new java.awt.Component[] {dayTextField, timeTextField}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(1, 1, 1) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(monthLabel) .add(dayLabel) .add(dayTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(6, 6, 6) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(timeLabel) .add(timeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(yearSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(yearLabel)) .add(monthChooser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(calendarButton))) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); sourceCombo.setNextFocusableComponent(publicationCombo); sourceCombo.setActionCommand("sourceCombo"); sourceCombo.insertItemAt(model.EMPTY_STRING,0); sourceLabel.setText("Source:"); publicationLabel.setText("Publication:"); publicationCombo.setNextFocusableComponent(projectCombo); publicationCombo.setActionCommand("publicationCombo"); publicationCombo.insertItemAt(model.EMPTY_PAIR,0); herbariumTextField.setNextFocusableComponent(authorTable); herbariumTextField.setActionCommand("herbariumTextField"); herbariumLabel.setText("Herbarium:"); projectLabel.setText("Project:"); projectCombo.setNextFocusableComponent(herbariumTextField); projectCombo.setActionCommand("projectCombo"); checklistButton.setText("Checklist"); checklistButton.setNextFocusableComponent(authorTable); occurrenceNoteArea.setColumns(20); occurrenceNoteArea.setRows(5); occurrenceNoteArea.setNextFocusableComponent(okButton); occurrenceNoteArea.setLineWrap(true); occurrenceNoteArea.setWrapStyleWord(true); new TabTransfersFocus(occurrenceNoteArea); jScrollPane5.setViewportView(occurrenceNoteArea); authorTable.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null}, {null, null, null, null}, {null, null, null, null}, {null, null, null, null} }, new String [] { "Title 1", "Title 2", "Title 3", "Title 4" } )); authorTable.setNextFocusableComponent(occurrenceNoteArea); jScrollPane1.setViewportView(authorTable); occurrenceNoteLabel.setText("Occurrence note:"); clearOccurrenceButton.setText("Vyma\u017e"); plantSearchButton.setText("synonym"); org.jdesktop.layout.GroupLayout jPanel7Layout = new org.jdesktop.layout.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup( jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .addContainerGap() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(taxonLabel) .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(checklistButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(plantSearchButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 141, Short.MAX_VALUE) .add(clearOccurrenceButton)) .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 652, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(sourceLabel) .add(projectLabel) .add(publicationLabel) .add(herbariumLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(herbariumTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 132, Short.MAX_VALUE) .add(publicationCombo, 0, 132, Short.MAX_VALUE) .add(projectCombo, 0, 132, Short.MAX_VALUE) .add(jPanel7Layout.createSequentialGroup() .add(sourceCombo, 0, 132, Short.MAX_VALUE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED))) .add(19, 19, 19)) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(occurrenceNoteLabel) .add(jScrollPane5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap()))) ); jPanel7Layout.linkSize(new java.awt.Component[] {checklistButton, clearOccurrenceButton, plantSearchButton}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel7Layout.setVerticalGroup( jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel7Layout.createSequentialGroup() .add(occurrenceNoteLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jScrollPane5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(jPanel7Layout.createSequentialGroup() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel7Layout.createSequentialGroup() .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(checklistButton) .add(clearOccurrenceButton) .add(plantSearchButton))) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false) .add(jPanel7Layout.createSequentialGroup() .add(taxonLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 111, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel7Layout.createSequentialGroup() .addContainerGap() .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(sourceLabel) .add(sourceCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(publicationLabel) .add(publicationCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(projectLabel) .add(projectCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(herbariumLabel) .add(herbariumTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 82, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addContainerGap()) ); org.jdesktop.layout.GroupLayout basicPanelLayout = new org.jdesktop.layout.GroupLayout(basicPanel); basicPanel.setLayout(basicPanelLayout); basicPanelLayout.setHorizontalGroup( basicPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(basicPanelLayout.createSequentialGroup() .addContainerGap() .add(basicPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 921, Short.MAX_VALUE) .add(jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 921, Short.MAX_VALUE))) ); basicPanelLayout.setVerticalGroup( basicPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(basicPanelLayout.createSequentialGroup() .add(jPanel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 240, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel7, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 248, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(103, 103, 103)) ); topPanel.add(basicPanel, java.awt.BorderLayout.NORTH); buttonPanel.setPreferredSize(new java.awt.Dimension(800, 50)); cancelButton.setText("Cancel"); okButton.setText("Ok"); helpButton.setText("Help"); helpButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { helpButtonActionPerformed(evt); } }); settingsButton.setText("Nastaven\u00ed"); requiredInfoLabel.setText("requiredInfoLabel"); authButton.setText("aut"); rememberButton.setText("rem"); rememberButton.setActionCommand("REMEMBER"); restoreButton.setText("res"); restoreButton.setActionCommand("RESTORE"); org.jdesktop.layout.GroupLayout buttonPanelLayout = new org.jdesktop.layout.GroupLayout(buttonPanel); buttonPanel.setLayout(buttonPanelLayout); buttonPanelLayout.setHorizontalGroup( buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(buttonPanelLayout.createSequentialGroup() .addContainerGap() .add(helpButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(settingsButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(authButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(rememberButton) .add(4, 4, 4) .add(restoreButton) .add(18, 18, 18) .add(requiredInfoLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 98, Short.MAX_VALUE) .add(okButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(cancelButton) .addContainerGap()) ); buttonPanelLayout.linkSize(new java.awt.Component[] {authButton, cancelButton, helpButton, okButton, rememberButton, restoreButton, settingsButton}, org.jdesktop.layout.GroupLayout.HORIZONTAL); buttonPanelLayout.setVerticalGroup( buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(buttonPanelLayout.createSequentialGroup() .addContainerGap() .add(buttonPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(helpButton) .add(settingsButton) .add(cancelButton) .add(okButton) .add(authButton) .add(rememberButton) .add(restoreButton) .add(requiredInfoLabel)) .addContainerGap(13, Short.MAX_VALUE)) ); buttonPanelLayout.linkSize(new java.awt.Component[] {cancelButton, helpButton, okButton}, org.jdesktop.layout.GroupLayout.VERTICAL); topPanel.add(buttonPanel, java.awt.BorderLayout.SOUTH); extendedPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.ExtendedData"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); extendedPanel.setMinimumSize(new java.awt.Dimension(800, 50)); extendedPanel.setPreferredSize(new java.awt.Dimension(800, 50)); occurrenceTable.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {"Pampeliska", "Vysockij", "1.1.1900"}, {"Metropolis", "Fritz Lang", "3.7.1927"}, {null, null, null} }, new String [] { "Taxon", "Autor", "Datum" } ) { Class[] types = new Class [] { java.lang.String.class, java.lang.String.class, java.lang.String.class }; boolean[] canEdit = new boolean [] { false, false, false }; public Class getColumnClass(int columnIndex) { return types [columnIndex]; } public boolean isCellEditable(int rowIndex, int columnIndex) { return canEdit [columnIndex]; } }); jScrollPane6.setViewportView(occurrenceTable); org.jdesktop.layout.GroupLayout extendedPanelLayout = new org.jdesktop.layout.GroupLayout(extendedPanel); extendedPanel.setLayout(extendedPanelLayout); extendedPanelLayout.setHorizontalGroup( extendedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(extendedPanelLayout.createSequentialGroup() .addContainerGap() .add(jScrollPane6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 909, Short.MAX_VALUE) .addContainerGap()) ); extendedPanelLayout.setVerticalGroup( extendedPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(extendedPanelLayout.createSequentialGroup() .add(jScrollPane6, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 83, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); topPanel.add(extendedPanel, java.awt.BorderLayout.CENTER); jScrollPane8.setViewportView(topPanel); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 946, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jScrollPane8, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); pack(); }// </editor-fold>//GEN-END:initComponents
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/59d101ada2aae23fdf8fe72c331b97702a8c5626/AddEditView.java/clean/trunk/src/net/sf/plantlore/client/overview/AddEditView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 1765, 13431, 1114, 273, 394, 6863, 18, 5328, 310, 18, 3616, 1114, 5621, 3639, 20985, 2563, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 20985, 5706, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 20985, 5335, 16157, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 5621, 3639, 20985, 5335, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 20985, 1388, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 525, 26360, 28, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 1760, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 5337, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 17871, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 9474, 6890, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 5251, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 268, 25313, 461, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 1844, 93, 88, 461, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 268, 25313, 461, 16156, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 1769, 3639, 1844, 93, 88, 461, 16156, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 1769, 3639, 1844, 93, 88, 8142, 16156, 273, 394, 8064, 22199, 4960, 23, 12, 5743, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 1765, 13431, 1114, 273, 394, 6863, 18, 5328, 310, 18, 3616, 1114, 5621, 3639, 20985, 2563, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 20985, 5706, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 20985, 5335, 16157, 273, 394, 6863, 18, 5328, 310, 18, 46, 16157, 5621, 3639, 20985, 5335, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 20985, 1388, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 525, 26360, 28, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 1760, 5537, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 2 ]
if ((_axis == 4) || (_axis == 5)) {
if (((_axis == Axis.DESCENDANT) || (_axis == Axis.DESCENDANTORSELF)) && (_nodeType > DOM.ATTRIBUTE)) {
public void translatePredicates(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); if (_predicates.size() == 0) { translate(classGen, methodGen); } else { final Predicate predicate = (Predicate)_predicates.lastElement(); _predicates.remove(predicate); // Special case for predicates that can use the NodeValueIterator // instead of an auxiliary class. Certain path/predicates pairs // are translated into a base path, on top of which we place a // node value iterator that tests for the desired value: // foo[@attr = 'str'] -> foo/@attr + test(value='str') // foo[bar = 'str'] -> foo/bar + test(value='str') // foo/bar[. = 'str'] -> foo/bar + test(value='str') if (predicate.isNodeValueTest()) { Step step = predicate.getStep(); il.append(methodGen.loadDOM()); // If the predicate's Step is simply '.' we translate this Step // and place the node test on top of the resulting iterator if (step.isAbbreviatedDot()) { translate(classGen, methodGen); il.append(new ICONST(DOM.RETURN_CURRENT)); } // Otherwise we create a parent location path with this Step and // the predicates Step, and place the node test on top of that else { ParentLocationPath path = new ParentLocationPath(this,step); try { path.typeCheck(getParser().getSymbolTable()); } catch (TypeCheckError e) { } path.translate(classGen, methodGen); il.append(new ICONST(DOM.RETURN_PARENT)); } predicate.translate(classGen, methodGen); int iter = cpg.addInterfaceMethodref(DOM_INTF, GET_NODE_VALUE_ITERATOR, GET_NODE_VALUE_ITERATOR_SIG); il.append(new INVOKEINTERFACE(iter, 5)); } // Handle '//*[n]' expression else if (predicate.isNthDescendant()) { il.append(methodGen.loadDOM()); //il.append(methodGen.loadContextNode()); il.append(new ICONST(-1)); predicate.translate(classGen, methodGen); int iter = cpg.addInterfaceMethodref(DOM_INTF, "getNthDescendant", "(II)"+NODE_ITERATOR_SIG); il.append(new INVOKEINTERFACE(iter, 3)); } // Handle 'elem[n]' expression else if (predicate.isNthPositionFilter()) { if ((_axis == 4) || (_axis == 5)) { il.append(methodGen.loadDOM()); il.append(new PUSH(cpg, _nodeType)); predicate.translate(classGen, methodGen); int iter = cpg.addInterfaceMethodref(DOM_INTF, "getNthDescendant", "(II)"+NODE_ITERATOR_SIG); il.append(new INVOKEINTERFACE(iter, 3)); } else { final int initNI = cpg.addMethodref(NTH_ITERATOR_CLASS, "<init>", "(" + NODE_ITERATOR_SIG + "I)V"); il.append(new NEW(cpg.addClass(NTH_ITERATOR_CLASS))); il.append(DUP); translatePredicates(classGen, methodGen); // recursive call predicate.translate(classGen, methodGen); il.append(new INVOKESPECIAL(initNI)); } } else { final int init = cpg.addMethodref(CURRENT_NODE_LIST_ITERATOR, "<init>", "(" + NODE_ITERATOR_SIG + CURRENT_NODE_LIST_FILTER_SIG + NODE_SIG + TRANSLET_SIG + ")V"); // create new CurrentNodeListIterator il.append(new NEW(cpg.addClass(CURRENT_NODE_LIST_ITERATOR))); il.append(DUP); translatePredicates(classGen, methodGen); // recursive call predicate.translate(classGen, methodGen); il.append(methodGen.loadCurrentNode()); il.append(classGen.loadTranslet()); if (classGen.isExternal()) { final String className = classGen.getClassName(); il.append(new CHECKCAST(cpg.addClass(className))); } il.append(new INVOKESPECIAL(init)); } } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2cc11c0dff878f28fcc5727b759f886aea62e986/Step.java/buggy/src/org/apache/xalan/xsltc/compiler/Step.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4204, 26916, 12, 797, 3908, 667, 7642, 16, 6862, 565, 2985, 3908, 707, 7642, 13, 288, 202, 6385, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, 2864, 5621, 202, 6385, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 430, 261, 67, 6510, 8242, 18, 1467, 1435, 422, 374, 13, 288, 202, 565, 4204, 12, 1106, 7642, 16, 707, 7642, 1769, 202, 97, 202, 12107, 288, 202, 565, 727, 10202, 5641, 273, 261, 8634, 13, 67, 6510, 8242, 18, 2722, 1046, 5621, 202, 565, 389, 6510, 8242, 18, 4479, 12, 18344, 1769, 202, 565, 368, 13409, 648, 364, 16403, 716, 848, 999, 326, 2029, 620, 3198, 202, 565, 368, 3560, 434, 392, 9397, 20606, 667, 18, 11921, 530, 589, 19, 6510, 8242, 5574, 202, 565, 368, 854, 9955, 1368, 279, 1026, 589, 16, 603, 1760, 434, 1492, 732, 3166, 279, 202, 565, 368, 756, 460, 2775, 716, 7434, 364, 326, 6049, 460, 30, 202, 565, 368, 282, 8431, 14782, 1747, 273, 296, 701, 3546, 225, 317, 225, 8431, 19, 36, 1747, 397, 1842, 12, 1132, 2218, 701, 6134, 202, 565, 368, 282, 8431, 63, 3215, 273, 296, 701, 3546, 565, 317, 225, 8431, 19, 3215, 397, 1842, 12, 1132, 2218, 701, 6134, 202, 565, 368, 282, 8431, 19, 3215, 63, 18, 273, 296, 701, 3546, 225, 317, 225, 8431, 19, 3215, 397, 1842, 12, 1132, 2218, 701, 6134, 202, 565, 309, 261, 18344, 18, 291, 907, 620, 4709, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4204, 26916, 12, 797, 3908, 667, 7642, 16, 6862, 565, 2985, 3908, 707, 7642, 13, 288, 202, 6385, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, 2864, 5621, 202, 6385, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 430, 261, 67, 6510, 8242, 18, 1467, 1435, 422, 374, 13, 288, 202, 565, 4204, 12, 1106, 7642, 16, 707, 7642, 1769, 202, 97, 202, 12107, 288, 202, 565, 727, 10202, 5641, 273, 261, 8634, 13, 67, 6510, 8242, 18, 2722, 1046, 5621, 202, 565, 389, 6510, 8242, 18, 4479, 12, 18344, 1769, 202, 565, 368, 13409, 648, 364, 16403, 716, 848, 999, 326, 2029, 620, 3198, 202, 565, 368, 3560, 2 ]
if (comp.usingCPStyle()) { { Label l = new Label(code); gnu.bytecode.SwitchState fswitch = comp.fswitch; int pc = fswitch.getMaxValue() + 1; fswitch.addCase(pc, l, code); code.emitLoad(comp.callStackContext); code.emitLoad(comp.callStackContext); code.emitPushInt(pc); code.emitPutField(Compilation.pcCallStackField); code.emitInvokeVirtual(comp.applyCpsMethod); Type[] stackTypes = code.saveStackTypeState(false); java.util.Stack stackFields = new java.util.Stack(); if (stackTypes != null) { for (int i = stackTypes.length; --i >= 0; ) { Field fld = comp.allocLocalField (stackTypes[i], null); code.emitPushThis(); code.emitSwap(); code.emitPutField(fld); stackFields.push(fld); } } code.emitReturn(); l.define(code); if (stackTypes != null) { for (int i = stackTypes.length; --i >= 0; ) { Field fld = (Field) stackFields.pop(); code.emitPushThis(); code.emitGetField(fld); comp.freeLocalField(fld); } } code.emitLoad(comp.callStackContext); code.emitGetField(comp.valueCallStackField); target.compileFromStack(comp, Type.pointer_type); } return; } int args_length = exp.args.length; boolean tail_recurse = exp.tailCall && func_lambda != null && func_lambda == comp.curLambda; if (func_lambda != null && func_lambda.getInlineOnly() && !tail_recurse && func_lambda.min_args == args_length) { for (int i = 0; i < args_length; ++i) exp.args[i].compile (comp, Target.pushObject); LambdaExp saveLambda = comp.curLambda; comp.curLambda = func_lambda; func_lambda.allocChildClasses(comp); func_lambda.allocParameters(comp, null); popParams (code, func_lambda); func_lambda.enterFunction(comp, null); func_lambda.body.compileWithPosition(comp, target); code.popScope(); func_lambda.compileChildMethods(comp); comp.curLambda = saveLambda; return; } if (comp.curLambda.isHandlingTailCalls() && exp.isTailCall() && ! comp.curLambda.getInlineOnly()) { code.emitLoad(comp.callStackContext); code.emitDup(comp.callStackContext.getType()); exp.func.compile(comp, new StackTarget(comp.typeProcedure)); code.emitPutField(comp.procCallStackField); code.emitDup(comp.callStackContext.getType()); compileToArray (exp.args, comp); code.emitPutField(comp.argsCallStackField); code.emitReturn(); return; } if (!tail_recurse) { Expression func = exp.func; ReferenceExp rfunc; if (func instanceof ReferenceExp && (rfunc = (ReferenceExp) func).binding == null) { code.emitGetStatic(comp.getBindingField(rfunc.symbol)); code.emitInvokeVirtual(Compilation.getProcedureBindingMethod); } else func.compile (comp, new StackTarget(comp.typeProcedure)); } if (args_length <= 4 || (tail_recurse && func_lambda.min_args == func_lambda.max_args)) { for (int i = 0; i < args_length; ++i) exp.args[i].compile (comp, Target.pushObject); method = comp.applymethods[args_length]; } else { compileToArray(exp.args, comp); method = comp.applyNmethod; } if (tail_recurse) { popParams(code, func_lambda); code.emitTailCall(false, func_lambda.scope); return; } code.emitInvokeVirtual(method); target.compileFromStack(comp, Type.pointer_type);
compile(this, comp, target);
public static void compile (ApplyExp exp, Compilation comp, Target target) { Method method; gnu.bytecode.CodeAttr code = comp.getCode(); LambdaExp func_lambda = null; String func_name = null; if (exp.func instanceof LambdaExp) { func_lambda = (LambdaExp) exp.func; func_name = func_lambda.getName(); if (func_name == null) func_name = "<lambda>"; } else if (exp.func instanceof ReferenceExp) { Declaration func_decl = ((ReferenceExp)exp.func).binding; if (func_decl != null && func_decl.value != null && func_decl.value instanceof LambdaExp) { func_lambda = (LambdaExp) func_decl.value; func_name = func_decl.string_name (); } } if (func_lambda != null) { // These error message should really be done earlier, // but we do not have the right information until // the rewrite pass is finished. if (exp.args.length < func_lambda.min_args) { System.err.print ("warning: too few args for "); System.err.println(func_name); func_lambda = null; } else if (func_lambda.max_args >= 0 && exp.args.length > func_lambda.max_args) { System.err.print ("warning: too many args for "); System.err.println(func_name); func_lambda = null; } else if (! func_lambda.getCanRead() && ! func_lambda.getInlineOnly() && ! func_lambda.isHandlingTailCalls()) { method = func_lambda.primMethod; boolean is_static = method.getStaticFlag(); Expression[] args = exp.getArgs(); int extraArg = 0; Type[] argTypes = method.getParameterTypes(); // ?? Procedure.checkArgCount(this, args.length); LambdaExp parent = func_lambda.outerLambda(); if ((parent.heapFrame != null && (func_lambda.getImportsLexVars() || func_lambda.getNeedsStaticLink())) || ! is_static) { if (is_static) extraArg = 1; parent.loadHeapFrame(comp); } if (func_lambda.max_args != func_lambda.min_args) { compileToArray (exp.args, comp); } else { for (int i = 0; i < args.length; ++i) { if (argTypes[extraArg+i] == null) { throw new Error("bad argtypes["+i+"] len:"+argTypes.length+" func:"+func_lambda+" meth:"+method); } args[i].compile(comp, argTypes[extraArg+i]); } } if (is_static) code.emitInvokeStatic(method); else code.emitInvokeVirtual(method); target.compileFromStack(comp, method.getReturnType()); return; } } if (comp.usingCPStyle()) { { Label l = new Label(code); gnu.bytecode.SwitchState fswitch = comp.fswitch; int pc = fswitch.getMaxValue() + 1; fswitch.addCase(pc, l, code); code.emitLoad(comp.callStackContext); // Emit: context->pc = pc. code.emitLoad(comp.callStackContext); code.emitPushInt(pc); code.emitPutField(Compilation.pcCallStackField); code.emitInvokeVirtual(comp.applyCpsMethod); // emit[save java stack, if needed] Type[] stackTypes = code.saveStackTypeState(false); java.util.Stack stackFields = new java.util.Stack(); if (stackTypes != null) { for (int i = stackTypes.length; --i >= 0; ) { Field fld = comp.allocLocalField (stackTypes[i], null); code.emitPushThis(); code.emitSwap(); code.emitPutField(fld); stackFields.push(fld); } } code.emitReturn(); l.define(code); // emit[restore java stack, if needed] if (stackTypes != null) { for (int i = stackTypes.length; --i >= 0; ) { Field fld = (Field) stackFields.pop(); code.emitPushThis(); code.emitGetField(fld); comp.freeLocalField(fld); } } // Load result from stack.value to target. code.emitLoad(comp.callStackContext); code.emitGetField(comp.valueCallStackField); target.compileFromStack(comp, Type.pointer_type); } return; } int args_length = exp.args.length; // Check for tail-recursion. boolean tail_recurse = exp.tailCall && func_lambda != null && func_lambda == comp.curLambda; if (func_lambda != null && func_lambda.getInlineOnly() && !tail_recurse && func_lambda.min_args == args_length) { for (int i = 0; i < args_length; ++i) exp.args[i].compile (comp, Target.pushObject); LambdaExp saveLambda = comp.curLambda; comp.curLambda = func_lambda; func_lambda.allocChildClasses(comp); func_lambda.allocParameters(comp, null); popParams (code, func_lambda); func_lambda.enterFunction(comp, null); func_lambda.body.compileWithPosition(comp, target); code.popScope(); // comp.method.popScope(); func_lambda.compileChildMethods(comp); comp.curLambda = saveLambda; return; } if (comp.curLambda.isHandlingTailCalls() && exp.isTailCall() && ! comp.curLambda.getInlineOnly()) { code.emitLoad(comp.callStackContext); code.emitDup(comp.callStackContext.getType()); exp.func.compile(comp, new StackTarget(comp.typeProcedure)); code.emitPutField(comp.procCallStackField); code.emitDup(comp.callStackContext.getType()); // evaluate args to frame-locals vars; // may recurse! compileToArray (exp.args, comp); code.emitPutField(comp.argsCallStackField); code.emitReturn(); return; } if (!tail_recurse) { Expression func = exp.func; ReferenceExp rfunc; if (func instanceof ReferenceExp && (rfunc = (ReferenceExp) func).binding == null) { code.emitGetStatic(comp.getBindingField(rfunc.symbol)); code.emitInvokeVirtual(Compilation.getProcedureBindingMethod); } else func.compile (comp, new StackTarget(comp.typeProcedure)); } if (args_length <= 4 || (tail_recurse && func_lambda.min_args == func_lambda.max_args)) { for (int i = 0; i < args_length; ++i) exp.args[i].compile (comp, Target.pushObject); method = comp.applymethods[args_length]; } else { compileToArray(exp.args, comp); method = comp.applyNmethod; } if (tail_recurse) { popParams(code, func_lambda); code.emitTailCall(false, func_lambda.scope); return; } code.emitInvokeVirtual(method); target.compileFromStack(comp, Type.pointer_type); }
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/5da7935846cf88154d29cb8930e3b2b29c5387f5/ApplyExp.java/buggy/gnu/expr/ApplyExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4074, 261, 7001, 2966, 1329, 16, 22416, 1161, 16, 5916, 1018, 13, 225, 288, 565, 2985, 707, 31, 565, 314, 13053, 18, 1637, 16651, 18, 1085, 3843, 981, 273, 1161, 18, 588, 1085, 5621, 565, 12801, 2966, 1326, 67, 14661, 273, 446, 31, 565, 514, 1326, 67, 529, 273, 446, 31, 565, 309, 261, 2749, 18, 644, 1276, 12801, 2966, 13, 1377, 288, 202, 644, 67, 14661, 273, 261, 12025, 2966, 13, 1329, 18, 644, 31, 202, 644, 67, 529, 273, 1326, 67, 14661, 18, 17994, 5621, 202, 430, 261, 644, 67, 529, 422, 446, 13, 202, 225, 1326, 67, 529, 273, 3532, 14661, 2984, 31, 1377, 289, 565, 469, 309, 261, 2749, 18, 644, 1276, 6268, 2966, 13, 4202, 288, 540, 16110, 4302, 1326, 67, 8840, 273, 14015, 2404, 2966, 13, 2749, 18, 644, 2934, 7374, 31, 540, 309, 261, 644, 67, 8840, 480, 446, 597, 1326, 67, 8840, 18, 1132, 480, 446, 2398, 597, 1326, 67, 8840, 18, 1132, 1276, 12801, 2966, 13, 3196, 225, 288, 202, 565, 1326, 67, 14661, 273, 261, 12025, 2966, 13, 1326, 67, 8840, 18, 1132, 31, 202, 565, 1326, 67, 529, 273, 1326, 67, 8840, 18, 1080, 67, 529, 261, 1769, 202, 225, 289, 1377, 289, 565, 309, 261, 644, 67, 14661, 480, 446, 13, 1377, 288, 202, 759, 8646, 555, 883, 1410, 8654, 506, 2731, 13805, 16, 202, 759, 1496, 732, 741, 486, 1240, 326, 2145, 1779, 3180, 202, 759, 326, 10738, 1342, 353, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 4074, 261, 7001, 2966, 1329, 16, 22416, 1161, 16, 5916, 1018, 13, 225, 288, 565, 2985, 707, 31, 565, 314, 13053, 18, 1637, 16651, 18, 1085, 3843, 981, 273, 1161, 18, 588, 1085, 5621, 565, 12801, 2966, 1326, 67, 14661, 273, 446, 31, 565, 514, 1326, 67, 529, 273, 446, 31, 565, 309, 261, 2749, 18, 644, 1276, 12801, 2966, 13, 1377, 288, 202, 644, 67, 14661, 273, 261, 12025, 2966, 13, 1329, 18, 644, 31, 202, 644, 67, 529, 273, 1326, 67, 14661, 18, 17994, 5621, 202, 430, 261, 644, 67, 529, 422, 446, 13, 202, 225, 1326, 67, 529, 273, 3532, 14661, 2984, 31, 1377, 289, 565, 469, 309, 261, 2749, 18, 644, 2 ]
HttpCasing httpCasing)
HttpCasing httpCasing)
HttpUnparser(TCPSession session, boolean clientSide, HttpCasing httpCasing) { super(session, clientSide); this.httpCasing = httpCasing; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/a36f9259367da033fe707fe0fabda8568fb92de7/HttpUnparser.java/buggy/tran/http/main/com/metavize/tran/http/HttpUnparser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2541, 984, 4288, 12, 13891, 2157, 1339, 16, 1250, 1004, 8895, 16, 10792, 2541, 39, 11730, 1062, 39, 11730, 13, 565, 288, 3639, 2240, 12, 3184, 16, 1004, 8895, 1769, 3639, 333, 18, 2505, 39, 11730, 273, 1062, 39, 11730, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 2541, 984, 4288, 12, 13891, 2157, 1339, 16, 1250, 1004, 8895, 16, 10792, 2541, 39, 11730, 1062, 39, 11730, 13, 565, 288, 3639, 2240, 12, 3184, 16, 1004, 8895, 1769, 3639, 333, 18, 2505, 39, 11730, 273, 1062, 39, 11730, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
}
public static void editableTagAction (PageContext context, String filename, ServletRequest req, ServletResponse res) throws JspException { try { CmsFlexController controller = (CmsFlexController)req.getAttribute(CmsFlexController.ATTRIBUTE_NAME); if (controller.getCmsObject().getRequestContext().currentProject().getId() != I_CmsConstants.C_PROJECT_ONLINE_ID) { if (context.getRequest().getAttribute(I_CmsEditorActionHandler.C_DIRECT_EDIT_INCLUDE_FILE_URI) == null) { if (filename == null) { filename = I_CmsEditorActionHandler.C_DIRECT_EDIT_INCLUDE_FILE_URI_DEFAULT; } context.getRequest().setAttribute(I_CmsEditorActionHandler.C_DIRECT_EDIT_INCLUDE_FILE_URI, filename); CmsJspTagInclude.includeTagAction(context, filename, I_CmsEditorActionHandler.C_DIRECT_EDIT_INCLUDES, false, null, req, res); } } } catch (Throwable t) { // never thrown throw new JspException(t); } }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/247b9f9f8ac6897a562e2ae06f80157d6d8a3ece/CmsJspTagEditable.java/buggy/src/org/opencms/jsp/CmsJspTagEditable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 13754, 1805, 1803, 261, 1964, 1042, 819, 16, 514, 1544, 16, 26470, 1111, 16, 7971, 1064, 400, 13, 377, 1216, 27485, 288, 3639, 775, 288, 5411, 2149, 19667, 2933, 2596, 273, 261, 4747, 19667, 2933, 13, 3658, 18, 588, 1499, 12, 4747, 19667, 2933, 18, 11616, 67, 1985, 1769, 7734, 309, 261, 5723, 18, 588, 4747, 921, 7675, 588, 21426, 7675, 2972, 4109, 7675, 26321, 1435, 480, 467, 67, 4747, 2918, 18, 39, 67, 17147, 67, 673, 5997, 67, 734, 13, 288, 7734, 309, 261, 2472, 18, 588, 691, 7675, 588, 1499, 12, 45, 67, 4747, 6946, 1803, 1503, 18, 39, 67, 17541, 67, 10776, 67, 26003, 67, 3776, 67, 3098, 13, 422, 446, 13, 288, 4766, 565, 309, 261, 3459, 422, 446, 13, 288, 13491, 1544, 273, 467, 67, 4747, 6946, 1803, 1503, 18, 39, 67, 17541, 67, 10776, 67, 26003, 67, 3776, 67, 3098, 67, 5280, 31, 10792, 289, 10792, 819, 18, 588, 691, 7675, 542, 1499, 12, 45, 67, 4747, 6946, 1803, 1503, 18, 39, 67, 17541, 67, 10776, 67, 26003, 67, 3776, 67, 3098, 16, 1544, 1769, 27573, 31108, 1805, 8752, 18, 6702, 1805, 1803, 12, 2472, 16, 1544, 16, 467, 67, 4747, 6946, 1803, 1503, 18, 39, 67, 17541, 67, 10776, 67, 26003, 55, 16, 629, 16, 446, 16, 1111, 16, 400, 1769, 7734, 289, 5411, 289, 10792, 289, 1044, 261, 15155, 268, 13, 288, 5411, 368, 5903, 6718, 5411, 604, 394, 27485, 12, 88, 1769, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 13754, 1805, 1803, 261, 1964, 1042, 819, 16, 514, 1544, 16, 26470, 1111, 16, 7971, 1064, 400, 13, 377, 1216, 27485, 288, 3639, 775, 288, 5411, 2149, 19667, 2933, 2596, 273, 261, 4747, 19667, 2933, 13, 3658, 18, 588, 1499, 12, 4747, 19667, 2933, 18, 11616, 67, 1985, 1769, 7734, 309, 261, 5723, 18, 588, 4747, 921, 7675, 588, 21426, 7675, 2972, 4109, 7675, 26321, 1435, 480, 467, 67, 4747, 2918, 18, 39, 67, 17147, 67, 673, 5997, 67, 734, 13, 288, 7734, 309, 261, 2472, 18, 588, 691, 7675, 588, 1499, 12, 45, 67, 4747, 6946, 1803, 1503, 18, 39, 67, 17541, 67, 10776, 67, 26003, 67, 3776, 67, 3098, 13, 422, 446, 13, 2 ]
ConverterLookup converterLookup, Mapper mapper, String rootClassName) { super(writer, converterLookup, mapper, mode); this.rootClassName = rootClassName; }
DefaultConverterLookup converterLookup, ClassMapper classMapper, String rootClassName) { super(writer, converterLookup, classMapper); this.rootClassName = rootClassName; }
public LockssReferenceByXPathMarshaller(HierarchicalStreamWriter writer, ConverterLookup converterLookup, Mapper mapper, String rootClassName) { super(writer, converterLookup, mapper, mode); this.rootClassName = rootClassName; }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/672d6acaeda76552e1a52f83f632debee4b37a4b/XStreamSerializer.java/clean/src/org/lockss/util/XStreamSerializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 3488, 1049, 2404, 858, 14124, 2058, 12, 44, 14529, 29421, 2633, 16, 4766, 2868, 14768, 6609, 6027, 6609, 16, 4766, 2868, 19273, 5815, 16, 4766, 2868, 514, 1365, 3834, 13, 288, 3639, 2240, 12, 6299, 16, 6027, 6609, 16, 5815, 16, 1965, 1769, 3639, 333, 18, 3085, 3834, 273, 1365, 3834, 31, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 3488, 1049, 2404, 858, 14124, 2058, 12, 44, 14529, 29421, 2633, 16, 4766, 2868, 14768, 6609, 6027, 6609, 16, 4766, 2868, 19273, 5815, 16, 4766, 2868, 514, 1365, 3834, 13, 288, 3639, 2240, 12, 6299, 16, 6027, 6609, 16, 5815, 16, 1965, 1769, 3639, 333, 18, 3085, 3834, 273, 1365, 3834, 31, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
devplugin.Date date=new devplugin.Date(); Calendar cal=new GregorianCalendar(); cal.setTime(new java.util.Date()); int time=cal.get(Calendar.HOUR_OF_DAY)*60+cal.get(Calendar.MINUTE); devplugin.Date today=new devplugin.Date(); Iterator it=this.getReminderItems(); while (it.hasNext()) { ReminderListItem item=(ReminderListItem)it.next(); if (item.getReminderMinutes()<0) continue;
public void actionPerformed(ActionEvent event) { if (listener == null) { timer.stop(); return; } devplugin.Date date=new devplugin.Date(); Calendar cal=new GregorianCalendar(); cal.setTime(new java.util.Date()); int time=cal.get(Calendar.HOUR_OF_DAY)*60+cal.get(Calendar.MINUTE); devplugin.Date today=new devplugin.Date(); Iterator it=this.getReminderItems(); while (it.hasNext()) { ReminderListItem item=(ReminderListItem)it.next(); if (item.getReminderMinutes()<0) continue; int m=item.getProgram().getMinutes(); int h=item.getProgram().getHours(); int d=item.getReminderMinutes(); int diff=today.compareTo(item.getProgram().getDate()); if (diff>0) { listener.timeEvent(item); } else { int currentMinutesAfterMidnight = util.io.IOUtilities.getMinutesAfterMidnight(); int remindMinutesAfterMidnight = h * 60 + m -d; if (diff<0) { currentMinutesAfterMidnight-=1440; } if (currentMinutesAfterMidnight>=remindMinutesAfterMidnight) { listener.timeEvent(item); } } } }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/d580895df229632c4b8bc798a0285d45a4d94d3c/ReminderList.java/buggy/tvbrowser/src/reminderplugin/ReminderList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 871, 13, 288, 6647, 309, 261, 12757, 422, 446, 13, 288, 1850, 5441, 18, 5681, 5621, 1850, 327, 31, 3639, 289, 21821, 4461, 4094, 18, 1626, 1509, 33, 2704, 4461, 4094, 18, 1626, 5621, 5411, 5542, 1443, 33, 2704, 28033, 5621, 3639, 1443, 18, 542, 950, 12, 2704, 2252, 18, 1367, 18, 1626, 10663, 3639, 509, 813, 33, 771, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 17653, 4848, 15, 771, 18, 588, 12, 7335, 18, 30090, 1769, 540, 4461, 4094, 18, 1626, 10074, 33, 2704, 4461, 4094, 18, 1626, 5621, 5411, 4498, 518, 33, 2211, 18, 588, 1933, 14055, 3126, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 1850, 2663, 14055, 13575, 761, 28657, 1933, 14055, 13575, 13, 305, 18, 4285, 5621, 1850, 309, 261, 1726, 18, 588, 1933, 14055, 13050, 1435, 32, 20, 13, 1324, 31, 1850, 509, 312, 33, 1726, 18, 588, 9459, 7675, 588, 13050, 5621, 1850, 509, 366, 33, 1726, 18, 588, 9459, 7675, 588, 14910, 5621, 1850, 509, 302, 33, 1726, 18, 588, 1933, 14055, 13050, 5621, 1850, 509, 3122, 33, 30064, 18, 9877, 774, 12, 1726, 18, 588, 9459, 7675, 588, 1626, 10663, 1850, 309, 261, 5413, 34, 20, 13, 288, 5411, 2991, 18, 957, 1133, 12, 1726, 1769, 2868, 289, 540, 469, 288, 1171, 509, 783, 13050, 4436, 20711, 18840, 273, 1709, 18, 1594, 18, 4294, 11864, 18, 588, 13050, 4436, 20711, 18840, 5621, 5411, 509, 849, 728, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 26100, 12, 1803, 1133, 871, 13, 288, 6647, 309, 261, 12757, 422, 446, 13, 288, 1850, 5441, 18, 5681, 5621, 1850, 327, 31, 3639, 289, 21821, 4461, 4094, 18, 1626, 1509, 33, 2704, 4461, 4094, 18, 1626, 5621, 5411, 5542, 1443, 33, 2704, 28033, 5621, 3639, 1443, 18, 542, 950, 12, 2704, 2252, 18, 1367, 18, 1626, 10663, 3639, 509, 813, 33, 771, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 17653, 4848, 15, 771, 18, 588, 12, 7335, 18, 30090, 1769, 540, 4461, 4094, 18, 1626, 10074, 33, 2704, 4461, 4094, 18, 1626, 5621, 5411, 4498, 518, 33, 2211, 18, 588, 1933, 14055, 3126, 5621, 3639, 1323, 261, 305, 18, 5332, 2134, 10756, 2 ]
}
}
private GeoImageLayer() { super("Geotagged Images"); Main.map.mapView.addMouseListener(new MouseAdapter(){ @Override public void mousePressed(MouseEvent e) { if (e.getButton() != MouseEvent.BUTTON1) return; mousePressed = true; if (visible) Main.map.mapView.repaint(); } @Override public void mouseReleased(MouseEvent ev) { if (ev.getButton() != MouseEvent.BUTTON1) return; mousePressed = false; if (!visible) return; for (ImageEntry e : data) { if (e.pos == null) continue; Point p = Main.map.mapView.getPoint(e.pos); Rectangle r = new Rectangle(p.x-e.icon.getIconWidth()/2, p.y-e.icon.getIconHeight()/2, e.icon.getIconWidth(), e.icon.getIconHeight()); if (r.contains(ev.getPoint())) { showImage(e); break; } } Main.map.mapView.repaint(); } }); }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/d1708eb3caf2beef8ea823068878cbfd80d8ca72/GeoImageLayer.java/clean/src/org/openstreetmap/josm/gui/layer/GeoImageLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 9385, 2040, 4576, 1435, 288, 202, 202, 9565, 2932, 18809, 352, 346, 2423, 23022, 8863, 202, 202, 6376, 18, 1458, 18, 1458, 1767, 18, 1289, 9186, 2223, 12, 2704, 17013, 4216, 1435, 95, 1082, 202, 36, 6618, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 288, 9506, 202, 430, 261, 73, 18, 588, 3616, 1435, 480, 17013, 1133, 18, 20068, 21, 13, 6862, 202, 2463, 31, 9506, 202, 11697, 24624, 225, 273, 638, 31, 9506, 202, 430, 261, 8613, 13, 6862, 202, 6376, 18, 1458, 18, 1458, 1767, 18, 14462, 1598, 5621, 5411, 289, 1082, 202, 36, 6618, 1071, 918, 7644, 26363, 12, 9186, 1133, 2113, 13, 288, 9506, 202, 430, 261, 14965, 18, 588, 3616, 1435, 480, 17013, 1133, 18, 20068, 21, 13, 6862, 202, 2463, 31, 9506, 202, 11697, 24624, 273, 629, 31, 9506, 202, 430, 16051, 8613, 13, 6862, 202, 2463, 31, 9506, 202, 1884, 261, 2040, 1622, 425, 294, 501, 13, 288, 6862, 202, 430, 261, 73, 18, 917, 422, 446, 13, 25083, 202, 17143, 31, 6862, 202, 2148, 293, 273, 12740, 18, 1458, 18, 1458, 1767, 18, 588, 2148, 12, 73, 18, 917, 1769, 6862, 202, 19463, 436, 273, 394, 13264, 12, 84, 18, 92, 17, 73, 18, 3950, 18, 588, 5554, 2384, 1435, 19, 22, 16, 293, 18, 93, 17, 73, 18, 3950, 18, 588, 5554, 2686, 1435, 19, 22, 16, 425, 18, 3950, 18, 588, 5554, 2384, 9334, 425, 18, 3950, 18, 588, 5554, 2686, 10663, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 9385, 2040, 4576, 1435, 288, 202, 202, 9565, 2932, 18809, 352, 346, 2423, 23022, 8863, 202, 202, 6376, 18, 1458, 18, 1458, 1767, 18, 1289, 9186, 2223, 12, 2704, 17013, 4216, 1435, 95, 1082, 202, 36, 6618, 1071, 918, 7644, 24624, 12, 9186, 1133, 425, 13, 288, 9506, 202, 430, 261, 73, 18, 588, 3616, 1435, 480, 17013, 1133, 18, 20068, 21, 13, 6862, 202, 2463, 31, 9506, 202, 11697, 24624, 225, 273, 638, 31, 9506, 202, 430, 261, 8613, 13, 6862, 202, 6376, 18, 1458, 18, 1458, 1767, 18, 14462, 1598, 5621, 5411, 289, 1082, 202, 36, 6618, 1071, 918, 7644, 26363, 12, 9186, 1133, 2113, 13, 288, 9506, 202, 430, 261, 14965, 18, 588, 2 ]
catch (IOException ioe) { String msg = "IOException while parsing'" + files[index].toString() + "'. This probably indicates that the descriptor" + " doesn't exist. Details:" + ioe.getMessage(); throw new BuildException(msg, ioe); }
public void execute() throws BuildException { boolean needBuild = true; DirectoryScanner ds = null; String[] files = null; int index = 0; File weblogicDD = null; File jarfile = null; File wlJarfile = null; File jarToCheck = null; DescriptorHandler handler = null; Hashtable ejbFiles = null; String baseName = null; // Lets do a little asserting to make sure we have all the // required attributes from the task processor StringBuffer sb = new StringBuffer(); boolean die = false; sb.append("Processing ejbjar - the following attributes "); sb.append("must be specified: "); if (this.srcdir == null) { sb.append("srcdir "); die = true; } if (this.destdir == null) { sb.append("destdir"); die = true; } if ( die ) throw new BuildException(sb.toString()); try { // Create the parser using whatever parser the system dictates SAXParserFactory saxParserFactory = SAXParserFactory.newInstance(); saxParserFactory.setValidating(false); SAXParser saxParser = saxParserFactory.newSAXParser(); ds = this.getDirectoryScanner(this.srcdir); ds.scan(); files = ds.getIncludedFiles(); this.log(files.length + " deployment descriptors located.", Project.MSG_VERBOSE); // Loop through the files. Each file represents one deployment // descriptor, and hence one bean in our model. for (index=0; index < files.length; ++index) { // By default we assume we need to build. needBuild = true; // Work out what the base name is int endBaseName = files[index].indexOf(basenameterminator, files[index].lastIndexOf(File.separator)); baseName = files[index].substring(0, endBaseName); /* Parse the ejb deployment descriptor. While it may not * look like much, we use a SAXParser and an inner class to * get hold of all the classfile names for the descriptor. */ handler = new DescriptorHandler(); saxParser.parse(new InputSource (new FileInputStream (new File(this.srcdir, files[index]))), handler); ejbFiles = handler.getFiles(); /* Now try to locate all of the deployment descriptors for the * jar, and if they exist, add them to the list of files. */ // First the regular deployment descriptor ejbFiles.put(EjbJar.META_DIR + EjbJar.EJB_DD, new File(this.srcdir, files[index])); // Then the weblogic deployment descriptor weblogicDD = new File(this.srcdir, baseName + this.basenameterminator + EjbJar.WL_DD); if (weblogicDD.exists()) { ejbFiles.put(EjbJar.META_DIR + EjbJar.WL_DD, weblogicDD); } // The the weblogic cmp deployment descriptor weblogicDD = new File(this.srcdir, baseName + this.basenameterminator + EjbJar.WL_CMP_DD); if (weblogicDD.exists()) { ejbFiles.put(EjbJar.META_DIR + EjbJar.WL_CMP_DD, weblogicDD); } // Lastly create File object for the Jar files. If we are using // a flat destination dir, then we need to redefine baseName! if (this.flatdestdir) { int startName = baseName.lastIndexOf(File.separator); int endName = baseName.length(); baseName = baseName.substring(startName, endName); } jarfile = new File(this.destdir, baseName + this.genericjarsuffix); wlJarfile = new File(this.destdir, baseName + this.weblogicjarsuffix); /* Check to see if the jar file is already up to date. * Unfortunately we have to parse the descriptor just to do * that, but it's still a saving over re-constructing the jar * file each time. Tertiary is used to determine which jarfile * we should check times against...think about it. */ jarToCheck = this.generateweblogic ? wlJarfile : jarfile; if (jarToCheck.exists()) { long lastBuild = jarToCheck.lastModified(); Iterator fileIter = ejbFiles.values().iterator(); File currentFile = null; // Set the need build to false until we find out otherwise. needBuild = false; // Loop through the files seeing if any has been touched // more recently than the destination jar. while( (needBuild == false) && (fileIter.hasNext()) ) { currentFile = (File) fileIter.next(); needBuild = ( lastBuild < currentFile.lastModified() ); } } // Check to see if we need a build and start // doing the work! if (needBuild) { // Log that we are going to build... this.log( "building " + jarfile.getName() + " with " + String.valueOf(ejbFiles.size()) + " total files", Project.MSG_INFO); // Use helper method to write the jarfile this.writeJar(jarfile, ejbFiles); // Generate weblogic jar if requested if (this.generateweblogic) { this.buildWeblogicJar(jarfile, wlJarfile); } // Delete the original jar if we weren't asked to keep it. if (!this.keepgeneric) { this.log("deleting jar " + jarfile.toString(), Project.MSG_INFO); jarfile.delete(); } } else { // Log that the file is up to date... this.log(jarfile.toString() + " is up to date.", Project.MSG_INFO); } } } catch (SAXException se) { String msg = "SAXException while parsing '" + files[index].toString() + "'. This probably indicates badly-formed XML." + " Details: " + se.getMessage(); throw new BuildException(msg, se); } catch (ParserConfigurationException pce) { String msg = "ParserConfigurationException while creating parser. " + "Details: " + pce.getMessage(); throw new BuildException(msg, pce); } catch (IOException ioe) { String msg = "IOException while parsing'" + files[index].toString() + "'. This probably indicates that the descriptor" + " doesn't exist. Details:" + ioe.getMessage(); throw new BuildException(msg, ioe); } } // end of execute()
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/afa690de97a35fbba3932b6e52641327e173da13/EjbJar.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 1250, 1850, 1608, 3116, 225, 273, 638, 31, 3639, 8930, 11338, 3780, 540, 273, 446, 31, 3639, 514, 8526, 540, 1390, 1377, 273, 446, 31, 3639, 509, 2868, 770, 1377, 273, 374, 31, 3639, 1387, 2398, 3311, 28339, 5698, 273, 446, 31, 3639, 1387, 2398, 7334, 768, 565, 273, 446, 31, 3639, 1387, 2398, 19564, 10813, 768, 225, 273, 446, 31, 3639, 1387, 2398, 7334, 18126, 273, 446, 31, 3639, 12823, 1503, 1838, 282, 273, 446, 31, 3639, 18559, 3639, 18024, 2697, 282, 273, 446, 31, 3639, 514, 6647, 16162, 282, 273, 446, 31, 3639, 368, 511, 2413, 741, 279, 12720, 1815, 310, 358, 1221, 3071, 732, 1240, 777, 326, 3639, 368, 1931, 1677, 628, 326, 1562, 6659, 3639, 6674, 2393, 273, 394, 6674, 5621, 3639, 1250, 10387, 273, 629, 31, 3639, 2393, 18, 6923, 2932, 7798, 425, 78, 441, 297, 300, 326, 3751, 1677, 315, 1769, 3639, 2393, 18, 6923, 2932, 11926, 506, 1269, 30, 315, 1769, 3639, 309, 261, 2211, 18, 4816, 1214, 377, 422, 446, 13, 288, 2393, 18, 6923, 2932, 4816, 1214, 315, 1769, 377, 10387, 273, 638, 31, 289, 3639, 309, 261, 2211, 18, 10488, 1214, 565, 422, 446, 13, 288, 2393, 18, 6923, 2932, 10488, 1214, 8863, 377, 10387, 273, 638, 31, 289, 3639, 309, 261, 10387, 262, 604, 394, 18463, 12, 18366, 18, 10492, 10663, 3639, 775, 288, 5411, 368, 1788, 326, 2082, 1450, 15098, 2082, 326, 2619, 2065, 815, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 1216, 18463, 288, 3639, 1250, 1850, 1608, 3116, 225, 273, 638, 31, 3639, 8930, 11338, 3780, 540, 273, 446, 31, 3639, 514, 8526, 540, 1390, 1377, 273, 446, 31, 3639, 509, 2868, 770, 1377, 273, 374, 31, 3639, 1387, 2398, 3311, 28339, 5698, 273, 446, 31, 3639, 1387, 2398, 7334, 768, 565, 273, 446, 31, 3639, 1387, 2398, 19564, 10813, 768, 225, 273, 446, 31, 3639, 1387, 2398, 7334, 18126, 273, 446, 31, 3639, 12823, 1503, 1838, 282, 273, 446, 31, 3639, 18559, 3639, 18024, 2697, 282, 273, 446, 31, 3639, 514, 6647, 16162, 282, 273, 446, 31, 3639, 368, 511, 2413, 741, 279, 12720, 1815, 310, 358, 1221, 3071, 732, 1240, 777, 326, 2 ]
public RowSet findRowSet(String from, int fromcopy, String to, int tocopy)
public RowSet findRowSet(String rowsetname)
public RowSet findRowSet(String from, int fromcopy, String to, int tocopy) { // Start with the transformation. for (int i=0;i<rowsets.size();i++) { RowSet rs=(RowSet)rowsets.get(i); if (rs.getOriginStepName().equalsIgnoreCase(from) && rs.getDestinationStepName().equalsIgnoreCase(to) && rs.getOriginStepCopy() == fromcopy && rs.getDestinationStepCopy() == tocopy ) return rs; } return null; }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/2371bfe3982f0b121493a7320f6fd2664d09864b/Trans.java/buggy/kettle/src/be/ibridge/kettle/trans/Trans.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6556, 694, 1104, 1999, 694, 12, 780, 628, 16, 509, 628, 3530, 16, 514, 358, 16, 509, 358, 3530, 13, 202, 95, 202, 202, 759, 3603, 598, 326, 8620, 18, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 492, 4424, 18, 1467, 5621, 77, 27245, 202, 202, 95, 1082, 202, 1999, 694, 3597, 28657, 1999, 694, 13, 492, 4424, 18, 588, 12, 77, 1769, 1082, 202, 430, 261, 5453, 18, 588, 7571, 4160, 461, 7675, 14963, 5556, 12, 2080, 13, 597, 9506, 565, 3597, 18, 588, 5683, 4160, 461, 7675, 14963, 5556, 12, 869, 13, 597, 9506, 565, 3597, 18, 588, 7571, 4160, 2951, 1435, 422, 628, 3530, 597, 4697, 565, 3597, 18, 588, 5683, 4160, 2951, 1435, 282, 422, 358, 3530, 9506, 565, 262, 327, 3597, 31, 202, 202, 97, 9506, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6556, 694, 1104, 1999, 694, 12, 780, 628, 16, 509, 628, 3530, 16, 514, 358, 16, 509, 358, 3530, 13, 202, 95, 202, 202, 759, 3603, 598, 326, 8620, 18, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 77, 32, 492, 4424, 18, 1467, 5621, 77, 27245, 202, 202, 95, 1082, 202, 1999, 694, 3597, 28657, 1999, 694, 13, 492, 4424, 18, 588, 12, 77, 1769, 1082, 202, 430, 261, 5453, 18, 588, 7571, 4160, 461, 7675, 14963, 5556, 12, 2080, 13, 597, 9506, 565, 3597, 18, 588, 5683, 4160, 461, 7675, 14963, 5556, 12, 869, 13, 597, 9506, 565, 3597, 18, 588, 7571, 4160, 2951, 1435, 422, 628, 3530, 597, 4697, 565, 3597, 18, 2 ]
public static Object jsFunction_unshift(Context cx, Scriptable thisObj, Object[] args, Function funOjb)
private static Object jsFunction_unshift(Context cx, Scriptable thisObj, Object[] args)
public static Object jsFunction_unshift(Context cx, Scriptable thisObj, Object[] args, Function funOjb) { Object result; double length = (double)getLengthProperty(thisObj); int argc = args.length; if (args.length > 0) { /* Slide up the array to make room for args at the bottom */ if (length > 0) { for (long last = (long)length - 1; last >= 0; last--) { Object temp = getElem(thisObj, last); setElem(thisObj, last + argc, temp); } } /* Copy from argv to the bottom of the array. */ for (int i = 0; i < args.length; i++) { setElem(thisObj, i, args[i]); } /* Follow Perl by returning the new array length. */ length += args.length; ScriptRuntime.setProp(thisObj, "length", new Double(length), thisObj); } return new Long((long)length); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeArray.java/clean/js/rhino/src/org/mozilla/javascript/NativeArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 13858, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 5411, 1033, 8526, 833, 16, 4284, 9831, 51, 10649, 13, 565, 288, 3639, 1033, 563, 31, 3639, 1645, 769, 273, 261, 9056, 13, 588, 1782, 1396, 12, 2211, 2675, 1769, 3639, 509, 1501, 71, 273, 833, 18, 2469, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 1748, 225, 348, 8130, 731, 326, 526, 358, 1221, 7725, 364, 833, 622, 326, 5469, 1195, 5411, 309, 261, 2469, 405, 374, 13, 288, 7734, 364, 261, 5748, 1142, 273, 261, 5748, 13, 2469, 300, 404, 31, 1142, 1545, 374, 31, 1142, 413, 13, 288, 10792, 1033, 1906, 273, 4774, 3269, 12, 2211, 2675, 16, 1142, 1769, 10792, 444, 7498, 12, 2211, 2675, 16, 1142, 397, 1501, 71, 16, 1906, 1769, 7734, 289, 5411, 289, 5411, 1748, 5631, 628, 5261, 358, 326, 5469, 434, 326, 526, 18, 1195, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 7734, 444, 7498, 12, 2211, 2675, 16, 277, 16, 833, 63, 77, 19226, 5411, 289, 5411, 1748, 16093, 5722, 80, 635, 5785, 326, 394, 526, 769, 18, 1195, 5411, 769, 1011, 833, 18, 2469, 31, 5411, 7739, 5576, 18, 542, 4658, 12, 2211, 2675, 16, 315, 2469, 3113, 21394, 394, 3698, 12, 2469, 3631, 15261, 1769, 3639, 289, 3639, 327, 394, 3407, 12443, 5748, 13, 2469, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 2083, 67, 13858, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 5411, 1033, 8526, 833, 16, 4284, 9831, 51, 10649, 13, 565, 288, 3639, 1033, 563, 31, 3639, 1645, 769, 273, 261, 9056, 13, 588, 1782, 1396, 12, 2211, 2675, 1769, 3639, 509, 1501, 71, 273, 833, 18, 2469, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 1748, 225, 348, 8130, 731, 326, 526, 358, 1221, 7725, 364, 833, 622, 326, 5469, 1195, 5411, 309, 261, 2469, 405, 374, 13, 288, 7734, 364, 261, 5748, 1142, 273, 261, 5748, 13, 2469, 300, 404, 31, 1142, 1545, 374, 31, 1142, 413, 13, 288, 10792, 1033, 1906, 273, 4774, 3269, 12, 2211, 2 ]
if (!isRoot[0] && versionedDir.equals(status.getFile())) {
if (versionedDir.equals(status.getFile())) { isRoot[0] = false;
public static boolean isWorkingCopyRoot(final File versionedDir, final boolean considerExternalAsRoot) { if (versionedDir == null || !SVNWCAccess.isVersionedDirectory(versionedDir)) { // unversioned. return false; } // call status of parent instead: if (versionedDir.getParentFile() == null) { return true; } SVNStatusClient stClient = new SVNStatusClient(null, null); final boolean[] isRoot = new boolean[] {true}; // if no status is reporter, this may be ignored dir in parent's folder. try { stClient.doStatus(versionedDir.getParentFile(), false, false, true, true, new ISVNStatusHandler() { public void handleStatus(SVNStatus status) { if (!isRoot[0] && versionedDir.equals(status.getFile())) { if (status.getContentsStatus() == SVNStatusType.STATUS_IGNORED || status.getContentsStatus() == SVNStatusType.STATUS_UNVERSIONED || status.getContentsStatus() == SVNStatusType.STATUS_EXTERNAL) { if (status.getContentsStatus() == SVNStatusType.STATUS_EXTERNAL && !considerExternalAsRoot) { isRoot[0] = false; return; } isRoot[0] = true; } else { isRoot[0] = false; } } } }); } catch (SVNException e) { return true; } return isRoot[0]; }
5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/196b5311b47cbcafd9731ebd81167a639308b1ec/SVNWCUtil.java/buggy/javasvn/src/org/tmatesoft/svn/core/wc/SVNWCUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 353, 14836, 2951, 2375, 12, 6385, 1387, 17083, 1621, 16, 727, 1250, 5260, 6841, 1463, 2375, 13, 288, 3639, 309, 261, 21415, 1621, 422, 446, 747, 401, 23927, 50, 59, 39, 1862, 18, 291, 23676, 2853, 12, 21415, 1621, 3719, 288, 5411, 368, 29645, 18, 5411, 327, 629, 31, 3639, 289, 3639, 368, 745, 1267, 434, 982, 3560, 30, 3639, 309, 261, 21415, 1621, 18, 588, 3054, 812, 1435, 422, 446, 13, 288, 5411, 327, 638, 31, 3639, 289, 3639, 29537, 50, 1482, 1227, 384, 1227, 273, 394, 29537, 50, 1482, 1227, 12, 2011, 16, 446, 1769, 3639, 727, 1250, 8526, 19371, 273, 394, 1250, 8526, 288, 3767, 20451, 368, 309, 1158, 1267, 353, 11528, 16, 333, 2026, 506, 5455, 1577, 316, 982, 1807, 3009, 18, 3639, 775, 288, 5411, 384, 1227, 18, 2896, 1482, 12, 21415, 1621, 18, 588, 3054, 812, 9334, 629, 16, 629, 16, 638, 16, 638, 16, 394, 4437, 58, 50, 1482, 1503, 1435, 288, 7734, 1071, 918, 1640, 1482, 12, 23927, 50, 1482, 1267, 13, 288, 10792, 309, 261, 21415, 1621, 18, 14963, 12, 2327, 18, 29925, 1435, 3719, 288, 19371, 63, 20, 65, 273, 629, 31, 13491, 309, 261, 2327, 18, 588, 6323, 1482, 1435, 422, 29537, 50, 1482, 559, 18, 8608, 67, 3047, 3417, 5879, 747, 27573, 1267, 18, 588, 6323, 1482, 1435, 422, 29537, 50, 1482, 559, 18, 8608, 67, 2124, 5757, 2056, 747, 27573, 1267, 18, 588, 6323, 1482, 1435, 422, 29537, 50, 1482, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 353, 14836, 2951, 2375, 12, 6385, 1387, 17083, 1621, 16, 727, 1250, 5260, 6841, 1463, 2375, 13, 288, 3639, 309, 261, 21415, 1621, 422, 446, 747, 401, 23927, 50, 59, 39, 1862, 18, 291, 23676, 2853, 12, 21415, 1621, 3719, 288, 5411, 368, 29645, 18, 5411, 327, 629, 31, 3639, 289, 3639, 368, 745, 1267, 434, 982, 3560, 30, 3639, 309, 261, 21415, 1621, 18, 588, 3054, 812, 1435, 422, 446, 13, 288, 5411, 327, 638, 31, 3639, 289, 3639, 29537, 50, 1482, 1227, 384, 1227, 273, 394, 29537, 50, 1482, 1227, 12, 2011, 16, 446, 1769, 3639, 727, 1250, 8526, 19371, 273, 394, 1250, 8526, 288, 3767, 20451, 368, 309, 1158, 1267, 353, 11528, 2 ]
log.warn("Unable to unlock session-scoped lock on node '" + info.lockToken + "': " + e.getMessage());
log.warn("Unable to unlock session-scoped lock on node '" + info.lockToken + "': " + e.getMessage());
void unlock(LockInfo info) { // if no session currently holds lock, take system session SessionImpl session = info.getLockHolder(); if (session == null) { session = this.session; } try { // get node's path and remove child in path map NodeImpl node = (NodeImpl) session.getItemManager().getItem( new NodeId(info.getUUID())); Path path = node.getPrimaryPath(); PathMap.Child child = lockMap.map(path, true); if (child != null) { child.set(null); } // set live flag to false info.setLive(false); // remove properties in content node.internalSetProperty(Constants.JCR_LOCKOWNER, null); node.internalSetProperty(Constants.JCR_LOCKISDEEP, null); node.save(); } catch (RepositoryException e) { log.warn("Unable to unlock session-scoped lock on node '" + info.lockToken + "': " + e.getMessage()); log.debug("Root cause: ", e); } }
49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/110703c88f08fde4e89847fbf5cff3eb84464287/LockManagerImpl.java/clean/src/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 7186, 12, 2531, 966, 1123, 13, 288, 3639, 368, 309, 1158, 1339, 4551, 14798, 2176, 16, 4862, 2619, 1339, 3639, 3877, 2828, 1339, 273, 1123, 18, 588, 2531, 6064, 5621, 3639, 309, 261, 3184, 422, 446, 13, 288, 5411, 1339, 273, 333, 18, 3184, 31, 3639, 289, 3639, 775, 288, 5411, 368, 336, 756, 1807, 589, 471, 1206, 1151, 316, 589, 852, 5411, 2029, 2828, 756, 273, 261, 907, 2828, 13, 1339, 18, 588, 1180, 1318, 7675, 588, 1180, 12, 10792, 394, 2029, 548, 12, 1376, 18, 588, 5562, 1435, 10019, 5411, 2666, 589, 273, 756, 18, 588, 6793, 743, 5621, 5411, 2666, 863, 18, 1763, 1151, 273, 2176, 863, 18, 1458, 12, 803, 16, 638, 1769, 5411, 309, 261, 3624, 480, 446, 13, 288, 7734, 1151, 18, 542, 12, 2011, 1769, 5411, 289, 5411, 368, 444, 8429, 2982, 358, 629, 5411, 1123, 18, 542, 12328, 12, 5743, 1769, 5411, 368, 1206, 1790, 316, 913, 5411, 756, 18, 7236, 694, 1396, 12, 2918, 18, 46, 5093, 67, 6589, 29602, 16, 446, 1769, 5411, 756, 18, 7236, 694, 1396, 12, 2918, 18, 46, 5093, 67, 6589, 5127, 1639, 10541, 16, 446, 1769, 5411, 756, 18, 5688, 5621, 10792, 289, 1044, 261, 3305, 503, 425, 13, 288, 5411, 613, 18, 8935, 2932, 3370, 358, 7186, 1339, 17, 27474, 2176, 603, 756, 2119, 397, 10792, 1123, 18, 739, 1345, 397, 2491, 30, 315, 397, 425, 18, 24906, 10663, 5411, 613, 18, 4148, 2932, 2375, 4620, 30, 3104, 425, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 7186, 12, 2531, 966, 1123, 13, 288, 3639, 368, 309, 1158, 1339, 4551, 14798, 2176, 16, 4862, 2619, 1339, 3639, 3877, 2828, 1339, 273, 1123, 18, 588, 2531, 6064, 5621, 3639, 309, 261, 3184, 422, 446, 13, 288, 5411, 1339, 273, 333, 18, 3184, 31, 3639, 289, 3639, 775, 288, 5411, 368, 336, 756, 1807, 589, 471, 1206, 1151, 316, 589, 852, 5411, 2029, 2828, 756, 273, 261, 907, 2828, 13, 1339, 18, 588, 1180, 1318, 7675, 588, 1180, 12, 10792, 394, 2029, 548, 12, 1376, 18, 588, 5562, 1435, 10019, 5411, 2666, 589, 273, 756, 18, 588, 6793, 743, 5621, 5411, 2666, 863, 18, 1763, 1151, 273, 2176, 863, 18, 1458, 12, 803, 16, 638, 1769, 2 ]
{ System.out.println( KoLCharacter.getEquipment(i) );
public static void createCheckpoint() { if ( CHECKPOINT[0] != null ) return; for ( int i = 0; i < CHECKPOINT.length; ++i ) { System.out.println( KoLCharacter.getEquipment(i) ); CHECKPOINT[i] = KoLCharacter.getEquipment(i); } SpecialOutfit.lastCheckpoint = KoLCharacter.getUserName(); }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/31ba88bf68bf62cbaaf2897801edd794f63ea412/SpecialOutfit.java/buggy/src/net/sourceforge/kolmafia/SpecialOutfit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 752, 14431, 1435, 202, 95, 202, 202, 430, 261, 14565, 8941, 63, 20, 65, 480, 446, 262, 1082, 202, 2463, 31, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 14565, 8941, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 12, 1475, 83, 48, 7069, 18, 588, 13142, 11568, 12, 77, 13, 11272, 1082, 202, 10687, 8941, 63, 77, 65, 273, 1475, 83, 48, 7069, 18, 588, 13142, 11568, 12, 77, 1769, 202, 202, 97, 202, 202, 12193, 1182, 7216, 18, 2722, 14431, 273, 1475, 83, 48, 7069, 18, 588, 15296, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 752, 14431, 1435, 202, 95, 202, 202, 430, 261, 14565, 8941, 63, 20, 65, 480, 446, 262, 1082, 202, 2463, 31, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 14565, 8941, 18, 2469, 31, 965, 77, 262, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 12, 1475, 83, 48, 7069, 18, 588, 13142, 11568, 12, 77, 13, 11272, 1082, 202, 10687, 8941, 63, 77, 65, 273, 1475, 83, 48, 7069, 18, 588, 13142, 11568, 12, 77, 1769, 202, 202, 97, 202, 202, 12193, 1182, 7216, 18, 2722, 14431, 273, 1475, 83, 48, 7069, 18, 588, 15296, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (Iterator<RefMethod> iterator = refMethod.getSuperMethods().iterator(); iterator.hasNext();) { RefMethod refSuper = iterator.next();
for (RefMethod refSuper : refMethod.getSuperMethods()) {
private void enqueueMethodUsages(final RefMethod refMethod) { if (refMethod.getSuperMethods().isEmpty()) { getManager().enqueueMethodUsagesProcessor(refMethod, new InspectionManagerEx.UsagesProcessor() { public boolean process(PsiReference psiReference) { getEntryPointsManager().addEntryPoint(refMethod, false); return false; } }); } else { for (Iterator<RefMethod> iterator = refMethod.getSuperMethods().iterator(); iterator.hasNext();) { RefMethod refSuper = iterator.next(); enqueueMethodUsages(refSuper); } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/44b1444ef611a7223c4ad1fa4fc69f6017017008/DeadCodeInspection.java/clean/source/com/intellij/codeInspection/deadCode/DeadCodeInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 12850, 1305, 3477, 1023, 12, 6385, 3941, 1305, 1278, 1305, 13, 288, 565, 309, 261, 1734, 1305, 18, 588, 8051, 4712, 7675, 291, 1921, 10756, 288, 1377, 14154, 7675, 21798, 1305, 3477, 1023, 5164, 12, 1734, 1305, 16, 394, 22085, 7017, 1318, 424, 18, 3477, 1023, 5164, 1435, 288, 3639, 1071, 1250, 1207, 12, 52, 7722, 2404, 23921, 2404, 13, 288, 1850, 15428, 5636, 1318, 7675, 1289, 1622, 2148, 12, 1734, 1305, 16, 629, 1769, 1850, 327, 629, 31, 3639, 289, 1377, 15549, 565, 289, 565, 469, 288, 1377, 364, 261, 3198, 32, 1957, 1305, 34, 2775, 273, 1278, 1305, 18, 588, 8051, 4712, 7675, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 3639, 3941, 1305, 1278, 8051, 273, 2775, 18, 4285, 5621, 3639, 12850, 1305, 3477, 1023, 12, 1734, 8051, 1769, 1377, 289, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 12850, 1305, 3477, 1023, 12, 6385, 3941, 1305, 1278, 1305, 13, 288, 565, 309, 261, 1734, 1305, 18, 588, 8051, 4712, 7675, 291, 1921, 10756, 288, 1377, 14154, 7675, 21798, 1305, 3477, 1023, 5164, 12, 1734, 1305, 16, 394, 22085, 7017, 1318, 424, 18, 3477, 1023, 5164, 1435, 288, 3639, 1071, 1250, 1207, 12, 52, 7722, 2404, 23921, 2404, 13, 288, 1850, 15428, 5636, 1318, 7675, 1289, 1622, 2148, 12, 1734, 1305, 16, 629, 1769, 1850, 327, 629, 31, 3639, 289, 1377, 15549, 565, 289, 565, 469, 288, 1377, 364, 261, 3198, 32, 1957, 1305, 34, 2775, 273, 1278, 1305, 18, 588, 8051, 4712, 7675, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 3639, 3941, 2 ]
if ( cTmp.equals( btnGradient ) || cTmp.equals( btnCustom ) || cTmp.equals( btnReset ) || cTmp.equals( btnAuto ) || cTmp.equals( btnImage ) || ( e.getSource( ).equals( cmpDropDown ) && cTmp.equals( srTransparency ) ) )
if ( isPopupControl( cTmp ) || cTmp == cnvSelection || cTmp == btnDown )
public void focusLost( FocusEvent e ) { if ( e.getSource( ).equals( cmpDropDown ) || e.getSource( ).equals( srTransparency ) ) { // Condition added to handle behavior under Linux Control cTmp = Display.getCurrent( ).getCursorControl( ); if ( cTmp != null ) { if ( cTmp.equals( btnGradient ) || cTmp.equals( btnCustom ) || cTmp.equals( btnReset ) || cTmp.equals( btnAuto ) || cTmp.equals( btnImage ) || ( e.getSource( ).equals( cmpDropDown ) && cTmp.equals( srTransparency ) ) ) { return; } if ( cTmp.equals( cnvSelection ) || cTmp.equals( btnDown ) ) { bJustFocusLost = true; } } cmpDropDown.getShell( ).dispose( ); return; } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/8cc82cc45cfffb78afa9d75c1f95bbef888b491e/FillChooserComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillChooserComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7155, 19024, 12, 478, 4560, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 9411, 7544, 4164, 262, 9506, 202, 20081, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 9133, 1429, 18258, 262, 262, 202, 202, 95, 1082, 202, 759, 7949, 3096, 358, 1640, 6885, 3613, 13318, 1082, 202, 3367, 276, 9161, 273, 9311, 18, 588, 3935, 12, 262, 18, 588, 6688, 3367, 12, 11272, 1082, 202, 430, 261, 276, 9161, 480, 446, 262, 1082, 202, 95, 9506, 202, 430, 261, 276, 9161, 18, 14963, 12, 10638, 15651, 262, 25083, 202, 20081, 276, 9161, 18, 14963, 12, 10638, 3802, 262, 25083, 202, 20081, 276, 9161, 18, 14963, 12, 10638, 7013, 262, 25083, 202, 20081, 276, 9161, 18, 14963, 12, 10638, 4965, 262, 25083, 202, 20081, 276, 9161, 18, 14963, 12, 10638, 2040, 262, 25083, 202, 20081, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 9411, 7544, 4164, 262, 597, 276, 9161, 18, 14963, 12, 9133, 1429, 18258, 262, 262, 262, 9506, 202, 95, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 430, 261, 276, 9161, 18, 14963, 12, 6227, 90, 6233, 262, 747, 276, 9161, 18, 14963, 12, 10638, 4164, 262, 262, 9506, 202, 95, 6862, 202, 70, 19642, 9233, 19024, 273, 638, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 9625, 7544, 4164, 18, 588, 13220, 12, 262, 18, 2251, 4150, 12, 11272, 1082, 202, 2463, 31, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 7155, 19024, 12, 478, 4560, 1133, 425, 262, 202, 95, 202, 202, 430, 261, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 9411, 7544, 4164, 262, 9506, 202, 20081, 425, 18, 588, 1830, 12, 262, 18, 14963, 12, 9133, 1429, 18258, 262, 262, 202, 202, 95, 1082, 202, 759, 7949, 3096, 358, 1640, 6885, 3613, 13318, 1082, 202, 3367, 276, 9161, 273, 9311, 18, 588, 3935, 12, 262, 18, 588, 6688, 3367, 12, 11272, 1082, 202, 430, 261, 276, 9161, 480, 446, 262, 1082, 202, 95, 9506, 202, 430, 261, 276, 9161, 18, 14963, 12, 10638, 15651, 262, 25083, 202, 20081, 276, 9161, 18, 14963, 12, 10638, 3802, 262, 25083, 202, 20081, 276, 9161, 2 ]
List<OfficeBO> officeList=getOffices(userContext, ((OfficeBusinessService) getService()).getOfficesTillBranchOffice()); SessionUtils.setAttribute(OfficeConstants.GET_HEADOFFICE, getOffice(officeList,OfficeLevel.HEADOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_REGIONALOFFICE, getOffice(officeList,OfficeLevel.REGIONALOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_SUBREGIONALOFFICE, getOffice(officeList,OfficeLevel.SUBREGIONALOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_AREAOFFICE, getOffice(officeList,OfficeLevel.AREAOFFICE), request.getSession());
List<OfficeBO> officeList = getOffices(userContext, ((OfficeBusinessService) getService()) .getOfficesTillBranchOffice()); SessionUtils.setAttribute(OfficeConstants.GET_HEADOFFICE, getOffice( officeList, OfficeLevel.HEADOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_REGIONALOFFICE, getOffice(officeList, OfficeLevel.REGIONALOFFICE), request .getSession()); SessionUtils.setAttribute(OfficeConstants.GET_SUBREGIONALOFFICE, getOffice(officeList, OfficeLevel.SUBREGIONALOFFICE), request .getSession()); SessionUtils.setAttribute(OfficeConstants.GET_AREAOFFICE, getOffice( officeList, OfficeLevel.AREAOFFICE), request.getSession());
public ActionForward getAllOffices(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { UserContext userContext = (UserContext) SessionUtils.getAttribute( Constants.USER_CONTEXT_KEY, request.getSession()); List<OfficeBO> officeList=getOffices(userContext, ((OfficeBusinessService) getService()).getOfficesTillBranchOffice()); SessionUtils.setAttribute(OfficeConstants.GET_HEADOFFICE, getOffice(officeList,OfficeLevel.HEADOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_REGIONALOFFICE, getOffice(officeList,OfficeLevel.REGIONALOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_SUBREGIONALOFFICE, getOffice(officeList,OfficeLevel.SUBREGIONALOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_AREAOFFICE, getOffice(officeList,OfficeLevel.AREAOFFICE), request.getSession()); SessionUtils.setAttribute(OfficeConstants.GET_BRANCHOFFICE, getOffices( userContext, ((OfficeBusinessService) getService()) .getBranchOffices()), request.getSession()); loadofficeLevels(request); return mapping.findForward(ActionForwards.search_success.toString()); }
45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/8bfcfbb4ab3b8fa28ef98e4f29ad8c17056740b0/OffAction.java/clean/mifos/src/org/mifos/application/office/struts/action/OffAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 5514, 7210, 1242, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 1082, 202, 2940, 18572, 590, 16, 12446, 766, 13, 1082, 202, 15069, 1185, 288, 9506, 202, 1299, 1042, 729, 1042, 273, 261, 1299, 1042, 13, 3877, 1989, 18, 588, 1499, 12, 9506, 202, 2918, 18, 4714, 67, 13181, 67, 3297, 16, 590, 18, 588, 2157, 10663, 202, 202, 682, 32, 30126, 5315, 34, 3397, 1812, 682, 33, 588, 7210, 1242, 12, 1355, 1042, 16, 14015, 30126, 13423, 1179, 13, 6373, 1435, 2934, 588, 7210, 1242, 56, 737, 7108, 30126, 10663, 202, 202, 2157, 1989, 18, 542, 1499, 12, 30126, 2918, 18, 3264, 67, 12458, 3932, 1653, 1441, 16, 336, 30126, 12, 19789, 682, 16, 30126, 2355, 18, 12458, 3932, 1653, 1441, 3631, 590, 18, 588, 2157, 10663, 202, 202, 2157, 1989, 18, 542, 1499, 12, 30126, 2918, 18, 3264, 67, 28314, 1013, 3932, 1653, 1441, 16, 336, 30126, 12, 19789, 682, 16, 30126, 2355, 18, 28314, 1013, 3932, 1653, 1441, 3631, 590, 18, 588, 2157, 10663, 202, 202, 2157, 1989, 18, 542, 1499, 12, 30126, 2918, 18, 3264, 67, 8362, 28314, 1013, 3932, 1653, 1441, 16, 336, 30126, 12, 19789, 682, 16, 30126, 2355, 18, 8362, 28314, 1013, 3932, 1653, 1441, 3631, 590, 18, 588, 2157, 10663, 202, 202, 2157, 1989, 18, 542, 1499, 12, 30126, 2918, 18, 3264, 67, 20933, 3932, 1653, 1441, 16, 336, 30126, 12, 19789, 682, 16, 30126, 2355, 18, 20933, 3932, 1653, 1441, 3631, 590, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 5514, 7210, 1242, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 1082, 202, 2940, 18572, 590, 16, 12446, 766, 13, 1082, 202, 15069, 1185, 288, 9506, 202, 1299, 1042, 729, 1042, 273, 261, 1299, 1042, 13, 3877, 1989, 18, 588, 1499, 12, 9506, 202, 2918, 18, 4714, 67, 13181, 67, 3297, 16, 590, 18, 588, 2157, 10663, 202, 202, 682, 32, 30126, 5315, 34, 3397, 1812, 682, 33, 588, 7210, 1242, 12, 1355, 1042, 16, 14015, 30126, 13423, 1179, 13, 6373, 1435, 2934, 588, 7210, 1242, 56, 737, 7108, 30126, 10663, 202, 202, 2157, 1989, 18, 542, 1499, 12, 30126, 2918, 18, 3264, 67, 12458, 3932, 1653, 1441, 16, 336, 30126, 12, 19789, 2 ]
public void visitLDC2_W(LDC2_W obj) { pushValue(obj.getType(cpg)); }
public void visitLDC2_W(LDC2_W obj) { pushValue(obj.getType(getCPG())); }
public void visitLDC2_W(LDC2_W obj) { pushValue(obj.getType(cpg)); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/57820f6ef753519d72a512f7e32bfe9a9889caa0/TypeFrameModelingVisitor.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/TypeFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 48, 5528, 22, 67, 59, 12, 48, 5528, 22, 67, 59, 1081, 13, 9506, 202, 95, 1817, 620, 12, 2603, 18, 588, 559, 12, 4057, 75, 10019, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 48, 5528, 22, 67, 59, 12, 48, 5528, 22, 67, 59, 1081, 13, 9506, 202, 95, 1817, 620, 12, 2603, 18, 588, 559, 12, 4057, 75, 10019, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return substitutor .substitute(((PsiArrayType) lastParameter.getType()) .getComponentType());
final PsiArrayType arrayType = (PsiArrayType)lastParameter.getType(); return substitutor.substitute(arrayType.getComponentType());
private static PsiType getTypeOfParameter( @NotNull JavaResolveResult result, int parameterPosition) { final PsiMethod method = (PsiMethod) result.getElement(); if (method == null){ return null; } final PsiSubstitutor substitutor = result.getSubstitutor(); final PsiParameterList paramList = method.getParameterList(); final PsiParameter[] parameters = paramList.getParameters(); if(parameterPosition < 0){ return null; } if(parameterPosition >= parameters.length){ final int lastParamPosition = parameters.length - 1; if(lastParamPosition < 0){ return null; } final PsiParameter lastParameter = parameters[lastParamPosition]; if(lastParameter.isVarArgs()){ return substitutor .substitute(((PsiArrayType) lastParameter.getType()) .getComponentType()); } return null; } final PsiParameter param = parameters[parameterPosition]; if(param.isVarArgs()){ return substitutor.substitute( ((PsiArrayType) param.getType()).getComponentType()); } return substitutor.substitute(param.getType()); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/7a5e3dd8775b4ed336a74f5f882ac0c867d1426a/ExpectedTypeUtils.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/ExpectedTypeUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 453, 7722, 559, 3130, 951, 1662, 12, 7734, 632, 5962, 5110, 8460, 1253, 563, 16, 509, 1569, 2555, 13, 288, 5411, 727, 453, 7722, 1305, 707, 273, 261, 52, 7722, 1305, 13, 563, 18, 21336, 5621, 5411, 309, 261, 2039, 422, 446, 15329, 7734, 327, 446, 31, 5411, 289, 5411, 727, 453, 7722, 1676, 5223, 3408, 7461, 3408, 273, 563, 18, 588, 1676, 5223, 3408, 5621, 5411, 727, 453, 7722, 1662, 682, 579, 682, 273, 707, 18, 588, 1662, 682, 5621, 5411, 727, 453, 7722, 1662, 8526, 1472, 273, 579, 682, 18, 588, 2402, 5621, 5411, 309, 12, 6775, 2555, 411, 374, 15329, 7734, 327, 446, 31, 5411, 289, 5411, 309, 12, 6775, 2555, 1545, 1472, 18, 2469, 15329, 7734, 727, 509, 1142, 786, 2555, 273, 1472, 18, 2469, 300, 404, 31, 7734, 309, 12, 2722, 786, 2555, 411, 374, 15329, 10792, 327, 446, 31, 7734, 289, 7734, 727, 453, 7722, 1662, 1142, 1662, 273, 1472, 63, 2722, 786, 2555, 15533, 7734, 309, 12, 2722, 1662, 18, 291, 1537, 2615, 10756, 95, 10792, 327, 7461, 3408, 18701, 263, 1717, 17207, 12443, 12, 52, 7722, 27182, 13, 1142, 1662, 18, 588, 559, 10756, 4766, 565, 263, 588, 28116, 10663, 7734, 289, 7734, 327, 446, 31, 5411, 289, 5411, 727, 453, 7722, 1662, 579, 273, 1472, 63, 6775, 2555, 15533, 5411, 309, 12, 891, 18, 291, 1537, 2615, 10756, 95, 7734, 327, 7461, 3408, 18, 1717, 17207, 12, 13491, 14015, 52, 7722, 27182, 13, 579, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 760, 453, 7722, 559, 3130, 951, 1662, 12, 7734, 632, 5962, 5110, 8460, 1253, 563, 16, 509, 1569, 2555, 13, 288, 5411, 727, 453, 7722, 1305, 707, 273, 261, 52, 7722, 1305, 13, 563, 18, 21336, 5621, 5411, 309, 261, 2039, 422, 446, 15329, 7734, 327, 446, 31, 5411, 289, 5411, 727, 453, 7722, 1676, 5223, 3408, 7461, 3408, 273, 563, 18, 588, 1676, 5223, 3408, 5621, 5411, 727, 453, 7722, 1662, 682, 579, 682, 273, 707, 18, 588, 1662, 682, 5621, 5411, 727, 453, 7722, 1662, 8526, 1472, 273, 579, 682, 18, 588, 2402, 5621, 5411, 309, 12, 6775, 2555, 411, 374, 15329, 7734, 327, 446, 31, 5411, 289, 5411, 309, 12, 6775, 2555, 1545, 1472, 2 ]
private Authenticator initExternalAuthenticator( String externalAuthenticatorName, Properties authenticatorPropertiesSubset ) { Authenticator externalAuthenticator = null; if( null == externalAuthenticatorName ) { externalAuthenticator = null; } else if( EXTERNAL_AUTHENTICATOR_SMB.equalsIgnoreCase( externalAuthenticatorName ) ) { externalAuthenticator = new SmbAuthenticator( authenticatorPropertiesSubset ); } else if( EXTERNAL_AUTHENTICATOR_LDAP.equalsIgnoreCase( externalAuthenticatorName ) ) { try { externalAuthenticator = new LdapUserAndRoleMapper( authenticatorPropertiesSubset ); } catch( LdapUserAndRoleMapper.LdapInitException e ) { log.error( "LdapUserAndRoleMapper could not be created, using default user and role mapper.", e ); } } else { externalAuthenticator = (Authenticator)createInstanceOfClass( externalAuthenticatorName ); } return externalAuthenticator; }
private Authenticator initExternalAuthenticator( String externalAuthenticatorName, Properties authenticatorPropertiesSubset ) { Authenticator externalAuthenticator = null; if( null == externalAuthenticatorName ) { externalAuthenticator = null; } else if( EXTERNAL_AUTHENTICATOR_SMB.equalsIgnoreCase( externalAuthenticatorName ) ) { externalAuthenticator = new SmbAuthenticator( authenticatorPropertiesSubset ); } else if( EXTERNAL_AUTHENTICATOR_LDAP.equalsIgnoreCase( externalAuthenticatorName ) ) { try { externalAuthenticator = new LdapUserAndRoleMapper( authenticatorPropertiesSubset ); } catch( LdapUserAndRoleMapper.LdapInitException e ) { log.error( "LdapUserAndRoleMapper could not be created, using default user and role mapper.", e ); } } else { externalAuthenticator = (Authenticator)createInstanceOfClass( externalAuthenticatorName ); } return externalAuthenticator; }
private Authenticator initExternalAuthenticator( String externalAuthenticatorName, Properties authenticatorPropertiesSubset ) { Authenticator externalAuthenticator = null; if( null == externalAuthenticatorName ) { externalAuthenticator = null; } else if( EXTERNAL_AUTHENTICATOR_SMB.equalsIgnoreCase( externalAuthenticatorName ) ) { externalAuthenticator = new SmbAuthenticator( authenticatorPropertiesSubset ); } else if( EXTERNAL_AUTHENTICATOR_LDAP.equalsIgnoreCase( externalAuthenticatorName ) ) { try { externalAuthenticator = new LdapUserAndRoleMapper( authenticatorPropertiesSubset ); } catch( LdapUserAndRoleMapper.LdapInitException e ) { log.error( "LdapUserAndRoleMapper could not be created, using default user and role mapper.", e ); } } else { externalAuthenticator = (Authenticator)createInstanceOfClass( externalAuthenticatorName ); } return externalAuthenticator; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/2b8ca505bb7abac1b4914c5928bf113f742f3bbb/IMCService.java/buggy/server/src/imcode/server/IMCService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 27089, 1208, 6841, 18977, 12, 514, 3903, 18977, 461, 16, 4766, 10792, 6183, 17595, 2297, 20315, 262, 288, 1377, 27089, 3903, 18977, 273, 446, 31, 1377, 309, 12, 446, 422, 3903, 18977, 461, 262, 288, 540, 3903, 18977, 273, 446, 31, 1377, 289, 469, 309, 12, 5675, 11702, 67, 25114, 3575, 67, 7303, 38, 18, 14963, 5556, 12, 3903, 18977, 461, 262, 262, 288, 540, 3903, 18977, 273, 394, 348, 1627, 18977, 12, 17595, 2297, 20315, 11272, 1377, 289, 469, 309, 12, 5675, 11702, 67, 25114, 3575, 67, 15496, 18, 14963, 5556, 12, 3903, 18977, 461, 262, 262, 288, 540, 775, 288, 2398, 3903, 18977, 273, 394, 18053, 1299, 1876, 2996, 4597, 12, 17595, 2297, 20315, 11272, 540, 289, 1044, 12, 18053, 1299, 1876, 2996, 4597, 18, 18437, 2570, 503, 425, 262, 288, 5411, 613, 18, 1636, 12, 315, 18437, 1299, 1876, 2996, 4597, 3377, 486, 506, 2522, 16, 1450, 805, 729, 471, 2478, 5815, 1199, 16, 425, 11272, 540, 289, 1377, 289, 469, 288, 540, 3903, 18977, 273, 261, 18977, 13, 2640, 1442, 951, 797, 12, 3903, 18977, 461, 11272, 1377, 289, 1377, 327, 3903, 18977, 31, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 27089, 1208, 6841, 18977, 12, 514, 3903, 18977, 461, 16, 4766, 10792, 6183, 17595, 2297, 20315, 262, 288, 1377, 27089, 3903, 18977, 273, 446, 31, 1377, 309, 12, 446, 422, 3903, 18977, 461, 262, 288, 540, 3903, 18977, 273, 446, 31, 1377, 289, 469, 309, 12, 5675, 11702, 67, 25114, 3575, 67, 7303, 38, 18, 14963, 5556, 12, 3903, 18977, 461, 262, 262, 288, 540, 3903, 18977, 273, 394, 348, 1627, 18977, 12, 17595, 2297, 20315, 11272, 1377, 289, 469, 309, 12, 5675, 11702, 67, 25114, 3575, 67, 15496, 18, 14963, 5556, 12, 3903, 18977, 461, 262, 262, 288, 540, 775, 288, 2398, 3903, 18977, 273, 394, 18053, 1299, 1876, 2996, 4597, 12, 17595, 2297, 20315, 11272, 2 ]
t2.consoleWriteLn("IJKLKOM (c) 1999 Rasmus Sten"); if (t2.parseArgs(argv)) t2.run();
if (t2.parseArgs(argv)) { t2.consoleWriteLn("IJKLKOM (c) 1999 Rasmus Sten"); t2.run(); }
public static void main(String[] argv) { Test2 t2 = new Test2(); t2.consoleWriteLn("IJKLKOM (c) 1999 Rasmus Sten"); if (t2.parseArgs(argv)) t2.run(); }
49589 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49589/6199b6578131844f621f88014072f3e750728dfb/Test2.java/buggy/nu/dll/app/test/Test2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 5261, 13, 288, 202, 4709, 22, 268, 22, 273, 394, 7766, 22, 5621, 202, 88, 22, 18, 8698, 3067, 13780, 2932, 45, 19474, 48, 47, 1872, 261, 71, 13, 404, 11984, 534, 23522, 407, 934, 275, 8863, 202, 430, 261, 88, 22, 18, 2670, 2615, 12, 19485, 3719, 202, 88, 22, 18, 2681, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 5261, 13, 288, 202, 4709, 22, 268, 22, 273, 394, 7766, 22, 5621, 202, 88, 22, 18, 8698, 3067, 13780, 2932, 45, 19474, 48, 47, 1872, 261, 71, 13, 404, 11984, 534, 23522, 407, 934, 275, 8863, 202, 430, 261, 88, 22, 18, 2670, 2615, 12, 19485, 3719, 202, 88, 22, 18, 2681, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (dirtyParts.size() > 0) { IWorkbenchWindow w = getActiveWorkbenchWindow(); if (w == null) { w = windows[0]; } result[0] = EditorManager.saveAll(dirtyParts, finalConfirm, false, w);
IWorkbenchWindow w = getActiveWorkbenchWindow(); if (w == null) { w = windows[0];
public boolean saveAllEditors(boolean confirm) { final boolean finalConfirm = confirm; final boolean[] result = new boolean[1]; result[0] = true; SafeRunner.run(new SafeRunnable(WorkbenchMessages.ErrorClosing) { public void run() { // Collect dirtyParts ArrayList dirtyParts = new ArrayList(); ArrayList dirtyEditorsInput = new ArrayList(); IWorkbenchWindow windows[] = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchPage pages[] = windows[i].getPages(); for (int j = 0; j < pages.length; j++) { WorkbenchPage page = (WorkbenchPage) pages[j]; ISaveablePart[] parts = page.getDirtyParts(); for (int k = 0; k < parts.length; k++) { ISaveablePart part = parts[k]; if (part.isSaveOnCloseNeeded()) { if (part instanceof IEditorPart) { IEditorPart editor = (IEditorPart) part; if (!dirtyEditorsInput.contains(editor .getEditorInput())) { dirtyParts.add(editor); dirtyEditorsInput.add(editor .getEditorInput()); } } else { dirtyParts.add(part); } } } } } if (dirtyParts.size() > 0) { IWorkbenchWindow w = getActiveWorkbenchWindow(); if (w == null) { w = windows[0]; } result[0] = EditorManager.saveAll(dirtyParts, finalConfirm, false, w); } } }); return result[0]; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/ec15ea47849e6522e95294f21b3759b0f0c1c5c1/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1923, 1595, 4666, 1383, 12, 6494, 6932, 13, 288, 202, 202, 6385, 1250, 727, 11269, 273, 6932, 31, 202, 202, 6385, 1250, 8526, 563, 273, 394, 1250, 63, 21, 15533, 202, 202, 2088, 63, 20, 65, 273, 638, 31, 202, 202, 9890, 9709, 18, 2681, 12, 2704, 14060, 20013, 12, 2421, 22144, 5058, 18, 668, 15745, 13, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 9302, 9603, 4305, 9506, 202, 19558, 9603, 4305, 273, 394, 2407, 5621, 9506, 202, 19558, 9603, 4666, 1383, 1210, 273, 394, 2407, 5621, 9506, 202, 45, 2421, 22144, 3829, 9965, 8526, 273, 29026, 22144, 10399, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9965, 18, 2469, 31, 277, 27245, 288, 6862, 202, 45, 2421, 22144, 1964, 4689, 8526, 273, 9965, 63, 77, 8009, 588, 5716, 5621, 6862, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 4689, 18, 2469, 31, 525, 27245, 288, 25083, 202, 2421, 22144, 1964, 1363, 273, 261, 2421, 22144, 1964, 13, 4689, 63, 78, 15533, 25083, 202, 45, 4755, 429, 1988, 8526, 2140, 273, 1363, 18, 588, 10785, 4305, 5621, 25083, 202, 1884, 261, 474, 417, 273, 374, 31, 417, 411, 2140, 18, 2469, 31, 417, 27245, 288, 6862, 1082, 202, 45, 4755, 429, 1988, 1087, 273, 2140, 63, 79, 15533, 6862, 1082, 202, 430, 261, 2680, 18, 291, 4755, 1398, 4605, 11449, 10756, 288, 6862, 9506, 202, 430, 261, 2680, 1276, 467, 6946, 1988, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1923, 1595, 4666, 1383, 12, 6494, 6932, 13, 288, 202, 202, 6385, 1250, 727, 11269, 273, 6932, 31, 202, 202, 6385, 1250, 8526, 563, 273, 394, 1250, 63, 21, 15533, 202, 202, 2088, 63, 20, 65, 273, 638, 31, 202, 202, 9890, 9709, 18, 2681, 12, 2704, 14060, 20013, 12, 2421, 22144, 5058, 18, 668, 15745, 13, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 759, 9302, 9603, 4305, 9506, 202, 19558, 9603, 4305, 273, 394, 2407, 5621, 9506, 202, 19558, 9603, 4666, 1383, 1210, 273, 394, 2407, 5621, 9506, 202, 45, 2421, 22144, 3829, 9965, 8526, 273, 29026, 22144, 10399, 5621, 9506, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2 ]
iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); break; case Token.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getOperation()) { case Token.VOID : iCodeTop = addToken(Token.POP, iCodeTop); iCodeTop = addToken(Token.UNDEFINED, iCodeTop); break; case Token.TYPEOF : iCodeTop = addToken(Token.TYPEOF, iCodeTop); break; default: badTree(node); break;
case Token.TYPEOF : case Token.VOID : iCodeTop = generateICode(child, iCodeTop); if (type == Token.VOID) { iCodeTop = addToken(Token.POP, iCodeTop); iCodeTop = addToken(Token.UNDEFINED, iCodeTop); } else { iCodeTop = addToken(type, iCodeTop);
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.itsFunctionType != FunctionNode.FUNCTION_STATEMENT) { // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addIcode(Icode_CLOSURE, iCodeTop); iCodeTop = addIndex(fnIndex, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SCRIPT : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : iCodeTop = updateLineNumber(node, iCodeTop); child = child.getNext(); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.VOID : case Token.NOP : iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.COMMA : iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.SWITCH : { iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); int theLocalSlot = itsData.itsMaxLocals++; iCodeTop = addToken(Token.NEWTEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; ObjArray cases = (ObjArray) node.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addToken(Token.USETEMP, iCodeTop); iCodeTop = addByte(theLocalSlot, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.SHEQ, iCodeTop); itsStackDepth--; Node target = new Node(Token.TARGET); thisCase.addChildAfter(target, first); iCodeTop = addGoto(target, Token.IFEQ, iCodeTop); } Node defaultNode = (Node) node.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node defaultTarget = new Node(Token.TARGET); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node breakTarget = (Node) node.getProp(Node.BREAK_PROP); iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : { markTargetLabel(node, iCodeTop); break; } case Token.EQOP : case Token.RELOP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int op = node.getOperation(); if (version == Context.VERSION_1_2) { if (op == Token.EQ) { op = Token.SHEQ; } else if (op == Token.NE) { op = Token.SHNE; } } iCodeTop = addToken(op, iCodeTop); itsStackDepth--; break; } case Token.NEW : case Token.CALL : { int childCount = 0; String functionName = null; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (functionName == null) { int childType = child.getType(); if (childType == Token.NAME || childType == Token.GETPROP) { functionName = lastAddString; } } child = child.getNext(); childCount++; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addIcode(Icode_CALLSPECIAL, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addToken(type, iCodeTop); iCodeTop = addString(functionName, iCodeTop); } itsStackDepth -= (childCount - 1); // always a result value // subtract from child count to account for [thisObj &] fun if (type == Token.NEW) { childCount -= 1; } else { childCount -= 2; } iCodeTop = addIndex(childCount, iCodeTop); if (childCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = childCount; break; } case Token.NEWLOCAL : case Token.NEWTEMP : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.NEWTEMP, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); break; } case Token.USELOCAL : { if (node.getProp(Node.TARGET_PROP) != null) { iCodeTop = addIcode(Icode_RETSUB, iCodeTop); } else { iCodeTop = addToken(Token.USETEMP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } Node temp = (Node) node.getProp(Node.LOCAL_PROP); iCodeTop = addLocalRef(temp, iCodeTop); break; } case Token.USETEMP : { iCodeTop = addToken(Token.USETEMP, iCodeTop); Node temp = (Node) node.getProp(Node.TEMP_PROP); iCodeTop = addLocalRef(temp, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { Node target = (Node)(node.getProp(Node.TARGET_PROP)); iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.AND : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIcode(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int falseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(falseJumpStart, iCodeTop); break; } case Token.OR : { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIcode(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int trueJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFEQ, iCodeTop); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(trueJumpStart, iCodeTop); break; } case Token.GETPROP : { iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addIcode(Icode_GETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addIcode(Icode_GETSCOPEPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; } break; } case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.GETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.POS : case Token.NEG : case Token.NOT : case Token.BITNOT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); break; case Token.UNARYOP : iCodeTop = generateICode(child, iCodeTop); switch (node.getOperation()) { case Token.VOID : iCodeTop = addToken(Token.POP, iCodeTop); iCodeTop = addToken(Token.UNDEFINED, iCodeTop); break; case Token.TYPEOF : iCodeTop = addToken(Token.TYPEOF, iCodeTop); break; default: badTree(node); break; } break; case Token.SETPROP : { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); String s = (String) node.getProp(Node.SPECIAL_PROP_PROP); if (s != null) { if (s.equals("__proto__")) { iCodeTop = addIcode(Icode_SETPROTO, iCodeTop); } else if (s.equals("__parent__")) { iCodeTop = addIcode(Icode_SETPARENT, iCodeTop); } else { badTree(node); } } else { child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETELEM, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETNAME, iCodeTop); iCodeTop = addString(firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.TYPEOFNAME : { String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addIcode(Icode_TYPEOFNAME, iCodeTop); iCodeTop = addString(name, iCodeTop); } else { iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); iCodeTop = addToken(Token.TYPEOF, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.PARENT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIcode(Icode_GETPARENT, iCodeTop); break; case Token.GETBASE : case Token.BINDNAME : case Token.NAME : case Token.STRING : iCodeTop = addToken(type, iCodeTop); iCodeTop = addString(node.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.INC : case Token.DEC : { int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addToken(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addIcode(type == Token.INC ? Icode_VARINC : Icode_VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); int icode; if (childType == Token.GETPROP) { icode = (type == Token.INC) ? Icode_PROPINC : Icode_PROPDEC; } else { icode = (type == Token.INC) ? Icode_ELEMINC : Icode_ELEMDEC; } iCodeTop = addIcode(icode, iCodeTop); itsStackDepth--; break; } default : { iCodeTop = addIcode(type == Token.INC ? Icode_NAMEINC : Icode_NAMEDEC, iCodeTop); iCodeTop = addString(child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addToken(Token.ZERO, iCodeTop); } else if (inum == 1) { iCodeTop = addToken(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addIcode(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addIcode(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { iCodeTop = addToken(Token.NUMBER, iCodeTop); iCodeTop = addDouble(num, iCodeTop); } itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.POP : case Token.POPV : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.ENTERWITH : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.ENTERWITH, iCodeTop); itsStackDepth--; break; case Token.GETTHIS : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.GETTHIS, iCodeTop); break; case Token.NEWSCOPE : iCodeTop = addToken(Token.NEWSCOPE, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.LEAVEWITH : iCodeTop = addToken(Token.LEAVEWITH, iCodeTop); break; case Token.TRY : { Node catchTarget = (Node)node.getProp(Node.TARGET_PROP); Node finallyTarget = (Node)node.getProp(Node.FINALLY_PROP); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd >= 0) Context.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Catch code has exception object on the stack itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } else if (child == finallyTarget) { if (child.getType() != Token.TARGET) Context.codeBug(); if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel(child, iCodeTop); generated = true; // Adjust stack for finally code: on the top of the // stack it has either a PC value when called from // GOSUB or exception object to rethrow when called // from exception handler itsStackDepth = 1; if (itsStackDepth > itsData.itsMaxStack) { itsData.itsMaxStack = itsStackDepth; } } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } itsStackDepth = 0; // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth); break; } case Token.THROW : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.THROW, iCodeTop); itsStackDepth--; break; case Token.RETURN : iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addIcode(Icode_RETUNDEF, iCodeTop); } break; case Token.GETVAR : { String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addToken(Token.STRING, iCodeTop); iCodeTop = addString(name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.NULL: case Token.THIS: case Token.THISFN: case Token.FALSE: case Token.TRUE: case Token.UNDEFINED: iCodeTop = addToken(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUMINIT : iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.ENUMINIT, iCodeTop); iCodeTop = addLocalRef(node, iCodeTop); itsStackDepth--; break; case Token.ENUMNEXT : { iCodeTop = addToken(Token.ENUMNEXT, iCodeTop); Node init = (Node)node.getProp(Node.ENUM_PROP); iCodeTop = addLocalRef(init, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } case Token.ENUMDONE : // could release the local here?? break; case Token.REGEXP : { int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addToken(Token.REGEXP, iCodeTop); iCodeTop = addIndex(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } default : badTree(node); break; } return iCodeTop; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/5bb0de51f4eb37ef1f776e50a739fa69b125b9db/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 309, 261, 4293, 18, 1282, 2083, 559, 480, 4284, 907, 18, 7788, 67, 28411, 13, 288, 10792, 368, 5098, 445, 8041, 578, 445, 2652, 10792, 368, 6317, 4260, 7213, 981, 4979, 394, 445, 10792, 368, 733, 603, 2110, 487, 445, 6317, 854, 6454, 10792, 368, 622, 2728, 19, 915, 787, 10792, 277, 1085, 3401, 273, 527, 45, 710, 12, 45, 710, 67, 22693, 55, 4830, 16, 277, 1085, 3401, 1769, 10792, 277, 1085, 3401, 273, 26794, 12, 4293, 1016, 16, 277, 1085, 3401, 1769, 10792, 2097, 2624, 6148, 9904, 31, 10792, 309, 261, 1282, 2624, 6148, 405, 2097, 751, 18, 1282, 2747, 2624, 13, 13491, 2097, 751, 18, 1282, 2747, 2624, 273, 2097, 2624, 6148, 31, 7734, 289, 7734, 898, 31, 5411, 289, 5411, 648, 3155, 18, 10885, 294, 7734, 277, 1085, 3401, 273, 1089, 31063, 12, 2159, 16, 277, 1085, 3401, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 309, 261, 3624, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 1620, 261, 723, 13, 288, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 309, 261, 4293, 18, 1282, 2083, 559, 480, 4284, 907, 18, 7788, 67, 28411, 13, 288, 10792, 368, 5098, 445, 8041, 578, 445, 2652, 10792, 368, 6317, 4260, 7213, 2 ]
overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(2); overEndTime = overTimeRange.getEndTime().getMicroSecondTime();
overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(3); displayTime = displayInterval.getValue();
public synchronized void setImage(Image newImage){ overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(2); overEndTime = overTimeRange.getEndTime().getMicroSecondTime(); overBeginTime = overTimeRange.getBeginTime().getMicroSecondTime(); overTimeInterval = overEndTime - overBeginTime; displayTime = displayInterval.getValue(); overSizedImage = new SoftReference(newImage); repaint(); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/94293dd5784f04d427d8d3206f7f5201a24a3251/BasicSeismogramDisplay.java/buggy/src/edu/sc/seis/fissuresUtil/display/BasicSeismogramDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 18893, 12, 2040, 394, 2040, 15329, 202, 565, 1879, 950, 2655, 273, 813, 809, 18, 588, 950, 2655, 7675, 588, 51, 2496, 1235, 950, 2655, 12, 22, 1769, 202, 565, 1879, 25255, 273, 1879, 950, 2655, 18, 588, 25255, 7675, 588, 13617, 8211, 950, 5621, 202, 565, 1879, 8149, 950, 273, 1879, 950, 2655, 18, 588, 8149, 950, 7675, 588, 13617, 8211, 950, 5621, 202, 565, 1879, 950, 4006, 273, 1879, 25255, 300, 1879, 8149, 950, 31, 202, 565, 2562, 950, 273, 2562, 4006, 18, 24805, 5621, 202, 565, 1879, 55, 1235, 2040, 273, 394, 12438, 2404, 12, 2704, 2040, 1769, 3196, 565, 24962, 5621, 202, 225, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 918, 18893, 12, 2040, 394, 2040, 15329, 202, 565, 1879, 950, 2655, 273, 813, 809, 18, 588, 950, 2655, 7675, 588, 51, 2496, 1235, 950, 2655, 12, 22, 1769, 202, 565, 1879, 25255, 273, 1879, 950, 2655, 18, 588, 25255, 7675, 588, 13617, 8211, 950, 5621, 202, 565, 1879, 8149, 950, 273, 1879, 950, 2655, 18, 588, 8149, 950, 7675, 588, 13617, 8211, 950, 5621, 202, 565, 1879, 950, 4006, 273, 1879, 25255, 300, 1879, 8149, 950, 31, 202, 565, 2562, 950, 273, 2562, 4006, 18, 24805, 5621, 202, 565, 1879, 55, 1235, 2040, 273, 394, 12438, 2404, 12, 2704, 2040, 1769, 3196, 565, 24962, 5621, 202, 225, 202, 97, 2, -100, -100, -100, -100, -100 ]
if (filename.startsWith(File.separator) || (filename.length() >= 2 && Character.isLetter(filename.charAt(0)) && filename.charAt(1) == ':') ) { return normalize(filename);
if (!onNetWare) { if (filename.startsWith(File.separator) || (filename.length() >= 2 && Character.isLetter(filename.charAt(0)) && filename.charAt(1) == ':') ) { return normalize(filename); } } else { int colon = filename.indexOf(":"); if (filename.startsWith(File.separator) || (colon > -1) ) { return normalize(filename); }
public File resolveFile(File file, String filename) { filename = filename.replace('/', File.separatorChar) .replace('\\', File.separatorChar); // deal with absolute files if (filename.startsWith(File.separator) || (filename.length() >= 2 && Character.isLetter(filename.charAt(0)) && filename.charAt(1) == ':') ) { return normalize(filename); } if (file == null) { return new File(filename); } File helpFile = new File(file.getAbsolutePath()); StringTokenizer tok = new StringTokenizer(filename, File.separator); while (tok.hasMoreTokens()) { String part = tok.nextToken(); if (part.equals("..")) { helpFile = getParentFile(helpFile); if (helpFile == null) { String msg = "The file or path you specified (" + filename + ") is invalid relative to " + file.getPath(); throw new BuildException(msg); } } else if (part.equals(".")) { // Do nothing here } else { helpFile = new File(helpFile, part); } } return new File(helpFile.getAbsolutePath()); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/bd0662b8fa0d69a8129ea1089518b146e77c6abd/FileUtils.java/clean/src/main/org/apache/tools/ant/util/FileUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 2245, 812, 12, 812, 585, 16, 514, 1544, 13, 288, 3639, 1544, 273, 1544, 18, 2079, 2668, 19, 2187, 1387, 18, 11287, 2156, 13, 5411, 263, 2079, 2668, 1695, 2187, 1387, 18, 11287, 2156, 1769, 3639, 368, 10490, 598, 4967, 1390, 3639, 309, 261, 3459, 18, 17514, 1190, 12, 812, 18, 11287, 13, 747, 5411, 261, 3459, 18, 2469, 1435, 1545, 576, 597, 2398, 6577, 18, 291, 13938, 12, 3459, 18, 3001, 861, 12, 20, 3719, 597, 2398, 1544, 18, 3001, 861, 12, 21, 13, 422, 3921, 13, 5411, 262, 288, 5411, 327, 3883, 12, 3459, 1769, 3639, 289, 3639, 309, 261, 768, 422, 446, 13, 288, 5411, 327, 394, 1387, 12, 3459, 1769, 3639, 289, 3639, 1387, 2809, 812, 273, 394, 1387, 12, 768, 18, 588, 10368, 743, 10663, 3639, 16370, 946, 273, 394, 16370, 12, 3459, 16, 1387, 18, 11287, 1769, 3639, 1323, 261, 17692, 18, 5332, 7417, 5157, 10756, 288, 5411, 514, 1087, 273, 946, 18, 4285, 1345, 5621, 5411, 309, 261, 2680, 18, 14963, 2932, 18460, 3719, 288, 7734, 2809, 812, 273, 21460, 12, 5201, 812, 1769, 7734, 309, 261, 5201, 812, 422, 446, 13, 288, 10792, 514, 1234, 273, 315, 1986, 585, 578, 589, 1846, 1269, 7566, 13491, 397, 1544, 397, 9369, 353, 2057, 3632, 358, 315, 13491, 397, 585, 18, 588, 743, 5621, 10792, 604, 394, 18463, 12, 3576, 1769, 7734, 289, 5411, 289, 469, 309, 261, 2680, 18, 14963, 2932, 1199, 3719, 288, 7734, 368, 2256, 5083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1387, 2245, 812, 12, 812, 585, 16, 514, 1544, 13, 288, 3639, 1544, 273, 1544, 18, 2079, 2668, 19, 2187, 1387, 18, 11287, 2156, 13, 5411, 263, 2079, 2668, 1695, 2187, 1387, 18, 11287, 2156, 1769, 3639, 368, 10490, 598, 4967, 1390, 3639, 309, 261, 3459, 18, 17514, 1190, 12, 812, 18, 11287, 13, 747, 5411, 261, 3459, 18, 2469, 1435, 1545, 576, 597, 2398, 6577, 18, 291, 13938, 12, 3459, 18, 3001, 861, 12, 20, 3719, 597, 2398, 1544, 18, 3001, 861, 12, 21, 13, 422, 3921, 13, 5411, 262, 288, 5411, 327, 3883, 12, 3459, 1769, 3639, 289, 3639, 309, 261, 768, 422, 446, 13, 288, 5411, 327, 394, 1387, 12, 3459, 1769, 3639, 289, 2 ]
public void targetReasserted() { ((UMLPlainTextDocument)getDocument()).targetReasserted();
public void targetReasserted(Object newTarget) { ((UMLPlainTextDocument)getDocument()).targetReasserted(newTarget);
public void targetReasserted() { ((UMLPlainTextDocument)getDocument()).targetReasserted(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/d4093a486b09547fbd2a98668e046dfda0dcc2dc/UMLTextField2.java/buggy/src_new/org/argouml/uml/ui/UMLTextField2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1018, 426, 11231, 329, 1435, 288, 540, 14015, 57, 1495, 13360, 1528, 2519, 13, 588, 2519, 1435, 2934, 3299, 426, 11231, 329, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1018, 426, 11231, 329, 1435, 288, 540, 14015, 57, 1495, 13360, 1528, 2519, 13, 588, 2519, 1435, 2934, 3299, 426, 11231, 329, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertEqual(st.toString(), expecting);
assertEquals(st.toString(), expecting);
public void testTemplatePolymorphism() throws Exception { StringTemplateGroup group = new StringTemplateGroup("super"); StringTemplateGroup subGroup = new StringTemplateGroup("sub"); subGroup.setSuperGroup(group); // bold is defined in both super and sub // if you create an instance of page via the subgroup, // then bold() should evaluate to the subgroup not the super // even though page is defined in the super. Just like polymorphism. group.defineTemplate("bold", "<b>$it$</b>"); group.defineTemplate("page", "$name:bold()$"); subGroup.defineTemplate("bold", "<strong>$it$</strong>"); StringTemplate st = subGroup.getInstanceOf("page"); st.setAttribute("name", "Ter"); String expecting = "<strong>Ter</strong>"; assertEqual(st.toString(), expecting); }
52527 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52527/158b0f9c5220709dc9d801ee911d1605a906ccaf/TestStringTemplate.java/clean/src/org/antlr/stringtemplate/test/TestStringTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2283, 5850, 2942, 7657, 6228, 1435, 5411, 1216, 1185, 565, 288, 3639, 514, 2283, 1114, 1041, 273, 394, 514, 2283, 1114, 2932, 9565, 8863, 3639, 514, 2283, 1114, 720, 1114, 273, 394, 514, 2283, 1114, 2932, 1717, 8863, 3639, 720, 1114, 18, 542, 8051, 1114, 12, 1655, 1769, 3639, 368, 13068, 353, 2553, 316, 3937, 2240, 471, 720, 3639, 368, 309, 1846, 752, 392, 791, 434, 1363, 3970, 326, 720, 1655, 16, 3639, 368, 1508, 13068, 1435, 1410, 5956, 358, 326, 720, 1655, 486, 326, 2240, 3639, 368, 5456, 11376, 1363, 353, 2553, 316, 326, 2240, 18, 225, 12526, 3007, 2952, 2942, 7657, 6228, 18, 3639, 1041, 18, 11255, 2283, 2932, 16390, 3113, 3532, 70, 16200, 305, 8, 1757, 70, 2984, 1769, 3639, 1041, 18, 11255, 2283, 2932, 2433, 3113, 4662, 529, 30, 16390, 1435, 8, 8863, 3639, 720, 1114, 18, 11255, 2283, 2932, 16390, 3113, 3532, 9110, 16200, 305, 8, 1757, 9110, 2984, 1769, 3639, 514, 2283, 384, 273, 720, 1114, 18, 588, 1442, 951, 2932, 2433, 8863, 3639, 384, 18, 542, 1499, 2932, 529, 3113, 315, 56, 264, 8863, 3639, 514, 17012, 273, 7734, 3532, 9110, 34, 56, 264, 1757, 9110, 2984, 31, 3639, 1815, 8867, 12, 334, 18, 10492, 9334, 17012, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2283, 5850, 2942, 7657, 6228, 1435, 5411, 1216, 1185, 565, 288, 3639, 514, 2283, 1114, 1041, 273, 394, 514, 2283, 1114, 2932, 9565, 8863, 3639, 514, 2283, 1114, 720, 1114, 273, 394, 514, 2283, 1114, 2932, 1717, 8863, 3639, 720, 1114, 18, 542, 8051, 1114, 12, 1655, 1769, 3639, 368, 13068, 353, 2553, 316, 3937, 2240, 471, 720, 3639, 368, 309, 1846, 752, 392, 791, 434, 1363, 3970, 326, 720, 1655, 16, 3639, 368, 1508, 13068, 1435, 1410, 5956, 358, 326, 720, 1655, 486, 326, 2240, 3639, 368, 5456, 11376, 1363, 353, 2553, 316, 326, 2240, 18, 225, 12526, 3007, 2952, 2942, 7657, 6228, 18, 3639, 1041, 18, 11255, 2283, 2932, 16390, 3113, 3532, 70, 2 ]
public RTrendTest(String name) { super(name); }
public RTrendTest(String name) { super(name); }
public RTrendTest(String name) { // JUnitDoclet begin method RTrendTest super(name); // JUnitDoclet end method RTrendTest }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/05e078356cbf684ec12612d15c6a53faa346f073/RTrendTest.java/clean/tests/unit/edu/sc/seis/fissuresUtil/bag/RTrendTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13060, 20262, 4709, 12, 780, 508, 13, 288, 565, 368, 804, 2802, 1759, 1810, 2376, 707, 13060, 20262, 4709, 565, 2240, 12, 529, 1769, 565, 368, 804, 2802, 1759, 1810, 679, 707, 13060, 20262, 4709, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13060, 20262, 4709, 12, 780, 508, 13, 288, 565, 368, 804, 2802, 1759, 1810, 2376, 707, 13060, 20262, 4709, 565, 2240, 12, 529, 1769, 565, 368, 804, 2802, 1759, 1810, 679, 707, 13060, 20262, 4709, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List pluginGroupIds = new ArrayList( groupIds ); if ( !pluginGroupIds.contains( "org.apache.maven.plugins" ) ) { pluginGroupIds.add( "org.apache.maven.plugins" ); } PluginMappingManager mappingManager = new PluginMappingManager(); if ( pluginGroupIds != null ) { for ( Iterator it = pluginGroupIds.iterator(); it.hasNext(); ) { String groupId = (String) it.next(); try { File mappingFile = resolveMappingMetadata( groupId, pluginRepositories, localRepository ); PluginMap pluginMap = readPluginMap( mappingFile ); if ( pluginMap != null ) { mappingManager.addPluginMap( pluginMap ); } } catch ( RepositoryMetadataManagementException e ) { getLogger().warn( "Cannot resolve plugin-mapping metadata for groupId: " + groupId + " - IGNORING." ); getLogger().debug( "Error resolving plugin-mapping metadata for groupId: " + groupId + ".", e ); } } } return mappingManager;
return loadPluginMappings( groupIds, pluginRepositories, localRepository, new PluginMappingManager() );
public PluginMappingManager loadPluginMappings( List groupIds, List pluginRepositories, ArtifactRepository localRepository ) throws RepositoryMetadataManagementException, PluginMappingManagementException { List pluginGroupIds = new ArrayList( groupIds ); if ( !pluginGroupIds.contains( "org.apache.maven.plugins" ) ) { pluginGroupIds.add( "org.apache.maven.plugins" ); } PluginMappingManager mappingManager = new PluginMappingManager(); if ( pluginGroupIds != null ) { for ( Iterator it = pluginGroupIds.iterator(); it.hasNext(); ) { String groupId = (String) it.next(); try { File mappingFile = resolveMappingMetadata( groupId, pluginRepositories, localRepository ); PluginMap pluginMap = readPluginMap( mappingFile ); if ( pluginMap != null ) { mappingManager.addPluginMap( pluginMap ); } } catch ( RepositoryMetadataManagementException e ) { getLogger().warn( "Cannot resolve plugin-mapping metadata for groupId: " + groupId + " - IGNORING." ); getLogger().debug( "Error resolving plugin-mapping metadata for groupId: " + groupId + ".", e ); } } } return mappingManager; }
50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/6f81043b7bb808d0e2bbf036a7c9edc1ec44f2cd/DefaultPluginMappingBuilder.java/buggy/maven-plugin-mapping/src/main/java/org/apache/maven/plugin/mapping/DefaultPluginMappingBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6258, 3233, 1318, 1262, 3773, 7742, 12, 987, 1041, 2673, 16, 987, 1909, 18429, 16, 4766, 10402, 14022, 3305, 1191, 3305, 262, 3639, 1216, 6281, 2277, 10998, 503, 16, 6258, 3233, 10998, 503, 565, 288, 3639, 987, 1909, 1114, 2673, 273, 394, 2407, 12, 1041, 2673, 11272, 7734, 309, 261, 401, 4094, 1114, 2673, 18, 12298, 12, 315, 3341, 18, 19211, 18, 81, 7638, 18, 8057, 6, 262, 262, 3639, 288, 5411, 1909, 1114, 2673, 18, 1289, 12, 315, 3341, 18, 19211, 18, 81, 7638, 18, 8057, 6, 11272, 3639, 289, 7734, 6258, 3233, 1318, 2874, 1318, 273, 394, 6258, 3233, 1318, 5621, 3639, 309, 261, 1909, 1114, 2673, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 1909, 1114, 2673, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 5411, 288, 7734, 514, 6612, 273, 261, 780, 13, 518, 18, 4285, 5621, 7734, 775, 7734, 288, 10792, 1387, 2874, 812, 273, 2245, 3233, 2277, 12, 6612, 16, 1909, 18429, 16, 1191, 3305, 11272, 10792, 6258, 863, 1909, 863, 273, 855, 3773, 863, 12, 2874, 812, 11272, 10792, 309, 261, 1909, 863, 480, 446, 262, 10792, 288, 13491, 2874, 1318, 18, 1289, 3773, 863, 12, 1909, 863, 11272, 10792, 289, 7734, 289, 7734, 1044, 261, 6281, 2277, 10998, 503, 425, 262, 7734, 288, 10792, 7156, 7675, 8935, 12, 315, 4515, 2245, 1909, 17, 6770, 1982, 364, 6612, 30, 315, 397, 6612, 397, 315, 300, 467, 8318, 916, 1360, 1199, 11272, 4766, 3639, 7156, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6258, 3233, 1318, 1262, 3773, 7742, 12, 987, 1041, 2673, 16, 987, 1909, 18429, 16, 4766, 10402, 14022, 3305, 1191, 3305, 262, 3639, 1216, 6281, 2277, 10998, 503, 16, 6258, 3233, 10998, 503, 565, 288, 3639, 987, 1909, 1114, 2673, 273, 394, 2407, 12, 1041, 2673, 11272, 7734, 309, 261, 401, 4094, 1114, 2673, 18, 12298, 12, 315, 3341, 18, 19211, 18, 81, 7638, 18, 8057, 6, 262, 262, 3639, 288, 5411, 1909, 1114, 2673, 18, 1289, 12, 315, 3341, 18, 19211, 18, 81, 7638, 18, 8057, 6, 11272, 3639, 289, 7734, 6258, 3233, 1318, 2874, 1318, 273, 394, 6258, 3233, 1318, 5621, 3639, 309, 261, 1909, 1114, 2673, 480, 446, 262, 3639, 288, 5411, 364, 261, 2 ]
public void testChainEffect() { model0.insertChar('\"'); model0.insertChar('\\'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\\'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\"'); model0.insertChar('\\'); model0.insertChar('\"'); model0.insertChar('\"'); // "\"""\"""\""# model0.move(-1); assertEquals("#0.0", "\"", model0.currentToken().getType()); assertTrue("#0.1", model0.currentToken().isClosed()); model0.move(-2); // "\"""\"""#\"" assertEquals("#1.0", "\\\"", model0.currentToken().getType()); assertEquals("#1.1", INSIDE_QUOTE, stateOfCurrentToken(model0)); model0.move(-1); assertEquals("#1.2", "\"", model0.currentToken().getType()); assertEquals("#1.3", FREE, stateOfCurrentToken(model0)); assertTrue("#1.4", model0.currentToken().isOpen()); model0.move(1); model0.insertChar('\\'); // "\"""\"""\#\"" assertEquals("#2.0", "\\\\", model0.currentToken().getType()); assertEquals("#2.1", INSIDE_QUOTE, stateOfCurrentToken(model0)); assertEquals("#2.2", 10, model0.absOffset()); model0.move(-2); assertEquals("#2.3", "\"", model0.currentToken().getType()); assertEquals("#2.4", FREE, stateOfCurrentToken(model0)); assertTrue("#2.5", model0.currentToken().isOpen()); model0.move(3); assertEquals("#2.6", "\"", model0.currentToken().getType()); assertEquals("#2.7", FREE, stateOfCurrentToken(model0)); assertTrue("#2.8", model0.currentToken().isClosed()); model0.move(-1); model0.insertChar('\"'); // "\"""\"""\"#\"" assertEquals("#3.0", "\\\"", model0.currentToken().getType()); assertEquals("#3.1", INSIDE_QUOTE, stateOfCurrentToken(model0)); assertEquals("#3.2", 11, model0.absOffset()); model0.move(-2); assertEquals("#3.3", "\\\"", model0.currentToken().getType()); assertEquals("#3.4", INSIDE_QUOTE, stateOfCurrentToken(model0)); model0.move(4); assertEquals("#3.5", "\"", model0.currentToken().getType()); assertEquals("#3.6", FREE, stateOfCurrentToken(model0)); assertTrue("#3.7", model0.currentToken().isClosed()); model0.move(-12); // "#\"""\"""\"\"" model0.delete(1); // "#"""\"""\"\"" model0.move(-1); // #""""\"""\"\"" assertEquals("#4.0", "\"", model0.currentToken().getType()); assertTrue("#4.1", model0.currentToken().isOpen()); assertEquals("#4.2", FREE, stateOfCurrentToken(model0)); model0.move(1); // "#"""\"""\"\"" assertEquals("#4.3", "\"", model0.currentToken().getType()); assertTrue("#4.4", model0.currentToken().isClosed()); assertEquals("#4.5", FREE, stateOfCurrentToken(model0)); model0.move(1); // ""#""\"""\"\"" assertEquals("#5.0", "\"", model0.currentToken().getType()); assertTrue("#5.1", model0.currentToken().isOpen()); assertEquals("#5.2", FREE, stateOfCurrentToken(model0)); model0.move(1); // """#"\"""\"\"" assertEquals("#5.3", "\"", model0.currentToken().getType()); assertTrue("#5.4", model0.currentToken().isClosed()); assertEquals("#5.5", FREE, stateOfCurrentToken(model0)); model0.move(1); // """"#\"""\"\"" assertEquals("#5.6", "\\\"", model0.currentToken().getType()); assertEquals("#5.7", FREE, stateOfCurrentToken(model0)); model0.move(2); // """"\"#""\"\"" assertEquals("#6.0", "\"", model0.currentToken().getType()); assertTrue("#6.1", model0.currentToken().isOpen()); assertEquals("#6.2", FREE, stateOfCurrentToken(model0)); model0.move(1); // """"\""#"\"\"" assertEquals("#6.3", "\"", model0.currentToken().getType()); assertTrue("#6.4", model0.currentToken().isClosed()); assertEquals("#6.5", FREE, stateOfCurrentToken(model0)); model0.move(1); // """"\"""#\"\"" assertEquals("#6.6", "\\\"", model0.currentToken().getType()); assertEquals("#6.7", FREE, stateOfCurrentToken(model0)); model0.move(2); // """"\"""\"#\"" assertEquals("#6.0", "\\\"", model0.currentToken().getType()); assertEquals("#6.1", FREE, stateOfCurrentToken(model0)); model0.move(2); // """"\"""\"\"#" assertEquals("#6.2", "\"", model0.currentToken().getType()); assertTrue("#6.3", model0.currentToken().isOpen()); assertEquals("#6.4", FREE, stateOfCurrentToken(model0)); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e325016b29b8dde8e3ba0908ae34d55edb22c64f/BackSlashTest.java/clean/drjava/src/edu/rice/cs/drjava/BackSlashTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3893, 12477, 1435, 95, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 759, 6, 2412, 3660, 2412, 3660, 8530, 7, 2284, 20, 18, 8501, 19236, 21, 1769, 11231, 8867, 2932, 7, 20, 18, 20, 15937, 2412, 3113, 2284, 20, 18, 2972, 1345, 7675, 588, 559, 10663, 11231, 5510, 2932, 7, 20, 18, 21, 3113, 2284, 20, 18, 2972, 1345, 7675, 291, 7395, 10663, 2284, 20, 18, 8501, 19236, 22, 1769, 759, 6, 2412, 3660, 2412, 3660, 7, 8530, 11231, 8867, 2932, 7, 21, 18, 20, 15937, 1695, 2412, 3113, 2284, 20, 18, 2972, 1345, 7675, 588, 559, 10663, 11231, 8867, 2932, 7, 21, 18, 21, 3113, 706, 26498, 67, 18980, 16, 2019, 951, 3935, 1345, 12, 2284, 20, 10019, 2284, 20, 18, 8501, 19236, 21, 1769, 11231, 8867, 2932, 7, 21, 18, 22, 15937, 2412, 3113, 2284, 20, 18, 2972, 1345, 7675, 588, 559, 10663, 11231, 8867, 2932, 7, 21, 18, 23, 3113, 28104, 16, 2019, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 3813, 3893, 12477, 1435, 95, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 1695, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 2284, 20, 18, 6387, 2156, 2668, 2412, 8284, 759, 6, 2412, 3660, 2412, 3660, 8530, 7, 2284, 20, 18, 8501, 19236, 21, 1769, 11231, 2 ]
case 213:
case 214:
public final java_cup.runtime.symbol CUP$do_action( int CUP$act_num, java_cup.runtime.lr_parser CUP$parser, java.util.Stack CUP$stack, int CUP$top) throws java.lang.Exception { /* object for return from actions */ java_cup.runtime.symbol CUP$result; /* select the action based on the action number */ switch (CUP$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 225: // empty ::= { CUP$result = new java_cup.runtime.symbol(/*empty*/4); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 224: // param_type_spec ::= scopename { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 223: // param_type_spec ::= string_type { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 222: // param_type_spec ::= base_type_spec { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 221: // string_literal_list ::= string_literal COMMA string_literal_list { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 220: // string_literal_list ::= string_literal { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 219: // context_expr ::= empty { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 218: // context_expr ::= CONTEXT LPAREN string_literal_list RPAREN { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 217: // raises_expr ::= empty { CUP$result = new RaisesExpr(/*raises_expr*/84); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 216: // raises_expr ::= RAISES LPAREN scopename_list RPAREN { CUP$result = new RaisesExpr(/*raises_expr*/84); ((RaisesExpr)CUP$result).nameList = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 215: // param_attribute ::= INOUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = 3; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 214: // param_attribute ::= OUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = 2; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 213: // param_attribute ::= IN { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = 1; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 212: // param_dcl ::= param_attribute param_type_spec simple_declarator { CUP$result = new ParamDecl(/*param_dcl*/83); ((ParamDecl)CUP$result).paramAttribute = (/*pa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-2)).int_val; ((ParamDecl)CUP$result).paramTypeSpec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 211: // param_dcls ::= param_dcl { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 210: // param_dcls ::= param_dcl COMMA param_dcls { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: // parameter_dcls ::= LPAREN RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 208: // parameter_dcls ::= LPAREN param_dcls RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: // void_type_spec ::= VOID { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 206: // op_type_spec ::= void_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(VoidTypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 205: // op_type_spec ::= param_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 204: // op_attribute ::= empty { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = 0; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 203: // op_attribute ::= ONEWAY { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = 1; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 202: // op_dcl ::= op_attribute op_type_spec ID parameter_dcls raises_expr context_expr { CUP$result = new OpDecl(/*op_dcl*/85); ((OpDecl)CUP$result).opAttribute = (/*oa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-5)).int_val; ((OpDecl)CUP$result).opTypeSpec = (/*ots*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)); ((OpDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((OpDecl)CUP$result).paramDecls = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((OpDecl)CUP$result).raisesExpr = (/*re*/(RaisesExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 201: // except_dcl ::= EXCEPTION ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 200: // except_dcl ::= EXCEPTION ID LCBRACE RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 199: // simple_declarator_list ::= simple_declarator COMMA simple_declarator_list { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v = (Vector)(/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 198: // simple_declarator_list ::= simple_declarator { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 197: // attr_dcl ::= ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = false; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 196: // attr_dcl ::= READONLY ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = true; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 195: // fixed_array_size ::= LSBRACE positive_int_const RSBRACE { CUP$result = new FixedArraySize(/*fixed_array_size*/82); ((FixedArraySize)CUP$result).pos_int_const = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 194: // fixed_array_size_list ::= fixed_array_size fixed_array_size_list { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v = (Vector)(/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 193: // fixed_array_size_list ::= fixed_array_size { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 192: // array_declarator ::= ID fixed_array_size_list { CUP$result = new ArrayDeclarator(/*array_declarator*/81); ((ArrayDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1))); ((ArrayDeclarator)CUP$result).fixed_array_size_list = (/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: // fixed_point_type ::= FIXED LESSTHAN positive_int_const COMMA positive_int_const GREATERTHAN { CUP$result = new FixedPointType(/*fixed_point_type*/74); ((FixedPointType)CUP$result).digit_expr = (/*digits*/(PosIntConst)CUP$stack.elementAt(CUP$top-3)).const_expr; ((FixedPointType)CUP$result).scale_expr = (/*scale*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 190: // string_type ::= WSTRING { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: // string_type ::= STRING { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 188: // string_type ::= WSTRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 187: // string_type ::= STRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 186: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 185: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec COMMA positive_int_const GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-3)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 184: // native_type ::= NATIVE simple_declarator { CUP$result = new NativeType(/*native_type*/54); ((NativeType)CUP$result).declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 183: // enumerator_list ::= ID COMMA enumerator_list { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v = (Vector)(/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 182: // enumerator_list ::= ID { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 181: // enum_type ::= ENUM ID LCBRACE enumerator_list RCBRACE { CUP$result = new EnumType(/*enum_type*/50); ((EnumType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((EnumType)CUP$result).enumlist = (/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); ((EnumType)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 180: // element_spec ::= type_spec declarator { CUP$result = new ElementSpec(/*element_spec*/57); ((ElementSpec)CUP$result).t.type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ElementSpec)CUP$result).d = (/*dc*/(Declarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 179: // case_label_list ::= DEFAULT COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement(null); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 178: // case_label_list ::= CASE const_expr COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 177: // case_label_list ::= DEFAULT COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement( null ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 176: // case_label_list ::= CASE const_expr COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 175: // case ::= case_label_list element_spec SEMI { CUP$result = new Case(/*case*/56); ((Case)CUP$result).element_spec = (/*es*/(ElementSpec)CUP$stack.elementAt(CUP$top-1)); ((Case)CUP$result).case_label_list = (/*c*/(SymbolList)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 174: // switch_body ::= case switch_body { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector = (Vector)(/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-0)).caseListVector.clone(); ((SwitchBody)CUP$result).caseListVector.addElement( (/*c*/(Case)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 173: // switch_body ::= case { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector.addElement((/*c*/(Case)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 172: // switch_type_spec ::= scopename { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 171: // switch_type_spec ::= enum_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).set_constr((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 170: // switch_type_spec ::= bool_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*b*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 169: // switch_type_spec ::= char_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*c*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 168: // switch_type_spec ::= int_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*i*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 167: // union_type ::= UNION ID SWITCH LPAREN switch_type_spec RPAREN LCBRACE switch_body RCBRACE { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).setSwitchType( (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)) ); ((UnionType)CUP$result).setSwitchBody( (/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-1)) ); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-7))); ((UnionType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 166: // member ::= type_spec declarators SEMI { CUP$result = new Member(/*member*/78); ((Member)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((Member)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 165: // member_list ::= member member_list { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v = (Vector)(/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 164: // member_list ::= member { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 163: // struct_type ::= STRUCT ID { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 162: // struct_type ::= STRUCT ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = false; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 161: // any_type ::= ANY { CUP$result = new AnyType(/*any_type*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 160: // octet_type ::= OCTET { CUP$result = new OctetType(/*octet_type*/69); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 159: // bool_type ::= BOOLEAN { CUP$result = new BooleanType(/*bool_type*/68); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 158: // char_type ::= WCHAR { CUP$result = new CharType(/*char_type*/67); ((CharType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 157: // char_type ::= CHAR { CUP$result = new CharType(/*char_type*/67); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 156: // long_long_type ::= LONG LONG { CUP$result = new LongLongType(/*long_long_type*/66); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 155: // long_type ::= LONG { CUP$result = new LongType(/*long_type*/65); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 154: // short_type ::= SHORT { CUP$result = new ShortType(/*short_type*/64); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 153: // int_type ::= UNSIGNED short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 152: // int_type ::= short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 151: // int_type ::= UNSIGNED long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 150: // int_type ::= UNSIGNED long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 149: // int_type ::= long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*ll*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 148: // int_type ::= long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 147: // double_type ::= DOUBLE { CUP$result = new DoubleType(/*double_type*/63); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 146: // fixed_pt_const_type ::= FIXED { CUP$result = new FixedPointConstType(/*fixed_pt_const_type*/62); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 145: // float_type ::= FLOAT { CUP$result = new FloatType(/*float_type*/61); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 144: // float_pt_type ::= double_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*d*/(DoubleType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 143: // float_pt_type ::= float_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*f*/(FloatType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 142: // simple_declarator ::= ID { CUP$result = new SimpleDeclarator(/*simple_declarator*/80); ((SimpleDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 141: // declarator ::= array_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(ArrayDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 140: // declarator ::= simple_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 139: // declarators ::= declarator { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 138: // declarators ::= declarator COMMA declarators { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v = (Vector)(/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 137: // constr_type_spec ::= enum_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 136: // constr_type_spec ::= union_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 135: // constr_type_spec ::= struct_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 134: // template_type_spec ::= fixed_point_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 133: // template_type_spec ::= string_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 132: // template_type_spec ::= sequence_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 131: // base_type_spec ::= VALUEBASE { CUP$result = new BaseType(/*base_type_spec*/58); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 130: // base_type_spec ::= any_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(AnyType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 129: // base_type_spec ::= octet_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 128: // base_type_spec ::= bool_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 127: // base_type_spec ::= char_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 126: // base_type_spec ::= int_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 125: // base_type_spec ::= float_pt_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 124: // simple_type_spec ::= scopename { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 123: // simple_type_spec ::= template_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 122: // simple_type_spec ::= base_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 121: // type_spec ::= constr_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 120: // type_spec ::= simple_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 119: // type_declarator ::= type_spec declarators { CUP$result = new TypeDeclarator(/*type_declarator*/41); ((TypeDeclarator)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((TypeDeclarator)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 118: // type_def ::= TYPEDEF type_declarator { CUP$result = new TypeDef(/*type_def*/46); ((TypeDef)CUP$result).type_declarator = (/*t*/(TypeDeclarator)CUP$stack.elementAt(CUP$top-0)); ((TypeDef)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 117: // type_dcl ::= native_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*n*/(NativeType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 116: // type_dcl ::= enum_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 115: // type_dcl ::= union_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 114: // type_dcl ::= struct_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 113: // type_dcl ::= type_def { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*t*/(TypeDef)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 112: // positive_int_const ::= const_expr { CUP$result = new PosIntConst(/*positive_int_const*/31); ((PosIntConst)CUP$result).const_expr = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 111: // string_literal ::= LDBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 110: // string_literal ::= LDBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 109: // string_literal ::= DBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 108: // string_literal ::= DBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 107: // literal ::= FALSE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "false"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 106: // literal ::= TRUE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "true"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 105: // literal ::= FLOAT_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)).float_val ; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 104: // literal ::= FIXED_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)).fixed_val; ((Literal)CUP$result).token = (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 103: // literal ::= string_literal { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).string; ((Literal)CUP$result).wide = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).wide; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 102: // literal ::= QUOTE CH QUOTE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "\'" + (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)).char_val + "\'"; ((Literal)CUP$result).token = (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 101: // literal ::= LONG_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)).long_val; ((Literal)CUP$result).token = (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 100: // literal ::= NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 99: // primary_expr ::= LPAREN const_expr RPAREN { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 98: // primary_expr ::= literal { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*l*/(Literal)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 97: // primary_expr ::= scopename { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 96: // unary_op ::= TILDE { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "~"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // unary_op ::= PLUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // unary_op ::= MINUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // unary_expr ::= primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // unary_expr ::= unary_op primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); ((UnaryExpr)CUP$result).unary_op = (/*u*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // mult_expr ::= mult_expr PERCENT unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "%"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // mult_expr ::= mult_expr SLASH unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "/"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // mult_expr ::= mult_expr STAR unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "*"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // mult_expr ::= unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // add_expr ::= add_expr MINUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // add_expr ::= add_expr PLUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // add_expr ::= mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // shift_expr ::= shift_expr RSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = ">>"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // shift_expr ::= shift_expr LSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = "<<"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // shift_expr ::= add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // and_expr ::= and_expr AMPERSAND shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-2)); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // and_expr ::= shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // xor_expr ::= xor_expr CIRCUM and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); ((XorExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // xor_expr ::= and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // or_expr ::= or_expr BAR xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-2)); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // or_expr ::= xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // const_expr ::= or_expr { CUP$result = new ConstExpr(/*const_expr*/30); ((ConstExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // const_type ::= scopename { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((ConstType)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // const_type ::= octet_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // const_type ::= string_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // const_type ::= fixed_pt_const_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FixedPointConstType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // const_type ::= float_pt_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // const_type ::= bool_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // const_type ::= char_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // const_type ::= int_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // const_dcl ::= CONST const_type ID EQUALS const_expr { CUP$result = new ConstDecl(/*const_dcl*/28); ((ConstDecl)CUP$result).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val); ((ConstDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((ConstDecl)CUP$result).const_expr = (/*ce*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); ((ConstDecl)CUP$result).const_type = (ConstType)(/*ct*/(ConstType)CUP$stack.elementAt(CUP$top-3)); ((ConstDecl)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // init_param_decl ::= IN param_type_spec simple_declarator { CUP$result = new InitParamDecl(/*init_param_decl*/27); ((InitParamDecl)CUP$result).paramTypeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((InitParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // init_param_decls ::= init_param_decl COMMA init_param_decls { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v = (Vector)(/*ipdcls*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-2)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // init_param_decls ::= init_param_decl { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-0)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // init_dcl ::= FACTORY ID LPAREN RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_dcl ::= FACTORY ID LPAREN init_param_decls RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((InitDecl)CUP$result).paramDecls = (Vector)(/*ipd*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // state_member ::= PRIVATE type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = false; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // state_member ::= PUBLIC type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = true; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // value_element ::= init_dcl { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*id*/(InitDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // value_element ::= state_member { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*sm*/(StateMember)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // value_element ::= export { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*e*/(Definition)CUP$stack.elementAt(CUP$top-0)).get_declaration()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // value_elements ::= empty { CUP$result = new Definitions(/*value_elements*/23); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // value_elements ::= value_element value_elements { CUP$result = new Definitions(/*value_elements*/23); ((Definitions)CUP$result).v = (Vector)(/*es*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // truncatable ::= TRUNCATABLE { CUP$result = new Truncatable(/*truncatable*/16); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // value_inheritance_spec ::= empty { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // value_inheritance_spec ::= COLON scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // value_inheritance_spec ::= COLON truncatable scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-3)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // value_inheritance_spec ::= SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // value_inheritance_spec ::= COLON scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // value_inheritance_spec ::= COLON truncatable scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-1)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // value_dcl ::= VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // value_dcl ::= VALUETYPE ID { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // value_dcl ::= CUSTOM VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (true); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // value_body ::= empty { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // value_body ::= export value_body { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).v = (Vector)(/*vb*/(ValueBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((ValueBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // value_abs_dcl ::= ABSTRACT VALUETYPE ID { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // value_abs_dcl ::= ABSTRACT VALUETYPE ID value_inheritance_spec LCBRACE value_body RCBRACE { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueAbsDecl)CUP$result).setInheritanceSpec( (/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3)) ); ((ValueAbsDecl)CUP$result).body = (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).myAbsValue = ((ValueAbsDecl)CUP$result); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((ValueAbsDecl)CUP$result)); ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // value_box_dcl ::= VALUETYPE ID type_spec { CUP$result = new ValueBoxDecl(/*value_box_dcl*/18); ((ValueBoxDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; ((ValueBoxDecl)CUP$result).typeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // value ::= value_box_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vbx*/(ValueBoxDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // value ::= value_abs_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vad*/(ValueAbsDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // value ::= value_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vd*/(ValueDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // scopename ::= OBJECT { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).typeName = "org.omg.CORBA.Object"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // scopename ::= scopename DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)).typeName+ "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // scopename ::= DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // scopename ::= ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // scopename_list ::= scopename { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // scopename_list ::= scopename COMMA scopename_list { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // inheritance_spec ::= empty { CUP$result = new SymbolList(/*inheritance_spec*/95); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // inheritance_spec ::= COLON scopename_list { CUP$result = new SymbolList(/*inheritance_spec*/95); ((SymbolList)CUP$result).v = (Vector)(/*sl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // export ::= op_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*o*/(OpDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // export ::= attr_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*a*/(AttrDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // export ::= except_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // export ::= const_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // export ::= type_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // interface_body ::= empty { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // interface_body ::= export interface_body { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).v = (Vector)(/*i*/(InterfaceBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((InterfaceBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // interface ::= PSEUDO INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // interface ::= LOCAL INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // interface ::= ABSTRACT INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // interface ::= INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // interface ::= PSEUDO INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_pseudo(); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val);// (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // interface ::= LOCAL INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // interface ::= ABSTRACT INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // interface ::= INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // module ::= MODULE ID LCBRACE definitions RCBRACE { CUP$result = new Module(/*module*/11); ((Module)CUP$result).spec = (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)); ((Module)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((Module)CUP$result).setPackage((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val ); ((Module)CUP$result).set_included( parser.include_state ); (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Module)CUP$result)); parser.closeScope( (Scope)((Module)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // definition ::= value SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Value)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // definition ::= module SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Module)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // definition ::= interface SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*p*/(Interface)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // definition ::= except_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // definition ::= const_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // definition ::= type_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // definitions ::= definition { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // definitions ::= definition definitions { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // specification ::= empty { CUP$result = new Spec(/*specification*/8); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // specification ::= NT$0 definitions { CUP$result = new Spec(/*specification*/8); /* parsing */ // open the global scope parser.openScope(); ((Spec)CUP$result).definitions = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); if( ((org.jacorb.idl.parser)CUP$parser).package_prefix != null ) ((Spec)CUP$result).setPackage( ((org.jacorb.idl.parser)CUP$parser).package_prefix ); ((Spec)CUP$result).parse(); if ( lexer.error_count != 0 ) { System.err.println(lexer.error_count + " error(s)."); System.exit(1); } // if there are still interfaces to be parsed, wait until the // threads performing this have finished. The last one // will call notify() :) if( parser.pending_interfaces.size() > 0 ) { // give other threads a chance to start and signal // that they're active Thread.yield(); boolean runnableFound = false; // still no one seems to be active, but we'll call // round to be sure if( parser.activeParseThreads() == 0 ) { Environment.output(3,"Check for runnable threads"); for( int t = 0; t < InterfaceBody.parseThreads.size() && !runnableFound; t++ ) { runnableFound = ((InterfaceBody.ParseThread)InterfaceBody.parseThreads.elementAt(t)).isRunnable(); } } // only block waiting if we know that there are active or // runnable threads and that there are still pending tasks if( ( parser.activeParseThreads() > 1 || runnableFound ) && parser.pending_interfaces.size() > 0 ) { synchronized( parser.pending_interfaces ) { Environment.output(3,"Wait for pending_interfaces"); parser.pending_interfaces.wait(); Environment.output(3,"Waking up after wait for pending_interfaces"); } } } if( parser.pending_interfaces.size() > 0 && !parser.sloppy ) { parser.fatal_error("Undefined interface: " + (String)(parser.pending_interfaces.keys().nextElement()), null ); } /* complete global import list */ if( parser.global_import ) { Environment.output(3,"Preparing global import"); parser.addGlobalNamesToImport(); } else Environment.output(3,"No global import"); parser.done_parsing = true; /* code generation phase */ try { if (! ((org.jacorb.idl.parser)CUP$parser).parse_only ) { ((Spec)CUP$result).print(new java.io.PrintWriter( java.lang.System.out )); } } catch ( Exception e ) { Environment.output(1,e); } } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // NT$0 ::= { CUP$result = new java_cup.runtime.token(/*NT$0*/98); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= specification EOF { CUP$result = new java_cup.runtime.token(/*$START*/0); } /* ACCEPT */ CUP$parser.done_parsing(); return CUP$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/81c0eebfa6be115771d4b39a5a8d7808b46a0a45/parser.java/clean/src/org/jacorb/idl/parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 28298, 30, 368, 1008, 493, 33, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 2252, 67, 71, 416, 18, 9448, 18, 7175, 12, 20308, 5531, 5549, 24, 1769, 12900, 289, 1850, 327, 385, 3079, 8, 2088, 31, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 576, 3247, 30, 368, 579, 67, 723, 67, 2793, 493, 33, 888, 556, 1069, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 1412, 1990, 12, 20308, 891, 67, 723, 67, 2793, 5549, 6334, 1769, 9079, 14015, 559, 1990, 13, 39, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 2 ]
CallableStatement s = connection.prepareCall(query);
CallableStatement s = connection.prepareCall(syscall(catalog, query));
public java.sql.ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException { String query = "exec sp_special_columns ?, ?, ?, ?, ?, ?, ?"; if (catalog != null) { if (tdsVersion >= Driver.TDS70) { query = "exec [" + catalog + "]..sp_special_columns ?, ?, ?, ?, ?, ?, ?"; } else { query = "exec " + catalog + "..sp_special_columns ?, ?, ?, ?, ?, ?, ?"; } } CallableStatement s = connection.prepareCall(query); s.setString(1, table); s.setString(2, schema); s.setString(3, catalog); s.setString(4, "R"); s.setString(5, "T"); s.setString(6, "U"); s.setInt(7, 3); // ODBC version 3 JtdsResultSet rs = (JtdsResultSet)s.executeQuery(); rs.setColName(5, "COLUMN_SIZE"); rs.setColLabel(5, "COLUMN_SIZE"); rs.setColName(6, "BUFFER_LENGTH"); rs.setColLabel(6, "BUFFER_LENGTH"); rs.setColName(7, "DECIMAL_DIGITS"); rs.setColLabel(7, "DECIMAL_DIGITS"); return rs; }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/b9018ded623e94f46ccd633e0c0f32d7b3cc45a9/JtdsDatabaseMetaData.java/buggy/src/main/net/sourceforge/jtds/jdbc/JtdsDatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 28782, 1999, 3004, 12, 780, 6222, 16, 4766, 10402, 514, 1963, 16, 4766, 10402, 514, 1014, 16, 4766, 10402, 509, 2146, 16, 4766, 10402, 1250, 8413, 13, 565, 1216, 6483, 288, 3639, 514, 843, 273, 315, 4177, 1694, 67, 9371, 67, 5112, 20033, 20033, 20033, 20033, 20033, 20033, 692, 14432, 3639, 309, 261, 7199, 480, 446, 13, 288, 5411, 309, 261, 88, 2377, 1444, 1545, 9396, 18, 56, 3948, 7301, 13, 288, 7734, 843, 273, 315, 4177, 8247, 397, 6222, 397, 9850, 838, 1752, 67, 9371, 67, 5112, 20033, 20033, 20033, 20033, 20033, 20033, 692, 14432, 5411, 289, 469, 288, 7734, 843, 273, 315, 4177, 315, 397, 6222, 397, 315, 838, 1752, 67, 9371, 67, 5112, 20033, 20033, 20033, 20033, 20033, 20033, 692, 14432, 5411, 289, 3639, 289, 3639, 10464, 3406, 272, 273, 1459, 18, 9366, 1477, 12, 9009, 7795, 12, 7199, 16, 843, 10019, 3639, 272, 18, 542, 780, 12, 21, 16, 1014, 1769, 3639, 272, 18, 542, 780, 12, 22, 16, 1963, 1769, 3639, 272, 18, 542, 780, 12, 23, 16, 6222, 1769, 3639, 272, 18, 542, 780, 12, 24, 16, 315, 54, 8863, 3639, 272, 18, 542, 780, 12, 25, 16, 315, 56, 8863, 3639, 272, 18, 542, 780, 12, 26, 16, 315, 57, 8863, 3639, 272, 18, 542, 1702, 12, 27, 16, 890, 1769, 368, 531, 13183, 1177, 890, 3639, 804, 88, 2377, 13198, 3597, 273, 261, 46, 88, 2377, 13198, 13, 87, 18, 8837, 1138, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2252, 18, 4669, 18, 13198, 28782, 1999, 3004, 12, 780, 6222, 16, 4766, 10402, 514, 1963, 16, 4766, 10402, 514, 1014, 16, 4766, 10402, 509, 2146, 16, 4766, 10402, 1250, 8413, 13, 565, 1216, 6483, 288, 3639, 514, 843, 273, 315, 4177, 1694, 67, 9371, 67, 5112, 20033, 20033, 20033, 20033, 20033, 20033, 692, 14432, 3639, 309, 261, 7199, 480, 446, 13, 288, 5411, 309, 261, 88, 2377, 1444, 1545, 9396, 18, 56, 3948, 7301, 13, 288, 7734, 843, 273, 315, 4177, 8247, 397, 6222, 397, 9850, 838, 1752, 67, 9371, 67, 5112, 20033, 20033, 20033, 20033, 20033, 20033, 692, 14432, 5411, 289, 469, 288, 7734, 843, 273, 315, 4177, 315, 397, 6222, 397, 315, 838, 1752, 2 ]
return encode(pString, getDefaultCharset());
try { return encodeText(pString, charset); } catch (UnsupportedEncodingException e) { throw new EncoderException(e.getMessage()); }
public String encode(String pString) throws EncoderException { if (pString == null) { return null; } return encode(pString, getDefaultCharset()); }
7890 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7890/15194a9e772c4929ff008333d3537221095d6237/QCodec.java/buggy/src/java/org/apache/commons/codec/net/QCodec.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2017, 12, 780, 293, 780, 13, 1216, 13554, 503, 288, 3639, 309, 261, 84, 780, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 775, 288, 327, 2017, 1528, 12, 84, 780, 16, 4856, 1769, 289, 1044, 261, 8544, 13836, 425, 13, 288, 604, 394, 13554, 503, 12, 73, 18, 24906, 10663, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 2017, 12, 780, 293, 780, 13, 1216, 13554, 503, 288, 3639, 309, 261, 84, 780, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 775, 288, 327, 2017, 1528, 12, 84, 780, 16, 4856, 1769, 289, 1044, 261, 8544, 13836, 425, 13, 288, 604, 394, 13554, 503, 12, 73, 18, 24906, 10663, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final String caption = (String) getPropertyValue(Property.PROPERTY_CAPTION); if (caption != null) { return caption; } return getName(); }
final String caption = (String) getPropertyValue(Property.PROPERTY_CAPTION); if (caption != null) { return caption; } return getName(); }
public final String getCaption() { // if there is a member formatter for the members level, // we will call this interface to provide the display string MemberFormatter mf = getLevel().getMemberFormatter(); if (mf != null) { return mf.formatMember(this); } final String caption = (String) getPropertyValue(Property.PROPERTY_CAPTION); if (caption != null) { return caption; } return getName(); }
51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/b5b5168edc3af09cb74945a80b0c36e6630ed502/MemberBase.java/clean/src/main/mondrian/olap/MemberBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 1927, 13507, 1435, 288, 202, 202, 759, 309, 1915, 353, 279, 3140, 4453, 364, 326, 4833, 1801, 16, 202, 202, 759, 225, 732, 903, 745, 333, 1560, 358, 5615, 326, 2562, 533, 202, 202, 4419, 5074, 14749, 273, 17236, 7675, 588, 4419, 5074, 5621, 202, 202, 430, 261, 16126, 480, 446, 13, 288, 1082, 202, 2463, 14749, 18, 2139, 4419, 12, 2211, 1769, 202, 202, 97, 202, 202, 6385, 514, 11006, 273, 261, 780, 13, 21694, 12, 1396, 18, 9900, 67, 3587, 3725, 1769, 202, 202, 430, 261, 15386, 480, 446, 13, 288, 1082, 202, 2463, 11006, 31, 202, 202, 97, 202, 202, 2463, 1723, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 514, 1927, 13507, 1435, 288, 202, 202, 759, 309, 1915, 353, 279, 3140, 4453, 364, 326, 4833, 1801, 16, 202, 202, 759, 225, 732, 903, 745, 333, 1560, 358, 5615, 326, 2562, 533, 202, 202, 4419, 5074, 14749, 273, 17236, 7675, 588, 4419, 5074, 5621, 202, 202, 430, 261, 16126, 480, 446, 13, 288, 1082, 202, 2463, 14749, 18, 2139, 4419, 12, 2211, 1769, 202, 202, 97, 202, 202, 6385, 514, 11006, 273, 261, 780, 13, 21694, 12, 1396, 18, 9900, 67, 3587, 3725, 1769, 202, 202, 430, 261, 15386, 480, 446, 13, 288, 1082, 202, 2463, 11006, 31, 202, 202, 97, 202, 202, 2463, 1723, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100 ]
param, null, null, new ForwarderIbisMetaObjectFactory());
param, (Node) null, null, new ForwarderIbisMetaObjectFactory());
public static void main(String[] args) { if (args.length < 5) { System.err.println( "Usage: java modelisation.Bench <lambda> <nu> <destinationFile> <creationNode> <benchLength>"); System.err.println( "-Dnodecontroler.startnode=false to use already created nodes"); System.exit(-1); } ProActiveConfiguration.load(); //ExponentialLaw expo = new ExponentialLaw(Double.parseDouble(args[0])); RandomNumberGenerator expo = RandomNumberFactory.getGenerator("lambda"); expo.initialize(Double.parseDouble(args[0])); // Node[] nodes = Bench.readDestinationFile(args[2], "" + args[0] + "_" + args[1]); Node[] nodes = Bench.readMapingFile(args[2]); Agent agent = Bench.startAgent(Double.parseDouble(args[1]), nodes, Long.parseLong(args[4])); try { Thread.sleep(2000); } catch (Exception e) { e.printStackTrace(); } System.out.println(""); System.out.println("Bench started at " + new Date()); System.out.println(""); System.out.println("Calling agent.start()"); agent.start(); // long benchTime = Long.parseLong(args[4]); try { Thread.sleep(2000); } catch (Exception e) { e.printStackTrace(); } Bench bench = null; Object[] param = new Object[] { agent, expo }; try { // bench = (Bench) ProActive.newActive(Bench.class.getName(), param, // null, null, new FowarderIbisMetaObjectFactory()); if ("ibis".equals(System.getProperty("proactive.rmi"))) { System.out.println(" USING IBIS"); bench = (Bench) ProActive.newActive(Bench.class.getName(), param, null, null, new ForwarderIbisMetaObjectFactory()); // ProActiveMetaObjectFactory.instance = new ProActiveIbisMetaObjectFactory(); } else { System.out.println(" USING RMI"); bench = (Bench) ProActive.newActive(Bench.class.getName(), param, null, null, new ForwarderMetaObjectFactory()); } } catch (Exception e) { e.printStackTrace(); } }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/c171c3550f70b496c1228bbed45f5f8feea45a9c/Bench.java/buggy/src/modelisation/forwarder/Bench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 1381, 13, 288, 5411, 2332, 18, 370, 18, 8222, 12, 7734, 315, 5357, 30, 2252, 938, 10742, 18, 38, 7382, 225, 411, 14661, 34, 411, 13053, 34, 411, 10590, 812, 34, 411, 17169, 907, 34, 411, 22144, 1782, 2984, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 7734, 3701, 40, 2159, 1213, 303, 749, 18, 1937, 2159, 33, 5743, 358, 999, 1818, 2522, 2199, 8863, 5411, 2332, 18, 8593, 19236, 21, 1769, 3639, 289, 3639, 1186, 3896, 1750, 18, 945, 5621, 3639, 368, 17972, 649, 48, 2219, 1329, 83, 273, 394, 29770, 649, 48, 2219, 12, 5265, 18, 2670, 5265, 12, 1968, 63, 20, 5717, 1769, 3639, 8072, 1854, 3908, 1329, 83, 273, 8072, 1854, 1733, 18, 588, 3908, 2932, 14661, 8863, 3639, 1329, 83, 18, 11160, 12, 5265, 18, 2670, 5265, 12, 1968, 63, 20, 5717, 1769, 3639, 368, 565, 2029, 8526, 2199, 273, 605, 7382, 18, 896, 5683, 812, 12, 1968, 63, 22, 6487, 1408, 397, 833, 63, 20, 65, 397, 8802, 397, 833, 63, 21, 19226, 3639, 2029, 8526, 2199, 273, 605, 7382, 18, 896, 863, 310, 812, 12, 1968, 63, 22, 19226, 3639, 8669, 4040, 273, 605, 7382, 18, 1937, 3630, 12, 5265, 18, 2670, 5265, 12, 1968, 63, 21, 65, 3631, 2199, 16, 7734, 3407, 18, 2670, 3708, 12, 1968, 63, 24, 5717, 1769, 3639, 775, 288, 5411, 4884, 18, 19607, 12, 17172, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 309, 261, 1968, 18, 2469, 411, 1381, 13, 288, 5411, 2332, 18, 370, 18, 8222, 12, 7734, 315, 5357, 30, 2252, 938, 10742, 18, 38, 7382, 225, 411, 14661, 34, 411, 13053, 34, 411, 10590, 812, 34, 411, 17169, 907, 34, 411, 22144, 1782, 2984, 1769, 5411, 2332, 18, 370, 18, 8222, 12, 7734, 3701, 40, 2159, 1213, 303, 749, 18, 1937, 2159, 33, 5743, 358, 999, 1818, 2522, 2199, 8863, 5411, 2332, 18, 8593, 19236, 21, 1769, 3639, 289, 3639, 1186, 3896, 1750, 18, 945, 5621, 3639, 368, 17972, 649, 48, 2219, 1329, 83, 273, 394, 29770, 649, 48, 2219, 12, 5265, 18, 2670, 5265, 12, 2 ]
if (myRecipe != null) { Fermentable f = new Fermentable(myRecipe.getMaltUnits()); myRecipe.addMalt(f); maltTable.updateUI(); displayRecipe(); }
String u = (String) hopsTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setHopsUnits(u); displayRecipe();
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Fermentable f = new Fermentable(myRecipe.getMaltUnits()); myRecipe.addMalt(f); maltTable.updateUI(); displayRecipe(); } }
51683 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51683/7d10ba27ebed1257eb8300fb23cf135f62284bf2/StrangeSwing.java/clean/src/ca/strangebrew/ui/swing/StrangeSwing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 17322, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 6862, 25083, 202, 430, 261, 4811, 5650, 3151, 480, 446, 13, 288, 6862, 6862, 1082, 202, 42, 264, 475, 429, 284, 273, 394, 478, 264, 475, 429, 12, 4811, 5650, 3151, 18, 588, 49, 2390, 7537, 10663, 6862, 6862, 1082, 202, 4811, 5650, 3151, 18, 1289, 49, 2390, 12, 74, 1769, 6862, 6862, 1082, 202, 81, 2390, 1388, 18, 2725, 5370, 5621, 6862, 6862, 1082, 202, 5417, 5650, 3151, 5621, 6862, 25083, 202, 97, 6862, 6862, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 17322, 202, 482, 918, 26100, 12, 1803, 1133, 6324, 13, 288, 6862, 25083, 202, 430, 261, 4811, 5650, 3151, 480, 446, 13, 288, 6862, 6862, 1082, 202, 42, 264, 475, 429, 284, 273, 394, 478, 264, 475, 429, 12, 4811, 5650, 3151, 18, 588, 49, 2390, 7537, 10663, 6862, 6862, 1082, 202, 4811, 5650, 3151, 18, 1289, 49, 2390, 12, 74, 1769, 6862, 6862, 1082, 202, 81, 2390, 1388, 18, 2725, 5370, 5621, 6862, 6862, 1082, 202, 5417, 5650, 3151, 5621, 6862, 25083, 202, 97, 6862, 6862, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return showFileChooserSave(parent, m_lastFile, true, null);
return showFileChooserSave(parent, s_lastFile, true, null);
public static File showSaveSgf(Frame parent) { return showFileChooserSave(parent, m_lastFile, true, null); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/d2c82776cfb6a5883c2efd6ab487f29355027c67/SimpleDialogs.java/buggy/src/net/sf/gogui/gui/SimpleDialogs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1387, 2405, 4755, 55, 75, 74, 12, 3219, 982, 13, 565, 288, 3639, 327, 2405, 812, 17324, 4755, 12, 2938, 16, 272, 67, 2722, 812, 16, 638, 16, 446, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1387, 2405, 4755, 55, 75, 74, 12, 3219, 982, 13, 565, 288, 3639, 327, 2405, 812, 17324, 4755, 12, 2938, 16, 272, 67, 2722, 812, 16, 638, 16, 446, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
appIconButton.setIcon(new ImageIcon("/Users/bovet/Dev/Projects/ANTLRWorks/classes/org/antlr/works/icons/app.png"));
private void initComponents() { // JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents appIconButton = new JButton(); descriptionLabel = new JLabel(); titleLabel = new JLabel(); versionLabel = new JLabel(); copyrightLabel = new JLabel(); tabbedPane1 = new JTabbedPane(); panel2 = new JPanel(); acknowledgeTextArea = new JTextArea(); panel1 = new JPanel(); scrollPane1 = new JScrollPane(); infoTable = new JTable(); CellConstraints cc = new CellConstraints(); //======== this ======== setResizable(false); setTitle("About"); Container contentPane = getContentPane(); contentPane.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, FormFactory.DEFAULT_COLSPEC, FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, new RowSpec(RowSpec.BOTTOM, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LINE_GAP_ROWSPEC, new RowSpec("top:max(default;20dlu)"), FormFactory.LINE_GAP_ROWSPEC, new RowSpec("bottom:max(default;15dlu)"), FormFactory.LINE_GAP_ROWSPEC, new RowSpec("top:max(default;15dlu)"), FormFactory.LINE_GAP_ROWSPEC, new RowSpec("fill:max(default;60dlu):grow"), FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.dluY(10)) })); //---- appIconButton ---- appIconButton.setBorderPainted(false); appIconButton.setContentAreaFilled(false); appIconButton.setDefaultCapable(false); appIconButton.setEnabled(true); appIconButton.setFocusPainted(false); appIconButton.setFocusable(false); appIconButton.setIcon(new ImageIcon("/Users/bovet/Dev/Projects/ANTLRWorks/classes/org/antlr/works/icons/app.png")); appIconButton.setMaximumSize(new Dimension(136, 144)); appIconButton.setMinimumSize(new Dimension(136, 144)); appIconButton.setPreferredSize(new Dimension(124, 144)); contentPane.add(appIconButton, cc.xywh(3, 3, 1, 8)); //---- descriptionLabel ---- descriptionLabel.setHorizontalAlignment(SwingConstants.LEFT); descriptionLabel.setHorizontalTextPosition(SwingConstants.LEFT); descriptionLabel.setText("A graphical development environment for developing and debugging ANTLR v3 grammars"); descriptionLabel.setVerticalAlignment(SwingConstants.TOP); descriptionLabel.setVerticalTextPosition(SwingConstants.TOP); contentPane.add(descriptionLabel, cc.xywh(5, 7, 1, 2)); //---- titleLabel ---- titleLabel.setFont(new Font("Lucida Grande", Font.BOLD, 36)); titleLabel.setText("ANTLRWorks"); contentPane.add(titleLabel, cc.xy(5, 3)); //---- versionLabel ---- versionLabel.setText("Version 1.0 early access 1"); contentPane.add(versionLabel, cc.xy(5, 5)); //---- copyrightLabel ---- copyrightLabel.setText("Copyright (c) 2005 Jean Bovet & Terence Parr"); contentPane.add(copyrightLabel, cc.xy(5, 9)); //======== tabbedPane1 ======== { //======== panel2 ======== { panel2.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, new RowSpec(RowSpec.FILL, Sizes.DEFAULT, FormSpec.NO_GROW), FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.dluY(10)) })); //---- acknowledgeTextArea ---- acknowledgeTextArea.setBackground(SystemColor.window); acknowledgeTextArea.setEditable(false); acknowledgeTextArea.setText("ANTLR and StringTemplate are (c) 1989-2005 Terence Parr\nXJLibrary is (c) 2004-2005 Jean Bovet\nPortion of the GUI uses JGoodies, (c) 2002-2004 Karsten Lentzsch\nPortion of the GUI was created using JFormDesigner, (c) 2004-2005 Karl Tauber\nBrowserLauncher is (c) 2001 Eric Albert <ejalbert@cs.stanford.edu>\nApplication icon is (c) Matthew McClintock <matthew@mc.clintock.com>\n"); panel2.add(acknowledgeTextArea, cc.xy(3, 3)); } tabbedPane1.addTab("Acknowledgment", panel2); //======== panel1 ======== { panel1.setLayout(new FormLayout( new ColumnSpec[] { new ColumnSpec(Sizes.dluX(10)), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(ColumnSpec.FILL, Sizes.DEFAULT, FormSpec.DEFAULT_GROW), FormFactory.LABEL_COMPONENT_GAP_COLSPEC, new ColumnSpec(Sizes.dluX(10)) }, new RowSpec[] { new RowSpec(Sizes.dluY(10)), FormFactory.LINE_GAP_ROWSPEC, new RowSpec(RowSpec.FILL, Sizes.dluY(10), FormSpec.DEFAULT_GROW), FormFactory.LINE_GAP_ROWSPEC, new RowSpec(Sizes.dluY(10)) })); //======== scrollPane1 ======== { //---- infoTable ---- infoTable.setModel(new DefaultTableModel( new Object[][] { {null, null}, {null, null}, {null, null}, {null, null}, }, new String[] { "Name", "Version" } ) { boolean[] columnEditable = new boolean[] { false, false }; public boolean isCellEditable(int rowIndex, int columnIndex) { return columnEditable[columnIndex]; } }); infoTable.setShowVerticalLines(true); scrollPane1.setViewportView(infoTable); } panel1.add(scrollPane1, cc.xy(3, 3)); } tabbedPane1.addTab("Information", panel1); } contentPane.add(tabbedPane1, cc.xywh(3, 11, 3, 1)); // JFormDesigner - End of component initialization //GEN-END:initComponents }
51505 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51505/7d10fc62dd364c5d7d612bfc98500e0202fd7f02/DialogAbout.java/buggy/src/org/antlr/works/dialog/DialogAbout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 368, 804, 1204, 15478, 264, 300, 5435, 10313, 300, 5467, 4269, 8663, 12096, 225, 368, 16652, 17, 16061, 30, 2738, 7171, 3639, 595, 5554, 3616, 273, 394, 28804, 5621, 3639, 2477, 2224, 273, 394, 21403, 5621, 3639, 2077, 2224, 273, 394, 21403, 5621, 3639, 1177, 2224, 273, 394, 21403, 5621, 3639, 22245, 2224, 273, 394, 21403, 5621, 3639, 3246, 2992, 8485, 21, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 6594, 22, 273, 394, 24048, 5621, 3639, 28922, 1528, 5484, 273, 394, 804, 1528, 5484, 5621, 3639, 6594, 21, 273, 394, 24048, 5621, 3639, 5532, 8485, 21, 273, 394, 804, 26360, 5621, 3639, 1123, 1388, 273, 394, 804, 1388, 5621, 3639, 8614, 4878, 4946, 273, 394, 8614, 4878, 5621, 3639, 368, 1432, 333, 422, 894, 631, 3639, 444, 607, 6934, 12, 5743, 1769, 3639, 14109, 2932, 24813, 8863, 3639, 4039, 913, 8485, 273, 5154, 8485, 5621, 3639, 913, 8485, 18, 542, 3744, 12, 2704, 2748, 3744, 12, 5411, 394, 4753, 1990, 8526, 288, 7734, 394, 4753, 1990, 12, 11923, 18, 5761, 89, 60, 12, 2163, 13, 3631, 7734, 2748, 1733, 18, 13545, 67, 22922, 67, 43, 2203, 67, 4935, 13847, 16, 7734, 2748, 1733, 18, 5280, 67, 4935, 13847, 16, 7734, 2748, 1733, 18, 13545, 67, 22922, 67, 43, 2203, 67, 4935, 13847, 16, 7734, 394, 4753, 1990, 12, 1494, 1990, 18, 29818, 16, 348, 3128, 18, 5280, 16, 2748, 1990, 18, 5280, 67, 43, 11226, 3631, 7734, 2748, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 368, 804, 1204, 15478, 264, 300, 5435, 10313, 300, 5467, 4269, 8663, 12096, 225, 368, 16652, 17, 16061, 30, 2738, 7171, 3639, 595, 5554, 3616, 273, 394, 28804, 5621, 3639, 2477, 2224, 273, 394, 21403, 5621, 3639, 2077, 2224, 273, 394, 21403, 5621, 3639, 1177, 2224, 273, 394, 21403, 5621, 3639, 22245, 2224, 273, 394, 21403, 5621, 3639, 3246, 2992, 8485, 21, 273, 394, 804, 5661, 2992, 8485, 5621, 3639, 6594, 22, 273, 394, 24048, 5621, 3639, 28922, 1528, 5484, 273, 394, 804, 1528, 5484, 5621, 3639, 6594, 21, 273, 394, 24048, 5621, 3639, 5532, 8485, 21, 273, 394, 804, 26360, 5621, 3639, 1123, 1388, 273, 394, 804, 1388, 5621, 3639, 2 ]
logger.warning("No history file found.");
logger.debug3("No history file found.");
public void loadPollHistories(NodeState nodeState) { CachedUrlSet cus = nodeState.getCachedUrlSet(); File nodeFile = null; try { nodeFile = new File(getNodeLocation(cus) + File.separator + HISTORY_FILE_NAME); if (!nodeFile.exists()) { ((NodeStateImpl)nodeState).setPollHistoryBeanList(new ArrayList()); logger.warning("No history file found."); return; } Unmarshaller unmarshaller = new Unmarshaller(NodeHistoryBean.class); unmarshaller.setMapping(getMapping()); NodeHistoryBean nhb = (NodeHistoryBean)unmarshaller.unmarshal( new FileReader(nodeFile)); if (nhb.historyBeans==null) { logger.warning("Empty history list loaded."); nhb.historyBeans = new ArrayList(); } ((NodeStateImpl)nodeState).setPollHistoryBeanList( new ArrayList(nhb.historyBeans)); } catch (org.exolab.castor.xml.MarshalException me) { logger.error("Parsing exception. Moving file to '.old'"); nodeFile.renameTo(new File(nodeFile.getAbsolutePath()+".old")); ((NodeStateImpl)nodeState).setPollHistoryBeanList(new ArrayList()); } catch (Exception e) { logger.error("Couldn't load poll history: ", e); throw new LockssRepository.RepositoryStateException( "Couldn't load history."); } }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/2590559079371927897a1ebe6b3c90fe72bb5ca2/HistoryRepositoryImpl.java/buggy/src/org/lockss/state/HistoryRepositoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1262, 19085, 8648, 2401, 12, 907, 1119, 756, 1119, 13, 288, 565, 15771, 1489, 694, 27964, 273, 756, 1119, 18, 588, 9839, 1489, 694, 5621, 565, 1387, 756, 812, 273, 446, 31, 565, 775, 288, 1377, 756, 812, 273, 394, 1387, 12, 588, 907, 2735, 12, 71, 407, 13, 397, 1387, 18, 11287, 397, 1171, 9079, 30266, 67, 3776, 67, 1985, 1769, 1377, 309, 16051, 2159, 812, 18, 1808, 10756, 288, 3639, 14015, 907, 1119, 2828, 13, 2159, 1119, 2934, 542, 19085, 5623, 3381, 682, 12, 2704, 2407, 10663, 3639, 1194, 18, 4148, 23, 2932, 2279, 4927, 585, 1392, 1199, 1769, 3639, 327, 31, 1377, 289, 1377, 1351, 27296, 17606, 264, 273, 394, 1351, 27296, 12, 907, 5623, 3381, 18, 1106, 1769, 1377, 17606, 264, 18, 542, 3233, 12, 588, 3233, 10663, 1377, 2029, 5623, 3381, 24043, 70, 273, 261, 907, 5623, 3381, 13, 318, 27296, 18, 318, 3108, 12, 1850, 394, 23010, 12, 2159, 812, 10019, 1377, 309, 261, 82, 76, 70, 18, 8189, 14495, 631, 2011, 13, 288, 3639, 1194, 18, 8551, 2932, 1921, 4927, 666, 4203, 1199, 1769, 3639, 24043, 70, 18, 8189, 14495, 273, 394, 2407, 5621, 1377, 289, 1377, 14015, 907, 1119, 2828, 13, 2159, 1119, 2934, 542, 19085, 5623, 3381, 682, 12, 1850, 394, 2407, 12, 82, 76, 70, 18, 8189, 14495, 10019, 565, 289, 1044, 261, 3341, 18, 338, 355, 378, 18, 4155, 280, 18, 2902, 18, 8105, 503, 1791, 13, 288, 1377, 1194, 18, 1636, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1262, 19085, 8648, 2401, 12, 907, 1119, 756, 1119, 13, 288, 565, 15771, 1489, 694, 27964, 273, 756, 1119, 18, 588, 9839, 1489, 694, 5621, 565, 1387, 756, 812, 273, 446, 31, 565, 775, 288, 1377, 756, 812, 273, 394, 1387, 12, 588, 907, 2735, 12, 71, 407, 13, 397, 1387, 18, 11287, 397, 1171, 9079, 30266, 67, 3776, 67, 1985, 1769, 1377, 309, 16051, 2159, 812, 18, 1808, 10756, 288, 3639, 14015, 907, 1119, 2828, 13, 2159, 1119, 2934, 542, 19085, 5623, 3381, 682, 12, 2704, 2407, 10663, 3639, 1194, 18, 4148, 23, 2932, 2279, 4927, 585, 1392, 1199, 1769, 3639, 327, 31, 1377, 289, 1377, 1351, 27296, 17606, 264, 273, 394, 1351, 27296, 12, 2 ]
addField("Specializations:",derivedScroll);
addField(Argo.localize("UMLMenu", "label.specializations"),derivedScroll);
public PropPanelAssociation() { super("Association",_associationIcon, ConfigLoader.getTabPropsOrientation()); Class mclass = MAssociation.class; // // this will cause the components on this page to be notified // anytime a stereotype, namespace, operation, etc // has its name changed or is removed anywhere in the model Class[] namesToWatch = { MStereotype.class,MNamespace.class,MClassifier.class }; setNameEventListening(namesToWatch); addField(Argo.localize("UMLMenu", "label.name"), nameField); addField(Argo.localize("UMLMenu", "label.stereotype"), new UMLComboBoxNavigator(this, Argo.localize("UMLMenu", "tooltip.nav-stereo"),stereotypeBox)); addField(Argo.localize("UMLMenu", "label.namespace"),namespaceScroll); JPanel modifiersPanel = new JPanel(new GridLayout2(0,3,GridLayout2.ROWCOLPREFERRED)); modifiersPanel.add(new UMLCheckBox(Argo.localize("UMLMenu", "checkbox.abstract-uc"),this,new UMLReflectionBooleanProperty("isAbstract",mclass,"isAbstract","setAbstract"))); modifiersPanel.add(new UMLCheckBox(Argo.localize("UMLMenu", "checkbox.final-uc"),this,new UMLReflectionBooleanProperty("isLeaf",mclass,"isLeaf","setLeaf"))); modifiersPanel.add(new UMLCheckBox(localize("Root"),this,new UMLReflectionBooleanProperty("isRoot",mclass,"isRoot","setRoot"))); addField(Argo.localize("UMLMenu", "label.modifiers"),modifiersPanel); add(LabelledLayout.getSeperator()); JList assocEndList = new UMLList(new UMLAssociationEndListModel(this,"connection",true),true); assocEndList.setBackground(getBackground()); assocEndList.setForeground(Color.blue); addField(Argo.localize("UMLMenu", "label.association-ends"),new JScrollPane(assocEndList)); JList extendsList = new UMLList(new UMLGeneralizationListModel(this,"generalization",true),true); extendsList.setVisibleRowCount(1); JScrollPane extendsScroll=new JScrollPane(extendsList,JScrollPane.VERTICAL_SCROLLBAR_NEVER,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); addLinkField("Generalizations:", extendsScroll); JList derivedList = new UMLList(new UMLSpecializationListModel(this,null,true),true); derivedList.setForeground(Color.blue); derivedList.setVisibleRowCount(1); derivedList.setFont(smallFont); JScrollPane derivedScroll=new JScrollPane(derivedList,JScrollPane.VERTICAL_SCROLLBAR_NEVER,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); addField("Specializations:",derivedScroll); new PropPanelButton(this,buttonPanel,_navUpIcon, Argo.localize("UMLMenu", "button.go-up"),"navigateNamespace",null); new PropPanelButton(this,buttonPanel,_navBackIcon, Argo.localize("UMLMenu", "button.go-back"),"navigateBackAction","isNavigateBackEnabled"); new PropPanelButton(this,buttonPanel,_navForwardIcon, Argo.localize("UMLMenu", "button.go-forward"),"navigateForwardAction","isNavigateForwardEnabled"); new PropPanelButton(this,buttonPanel,_deleteIcon, Argo.localize("UMLMenu", "button.delete-association"),"removeElement",null); //does this make sense??new PropPanelButton(this,buttonPanel,_generalizationIcon, Argo.localize("UMLMenu", "button.add-generalization"),"addGeneralization",null); //does this make sense??new PropPanelButton(this,buttonPanel,_realizationIcon, Argo.localize("UMLMenu", "button.add-realization"),"addRealization",null); //does this make sense??new PropPanelButton(this,buttonPanel,_associationIcon, Argo.localize("UMLMenu", "button.add-association"),"newAssociation",null); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/fccf379cb8e5a2e0544b0286b1339a1c7c727b95/PropPanelAssociation.java/clean/src_new/org/argouml/uml/ui/foundation/core/PropPanelAssociation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10484, 5537, 7174, 1435, 288, 565, 2240, 2932, 7174, 3113, 67, 19358, 5554, 16, 1903, 2886, 18, 588, 5661, 5047, 14097, 10663, 565, 1659, 312, 1106, 273, 490, 7174, 18, 1106, 31, 565, 368, 565, 368, 282, 333, 903, 4620, 326, 4085, 603, 333, 1363, 358, 506, 18791, 565, 368, 1377, 1281, 957, 279, 22890, 10570, 16, 1981, 16, 1674, 16, 5527, 565, 368, 1377, 711, 2097, 508, 3550, 578, 353, 3723, 25651, 316, 326, 938, 565, 1659, 8526, 1257, 774, 5234, 273, 288, 9238, 387, 73, 10570, 18, 1106, 16, 49, 3402, 18, 1106, 16, 49, 13860, 18, 1106, 289, 31, 565, 6788, 1133, 31594, 12, 1973, 774, 5234, 1769, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 529, 6, 3631, 508, 974, 1769, 565, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 334, 822, 10570, 6, 3631, 394, 587, 1495, 22199, 22817, 12, 2211, 16, 1201, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 19798, 18, 11589, 17, 334, 822, 83, 6, 3631, 334, 822, 10570, 3514, 10019, 3639, 11742, 12, 686, 3240, 18, 3729, 554, 2932, 57, 1495, 4599, 3113, 315, 1925, 18, 4937, 6, 3631, 4937, 6806, 1769, 565, 24048, 10429, 5537, 273, 394, 24048, 12, 2704, 7145, 3744, 22, 12, 20, 16, 23, 16, 6313, 3744, 22, 18, 11226, 4935, 3670, 17356, 10019, 565, 10429, 5537, 18, 1289, 12, 2704, 587, 1495, 19174, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10484, 5537, 7174, 1435, 288, 565, 2240, 2932, 7174, 3113, 67, 19358, 5554, 16, 1903, 2886, 18, 588, 5661, 5047, 14097, 10663, 565, 1659, 312, 1106, 273, 490, 7174, 18, 1106, 31, 565, 368, 565, 368, 282, 333, 903, 4620, 326, 4085, 603, 333, 1363, 358, 506, 18791, 565, 368, 1377, 1281, 957, 279, 22890, 10570, 16, 1981, 16, 1674, 16, 5527, 565, 368, 1377, 711, 2097, 508, 3550, 578, 353, 3723, 25651, 316, 326, 938, 565, 1659, 8526, 1257, 774, 5234, 273, 288, 9238, 387, 73, 10570, 18, 1106, 16, 49, 3402, 18, 1106, 16, 49, 13860, 18, 1106, 289, 31, 565, 6788, 1133, 31594, 12, 1973, 774, 5234, 1769, 565, 11742, 12, 686, 3240, 18, 2 ]
((ObservableReader)reader).removeReaderListener(readerListener);
((ObservableReader) reader).removeReaderListener(readerListener);
public Reader newConnectionReader(Reader newReader) { ((ObservableReader)reader).removeReaderListener(readerListener); ObservableReader debugReader = new ObservableReader(newReader); debugReader.addReaderListener(readerListener); reader = debugReader; return reader; }
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/a43b8a1cdb5f3b07a0a1df0570681125d1cc1725/EnhancedDebugger.java/clean/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5393, 394, 1952, 2514, 12, 2514, 394, 2514, 13, 288, 3639, 14015, 15279, 2514, 13, 2949, 2934, 4479, 2514, 2223, 12, 10530, 2223, 1769, 3639, 4310, 2514, 1198, 2514, 273, 394, 4310, 2514, 12, 2704, 2514, 1769, 3639, 1198, 2514, 18, 1289, 2514, 2223, 12, 10530, 2223, 1769, 3639, 2949, 273, 1198, 2514, 31, 3639, 327, 2949, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5393, 394, 1952, 2514, 12, 2514, 394, 2514, 13, 288, 3639, 14015, 15279, 2514, 13, 2949, 2934, 4479, 2514, 2223, 12, 10530, 2223, 1769, 3639, 4310, 2514, 1198, 2514, 273, 394, 4310, 2514, 12, 2704, 2514, 1769, 3639, 1198, 2514, 18, 1289, 2514, 2223, 12, 10530, 2223, 1769, 3639, 2949, 273, 1198, 2514, 31, 3639, 327, 2949, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
BasicEList list = new BasicEList(); for (Iterator iter = catalog.getAccounts().iterator(); iter.hasNext();) list.add(((Account) iter.next()).getCountry());
List list = new ArrayList(); for (int i=0; i<catalog.getAccounts().length;i++) list.add(catalog.getAccounts()[i].getCountry());
public void test_ROCombo_Scenario02_SWTCombo() throws BindingException { // Create a list of Strings for the countries BasicEList list = new BasicEList(); for (Iterator iter = catalog.getAccounts().iterator(); iter.hasNext();) list.add(((Account) iter.next()).getCountry()); // Bind the combo's content to that of the String based list getDbc().bind2(combo, new PropertyDescription(list, null), null); assertEquals(Arrays.asList(combo.getItems()), list); Account account = (Account) catalog.getAccounts().get(0); // simple Combo's selection bound to the Account's country property getDbc().bind2( new PropertyDescription(combo, SWTBindingConstants.SELECTION), new PropertyDescription(account, "country"), null); // Drive the combo selection String selection = (String) list.get(2); combo.setText(selection); // this should drive the selection assertEquals(account.getCountry(), selection); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a2d9a8e048e742c5c1d583c69c16aced8919d43c/ReadOnlyComboScenarios.java/clean/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/binding/scenarios/ReadOnlyComboScenarios.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 1457, 16156, 67, 21390, 3103, 67, 55, 8588, 16156, 1435, 1216, 15689, 503, 288, 202, 202, 759, 1788, 279, 666, 434, 8139, 364, 326, 17603, 202, 202, 8252, 41, 682, 666, 273, 394, 7651, 41, 682, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 6222, 18, 588, 13971, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 1082, 202, 1098, 18, 1289, 12443, 12, 3032, 13, 1400, 18, 4285, 1435, 2934, 588, 8142, 10663, 202, 202, 759, 6936, 326, 16778, 1807, 913, 358, 716, 434, 326, 514, 2511, 666, 202, 202, 588, 4331, 71, 7675, 4376, 22, 12, 25053, 16, 394, 4276, 3291, 12, 1098, 16, 446, 3631, 446, 1769, 202, 202, 11231, 8867, 12, 12726, 18, 345, 682, 12, 25053, 18, 588, 3126, 1435, 3631, 666, 1769, 202, 202, 3032, 2236, 273, 261, 3032, 13, 6222, 18, 588, 13971, 7675, 588, 12, 20, 1769, 202, 202, 759, 4143, 1286, 1075, 1807, 4421, 2489, 358, 326, 6590, 1807, 5251, 1272, 202, 202, 588, 4331, 71, 7675, 4376, 22, 12, 9506, 202, 2704, 4276, 3291, 12, 25053, 16, 348, 8588, 5250, 2918, 18, 1090, 15445, 3631, 9506, 202, 2704, 4276, 3291, 12, 4631, 16, 315, 9082, 6, 3631, 446, 1769, 202, 202, 759, 11473, 688, 326, 16778, 4421, 202, 202, 780, 4421, 273, 261, 780, 13, 666, 18, 588, 12, 22, 1769, 202, 202, 25053, 18, 542, 1528, 12, 10705, 1769, 368, 333, 1410, 14316, 326, 4421, 202, 202, 11231, 8867, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 1457, 16156, 67, 21390, 3103, 67, 55, 8588, 16156, 1435, 1216, 15689, 503, 288, 202, 202, 759, 1788, 279, 666, 434, 8139, 364, 326, 17603, 202, 202, 8252, 41, 682, 666, 273, 394, 7651, 41, 682, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 6222, 18, 588, 13971, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 1082, 202, 1098, 18, 1289, 12443, 12, 3032, 13, 1400, 18, 4285, 1435, 2934, 588, 8142, 10663, 202, 202, 759, 6936, 326, 16778, 1807, 913, 358, 716, 434, 326, 514, 2511, 666, 202, 202, 588, 4331, 71, 7675, 4376, 22, 12, 25053, 16, 394, 4276, 3291, 12, 1098, 16, 446, 3631, 446, 1769, 202, 202, 11231, 2 ]
.addContainerGap(76, Short.MAX_VALUE))
.addContainerGap(106, Short.MAX_VALUE))
private void initComponents() { convertCoordinatesGroup = new javax.swing.ButtonGroup(); jPanel2 = new javax.swing.JPanel(); townLabel = new javax.swing.JLabel(); //items = new Object[] {"Praha", "Brno", "Turnov", "Trebic"}; townComboBox = new AutoComboBoxNG3(true); taxonLabel = new javax.swing.JLabel(); yearLabel = new javax.swing.JLabel(); placeDescriptionLabel = new javax.swing.JLabel(); jScrollPane2 = new javax.swing.JScrollPane(); descriptionArea = new javax.swing.JTextArea(); jScrollPane3 = new javax.swing.JScrollPane(); taxonTextArea = new AutoTextArea(this); extendedButton = new javax.swing.JToggleButton(); checklistButton = new javax.swing.JButton(); yearSpinner = new javax.swing.JSpinner(); jScrollPane1 = new javax.swing.JScrollPane(); authorTable = new javax.swing.JTable(); jPanel3 = new javax.swing.JPanel(); jPanel4 = new javax.swing.JPanel(); monthLabel = new javax.swing.JLabel(); dayLabel = new javax.swing.JLabel(); monthChooser = new com.toedter.calendar.JMonthChooser(); dayChooser = new com.toedter.calendar.JDayChooser(); timeLabel = new javax.swing.JLabel(); timeTextField = new javax.swing.JTextField(); jPanel5 = new javax.swing.JPanel(); quadrantLabel = new javax.swing.JLabel(); countryLabel = new javax.swing.JLabel(); territoryNameLabel = new javax.swing.JLabel(); phytNameLabel = new javax.swing.JLabel(); phytCodeLabel = new javax.swing.JLabel(); territoryNameCombo = new AutoComboBoxNG3(true); phytNameCombo = new AutoComboBoxNG3(true); phytCodeCombo = new AutoComboBoxNG3(true); phytCountryCombo = new AutoComboBoxNG3(false); quadrantTextField = new javax.swing.JTextField(); jPanel6 = new javax.swing.JPanel(); publicationLabel = new javax.swing.JLabel(); herbariumLabel = new javax.swing.JLabel(); projectLabel = new javax.swing.JLabel(); herbariumTextField = new javax.swing.JTextField(); sourceLabel = new javax.swing.JLabel(); sourceCombo = new AutoComboBoxNG3(false); publicationCombo = new AutoComboBoxNG3(true); projectCombo = new AutoComboBoxNG3(true); jPanel7 = new javax.swing.JPanel(); jScrollPane4 = new javax.swing.JScrollPane(); locationNoteArea = new javax.swing.JTextArea(); jPanel1 = new javax.swing.JPanel(); altitudeLabel = new javax.swing.JLabel(); latitudeLabel = new javax.swing.JLabel(); longitudeLabel = new javax.swing.JLabel(); WGS84Button = new javax.swing.JRadioButton(); S42Button = new javax.swing.JRadioButton(); SJTSKButton = new javax.swing.JRadioButton(); altitudeTextField = new javax.swing.JTextField(); latitudeTextField = new javax.swing.JTextField(); longitudeTextField = new javax.swing.JTextField(); jPanel9 = new javax.swing.JPanel(); jScrollPane5 = new javax.swing.JScrollPane(); occurrenceNoteArea = new javax.swing.JTextArea(); jPanel10 = new javax.swing.JPanel(); requiredInfoLabel = new javax.swing.JLabel(); preloadAuthorsCheckBox = new javax.swing.JCheckBox(); jPanel8 = new javax.swing.JPanel(); cancelButton = new javax.swing.JButton(); okButton = new javax.swing.JButton(); helpButton = new javax.swing.JButton(); setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); setResizable(false); jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.BasicData"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); jPanel2.setPreferredSize(new java.awt.Dimension(700, 200)); townLabel.setText("Nearest bigger seat:"); townComboBox.setActionCommand("townComboBox"); taxonLabel.setText("Taxon:"); yearLabel.setText("Year:"); placeDescriptionLabel.setText("Place description:"); descriptionArea.setColumns(20); descriptionArea.setRows(5); descriptionArea.setLineWrap(true); descriptionArea.setWrapStyleWord(true); new TabTransfersFocus(descriptionArea); jScrollPane2.setViewportView(descriptionArea); taxonTextArea.setColumns(20); taxonTextArea.setRows(5); taxonTextArea.setAutoscrolls(false); jScrollPane3.setViewportView(taxonTextArea); extendedButton.setText("Extended"); extendedButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { extendedButtonActionPerformed(evt); } }); extendedButton.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { extendedButtonMouseClicked(evt); } }); checklistButton.setText("Checklist"); yearSpinner.setValue(2006); ((SpinnerNumberModel)yearSpinner.getModel()).setMinimum(1); authorTable.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { {null, null, null, null}, {null, null, null, null}, {null, null, null, null}, {null, null, null, null} }, new String [] { "Title 1", "Title 2", "Title 3", "Title 4" } )); jScrollPane1.setViewportView(authorTable); org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2); jPanel2.setLayout(jPanel2Layout); jPanel2Layout.setHorizontalGroup( jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel2Layout.createSequentialGroup() .addContainerGap() .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(taxonLabel) .add(yearLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel2Layout.createSequentialGroup() .add(yearSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 73, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 164, Short.MAX_VALUE) .add(checklistButton)) .add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE) .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 329, Short.MAX_VALUE)) .add(85, 85, 85) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(townLabel) .add(placeDescriptionLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(townComboBox, 0, 216, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup() .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(extendedButton) .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 216, Short.MAX_VALUE)))) .addContainerGap()) ); jPanel2Layout.setVerticalGroup( jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel2Layout.createSequentialGroup() .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel2Layout.createSequentialGroup() .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(townComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 24, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(townLabel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 16, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(placeDescriptionLabel) .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .add(jPanel2Layout.createSequentialGroup() .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 69, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(taxonLabel) .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 53, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(yearSpinner, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(yearLabel)) .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(checklistButton) .add(extendedButton))))) .add(183, 183, 183)) ); getContentPane().add(jPanel2, java.awt.BorderLayout.NORTH); jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.ExtendedData"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); jPanel3.setMinimumSize(new java.awt.Dimension(800, 510)); jPanel3.setPreferredSize(new java.awt.Dimension(800, 510)); jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.TimePanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); monthLabel.setText("Month:"); dayLabel.setText("Day:"); monthChooser.setNextFocusableComponent(dayChooser); ((JComboBox)monthChooser.getComboBox()).addItem(""); monthChooser.setLocale(L10n.getCurrentLocale()); dayChooser.setNextFocusableComponent(okButton); dayChooser.setLocale(L10n.getCurrentLocale()); timeLabel.setText("Time:"); timeTextField.setNextFocusableComponent(okButton); org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4); jPanel4.setLayout(jPanel4Layout); jPanel4Layout.setHorizontalGroup( jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .addContainerGap() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(monthLabel) .add(timeLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(timeTextField) .add(monthChooser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(dayLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(dayChooser, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 140, Short.MAX_VALUE) .addContainerGap()) ); jPanel4Layout.setVerticalGroup( jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel4Layout.createSequentialGroup() .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(monthLabel) .add(monthChooser, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(timeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(timeLabel))) .add(dayLabel) .add(dayChooser, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap()) ); jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.LocationPanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); quadrantLabel.setText("Quadrant:"); countryLabel.setText("Country:"); territoryNameLabel.setText("Territory name:"); phytNameLabel.setText("Phytochoria name:"); phytCodeLabel.setText("Phytochoria code:"); territoryNameCombo.setActionCommand("territoryNameCombo"); phytNameCombo.setActionCommand("phytNameCombo"); phytCodeCombo.setActionCommand("phytCodeCombo"); phytCountryCombo.setActionCommand("phytCountryCombo"); phytCountryCombo.insertItemAt(model.EMPTY_STRING,0); quadrantTextField.setActionCommand("quadrantTextField"); org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5); jPanel5.setLayout(jPanel5Layout); jPanel5Layout.setHorizontalGroup( jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .addContainerGap() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(countryLabel) .add(phytNameLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(phytCountryCombo, 0, 206, Short.MAX_VALUE) .add(phytNameCombo, 0, 206, Short.MAX_VALUE))) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel5Layout.createSequentialGroup() .add(territoryNameLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(territoryNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 206, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, quadrantLabel) .add(org.jdesktop.layout.GroupLayout.TRAILING, phytCodeLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .add(quadrantTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)) .add(phytCodeCombo, 0, 90, Short.MAX_VALUE)) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jPanel5Layout.linkSize(new java.awt.Component[] {phytCountryCombo, phytNameCombo, territoryNameCombo}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel5Layout.linkSize(new java.awt.Component[] {phytCodeCombo, quadrantTextField}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel5Layout.setVerticalGroup( jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createSequentialGroup() .addContainerGap() .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(territoryNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(territoryNameLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(phytNameCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(phytNameLabel)) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(phytCodeLabel) .add(phytCodeCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(phytCountryCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(quadrantLabel) .add(quadrantTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(countryLabel)) .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.OtherPanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); publicationLabel.setText("Publication:"); herbariumLabel.setText("Herbarium:"); projectLabel.setText("Project:"); herbariumTextField.setActionCommand("herbariumTextField"); sourceLabel.setText("Source:"); sourceCombo.setActionCommand("sourceCombo"); sourceCombo.insertItemAt(model.EMPTY_STRING,0); publicationCombo.setActionCommand("publicationCombo"); publicationCombo.insertItemAt(model.EMPTY_PAIR,0); projectCombo.setActionCommand("projectCombo"); org.jdesktop.layout.GroupLayout jPanel6Layout = new org.jdesktop.layout.GroupLayout(jPanel6); jPanel6.setLayout(jPanel6Layout); jPanel6Layout.setHorizontalGroup( jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel6Layout.createSequentialGroup() .addContainerGap() .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(projectLabel) .add(herbariumLabel) .add(publicationLabel) .add(sourceLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(projectCombo, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(publicationCombo, 0, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(herbariumTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 113, Short.MAX_VALUE) .add(sourceCombo, 0, 171, Short.MAX_VALUE)) .addContainerGap(76, Short.MAX_VALUE)) ); jPanel6Layout.setVerticalGroup( jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel6Layout.createSequentialGroup() .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(sourceLabel) .add(sourceCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(publicationLabel) .add(publicationCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(herbariumLabel) .add(herbariumTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel6Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(projectLabel) .add(projectCombo, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap()) ); jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.LocationNotePanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); locationNoteArea.setColumns(20); locationNoteArea.setRows(5); locationNoteArea.setLineWrap(true); locationNoteArea.setWrapStyleWord(true); new TabTransfersFocus(locationNoteArea); jScrollPane4.setViewportView(locationNoteArea); org.jdesktop.layout.GroupLayout jPanel7Layout = new org.jdesktop.layout.GroupLayout(jPanel7); jPanel7.setLayout(jPanel7Layout); jPanel7Layout.setHorizontalGroup( jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .addContainerGap() .add(jScrollPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 200, Short.MAX_VALUE) .addContainerGap()) ); jPanel7Layout.setVerticalGroup( jPanel7Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7Layout.createSequentialGroup() .add(jScrollPane4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 96, Short.MAX_VALUE) .addContainerGap()) ); jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.GPSPanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 10))); altitudeLabel.setText("Altitude:"); latitudeLabel.setText("Latitude:"); longitudeLabel.setText("Longitude:"); convertCoordinatesGroup.add(WGS84Button); WGS84Button.setText("WGS84"); WGS84Button.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); WGS84Button.setMargin(new java.awt.Insets(0, 0, 0, 0)); WGS84Button.setNextFocusableComponent(S42Button); WGS84Button.setActionCommand("WGS84"); WGS84Button.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { WGS84ButtonActionPerformed(evt); } }); convertCoordinatesGroup.add(S42Button); S42Button.setText("S-42"); S42Button.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); S42Button.setMargin(new java.awt.Insets(0, 0, 0, 0)); S42Button.setNextFocusableComponent(SJTSKButton); S42Button.setActionCommand("S42"); convertCoordinatesGroup.add(SJTSKButton); SJTSKButton.setText("S-JTSK"); SJTSKButton.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); SJTSKButton.setMargin(new java.awt.Insets(0, 0, 0, 0)); SJTSKButton.setNextFocusableComponent(sourceCombo); SJTSKButton.setActionCommand("SJTSK"); altitudeTextField.setNextFocusableComponent(latitudeTextField); latitudeTextField.setNextFocusableComponent(longitudeTextField); longitudeTextField.setNextFocusableComponent(WGS84Button); org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel1Layout.createSequentialGroup() .addContainerGap() .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(latitudeLabel) .add(longitudeLabel) .add(altitudeLabel)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(latitudeTextField) .add(altitudeTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 51, Short.MAX_VALUE) .add(longitudeTextField)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(S42Button) .add(WGS84Button) .add(SJTSKButton)) .addContainerGap()) ); jPanel1Layout.linkSize(new java.awt.Component[] {altitudeTextField, latitudeTextField, longitudeTextField}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel1Layout.createSequentialGroup() .addContainerGap() .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(WGS84Button) .add(altitudeLabel) .add(altitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .add(6, 6, 6) .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(S42Button) .add(latitudeLabel) .add(latitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(SJTSKButton) .add(longitudeLabel) .add(longitudeTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addContainerGap(42, Short.MAX_VALUE)) ); jPanel9.setBorder(javax.swing.BorderFactory.createTitledBorder(null, L10n.getString("AddEdit.OccurrenceNotePanel"), javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Dialog", 0, 12))); occurrenceNoteArea.setColumns(20); occurrenceNoteArea.setRows(5); occurrenceNoteArea.setLineWrap(true); occurrenceNoteArea.setWrapStyleWord(true); new TabTransfersFocus(occurrenceNoteArea); jScrollPane5.setViewportView(occurrenceNoteArea); org.jdesktop.layout.GroupLayout jPanel9Layout = new org.jdesktop.layout.GroupLayout(jPanel9); jPanel9.setLayout(jPanel9Layout); jPanel9Layout.setHorizontalGroup( jPanel9Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel9Layout.createSequentialGroup() .addContainerGap() .add(jScrollPane5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 200, Short.MAX_VALUE) .addContainerGap()) ); jPanel9Layout.setVerticalGroup( jPanel9Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel9Layout.createSequentialGroup() .add(jScrollPane5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 109, Short.MAX_VALUE) .addContainerGap()) ); jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder(L10n.getString("AddEdit.InfoPanel"))); requiredInfoLabel.setText("requiredInfoLabel"); preloadAuthorsCheckBox.setText(L10n.getString("AddEdit.PreloadAuthors")); preloadAuthorsCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0)); preloadAuthorsCheckBox.setMargin(new java.awt.Insets(0, 0, 0, 0)); org.jdesktop.layout.GroupLayout jPanel10Layout = new org.jdesktop.layout.GroupLayout(jPanel10); jPanel10.setLayout(jPanel10Layout); jPanel10Layout.setHorizontalGroup( jPanel10Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel10Layout.createSequentialGroup() .addContainerGap() .add(requiredInfoLabel) .addContainerGap(314, Short.MAX_VALUE)) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel10Layout.createSequentialGroup() .addContainerGap(241, Short.MAX_VALUE) .add(preloadAuthorsCheckBox) .addContainerGap()) ); jPanel10Layout.setVerticalGroup( jPanel10Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel10Layout.createSequentialGroup() .addContainerGap() .add(requiredInfoLabel) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 90, Short.MAX_VALUE) .add(preloadAuthorsCheckBox) .addContainerGap()) ); org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3); jPanel3.setLayout(jPanel3Layout); jPanel3Layout.setHorizontalGroup( jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel3Layout.createSequentialGroup() .addContainerGap() .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel3Layout.createSequentialGroup() .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .add(jPanel3Layout.createSequentialGroup() .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel3Layout.createSequentialGroup() .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .add(jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING) .add(jPanel9, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) .add(2, 2, 2)) ); jPanel3Layout.setVerticalGroup( jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel3Layout.createSequentialGroup() .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel7, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(jPanel5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel6, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .add(jPanel9, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false) .add(jPanel4, 0, 168, Short.MAX_VALUE) .add(jPanel10, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap(283, Short.MAX_VALUE)) ); getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER); cancelButton.setText("Cancel"); okButton.setText("Ok"); helpButton.setText("Help"); helpButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { helpButtonActionPerformed(evt); } }); org.jdesktop.layout.GroupLayout jPanel8Layout = new org.jdesktop.layout.GroupLayout(jPanel8); jPanel8.setLayout(jPanel8Layout); jPanel8Layout.setHorizontalGroup( jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel8Layout.createSequentialGroup() .addContainerGap() .add(helpButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 598, Short.MAX_VALUE) .add(okButton) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(cancelButton) .addContainerGap()) ); jPanel8Layout.linkSize(new java.awt.Component[] {cancelButton, helpButton, okButton}, org.jdesktop.layout.GroupLayout.HORIZONTAL); jPanel8Layout.setVerticalGroup( jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(jPanel8Layout.createSequentialGroup() .addContainerGap() .add(jPanel8Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE) .add(helpButton) .add(cancelButton) .add(okButton)) .addContainerGap(40, Short.MAX_VALUE)) ); jPanel8Layout.linkSize(new java.awt.Component[] {cancelButton, helpButton, okButton}, org.jdesktop.layout.GroupLayout.VERTICAL); getContentPane().add(jPanel8, java.awt.BorderLayout.SOUTH); pack(); }// </editor-fold>//GEN-END:initComponents
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/a77b397653c9b457d15fad252f6306b9c4f42569/AddEditView.java/buggy/trunk/src/net/sf/plantlore/client/AddEditView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 1765, 13431, 1114, 273, 394, 6863, 18, 5328, 310, 18, 3616, 1114, 5621, 3639, 17871, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 358, 91, 82, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 368, 3319, 273, 394, 1033, 8526, 12528, 52, 354, 3395, 3113, 315, 19114, 2135, 3113, 315, 15858, 1527, 3113, 315, 56, 266, 70, 335, 6, 20451, 3639, 358, 91, 82, 22199, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 1769, 3639, 25458, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 3286, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 3166, 3291, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 525, 26360, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 2477, 5484, 273, 394, 6863, 18, 5328, 310, 18, 46, 1528, 5484, 5621, 3639, 525, 26360, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 25458, 1528, 5484, 273, 394, 8064, 1528, 5484, 12, 2211, 1769, 3639, 7021, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 17986, 3616, 5621, 3639, 866, 1098, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 3286, 31676, 273, 394, 6863, 18, 5328, 310, 18, 46, 31676, 5621, 3639, 525, 26360, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 2869, 1388, 273, 394, 6863, 18, 5328, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 1765, 13431, 1114, 273, 394, 6863, 18, 5328, 310, 18, 3616, 1114, 5621, 3639, 17871, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 5537, 5621, 3639, 358, 91, 82, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 368, 3319, 273, 394, 1033, 8526, 12528, 52, 354, 3395, 3113, 315, 19114, 2135, 3113, 315, 15858, 1527, 3113, 315, 56, 266, 70, 335, 6, 20451, 3639, 358, 91, 82, 22199, 273, 394, 8064, 22199, 4960, 23, 12, 3767, 1769, 3639, 25458, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 3286, 2224, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 3166, 3291, 2 ]
if (root == null) {
if (root == null) {
public void setRoot(TreeNode root) { // Sanity Check if (root == null) { throw new IllegalArgumentException("null root"); } // if // Set new root this.root = root; // TODO } // setRoot()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/DefaultTreeModel.java/clean/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 31706, 12, 12513, 1365, 13, 288, 202, 202, 759, 23123, 2073, 202, 202, 430, 261, 3085, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 2932, 2011, 1365, 8863, 202, 202, 97, 368, 309, 202, 202, 759, 1000, 394, 1365, 202, 202, 2211, 18, 3085, 273, 1365, 31, 202, 202, 759, 2660, 202, 97, 368, 31706, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 31706, 12, 12513, 1365, 13, 288, 202, 202, 759, 23123, 2073, 202, 202, 430, 261, 3085, 422, 446, 13, 288, 1082, 202, 12849, 394, 2754, 2932, 2011, 1365, 8863, 202, 202, 97, 368, 309, 202, 202, 759, 1000, 394, 1365, 202, 202, 2211, 18, 3085, 273, 1365, 31, 202, 202, 759, 2660, 202, 97, 368, 31706, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void _updateWithErrors() throws BadLocationException { DefaultStyledDocument doc = new DefaultStyledDocument(); // Show errors without source locations int errorNum = 0; for (int i = 0; i < _errorsWithoutPositions.length; i++, errorNum++) { int startPos = doc.getLength(); _insertErrorText(_errorsWithoutPositions, i, doc); // Note to user that there is no source info for this error doc.insertString(doc.getLength(), " (no source location)", NORMAL_ATTRIBUTES); doc.insertString(doc.getLength(), "\n", NORMAL_ATTRIBUTES); _errorListPositions[errorNum] = doc.createPosition(startPos); } // Show errors with source locations for (int i = 0; i < _errors.length; i++, errorNum++) { int startPos = doc.getLength(); _insertErrorText(_errors, i, doc); doc.insertString(doc.getLength(), "\n", NORMAL_ATTRIBUTES); _errorListPositions[errorNum] = doc.createPosition(startPos); } setDocument(doc); // Select the first error _switchToError(0); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/a38cc404cfc20c15b821e4ab4c91fac16fc2e12b/CompilerErrorPanel.java/buggy/drjava/src/edu/rice/cs/drjava/ui/CompilerErrorPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 2725, 1190, 4229, 1435, 1216, 6107, 2735, 503, 288, 1377, 2989, 24273, 1259, 2519, 997, 273, 394, 2989, 24273, 1259, 2519, 5621, 1377, 368, 9674, 1334, 2887, 1084, 7838, 1377, 509, 555, 2578, 273, 374, 31, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 4324, 8073, 11024, 18, 2469, 31, 277, 9904, 16, 555, 2578, 27245, 288, 3639, 509, 16013, 273, 997, 18, 588, 1782, 5621, 3639, 389, 6387, 668, 1528, 24899, 4324, 8073, 11024, 16, 277, 16, 997, 1769, 3639, 368, 3609, 358, 729, 716, 1915, 353, 1158, 1084, 1123, 364, 333, 555, 3639, 997, 18, 6387, 780, 12, 2434, 18, 588, 1782, 9334, 7682, 315, 261, 2135, 1084, 2117, 2225, 16, 7682, 16362, 67, 22308, 1769, 3639, 997, 18, 6387, 780, 12, 2434, 18, 588, 1782, 9334, 1548, 82, 3113, 16362, 67, 22308, 1769, 3639, 389, 1636, 682, 11024, 63, 1636, 2578, 65, 273, 997, 18, 2640, 2555, 12, 1937, 1616, 1769, 1377, 289, 1377, 368, 9674, 1334, 598, 1084, 7838, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 4324, 18, 2469, 31, 277, 9904, 16, 555, 2578, 27245, 288, 3639, 509, 16013, 273, 997, 18, 588, 1782, 5621, 3639, 389, 6387, 668, 1528, 24899, 4324, 16, 277, 16, 997, 1769, 3639, 997, 18, 6387, 780, 12, 2434, 18, 588, 1782, 9334, 1548, 82, 3113, 16362, 67, 22308, 1769, 3639, 389, 1636, 682, 11024, 63, 1636, 2578, 65, 273, 997, 18, 2640, 2555, 12, 1937, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 389, 2725, 1190, 4229, 1435, 1216, 6107, 2735, 503, 288, 1377, 2989, 24273, 1259, 2519, 997, 273, 394, 2989, 24273, 1259, 2519, 5621, 1377, 368, 9674, 1334, 2887, 1084, 7838, 1377, 509, 555, 2578, 273, 374, 31, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 389, 4324, 8073, 11024, 18, 2469, 31, 277, 9904, 16, 555, 2578, 27245, 288, 3639, 509, 16013, 273, 997, 18, 588, 1782, 5621, 3639, 389, 6387, 668, 1528, 24899, 4324, 8073, 11024, 16, 277, 16, 997, 1769, 3639, 368, 3609, 358, 729, 716, 1915, 353, 1158, 1084, 1123, 364, 333, 555, 3639, 997, 18, 6387, 780, 12, 2434, 18, 588, 1782, 9334, 7682, 315, 261, 2135, 1084, 2117, 2225, 2 ]
times = Integer.parseInt(str);
times = Integer.parseInt(str.trim());
void parse(MITuple tuple) { MIResult[] results = tuple.getMIResults(); for (int i = 0; i < results.length; i++) { String var = results[i].getVariable(); MIValue value = results[i].getMIValue(); String str = ""; if (value != null && value instanceof MIConst) { str = ((MIConst)value).getString(); } if (var.equals("number")) { try { number = Integer.parseInt(str); } catch (NumberFormatException e) { } } else if (var.equals("type")) { type = str; } else if (var.equals("disp")) { disp = str; } else if (var.equals("enabled")) { enabled = str.equals("y"); } else if (var.equals("addr")) { try { address = Long.decode(str).longValue(); } catch (NumberFormatException e) { } } else if (var.equals("func")) { func = str; } else if (var.equals("file")) { file = str; } else if (var.equals("line")) { try { line = Integer.parseInt(str); } catch (NumberFormatException e) { } } else if (var.equals("times")) { try { times = Integer.parseInt(str); } catch (NumberFormatException e) { } } else if (var.equals("what") || var.equals("exp")) { what = str; } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/385d59ed689e6f731109a972776be5814717c6f7/MIBreakPoint.java/clean/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIBreakPoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1109, 12, 6068, 2268, 3193, 13, 288, 202, 202, 7492, 1253, 8526, 1686, 273, 3193, 18, 588, 7492, 3447, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1686, 18, 2469, 31, 277, 27245, 288, 1082, 202, 780, 569, 273, 1686, 63, 77, 8009, 588, 3092, 5621, 1082, 202, 7492, 620, 460, 273, 1686, 63, 77, 8009, 588, 7492, 620, 5621, 1082, 202, 780, 609, 273, 1408, 31, 1082, 202, 430, 261, 1132, 480, 446, 597, 460, 1276, 20806, 9661, 13, 288, 9506, 202, 701, 273, 14015, 7492, 9661, 13, 1132, 2934, 588, 780, 5621, 1082, 202, 97, 1082, 202, 430, 261, 1401, 18, 14963, 2932, 2696, 6, 3719, 288, 9506, 202, 698, 288, 6862, 202, 2696, 273, 2144, 18, 2670, 1702, 12, 701, 1769, 9506, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 97, 1082, 202, 97, 469, 309, 261, 1401, 18, 14963, 2932, 723, 6, 3719, 288, 9506, 202, 723, 273, 609, 31, 1082, 202, 97, 469, 309, 261, 1401, 18, 14963, 2932, 25453, 6, 3719, 288, 9506, 202, 25453, 273, 609, 31, 1082, 202, 97, 469, 309, 261, 1401, 18, 14963, 2932, 5745, 6, 3719, 288, 9506, 202, 5745, 273, 609, 18, 14963, 2932, 93, 8863, 1082, 202, 97, 469, 309, 261, 1401, 18, 14963, 2932, 4793, 6, 3719, 288, 9506, 202, 698, 288, 6862, 202, 2867, 273, 3407, 18, 3922, 12, 701, 2934, 5748, 620, 5621, 9506, 202, 97, 1044, 261, 1854, 9291, 425, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1109, 12, 6068, 2268, 3193, 13, 288, 202, 202, 7492, 1253, 8526, 1686, 273, 3193, 18, 588, 7492, 3447, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1686, 18, 2469, 31, 277, 27245, 288, 1082, 202, 780, 569, 273, 1686, 63, 77, 8009, 588, 3092, 5621, 1082, 202, 7492, 620, 460, 273, 1686, 63, 77, 8009, 588, 7492, 620, 5621, 1082, 202, 780, 609, 273, 1408, 31, 1082, 202, 430, 261, 1132, 480, 446, 597, 460, 1276, 20806, 9661, 13, 288, 9506, 202, 701, 273, 14015, 7492, 9661, 13, 1132, 2934, 588, 780, 5621, 1082, 202, 97, 1082, 202, 430, 261, 1401, 18, 14963, 2932, 2696, 6, 3719, 288, 9506, 202, 698, 2 ]
/* if(true){ invokeInternalBuilder(cfg, kind != FULL_BUILD, true, monitor);
updateOtherConfigs(cfg, kind); if(((Configuration)cfg).isInternalBuilderEnabled()){ invokeInternalBuilder(cfg, kind != FULL_BUILD, ((Configuration)cfg).getInternalBuilderIgnoreErr(), monitor);
protected IProject[] build(int kind, Map args, IProgressMonitor monitor) throws CoreException { // We should always tell the build system what projects we reference referencedProjects = getProject().getReferencedProjects(); // Get the build information IManagedBuildInfo info = getBuildInfo(); if (info == null) { outputError(getProject().getName(), "Build information was not found"); //$NON-NLS-1$ return referencedProjects; } if (!info.isValid()) { outputError(getProject().getName(), "Build information is not valid"); //$NON-NLS-1$ return referencedProjects; } IConfiguration cfg = info.getDefaultConfiguration();// Uncomment the below code for using the Internal Builder// TODO: the info of what builder is to be used// should be held in and obtained from the Configuration/* if(true){ invokeInternalBuilder(cfg, kind != FULL_BUILD, true, monitor); // Scrub the build info the project info.setRebuildState(false); return referencedProjects; }*/ // Create a makefile generator for the build IManagedBuilderMakefileGenerator generator = ManagedBuildManager.getBuildfileGenerator(info.getDefaultConfiguration()); generator.initialize(getProject(), info, monitor); //perform necessary cleaning and build type calculation if(cfg.needsFullRebuild()){ //configuration rebuild state is set to true, //full rebuild is needed in any case //clean first, then make a full build outputTrace(getProject().getName(), "config rebuild state is set to true, making a full rebuild"); //$NON-NLS-1$ clean(new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN)); fullBuild(info, generator, monitor); } else { boolean fullBuildNeeded = info.needsRebuild(); IBuildDescription des = null; IResourceDelta delta = kind == FULL_BUILD ? null : getDelta(getProject()); if(delta == null) fullBuildNeeded = true; if(cfg.needsRebuild() || delta != null){ //use a build desacription model to calculate the resources to be cleaned //only in case there are some changes to the project sources or build information try{ int flags = BuildDescriptionManager.REBUILD; if(delta != null) flags |= BuildDescriptionManager.REMOVED; outputTrace(getProject().getName(), "using a build description.."); //$NON-NLS-1$ des = BuildDescriptionManager.createBuildDescription(info.getDefaultConfiguration(), getDelta(getProject()), flags); BuildDescriptionManager.cleanRebuildResources(des); } catch (Throwable e){ //TODO: log error outputError(getProject().getName(), "error occured while build description calculation: " + e.getLocalizedMessage()); //$NON-NLS-1$ //in case an error occured, make it behave in the old stile: if(info.needsRebuild()){ //make a full clean if an info needs a rebuild clean(new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN)); fullBuildNeeded = true; } else if(delta != null && !fullBuildNeeded){ // Create a delta visitor to detect the build type ResourceDeltaVisitor visitor = new ResourceDeltaVisitor(info); delta.accept(visitor); if (visitor.shouldBuildFull()) { clean(new SubProgressMonitor(monitor, IProgressMonitor.UNKNOWN)); fullBuildNeeded = true; } } } } if(fullBuildNeeded){ outputTrace(getProject().getName(), "performing a full build"); //$NON-NLS-1$ fullBuild(info, generator, monitor); } else { outputTrace(getProject().getName(), "performing an incremental build"); //$NON-NLS-1$ incrementalBuild(delta, info, generator, monitor); } }/* // So let's figure out why we got called if (kind == FULL_BUILD) { outputTrace(getProject().getName(), "Full build needed/requested"); //$NON-NLS-1$ fullBuild(info, generator, monitor); } else if (kind == AUTO_BUILD && info.needsRebuild()) { outputTrace(getProject().getName(), "Autobuild requested, full build needed"); //$NON-NLS-1$ fullBuild(info, generator, monitor); } else { // Create a delta visitor to make sure we should be rebuilding ResourceDeltaVisitor visitor = new ResourceDeltaVisitor(info); IResourceDelta delta = getDelta(getProject()); if (delta == null) { outputTrace(getProject().getName(), "Incremental build requested, full build needed"); //$NON-NLS-1$ fullBuild(info, generator, monitor); } else { delta.accept(visitor); if (visitor.shouldBuildFull()) { outputTrace(getProject().getName(), "Incremental build requested, full build needed"); //$NON-NLS-1$ fullBuild(info, generator, monitor); } else if (visitor.shouldBuildIncr()) { outputTrace(getProject().getName(), "Incremental build requested"); //$NON-NLS-1$ incrementalBuild(delta, info, generator, monitor); } else if (referencedProjects != null) { // Also check to see is any of the dependent projects changed for (int i=0; i<referencedProjects.length; i++) { IProject ref = referencedProjects[i]; IResourceDelta refDelta = getDelta(ref); if (refDelta == null) { outputTrace(getProject().getName(), "Incremental build because of changed referenced project"); //$NON-NLS-1$ incrementalBuild(delta, info, generator, monitor); // Should only build this project once, for this delta break; } else { int refKind = refDelta.getKind(); if (refKind != IResourceDelta.NO_CHANGE) { int refFlags = refDelta.getFlags(); if (!(refKind == IResourceDelta.CHANGED && refFlags == IResourceDelta.OPEN)) { outputTrace(getProject().getName(), "Incremental build because of changed referenced project"); //$NON-NLS-1$ incrementalBuild(delta, info, generator, monitor); // Should only build this project once, for this delta break; } } } } } } }*/ // Scrub the build info the project info.setRebuildState(false); // Ask build mechanism to compute deltas for project dependencies next time return referencedProjects; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d21adaeeb299058a59a045ae4dbe9335d59050d3/GeneratedMakefileBuilder.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/GeneratedMakefileBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 4109, 8526, 1361, 12, 474, 3846, 16, 1635, 833, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 759, 1660, 1410, 3712, 9276, 326, 1361, 2619, 4121, 10137, 732, 2114, 202, 202, 20883, 15298, 273, 11080, 7675, 588, 22344, 15298, 5621, 202, 202, 759, 968, 326, 1361, 1779, 202, 202, 3445, 4184, 3116, 966, 1123, 273, 21122, 966, 5621, 202, 202, 430, 261, 1376, 422, 446, 13, 288, 1082, 202, 2844, 668, 12, 588, 4109, 7675, 17994, 9334, 315, 3116, 1779, 1703, 486, 1392, 8863, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 8042, 15298, 31, 202, 202, 97, 202, 202, 430, 16051, 1376, 18, 26810, 10756, 288, 1082, 202, 2844, 668, 12, 588, 4109, 7675, 17994, 9334, 315, 3116, 1779, 353, 486, 923, 8863, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 8042, 15298, 31, 202, 202, 97, 202, 202, 45, 1750, 2776, 273, 1123, 18, 588, 1868, 1750, 5621, 759, 3196, 202, 984, 3469, 326, 5712, 981, 364, 1450, 326, 3186, 5008, 759, 3196, 202, 6241, 30, 326, 1123, 434, 4121, 2089, 353, 358, 506, 1399, 759, 3196, 202, 13139, 506, 15770, 316, 471, 12700, 628, 326, 4659, 20308, 202, 202, 430, 12, 3767, 15329, 1082, 202, 14407, 3061, 1263, 12, 7066, 16, 3846, 480, 18153, 67, 20215, 16, 638, 16, 6438, 1769, 1082, 202, 759, 2850, 18271, 326, 1361, 1123, 326, 1984, 1082, 202, 1376, 18, 542, 426, 3510, 1119, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 4109, 8526, 1361, 12, 474, 3846, 16, 1635, 833, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 759, 1660, 1410, 3712, 9276, 326, 1361, 2619, 4121, 10137, 732, 2114, 202, 202, 20883, 15298, 273, 11080, 7675, 588, 22344, 15298, 5621, 202, 202, 759, 968, 326, 1361, 1779, 202, 202, 3445, 4184, 3116, 966, 1123, 273, 21122, 966, 5621, 202, 202, 430, 261, 1376, 422, 446, 13, 288, 1082, 202, 2844, 668, 12, 588, 4109, 7675, 17994, 9334, 315, 3116, 1779, 1703, 486, 1392, 8863, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 1082, 202, 2463, 8042, 15298, 31, 202, 202, 97, 202, 202, 430, 16051, 1376, 18, 26810, 10756, 288, 1082, 2 ]
panel.add(partialMatchedFilterPanel, BorderLayout.SOUTH);
panel.add(partialMatchedOptionPanel, BorderLayout.SOUTH);
private JPanel getPartialMatchedWordListPanel() { partialMatchedWordJList = new JList(); partialMatchedWordJList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); partialMatchedWordJList.addListSelectionListener(this); JScrollPane partialMatchedWordListScroll = new JScrollPane(partialMatchedWordJList); partialMatchedWordJListTitle = BorderFactory.createTitledBorder(Translator .getString("DisambiguationPanel.PartialMatchWordList")); partialMatchedWordListScroll.setBorder(partialMatchedWordJListTitle); partialMatchedComplexWordCheckBox = new JCheckBox(Translator.getString("DisambiguationPanel.ComplexWord"), true); partialMatchedComplexWordCheckBox.addActionListener(this); partialMatchedMatchedWordBox = new JCheckBox(Translator.getString("DisambiguationPanel.MatchResult"), true); partialMatchedMatchedWordBox.addActionListener(this); partialMatchedAmbiguityCntCheckBox = new JCheckBox(Translator .getString("DisambiguationPanel.DisambiguationCount"), true); partialMatchedAmbiguityCntCheckBox.addActionListener(this); JPanel partialMatchedFilterPanel = new JPanel(); partialMatchedFilterPanel.setLayout(new GridLayout(2, 2)); partialMatchedFilterPanel.add(partialMatchedComplexWordCheckBox); partialMatchedFilterPanel.add(partialMatchedMatchedWordBox); partialMatchedFilterPanel.add(partialMatchedAmbiguityCntCheckBox); JPanel panel = new JPanel(); panel.setLayout(new BorderLayout()); panel.add(partialMatchedWordListScroll, BorderLayout.CENTER); panel.add(partialMatchedFilterPanel, BorderLayout.SOUTH); return panel; }
52646 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52646/47537bd806e9a67d4fb2bb875ea9605756862d5b/DisambiguationPanel.java/clean/src/jp/ac/keio/ae/comp/yamaguti/doddle/ui/DisambiguationPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 24048, 13657, 649, 15400, 3944, 682, 5537, 1435, 288, 3639, 4702, 15400, 3944, 46, 682, 273, 394, 804, 682, 5621, 3639, 4702, 15400, 3944, 46, 682, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 3639, 4702, 15400, 3944, 46, 682, 18, 1289, 682, 6233, 2223, 12, 2211, 1769, 3639, 804, 26360, 4702, 15400, 3944, 682, 6806, 273, 394, 804, 26360, 12, 11601, 15400, 3944, 46, 682, 1769, 3639, 4702, 15400, 3944, 46, 682, 4247, 273, 13525, 1733, 18, 2640, 56, 305, 1259, 8107, 12, 12233, 7734, 263, 588, 780, 2932, 1669, 26011, 367, 5537, 18, 9447, 2060, 3944, 682, 7923, 1769, 3639, 4702, 15400, 3944, 682, 6806, 18, 542, 8107, 12, 11601, 15400, 3944, 46, 682, 4247, 1769, 3639, 4702, 15400, 12795, 3944, 19174, 273, 394, 804, 19174, 12, 12233, 18, 588, 780, 2932, 1669, 26011, 367, 5537, 18, 12795, 3944, 6, 3631, 638, 1769, 3639, 4702, 15400, 12795, 3944, 19174, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 4702, 15400, 15400, 3944, 3514, 273, 394, 804, 19174, 12, 12233, 18, 588, 780, 2932, 1669, 26011, 367, 5537, 18, 2060, 1253, 6, 3631, 638, 1769, 3639, 4702, 15400, 15400, 3944, 3514, 18, 1289, 1803, 2223, 12, 2211, 1769, 3639, 4702, 15400, 30706, 8810, 560, 11750, 19174, 273, 394, 804, 19174, 12, 12233, 7734, 263, 588, 780, 2932, 1669, 26011, 367, 5537, 18, 1669, 26011, 367, 1380, 6, 3631, 638, 1769, 3639, 4702, 15400, 30706, 8810, 560, 11750, 19174, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 24048, 13657, 649, 15400, 3944, 682, 5537, 1435, 288, 3639, 4702, 15400, 3944, 46, 682, 273, 394, 804, 682, 5621, 3639, 4702, 15400, 3944, 46, 682, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 3639, 4702, 15400, 3944, 46, 682, 18, 1289, 682, 6233, 2223, 12, 2211, 1769, 3639, 804, 26360, 4702, 15400, 3944, 682, 6806, 273, 394, 804, 26360, 12, 11601, 15400, 3944, 46, 682, 1769, 3639, 4702, 15400, 3944, 46, 682, 4247, 273, 13525, 1733, 18, 2640, 56, 305, 1259, 8107, 12, 12233, 7734, 263, 588, 780, 2932, 1669, 26011, 367, 5537, 18, 9447, 2060, 3944, 682, 7923, 1769, 3639, 4702, 15400, 3944, 682, 6806, 18, 542, 8107, 12, 2 ]
addMethod( id, new NodeFactory(getRuby()).newCFunc(method), noex | Constants.NOEX_CFUNC); }
addMethod( id, new NodeFactory(getRuby()).newCFunc(method), noex | Constants.NOEX_CFUNC); }
public void defineMethod(String name, RubyCallbackMethod method) { RubyId id = getRuby().intern(name); int noex = (name.charAt(0) == 'i' && id == getRuby().intern("initialize")) ? Constants.NOEX_PRIVATE : Constants.NOEX_PUBLIC; addMethod( id, new NodeFactory(getRuby()).newCFunc(method), noex | Constants.NOEX_CFUNC); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyModule.java/clean/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4426, 1305, 12, 780, 508, 16, 19817, 2428, 1305, 707, 13, 288, 202, 202, 54, 10340, 548, 612, 273, 4170, 10340, 7675, 267, 798, 12, 529, 1769, 202, 202, 474, 1158, 338, 273, 1082, 202, 12, 529, 18, 3001, 861, 12, 20, 13, 422, 296, 77, 11, 597, 612, 422, 4170, 10340, 7675, 267, 798, 2932, 11160, 6, 3719, 9506, 202, 35, 5245, 18, 3417, 2294, 67, 20055, 9506, 202, 30, 5245, 18, 3417, 2294, 67, 14939, 31, 202, 202, 1289, 1305, 12, 1082, 202, 350, 16, 1082, 202, 2704, 2029, 1733, 12, 588, 54, 10340, 1435, 2934, 2704, 39, 2622, 12, 2039, 3631, 1082, 202, 2135, 338, 571, 5245, 18, 3417, 2294, 67, 8955, 21163, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4426, 1305, 12, 780, 508, 16, 19817, 2428, 1305, 707, 13, 288, 202, 202, 54, 10340, 548, 612, 273, 4170, 10340, 7675, 267, 798, 12, 529, 1769, 202, 202, 474, 1158, 338, 273, 1082, 202, 12, 529, 18, 3001, 861, 12, 20, 13, 422, 296, 77, 11, 597, 612, 422, 4170, 10340, 7675, 267, 798, 2932, 11160, 6, 3719, 9506, 202, 35, 5245, 18, 3417, 2294, 67, 20055, 9506, 202, 30, 5245, 18, 3417, 2294, 67, 14939, 31, 202, 202, 1289, 1305, 12, 1082, 202, 350, 16, 1082, 202, 2704, 2029, 1733, 12, 588, 54, 10340, 1435, 2934, 2704, 39, 2622, 12, 2039, 3631, 1082, 202, 2135, 338, 571, 5245, 18, 3417, 2294, 67, 8955, 2 ]
consolePrefs.setColor("output-selection", selectionColorButton.getColor()); consolePrefs.setColor("output-selected", selectedColorButton.getColor());
if (!selectionColorButton.getColor().equals(UIManager.getColor("textHighlight"))) consolePrefs.setColor("output-selection", selectionColorButton.getColor()); if (!selectedColorButton.getColor().equals(UIManager.getColor("textHighlightText"))) consolePrefs.setColor("output-selected", selectedColorButton.getColor());
public void applyChanges(){ Preferences consolePrefs = consoleManager.getPrefs(); Enumeration prefNames = prefs.getPreferenceNames(); while (prefNames.hasMoreElements()){ String propertyName = (String)prefNames.nextElement(); Object propertyValue = prefs.get(propertyName); consolePrefs.set(propertyName, propertyValue); } consolePrefs.setColor("output-selection", selectionColorButton.getColor()); consolePrefs.setColor("output-selected", selectedColorButton.getColor()); consoleManager.refreshFromProperties(); }
1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/e018a65d3630fc80c0d81ca1fa549b79f228a2b8/ConsolePreferencesPanel.java/clean/src/free/jin/console/ConsolePreferencesPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2230, 7173, 1435, 95, 565, 28310, 2983, 1386, 2556, 273, 2983, 1318, 18, 588, 1386, 2556, 5621, 565, 13864, 11307, 1557, 273, 15503, 18, 588, 9624, 1557, 5621, 565, 1323, 261, 25724, 1557, 18, 5332, 7417, 3471, 10756, 95, 1377, 514, 5470, 273, 261, 780, 13, 25724, 1557, 18, 4285, 1046, 5621, 1377, 1033, 12337, 273, 15503, 18, 588, 12, 4468, 461, 1769, 1377, 2983, 1386, 2556, 18, 542, 12, 4468, 461, 16, 12337, 1769, 565, 289, 565, 2983, 1386, 2556, 18, 542, 2957, 2932, 2844, 17, 10705, 3113, 4421, 2957, 3616, 18, 588, 2957, 10663, 565, 2983, 1386, 2556, 18, 542, 2957, 2932, 2844, 17, 8109, 3113, 3170, 2957, 3616, 18, 588, 2957, 10663, 565, 2983, 1318, 18, 9144, 1265, 2297, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2230, 7173, 1435, 95, 565, 28310, 2983, 1386, 2556, 273, 2983, 1318, 18, 588, 1386, 2556, 5621, 565, 13864, 11307, 1557, 273, 15503, 18, 588, 9624, 1557, 5621, 565, 1323, 261, 25724, 1557, 18, 5332, 7417, 3471, 10756, 95, 1377, 514, 5470, 273, 261, 780, 13, 25724, 1557, 18, 4285, 1046, 5621, 1377, 1033, 12337, 273, 15503, 18, 588, 12, 4468, 461, 1769, 1377, 2983, 1386, 2556, 18, 542, 12, 4468, 461, 16, 12337, 1769, 565, 289, 565, 2983, 1386, 2556, 18, 542, 2957, 2932, 2844, 17, 10705, 3113, 4421, 2957, 3616, 18, 588, 2957, 10663, 565, 2983, 1386, 2556, 18, 542, 2957, 2932, 2844, 17, 8109, 3113, 3170, 2957, 3616, 18, 588, 2957, 10663, 565, 2 ]
return false;
Polygon p2 = new Polygon( ); for ( int i = 0; i < va2.length; i++ ) { p2.add( va2[i].get( 0 ), va2[i].get( 1 ) ); } return p1.intersects( p2 );
protected boolean testIntersect( Object3D near ) { // Vector[] va1 = getViewerVectors( ); // Vector[] va2 = near.getViewerVectors( ); // // Polygon p1 = PolygonImpl.create( vectors2locations( va1 ) ); // Polygon p2 = PolygonImpl.create( vectors2locations( va2 ) ); // return p1.intersects( p2 ); // Temporarily disable this check, because it may cause an infinite loop // occasionally. return false; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/d084af14717299b1ad7672061fcb59f86002265e/Object3D.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/Object3D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1842, 22541, 12, 1033, 23, 40, 13378, 262, 202, 95, 202, 202, 759, 5589, 8526, 14162, 21, 273, 8893, 264, 21680, 12, 11272, 202, 202, 759, 5589, 8526, 14162, 22, 273, 13378, 18, 588, 18415, 21680, 12, 11272, 202, 202, 759, 202, 202, 759, 12681, 293, 21, 273, 12681, 2828, 18, 2640, 12, 10046, 22, 12352, 12, 14162, 21, 262, 11272, 202, 202, 759, 12681, 293, 22, 273, 12681, 2828, 18, 2640, 12, 10046, 22, 12352, 12, 14162, 22, 262, 11272, 202, 202, 759, 327, 293, 21, 18, 12288, 87, 12, 293, 22, 11272, 202, 202, 759, 3955, 3831, 10243, 4056, 333, 866, 16, 2724, 518, 2026, 4620, 392, 14853, 2798, 202, 202, 759, 9145, 345, 285, 1230, 18, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 1842, 22541, 12, 1033, 23, 40, 13378, 262, 202, 95, 202, 202, 759, 5589, 8526, 14162, 21, 273, 8893, 264, 21680, 12, 11272, 202, 202, 759, 5589, 8526, 14162, 22, 273, 13378, 18, 588, 18415, 21680, 12, 11272, 202, 202, 759, 202, 202, 759, 12681, 293, 21, 273, 12681, 2828, 18, 2640, 12, 10046, 22, 12352, 12, 14162, 21, 262, 11272, 202, 202, 759, 12681, 293, 22, 273, 12681, 2828, 18, 2640, 12, 10046, 22, 12352, 12, 14162, 22, 262, 11272, 202, 202, 759, 327, 293, 21, 18, 12288, 87, 12, 293, 22, 11272, 202, 202, 759, 3955, 3831, 10243, 4056, 333, 866, 16, 2724, 518, 2026, 4620, 392, 14853, 2798, 202, 202, 759, 9145, 2 ]
new CServiceXMLWriter(getOutputDirectory(this.codeGenConfiguration.getOutputLocation(), "src"),
new CServiceXMLWriter(getOutputDirectory(this.codeGenConfiguration.getOutputLocation(), SRC_DIR_NAME),
protected void writeServiceXml() throws Exception { if (this.codeGenConfiguration.isGenerateDeployementDescriptor()) { // Write the service xml in a folder with the Document serviceXMLModel = createDOMDocumentForServiceXML(); ClassWriter serviceXmlWriter = new CServiceXMLWriter(getOutputDirectory(this.codeGenConfiguration.getOutputLocation(), "src"), this.codeGenConfiguration.getOutputLanguage()); writeClass(serviceXMLModel, serviceXmlWriter); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/4b3d515a2db94b50106a6d037ed294d48809acc0/CEmitter.java/buggy/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/CEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 1179, 4432, 1435, 1216, 1185, 288, 3639, 309, 261, 2211, 18, 710, 7642, 1750, 18, 291, 4625, 10015, 820, 3187, 10756, 288, 5411, 368, 2598, 326, 1156, 2025, 316, 279, 3009, 598, 326, 5411, 4319, 1156, 4201, 1488, 273, 752, 8168, 2519, 1290, 1179, 4201, 5621, 5411, 31807, 1156, 4432, 2289, 273, 10792, 394, 385, 1179, 4201, 2289, 12, 588, 1447, 2853, 12, 2211, 18, 710, 7642, 1750, 18, 588, 1447, 2735, 9334, 348, 11529, 67, 4537, 67, 1985, 3631, 18701, 333, 18, 710, 7642, 1750, 18, 588, 1447, 3779, 10663, 5411, 1045, 797, 12, 3278, 4201, 1488, 16, 1156, 4432, 2289, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 1179, 4432, 1435, 1216, 1185, 288, 3639, 309, 261, 2211, 18, 710, 7642, 1750, 18, 291, 4625, 10015, 820, 3187, 10756, 288, 5411, 368, 2598, 326, 1156, 2025, 316, 279, 3009, 598, 326, 5411, 4319, 1156, 4201, 1488, 273, 752, 8168, 2519, 1290, 1179, 4201, 5621, 5411, 31807, 1156, 4432, 2289, 273, 10792, 394, 385, 1179, 4201, 2289, 12, 588, 1447, 2853, 12, 2211, 18, 710, 7642, 1750, 18, 588, 1447, 2735, 9334, 348, 11529, 67, 4537, 67, 1985, 3631, 18701, 333, 18, 710, 7642, 1750, 18, 588, 1447, 3779, 10663, 5411, 1045, 797, 12, 3278, 4201, 1488, 16, 1156, 4432, 2289, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
final String transformedText = '\'' + escapedString + '\'';
public String buildErrorString(Object... infos) { final String string = (String)infos[0]; final String escapedString = StringUtil.escapeStringCharacters(string); final String transformedText = '\'' + escapedString + '\''; return InspectionGadgetsBundle.message( "length.one.strings.in.concatenation.problem.descriptor", transformedText); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8b65e3642a9cfea4e34e3b9f8ad27503e6dc311d/LengthOneStringsInConcatenationInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/performance/LengthOneStringsInConcatenationInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1361, 668, 780, 12, 921, 2777, 10626, 13, 288, 3639, 727, 514, 533, 273, 261, 780, 13, 18227, 63, 20, 15533, 3639, 727, 514, 8345, 780, 273, 14205, 18, 6939, 780, 11600, 12, 1080, 1769, 9079, 327, 22085, 7017, 43, 361, 14665, 3405, 18, 2150, 12, 7734, 315, 2469, 18, 476, 18, 10219, 18, 267, 18, 16426, 275, 367, 18, 18968, 18, 12628, 3113, 7734, 10220, 1528, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1361, 668, 780, 12, 921, 2777, 10626, 13, 288, 3639, 727, 514, 533, 273, 261, 780, 13, 18227, 63, 20, 15533, 3639, 727, 514, 8345, 780, 273, 14205, 18, 6939, 780, 11600, 12, 1080, 1769, 9079, 327, 22085, 7017, 43, 361, 14665, 3405, 18, 2150, 12, 7734, 315, 2469, 18, 476, 18, 10219, 18, 267, 18, 16426, 275, 367, 18, 18968, 18, 12628, 3113, 7734, 10220, 1528, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (selectedItem != null && (dataModel instanceof DefaultComboBoxModel))
if (selectedItem != null) { if(dataModel instanceof DefaultComboBoxModel) {
public int getSelectedIndex() { Object selectedItem = getSelectedItem(); if (selectedItem != null && (dataModel instanceof DefaultComboBoxModel)) return ((DefaultComboBoxModel) dataModel).getIndexOf(selectedItem); return -1; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 16625, 1016, 1435, 225, 288, 565, 1033, 3170, 1180, 273, 16625, 1180, 5621, 377, 309, 261, 8109, 1180, 480, 446, 13, 288, 225, 309, 12, 892, 1488, 1276, 2989, 22199, 1488, 13, 288, 4202, 327, 14015, 1868, 22199, 1488, 13, 27600, 2934, 588, 31985, 12, 8109, 1180, 1769, 565, 327, 300, 21, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 16625, 1016, 1435, 225, 288, 565, 1033, 3170, 1180, 273, 16625, 1180, 5621, 377, 309, 261, 8109, 1180, 480, 446, 13, 288, 225, 309, 12, 892, 1488, 1276, 2989, 22199, 1488, 13, 288, 4202, 327, 14015, 1868, 22199, 1488, 13, 27600, 2934, 588, 31985, 12, 8109, 1180, 1769, 565, 327, 300, 21, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
}
public ChUseCase() { setNextCategory("Naming"); addItem("Does the name '<ocl>self</ocl>' clearly describe the class?"); addItem("Is '<ocl>self</ocl>' a noun or noun phrase?"); addItem("Could the name '<ocl>self</ocl>' be misinterpreted to mean something else?"); setNextCategory("Encoding"); addItem("Should <ocl>self</ocl> be its own class or a simple attribute of "+ "another class?"); addItem("Does <ocl>self</ocl> do exactly one thing and do it well?"); addItem("Could <ocl>self</ocl> be broken down into two or more classes?"); setNextCategory("Value"); addItem("Do all attributes of <ocl>self</ocl> start with meaningful values?"); addItem("Could you write an invariant for this class?"); addItem("Do all constructors establish the class invariant?"); addItem("Do all operations maintain the class invariant?"); setNextCategory("Location"); addItem("Could <ocl>self</ocl> be defined in a different location in the class "+ "hierarchy?"); addItem("Have you planned to have subclasses of <ocl>self</ocl>?"); addItem("Could <ocl>self</ocl> be eliminated from the model?"); addItem("Is there another class in the model that should be revised "+ "or eliminated because it serves the same purpose as <ocl>self</ocl>?"); setNextCategory("Updates"); addItem("For what reasons will an instance of <ocl>self</ocl> be updated?"); addItem("Is there some other object that must be updated whenever "+ "<ocl>self</ocl> is updated?"); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ChUseCase.java/clean/src_new/org/argouml/uml/cognitive/checklist/ChUseCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1680, 3727, 2449, 1435, 288, 225, 27674, 4457, 2932, 24102, 8863, 225, 15009, 2932, 10154, 326, 508, 2368, 504, 80, 34, 2890, 1757, 504, 80, 1870, 2424, 715, 6401, 326, 667, 7225, 1769, 225, 15009, 2932, 2520, 2368, 504, 80, 34, 2890, 1757, 504, 80, 1870, 279, 27771, 578, 27771, 13045, 7225, 1769, 225, 15009, 2932, 4445, 326, 508, 2368, 504, 80, 34, 2890, 1757, 504, 80, 1870, 506, 7524, 24713, 329, 358, 3722, 5943, 469, 7225, 1769, 225, 27674, 4457, 2932, 4705, 8863, 225, 15009, 2932, 14309, 411, 504, 80, 34, 2890, 1757, 504, 80, 34, 506, 2097, 4953, 667, 578, 279, 4143, 1566, 434, 13773, 202, 225, 315, 304, 3011, 667, 7225, 1769, 225, 15009, 2932, 10154, 411, 504, 80, 34, 2890, 1757, 504, 80, 34, 741, 8950, 1245, 7757, 471, 741, 518, 5492, 7225, 1769, 225, 15009, 2932, 4445, 411, 504, 80, 34, 2890, 1757, 504, 80, 34, 506, 12933, 2588, 1368, 2795, 578, 1898, 3318, 7225, 1769, 225, 27674, 4457, 2932, 620, 8863, 225, 15009, 2932, 3244, 777, 1677, 434, 411, 504, 80, 34, 2890, 1757, 504, 80, 34, 787, 598, 26271, 924, 7225, 1769, 225, 15009, 2932, 4445, 1846, 1045, 392, 22514, 364, 333, 667, 7225, 1769, 225, 15009, 2932, 3244, 777, 19874, 18312, 326, 667, 22514, 7225, 1769, 225, 15009, 2932, 3244, 777, 5295, 17505, 326, 667, 22514, 7225, 1769, 225, 27674, 4457, 2932, 2735, 8863, 225, 15009, 2932, 4445, 411, 504, 80, 34, 2890, 1757, 504, 80, 34, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1680, 3727, 2449, 1435, 288, 225, 27674, 4457, 2932, 24102, 8863, 225, 15009, 2932, 10154, 326, 508, 2368, 504, 80, 34, 2890, 1757, 504, 80, 1870, 2424, 715, 6401, 326, 667, 7225, 1769, 225, 15009, 2932, 2520, 2368, 504, 80, 34, 2890, 1757, 504, 80, 1870, 279, 27771, 578, 27771, 13045, 7225, 1769, 225, 15009, 2932, 4445, 326, 508, 2368, 504, 80, 34, 2890, 1757, 504, 80, 1870, 506, 7524, 24713, 329, 358, 3722, 5943, 469, 7225, 1769, 225, 27674, 4457, 2932, 4705, 8863, 225, 15009, 2932, 14309, 411, 504, 80, 34, 2890, 1757, 504, 80, 34, 506, 2097, 4953, 667, 578, 279, 4143, 1566, 434, 13773, 202, 225, 315, 304, 3011, 667, 7225, 1769, 225, 15009, 2 ]
public JavaBeanObservableValue(Object object, PropertyDescriptor descriptor) {
public JavaBeanObservableValue(Object object, PropertyDescriptor descriptor, Class overrideType) {
public JavaBeanObservableValue(Object object, PropertyDescriptor descriptor) { this.object = object; this.propertyDescriptor = descriptor; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/229ea87f9ca5964722cf397b7746697b5f5450ec/JavaBeanObservableValue.java/buggy/bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/internal/beans/JavaBeanObservableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5110, 3381, 15279, 620, 12, 921, 733, 16, 26761, 4950, 13, 288, 202, 202, 2211, 18, 1612, 273, 733, 31, 202, 202, 2211, 18, 4468, 3187, 273, 4950, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5110, 3381, 15279, 620, 12, 921, 733, 16, 26761, 4950, 13, 288, 202, 202, 2211, 18, 1612, 273, 733, 31, 202, 202, 2211, 18, 4468, 3187, 273, 4950, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
templateName.append(FILE_SEPARATOR);
templateName.append(FILE_SEPARATOR);
protected String buildTemplateName(String myTemplate, String myDefaultTemplate) { String template = myDefaultTemplate; if (myTemplate != null) { template = findString(myTemplate); if (template == null) { LOG.warn("template attribute evaluated to null; using value as-is for backwards compatibility"); template = myTemplate; } } final StringBuffer templateName = new StringBuffer(30); final String templateDir = getTemplateDir(); if (!templateDir.startsWith(FILE_SEPARATOR)) { templateName.append(FILE_SEPARATOR); } templateName.append(templateDir); final String theme = getTheme(); if (theme != null && !templateDir.endsWith(FILE_SEPARATOR) && !theme.startsWith(FILE_SEPARATOR) ) { templateName.append(FILE_SEPARATOR); } templateName.append(theme); if (template != null && !template.startsWith(FILE_SEPARATOR)) { templateName.append(FILE_SEPARATOR); } templateName.append(template); return templateName.toString(); }
22725 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22725/7043ff728a4e7f565213be22ecab23cb4d6d639a/UIBean.java/buggy/src/java/com/opensymphony/webwork/components/UIBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 1361, 28917, 12, 780, 3399, 2283, 16, 514, 3399, 1868, 2283, 13, 288, 3639, 514, 1542, 273, 3399, 1868, 2283, 31, 3639, 309, 261, 4811, 2283, 480, 446, 13, 288, 5411, 1542, 273, 1104, 780, 12, 4811, 2283, 1769, 5411, 309, 261, 3202, 422, 446, 13, 288, 7734, 2018, 18, 8935, 2932, 3202, 1566, 12697, 358, 446, 31, 1450, 460, 487, 17, 291, 364, 12727, 8926, 8863, 7734, 1542, 273, 3399, 2283, 31, 5411, 289, 3639, 289, 3639, 727, 6674, 15523, 273, 394, 6674, 12, 5082, 1769, 3639, 727, 514, 1542, 1621, 273, 10646, 1621, 5621, 3639, 309, 16051, 3202, 1621, 18, 17514, 1190, 12, 3776, 67, 4550, 3719, 288, 5411, 15523, 18, 6923, 12, 3776, 67, 4550, 1769, 3639, 289, 3639, 15523, 18, 6923, 12, 3202, 1621, 1769, 3639, 727, 514, 5006, 273, 27077, 5621, 3639, 309, 261, 7997, 480, 446, 597, 401, 3202, 1621, 18, 5839, 1190, 12, 3776, 67, 4550, 13, 597, 401, 7997, 18, 17514, 1190, 12, 3776, 67, 4550, 13, 262, 288, 5411, 15523, 18, 6923, 12, 3776, 67, 4550, 1769, 3639, 289, 3639, 15523, 18, 6923, 12, 7997, 1769, 3639, 309, 261, 3202, 480, 446, 597, 401, 3202, 18, 17514, 1190, 12, 3776, 67, 4550, 3719, 288, 6647, 15523, 18, 6923, 12, 3776, 67, 4550, 1769, 3639, 289, 3639, 15523, 18, 6923, 12, 3202, 1769, 3639, 327, 15523, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 1361, 28917, 12, 780, 3399, 2283, 16, 514, 3399, 1868, 2283, 13, 288, 3639, 514, 1542, 273, 3399, 1868, 2283, 31, 3639, 309, 261, 4811, 2283, 480, 446, 13, 288, 5411, 1542, 273, 1104, 780, 12, 4811, 2283, 1769, 5411, 309, 261, 3202, 422, 446, 13, 288, 7734, 2018, 18, 8935, 2932, 3202, 1566, 12697, 358, 446, 31, 1450, 460, 487, 17, 291, 364, 12727, 8926, 8863, 7734, 1542, 273, 3399, 2283, 31, 5411, 289, 3639, 289, 3639, 727, 6674, 15523, 273, 394, 6674, 12, 5082, 1769, 3639, 727, 514, 1542, 1621, 273, 10646, 1621, 5621, 3639, 309, 16051, 3202, 1621, 18, 17514, 1190, 12, 3776, 67, 4550, 3719, 288, 5411, 15523, 18, 6923, 12, 3776, 2 ]
fRegistry.put("binary", new BinaryDatatypeValidator()); fRegistry.put("uriReference", new URIReferenceDatatypeValidator());
fRegistry.put("hexBinary", new HexBinaryDatatypeValidator()); fRegistry.put("base64Binary", new Base64BinaryDatatypeValidator()); fRegistry.put("anyURI", new AnyURIDatatypeValidator());
public void expandRegistryToFullSchemaSet() { if (fRegistry == null) { fRegistry = new Hashtable(); // if it is null fRegistryExpanded = false; } //Register Primitive Datatypes if (fRegistryExpanded == false) { DatatypeValidator v; try { //fRegistry.put("string", new StringDatatypeValidator() ); fRegistry.put("boolean", new BooleanDatatypeValidator() ); fRegistry.put("float", new FloatDatatypeValidator()); fRegistry.put("double", new DoubleDatatypeValidator()); fRegistry.put("decimal", new DecimalDatatypeValidator()); fRegistry.put("timeDuration", new TimeDurationDatatypeValidator()); fRegistry.put("recurringDuration", new RecurringDurationDatatypeValidator()); fRegistry.put("binary", new BinaryDatatypeValidator()); fRegistry.put("uriReference", new URIReferenceDatatypeValidator()); fRegistry.put("QName", new QNameDatatypeValidator()); fRegistry.put("duration", new DurationDatatypeValidator()); // need to check if the registry has been "DTD" initilized --ericye // since we share the same instance of DTD attribute validators across the board, // we couldn't afford call the initializeDTDRegistry more than one time. if (fRegistry.get("IDREF") == null) { initializeDTDRegistry(); //Initialize common Schema/DTD Datatype validator set if not already initialized } Hashtable facets = new Hashtable(); facets.put(SchemaSymbols.ELT_WHITESPACE, "replace"); createDatatypeValidator("CDATA", new StringDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_WHITESPACE, "collapse"); createDatatypeValidator("token", getDatatypeValidator("CDATA"), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]+)(-[a-zA-Z]+)*" ); createDatatypeValidator("language", getDatatypeValidator("token") , facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "\\i\\c*" ); createDatatypeValidator("Name", getDatatypeValidator("token"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "[\\i-[:]][\\c-[:]]*" ); createDatatypeValidator("NCName", getDatatypeValidator("token"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_SCALE, "0"); createDatatypeValidator("integer", new DecimalDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "0" ); createDatatypeValidator("nonPositiveInteger", getDatatypeValidator("integer"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "-1" ); createDatatypeValidator("negativeInteger", getDatatypeValidator( "nonPositiveInteger"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "9223372036854775807"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-9223372036854775808"); createDatatypeValidator("long", getDatatypeValidator( "integer"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "2147483647"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-2147483648"); createDatatypeValidator("int", getDatatypeValidator( "long"), facets,false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "32767"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-32768"); createDatatypeValidator("short", getDatatypeValidator( "int"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "127"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-128"); createDatatypeValidator("byte", getDatatypeValidator( "short"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "0" ); createDatatypeValidator("nonNegativeInteger", getDatatypeValidator( "integer"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "18446744073709551615" ); createDatatypeValidator("unsignedLong", getDatatypeValidator( "nonNegativeInteger"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "4294967295" ); createDatatypeValidator("unsignedInt", getDatatypeValidator( "unsignedLong"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "65535" ); createDatatypeValidator("unsignedShort", getDatatypeValidator( "unsignedInt"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "255" ); createDatatypeValidator("unsignedByte", getDatatypeValidator( "unsignedShort"), facets, false ); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "1" ); createDatatypeValidator("positiveInteger", getDatatypeValidator( "nonNegativeInteger"), facets, false ); //REVISIT: it looks like patterns are expensive // should we rely on error reporting for date/times and not use pattern here? facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"(-)?(\\d*)-(\\d\\d)-(\\d\\d)T(\\d\\d):(\\d\\d):(\\d\\d)(\\.(\\d)*)?(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("dateTime", new DateTimeDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"(\\d\\d):(\\d\\d):(\\d\\d)(\\.(\\d)*)?(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("time", new TimeDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"(-)?(\\d*)-(\\d\\d)-(\\d\\d)(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("date", new DateDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"--(\\d\\d)-(\\d\\d)(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("gMonthDay", new MonthDayDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"(-)?(\\d*)-(\\d\\d)(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("gYearMonth", new YearMonthDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"(-)?(\\d*)(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("gYear", new YearDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"--(\\d\\d)--(Z)?"); createDatatypeValidator("gMonth", new MonthDatatypeValidator(), facets, false); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN,"---(\\d\\d)(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?"); createDatatypeValidator("gDay", new DayDatatypeValidator(), facets, false); fRegistryExpanded = true; } catch (InvalidDatatypeFacetException ex) { ex.printStackTrace(); } } }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/dc38ef3f474431c6ee975d071441496ac221a110/DatatypeValidatorFactoryImpl.java/buggy/src/org/apache/xerces/validators/datatype/DatatypeValidatorFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4542, 4243, 774, 5080, 3078, 694, 1435, 288, 3639, 309, 261, 74, 4243, 422, 446, 13, 288, 5411, 284, 4243, 273, 394, 18559, 5621, 368, 309, 518, 353, 446, 5411, 284, 4243, 17957, 273, 629, 31, 3639, 289, 3639, 368, 3996, 14488, 6168, 13373, 540, 309, 261, 74, 4243, 17957, 422, 629, 13, 288, 5411, 21168, 5126, 331, 31, 5411, 775, 288, 7734, 368, 74, 4243, 18, 458, 2932, 1080, 3113, 5411, 394, 514, 20228, 5126, 1435, 11272, 7734, 284, 4243, 18, 458, 2932, 6494, 3113, 6647, 394, 3411, 20228, 5126, 1435, 225, 11272, 7734, 284, 4243, 18, 458, 2932, 5659, 3113, 2398, 394, 5450, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 9056, 3113, 5411, 394, 3698, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 12586, 3113, 6647, 394, 11322, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 957, 5326, 3113, 1377, 394, 2647, 5326, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 266, 21179, 5326, 3113, 394, 868, 21179, 5326, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 8578, 3113, 5411, 394, 7896, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 1650, 2404, 3113, 1377, 394, 3699, 2404, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 13688, 3113, 2398, 394, 16723, 20228, 5126, 10663, 1171, 284, 4243, 18, 458, 2932, 8760, 3113, 1850, 394, 4822, 20228, 5126, 10663, 4766, 1171, 9079, 368, 1608, 358, 866, 309, 326, 4023, 711, 2118, 315, 25728, 6, 1208, 330, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4542, 4243, 774, 5080, 3078, 694, 1435, 288, 3639, 309, 261, 74, 4243, 422, 446, 13, 288, 5411, 284, 4243, 273, 394, 18559, 5621, 368, 309, 518, 353, 446, 5411, 284, 4243, 17957, 273, 629, 31, 3639, 289, 3639, 368, 3996, 14488, 6168, 13373, 540, 309, 261, 74, 4243, 17957, 422, 629, 13, 288, 5411, 21168, 5126, 331, 31, 5411, 775, 288, 7734, 368, 74, 4243, 18, 458, 2932, 1080, 3113, 5411, 394, 514, 20228, 5126, 1435, 11272, 7734, 284, 4243, 18, 458, 2932, 6494, 3113, 6647, 394, 3411, 20228, 5126, 1435, 225, 11272, 7734, 284, 4243, 18, 458, 2932, 5659, 3113, 2398, 394, 5450, 20228, 5126, 10663, 7734, 284, 4243, 18, 458, 2932, 9056, 3113, 2 ]
final int leafType = fLeafListType[leafIndex];
final int leafType = fLeafListType[leafIndex];
private void buildDFA(CMNode syntaxTree) throws CMException { // // The first step we need to take is to rewrite the content model // using our CMNode objects, and in the process get rid of any // repetition short cuts, converting them into '*' style repetitions // or getting rid of repetitions altogether. // // The conversions done are: // // x+ -> (x|x*) // x? -> (x|epsilon) // // This is a relatively complex scenario. What is happening is that // we create a top level binary node of which the special EOC value // is set as the right side node. The the left side is set to the // rewritten syntax tree. The source is the original content model // info from the decl pool. The rewrite is done by buildSyntaxTree() // which recurses the decl pool's content of the element and builds // a new tree in the process. // // Note that, during this operation, we set each non-epsilon leaf // node's DFA state position and count the number of such leafs, which // is left in the fLeafCount member. // // The nodeTmp object is passed in just as a temp node to use during // the recursion. Otherwise, we'd have to create a new node on every // level of recursion, which would be piggy in Java (as is everything // for that matter.) // /* MODIFIED (Jan, 2001) * * Use following rules. * nullable(x+) := nullable(x), first(x+) := first(x), last(x+) := last(x) * nullable(x?) := true, first(x?) := first(x), last(x?) := last(x) * * The same computation of follow as x* is applied to x+ * * The modification drastically reduces computation time of * "(a, (b, a+, (c, (b, a+)+, a+, (d, (c, (b, a+)+, a+)+, (b, a+)+, a+)+)+)+)+" */ fQName.setValues(-1, fEOCIndex, fEOCIndex); CMLeaf nodeEOC = new CMLeaf(fQName); fHeadNode = new CMBinOp ( XMLContentSpec.CONTENTSPECNODE_SEQ , syntaxTree , nodeEOC ); // // And handle specially the EOC node, which also must be numbered // and counted as a non-epsilon leaf node. It could not be handled // in the above tree build because it was created before all that // started. We save the EOC position since its used during the DFA // building loop. // fEOCPos = fLeafCount; nodeEOC.setPosition(fLeafCount++); // // Ok, so now we have to iterate the new tree and do a little more // work now that we know the leaf count. One thing we need to do is // to calculate the first and last position sets of each node. This // is cached away in each of the nodes. // // Along the way we also set the leaf count in each node as the // maximum state count. They must know this in order to create their // first/last pos sets. // // We also need to build an array of references to the non-epsilon // leaf nodes. Since we iterate it in the same way as before, this // will put them in the array according to their position values. // fLeafList = new CMLeaf[fLeafCount]; fLeafListType = new int[fLeafCount]; postTreeBuildInit(fHeadNode, 0); // // And, moving onward... We now need to build the follow position // sets for all the nodes. So we allocate an array of state sets, // one for each leaf node (i.e. each DFA position.) // fFollowList = new CMStateSet[fLeafCount]; for (int index = 0; index < fLeafCount; index++) fFollowList[index] = new CMStateSet(fLeafCount); calcFollowList(fHeadNode); // // And finally the big push... Now we build the DFA using all the // states and the tree we've built up. First we set up the various // data structures we are going to use while we do this. // // First of all we need an array of unique element names in our // content model. For each transition table entry, we need a set of // contiguous indices to represent the transitions for a particular // input element. So we need to a zero based range of indexes that // map to element types. This element map provides that mapping. // fElemMap = new QName[fLeafCount]; fElemMapType = new int[fLeafCount]; fElemMapSize = 0; for (int outIndex = 0; outIndex < fLeafCount; outIndex++) { fElemMap[outIndex] = new QName(); if ( (fLeafListType[outIndex] & 0x0f) != 0 ) { if (fLeafNameTypeVector == null) { fLeafNameTypeVector = new ContentLeafNameTypeVector(); } } // Get the current leaf's element index final QName element = fLeafList[outIndex].getElement(); // See if the current leaf node's element index is in the list int inIndex = 0; for (; inIndex < fElemMapSize; inIndex++) { if (fDTD) { if (fElemMap[inIndex].rawname == element.rawname) { break; } } else { if (fElemMap[inIndex].uri == element.uri && fElemMap[inIndex].localpart == element.localpart && fElemMapType[inIndex] == fLeafListType[outIndex] ) break; } } // If it was not in the list, then add it, if not the EOC node if (inIndex == fElemMapSize) { //if (fDTD) { // fElemMap[fElemMapSize].setValues(-1, element.rawname, element.rawname, -1); //} //else { fElemMap[fElemMapSize].setValues(element); //} fElemMapType[fElemMapSize] = fLeafListType[outIndex]; fElemMapSize++; } } // set up the fLeafNameTypeVector object if there is one. if (fLeafNameTypeVector != null) { fLeafNameTypeVector.setValues(fElemMap, fElemMapType, fElemMapSize); } /*** * Optimization(Jan, 2001); We sort fLeafList according to * elemIndex which is *uniquely* associated to each leaf. * We are *assuming* that each element appears in at least one leaf. **/ int[] fLeafSorter = new int[fLeafCount + fElemMapSize]; int fSortCount = 0; for (int elemIndex = 0; elemIndex < fElemMapSize; elemIndex++) { for (int leafIndex = 0; leafIndex < fLeafCount; leafIndex++) { final QName leaf = fLeafList[leafIndex].getElement();final int leafType = fLeafListType[leafIndex]; final QName element = fElemMap[elemIndex]; if (fDTD) { if (leaf.rawname == element.rawname) { fLeafSorter[fSortCount++] = leafIndex; } } else { if (leaf.uri == element.uri && leaf.localpart == element.localpart) { if (!((leafType & 0x0f) == XMLContentSpec.CONTENTSPECNODE_ANY || (leafType & 0x0f) == XMLContentSpec.CONTENTSPECNODE_ANY_LOCAL || (leafType & 0x0f) == XMLContentSpec.CONTENTSPECNODE_ANY_OTHER)) fLeafSorter[fSortCount++] = leafIndex;} } } fLeafSorter[fSortCount++] = -1; } /* Optimization(Jan, 2001) */ // // Next lets create some arrays, some that that hold transient // information during the DFA build and some that are permament. // These are kind of sticky since we cannot know how big they will // get, but we don't want to use any Java collections because of // performance. // // Basically they will probably be about fLeafCount*2 on average, // but can be as large as 2^(fLeafCount*2), worst case. So we start // with fLeafCount*4 as a middle ground. This will be very unlikely // to ever have to expand, though it if does, the overhead will be // somewhat ugly. // int curArraySize = fLeafCount * 4; CMStateSet[] statesToDo = new CMStateSet[curArraySize]; fFinalStateFlags = new boolean[curArraySize]; fTransTable = new int[curArraySize][]; // // Ok we start with the initial set as the first pos set of the // head node (which is the seq node that holds the content model // and the EOC node.) // CMStateSet setT = fHeadNode.firstPos(); // // Init our two state flags. Basically the unmarked state counter // is always chasing the current state counter. When it catches up, // that means we made a pass through that did not add any new states // to the lists, at which time we are done. We could have used a // expanding array of flags which we used to mark off states as we // complete them, but this is easier though less readable maybe. // int unmarkedState = 0; int curState = 0; // // Init the first transition table entry, and put the initial state // into the states to do list, then bump the current state. // fTransTable[curState] = makeDefStateList(); statesToDo[curState] = setT; curState++; /* Optimization(Jan, 2001); This is faster for * a large content model such as, "(t001+|t002+|.... |t500+)". */ java.util.Hashtable stateTable = new java.util.Hashtable(); /* Optimization(Jan, 2001) */ // // Ok, almost done with the algorithm... We now enter the // loop where we go until the states done counter catches up with // the states to do counter. // while (unmarkedState < curState) { // // Get the first unmarked state out of the list of states to do. // And get the associated transition table entry. // setT = statesToDo[unmarkedState]; int[] transEntry = fTransTable[unmarkedState]; // Mark this one final if it contains the EOC state fFinalStateFlags[unmarkedState] = setT.getBit(fEOCPos); // Bump up the unmarked state count, marking this state done unmarkedState++; // Loop through each possible input symbol in the element map CMStateSet newSet = null; /* Optimization(Jan, 2001) */ int sorterIndex = 0; /* Optimization(Jan, 2001) */ for (int elemIndex = 0; elemIndex < fElemMapSize; elemIndex++) { // // Build up a set of states which is the union of all of // the follow sets of DFA positions that are in the current // state. If we gave away the new set last time through then // create a new one. Otherwise, zero out the existing one. // if (newSet == null) newSet = new CMStateSet(fLeafCount); else newSet.zeroBits(); /* Optimization(Jan, 2001) */ int leafIndex = fLeafSorter[sorterIndex++]; while (leafIndex != -1) { // If this leaf index (DFA position) is in the current set... if (setT.getBit(leafIndex)) { // // If this leaf is the current input symbol, then we // want to add its follow list to the set of states to // transition to from the current state. // newSet.union(fFollowList[leafIndex]); } leafIndex = fLeafSorter[sorterIndex++]; } /* Optimization(Jan, 2001) */ // // If this new set is not empty, then see if its in the list // of states to do. If not, then add it. // if (!newSet.isEmpty()) { // // Search the 'states to do' list to see if this new // state set is already in there. // /* Optimization(Jan, 2001) */ Integer stateObj = (Integer)stateTable.get(newSet); int stateIndex = (stateObj == null ? curState : stateObj.intValue()); /* Optimization(Jan, 2001) */ // If we did not find it, then add it if (stateIndex == curState) { // // Put this new state into the states to do and init // a new entry at the same index in the transition // table. // statesToDo[curState] = newSet; fTransTable[curState] = makeDefStateList(); /* Optimization(Jan, 2001) */ stateTable.put(newSet, new Integer(curState)); /* Optimization(Jan, 2001) */ // We now have a new state to do so bump the count curState++; // // Null out the new set to indicate we adopted it. // This will cause the creation of a new set on the // next time around the loop. // newSet = null; } // // Now set this state in the transition table's entry // for this element (using its index), with the DFA // state we will move to from the current state when we // see this input element. // transEntry[elemIndex] = stateIndex; // Expand the arrays if we're full if (curState == curArraySize) { // // Yikes, we overflowed the initial array size, so // we've got to expand all of these arrays. So adjust // up the size by 50% and allocate new arrays. // final int newSize = (int)(curArraySize * 1.5); CMStateSet[] newToDo = new CMStateSet[newSize]; boolean[] newFinalFlags = new boolean[newSize]; int[][] newTransTable = new int[newSize][]; // Copy over all of the existing content for (int expIndex = 0; expIndex < curArraySize; expIndex++) { newToDo[expIndex] = statesToDo[expIndex]; newFinalFlags[expIndex] = fFinalStateFlags[expIndex]; newTransTable[expIndex] = fTransTable[expIndex]; } // Store the new array size curArraySize = newSize; statesToDo = newToDo; fFinalStateFlags = newFinalFlags; fTransTable = newTransTable; } } } } // Check to see if we can set the fEmptyContentIsValid flag. fEmptyContentIsValid = ((CMBinOp)fHeadNode).getLeft().isNullable(); // // And now we can say bye bye to the temp representation since we've // built the DFA. // if (DEBUG_VALIDATE_CONTENT) dumpTree(fHeadNode, 0); fHeadNode = null; fLeafList = null; fFollowList = null; }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/da3108420d6f1cfee2c793bde9a55271a9ab91ed/DFAContentModel.java/clean/src/org/apache/xerces/validators/common/DFAContentModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 40, 2046, 12, 9611, 907, 6279, 2471, 13, 1216, 15871, 503, 565, 288, 3639, 368, 3639, 368, 225, 1021, 1122, 2235, 732, 1608, 358, 4862, 353, 358, 10738, 326, 913, 938, 3639, 368, 225, 1450, 3134, 15871, 907, 2184, 16, 471, 316, 326, 1207, 336, 10911, 434, 1281, 3639, 368, 225, 31239, 3025, 6391, 87, 16, 14540, 2182, 1368, 5306, 2154, 22265, 5029, 3639, 368, 225, 578, 8742, 10911, 434, 22265, 5029, 3770, 717, 2437, 18, 3639, 368, 3639, 368, 225, 1021, 22586, 2731, 854, 30, 3639, 368, 3639, 368, 225, 619, 15, 317, 261, 92, 96, 92, 12437, 3639, 368, 225, 619, 35, 317, 261, 92, 96, 13058, 10327, 13, 3639, 368, 3639, 368, 225, 1220, 353, 279, 1279, 17526, 7233, 10766, 18, 18734, 353, 5865, 310, 353, 716, 3639, 368, 225, 732, 752, 279, 1760, 1801, 3112, 756, 434, 1492, 326, 4582, 512, 10809, 460, 3639, 368, 225, 353, 444, 487, 326, 2145, 4889, 756, 18, 1021, 326, 2002, 4889, 353, 444, 358, 326, 3639, 368, 225, 26768, 6279, 2151, 18, 1021, 1084, 353, 326, 2282, 913, 938, 3639, 368, 225, 1123, 628, 326, 3496, 2845, 18, 1021, 10738, 353, 2731, 635, 1361, 8070, 2471, 1435, 3639, 368, 225, 1492, 8112, 2420, 326, 3496, 2845, 1807, 913, 434, 326, 930, 471, 10736, 3639, 368, 225, 279, 394, 2151, 316, 326, 1207, 18, 3639, 368, 3639, 368, 225, 3609, 716, 16, 4982, 333, 1674, 16, 732, 444, 1517, 1661, 17, 13058, 10327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 40, 2046, 12, 9611, 907, 6279, 2471, 13, 1216, 15871, 503, 565, 288, 3639, 368, 3639, 368, 225, 1021, 1122, 2235, 732, 1608, 358, 4862, 353, 358, 10738, 326, 913, 938, 3639, 368, 225, 1450, 3134, 15871, 907, 2184, 16, 471, 316, 326, 1207, 336, 10911, 434, 1281, 3639, 368, 225, 31239, 3025, 6391, 87, 16, 14540, 2182, 1368, 5306, 2154, 22265, 5029, 3639, 368, 225, 578, 8742, 10911, 434, 22265, 5029, 3770, 717, 2437, 18, 3639, 368, 3639, 368, 225, 1021, 22586, 2731, 854, 30, 3639, 368, 3639, 368, 225, 619, 15, 317, 261, 92, 96, 92, 12437, 3639, 368, 225, 619, 35, 317, 261, 92, 96, 13058, 10327, 13, 3639, 368, 3639, 368, 2 ]
this.assertEquals(expected, actual);
assertEquals(expected, actual);
public void testCircularBoundedRangedLocationGenbank() { String expected = "<345..500"; sb.delete(0, sb.length()); String actual = fileFormer.formatLocation(sb, mCircularBoundedRangedLocation, PLUS).toString(); this.assertEquals(expected, actual); }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/dc62a0a7cf481c21c3be647214959067a3b98f61/LocationFormatterTest.java/buggy/tests/org/biojava/bio/seq/io/LocationFormatterTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 25858, 38, 12002, 54, 2330, 2735, 7642, 10546, 1435, 565, 288, 3639, 514, 2665, 273, 3532, 25574, 838, 12483, 14432, 3639, 2393, 18, 3733, 12, 20, 16, 2393, 18, 2469, 10663, 3639, 514, 3214, 273, 585, 1204, 264, 18, 2139, 2735, 12, 18366, 16, 312, 25858, 38, 12002, 54, 2330, 2735, 16, 22443, 3378, 2934, 10492, 5621, 3639, 1815, 8867, 12, 3825, 16, 3214, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 25858, 38, 12002, 54, 2330, 2735, 7642, 10546, 1435, 565, 288, 3639, 514, 2665, 273, 3532, 25574, 838, 12483, 14432, 3639, 2393, 18, 3733, 12, 20, 16, 2393, 18, 2469, 10663, 3639, 514, 3214, 273, 585, 1204, 264, 18, 2139, 2735, 12, 18366, 16, 312, 25858, 38, 12002, 54, 2330, 2735, 16, 22443, 3378, 2934, 10492, 5621, 3639, 1815, 8867, 12, 3825, 16, 3214, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int caretX = getCaretX();
void doLineDown() { if (isSingleLine()) { return; } // allow line down action only if receiver is not in single line mode. // fixes 4820. if (caretLine < content.getLineCount() - 1) { int caretX = getCaretX(); caretLine++; if (isBidi()) { caretOffset = getBidiOffsetAtMouseLocation(caretX, caretLine); } else { caretOffset = getOffsetAtMouseLocation(caretX, caretLine); } }}
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/fa97f78af654df6f36d5d66691a6c607448229e9/StyledText.java/buggy/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 741, 1670, 4164, 1435, 288, 202, 430, 261, 291, 5281, 1670, 10756, 288, 202, 202, 2463, 31, 202, 97, 202, 759, 1699, 980, 2588, 1301, 1338, 309, 5971, 353, 486, 316, 2202, 980, 1965, 18, 202, 759, 24436, 9934, 3462, 18, 202, 430, 261, 71, 20731, 1670, 411, 913, 18, 588, 1670, 1380, 1435, 300, 404, 13, 288, 202, 202, 474, 21683, 60, 273, 1927, 20731, 60, 5621, 9506, 202, 71, 20731, 1670, 9904, 31, 202, 202, 430, 261, 291, 17763, 77, 10756, 288, 1082, 202, 71, 20731, 2335, 273, 2882, 350, 77, 2335, 861, 9186, 2735, 12, 71, 20731, 60, 16, 21683, 1670, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 71, 20731, 2335, 273, 13386, 861, 9186, 2735, 12, 71, 20731, 60, 16, 21683, 1670, 1769, 202, 202, 97, 1082, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 918, 741, 1670, 4164, 1435, 288, 202, 430, 261, 291, 5281, 1670, 10756, 288, 202, 202, 2463, 31, 202, 97, 202, 759, 1699, 980, 2588, 1301, 1338, 309, 5971, 353, 486, 316, 2202, 980, 1965, 18, 202, 759, 24436, 9934, 3462, 18, 202, 430, 261, 71, 20731, 1670, 411, 913, 18, 588, 1670, 1380, 1435, 300, 404, 13, 288, 202, 202, 474, 21683, 60, 273, 1927, 20731, 60, 5621, 9506, 202, 71, 20731, 1670, 9904, 31, 202, 202, 430, 261, 291, 17763, 77, 10756, 288, 1082, 202, 71, 20731, 2335, 273, 2882, 350, 77, 2335, 861, 9186, 2735, 12, 71, 20731, 60, 16, 21683, 1670, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 71, 20731, 2335, 273, 2 ]
String xpath = (String)query.getSelectedItem();
String xpath = (String) query.getText();
private void doQuery() { String xpath = (String)query.getSelectedItem(); if (xpath.length() == 0) return; resultDisplay.setText(""); try { XPathQueryServiceImpl service = (XPathQueryServiceImpl) collection.getService("XPathQueryService", "1.0"); service.setProperty("pretty", properties.getProperty("indent")); if (!(xpath.startsWith("document(") || xpath.startsWith("collection(") || xpath.startsWith("xcollection("))) { String collname = (String) collections.getSelectedItem(); if (collname.equals("*")) xpath = "document()" + xpath; else xpath = "collection(\"" + collname + "\")" + xpath; } ResourceSet result = service.query(xpath); model.setResourceSet(result); } catch (XMLDBException e) { ClientFrame.showErrorMessage( "An exception occurred during query execution: " + e.getMessage(), e); } query.addItem(xpath); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/QueryDialog.java/buggy/src/org/exist/client/QueryDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 741, 1138, 1435, 288, 202, 202, 780, 6748, 273, 261, 780, 13, 2271, 18, 588, 7416, 1180, 5621, 202, 202, 430, 261, 18644, 18, 2469, 1435, 422, 374, 13, 1082, 202, 2463, 31, 202, 202, 2088, 4236, 18, 542, 1528, 2932, 8863, 202, 202, 698, 288, 1082, 202, 14124, 1138, 1179, 2828, 1156, 273, 9506, 202, 12, 14124, 1138, 1179, 2828, 13, 1849, 18, 588, 1179, 2932, 14124, 1138, 1179, 3113, 315, 21, 18, 20, 8863, 1082, 202, 3278, 18, 542, 1396, 2932, 19073, 3113, 1790, 18, 588, 1396, 2932, 9355, 7923, 1769, 1082, 202, 430, 16051, 12, 18644, 18, 17514, 1190, 2932, 5457, 2932, 13, 9506, 202, 20081, 6748, 18, 17514, 1190, 2932, 5548, 2932, 13, 9506, 202, 20081, 6748, 18, 17514, 1190, 2932, 92, 5548, 2932, 20349, 288, 9506, 202, 780, 4508, 529, 273, 261, 780, 13, 6980, 18, 588, 7416, 1180, 5621, 9506, 202, 430, 261, 12910, 529, 18, 14963, 2932, 7388, 3719, 6862, 202, 18644, 273, 315, 5457, 10031, 397, 6748, 31, 9506, 202, 12107, 6862, 202, 18644, 273, 315, 5548, 12, 8530, 397, 4508, 529, 397, 7023, 2225, 397, 6748, 31, 1082, 202, 97, 1082, 202, 1420, 694, 563, 273, 1156, 18, 2271, 12, 18644, 1769, 1082, 202, 2284, 18, 542, 1420, 694, 12, 2088, 1769, 202, 202, 97, 1044, 261, 4201, 2290, 503, 425, 13, 288, 1082, 202, 1227, 3219, 18, 4500, 14935, 12, 9506, 202, 6, 979, 1520, 7841, 4982, 843, 4588, 30, 315, 397, 425, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 741, 1138, 1435, 288, 202, 202, 780, 6748, 273, 261, 780, 13, 2271, 18, 588, 7416, 1180, 5621, 202, 202, 430, 261, 18644, 18, 2469, 1435, 422, 374, 13, 1082, 202, 2463, 31, 202, 202, 2088, 4236, 18, 542, 1528, 2932, 8863, 202, 202, 698, 288, 1082, 202, 14124, 1138, 1179, 2828, 1156, 273, 9506, 202, 12, 14124, 1138, 1179, 2828, 13, 1849, 18, 588, 1179, 2932, 14124, 1138, 1179, 3113, 315, 21, 18, 20, 8863, 1082, 202, 3278, 18, 542, 1396, 2932, 19073, 3113, 1790, 18, 588, 1396, 2932, 9355, 7923, 1769, 1082, 202, 430, 16051, 12, 18644, 18, 17514, 1190, 2932, 5457, 2932, 13, 9506, 202, 20081, 6748, 18, 17514, 1190, 2932, 5548, 2 ]
"-debug",
public void testGetCommandLineArgs_Debug() throws CruiseControlException { String[] resultDebug = { javaCmd, "-classpath", antLauncherPath, "org.apache.tools.ant.launch.Launcher", "-lib", classpath, "-listener", "org.apache.tools.ant.XmlLogger", "-DXmlLogger.file=log.xml", "-Dlabel=200.1.23", "-debug", "-buildfile", "buildfile", "target" }; builder.setUseDebug(true); assertTrue( Arrays.equals( resultDebug, builder.getCommandLineArgs(properties, false, false, false))); }
52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/b97d4bead40bfa271d31068241ab93679686b867/AntBuilderTest.java/clean/main/test/net/sourceforge/cruisecontrol/builders/AntBuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 21391, 2615, 67, 2829, 1435, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 514, 8526, 563, 2829, 273, 5411, 288, 7734, 2252, 5931, 16, 7734, 3701, 26302, 3113, 7734, 17841, 28820, 743, 16, 7734, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 20738, 18, 28820, 3113, 7734, 3701, 2941, 3113, 7734, 10006, 16, 7734, 3701, 12757, 3113, 7734, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 4432, 3328, 3113, 7734, 3701, 40, 4432, 3328, 18, 768, 33, 1330, 18, 2902, 3113, 7734, 3701, 40, 1925, 33, 6976, 18, 21, 18, 4366, 3113, 1171, 9079, 3701, 3510, 768, 3113, 7734, 315, 3510, 768, 3113, 7734, 315, 3299, 6, 289, 31, 3639, 2089, 18, 542, 3727, 2829, 12, 3767, 1769, 3639, 1815, 5510, 12, 5411, 5647, 18, 14963, 12, 7734, 563, 2829, 16, 7734, 2089, 18, 588, 21391, 2615, 12, 4738, 16, 629, 16, 629, 16, 629, 3719, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 21391, 2615, 67, 2829, 1435, 1216, 385, 8653, 784, 3367, 503, 288, 3639, 514, 8526, 563, 2829, 273, 5411, 288, 7734, 2252, 5931, 16, 7734, 3701, 26302, 3113, 7734, 17841, 28820, 743, 16, 7734, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 20738, 18, 28820, 3113, 7734, 3701, 2941, 3113, 7734, 10006, 16, 7734, 3701, 12757, 3113, 7734, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 4432, 3328, 3113, 7734, 3701, 40, 4432, 3328, 18, 768, 33, 1330, 18, 2902, 3113, 7734, 3701, 40, 1925, 33, 6976, 18, 21, 18, 4366, 3113, 1171, 9079, 3701, 3510, 768, 3113, 7734, 315, 3510, 768, 3113, 7734, 315, 3299, 6, 289, 31, 3639, 2089, 18, 2 ]
g.setColor(Color.gray);
g.setColor(Color.gray);
protected void paintText(Graphics g, JMenuItem menuItem, Rectangle textRect, String text) { Font f = menuItem.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); if (text != null && ! text.equals("")) { if (menuItem.isEnabled()) { /* Menu item is considered to be highlighted when it is selected. It is considered to be selected if menu item is inside some menu and is armed or if it is both armed and pressed */ if (menuItem.getModel().isArmed() && (menuItem.getParent() instanceof MenuElement || menuItem.getModel().isPressed())) g.setColor(selectionForeground); else g.setColor(menuItem.getForeground()); } else // FIXME: should fix this to use 'disabledForeground', but its // default value in BasicLookAndFeel is null. g.setColor(Color.gray); int mnemonicIndex = menuItem.getDisplayedMnemonicIndex(); if (mnemonicIndex != -1) BasicGraphicsUtils.drawStringUnderlineCharAt(g, text, mnemonicIndex, textRect.x, textRect.y + fm.getAscent()); else BasicGraphicsUtils.drawString(g, text, 0, textRect.x, textRect.y + fm.getAscent()); } }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/b84de612b47edf167d1a205db1270610dfb06eb8/BasicMenuItemUI.java/buggy/libraries/javalib/javax/swing/plaf/basic/BasicMenuItemUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 12574, 1528, 12, 17558, 314, 16, 804, 12958, 19711, 16, 13264, 977, 6120, 16, 21821, 514, 977, 13, 225, 288, 565, 10063, 284, 273, 19711, 18, 588, 5711, 5621, 565, 314, 18, 542, 5711, 12, 74, 1769, 565, 10063, 5653, 10940, 273, 314, 18, 588, 5711, 5653, 12, 74, 1769, 565, 309, 261, 955, 480, 446, 597, 401, 977, 18, 14963, 2932, 6, 3719, 1377, 288, 202, 430, 261, 5414, 1180, 18, 291, 1526, 10756, 1850, 288, 5411, 1748, 9809, 761, 353, 7399, 358, 506, 24375, 1347, 518, 353, 3170, 18, 9079, 2597, 353, 7399, 358, 506, 3170, 309, 3824, 761, 353, 4832, 2690, 3824, 9079, 471, 353, 419, 2937, 578, 309, 518, 353, 3937, 419, 2937, 471, 19504, 1195, 5411, 309, 261, 5414, 1180, 18, 588, 1488, 7675, 291, 686, 2937, 1435, 7734, 597, 261, 5414, 1180, 18, 588, 3054, 1435, 1276, 9809, 1046, 10792, 747, 19711, 18, 588, 1488, 7675, 291, 24624, 1435, 3719, 2868, 314, 18, 542, 2957, 12, 10705, 23206, 1769, 5411, 469, 2868, 314, 18, 542, 2957, 12, 5414, 1180, 18, 588, 23206, 10663, 1850, 289, 202, 12107, 202, 225, 368, 9852, 30, 1410, 2917, 333, 358, 999, 296, 9278, 23206, 2187, 1496, 2097, 202, 225, 368, 805, 460, 316, 7651, 9794, 1876, 2954, 292, 353, 446, 18, 202, 21114, 225, 314, 18, 542, 2957, 12, 2957, 18, 22440, 1769, 202, 474, 12883, 20918, 1016, 273, 19711, 18, 588, 4236, 329, 29668, 20918, 1016, 5621, 202, 430, 261, 13607, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 12574, 1528, 12, 17558, 314, 16, 804, 12958, 19711, 16, 13264, 977, 6120, 16, 21821, 514, 977, 13, 225, 288, 565, 10063, 284, 273, 19711, 18, 588, 5711, 5621, 565, 314, 18, 542, 5711, 12, 74, 1769, 565, 10063, 5653, 10940, 273, 314, 18, 588, 5711, 5653, 12, 74, 1769, 565, 309, 261, 955, 480, 446, 597, 401, 977, 18, 14963, 2932, 6, 3719, 1377, 288, 202, 430, 261, 5414, 1180, 18, 291, 1526, 10756, 1850, 288, 5411, 1748, 9809, 761, 353, 7399, 358, 506, 24375, 1347, 518, 353, 3170, 18, 9079, 2597, 353, 7399, 358, 506, 3170, 309, 3824, 761, 353, 4832, 2690, 3824, 9079, 471, 353, 419, 2937, 578, 309, 518, 353, 3937, 419, 2 ]
public boolean equals(Object obj) { if (obj == this) return true; if (!(obj instanceof FieldKey)) return false; FieldKey that = (FieldKey)obj; if (relationName == null && fieldName == null) return that.relationName == null && that.fieldName == null; else if (relationName == null && fieldName != null) return that.relationName == null && fieldName.equals(that.fieldName); else if (relationName != null && fieldName == null) return relationName.equals(that.relationName) && that.fieldName == null; else return relationName.equals(that.relationName) && fieldName.equals(that.fieldName); }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/21625951f0698aac914bce295a5ff745f86610b6/FBResultSetMetaData.java/clean/src/main/org/firebirdsql/jdbc/FBResultSetMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 13491, 309, 261, 2603, 422, 333, 13, 327, 638, 31, 13491, 309, 16051, 12, 2603, 1276, 2286, 653, 3719, 327, 629, 31, 13491, 2286, 653, 716, 273, 261, 974, 653, 13, 2603, 31, 13491, 309, 261, 5488, 461, 422, 446, 597, 4289, 422, 446, 13, 7734, 327, 716, 18, 5488, 461, 422, 446, 597, 716, 18, 16163, 422, 446, 31, 5411, 469, 5411, 309, 261, 5488, 461, 422, 446, 597, 4289, 480, 446, 13, 7734, 327, 716, 18, 5488, 461, 422, 446, 597, 4289, 18, 14963, 12, 19056, 18, 16163, 1769, 5411, 469, 5411, 309, 261, 5488, 461, 480, 446, 597, 4289, 422, 446, 13, 7734, 327, 20945, 18, 14963, 12, 19056, 18, 5488, 461, 13, 597, 716, 18, 16163, 422, 446, 31, 5411, 469, 7734, 327, 20945, 18, 14963, 12, 19056, 18, 5488, 461, 13, 597, 4289, 18, 14963, 12, 19056, 18, 16163, 1769, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 1606, 12, 921, 1081, 13, 288, 13491, 309, 261, 2603, 422, 333, 13, 327, 638, 31, 13491, 309, 16051, 12, 2603, 1276, 2286, 653, 3719, 327, 629, 31, 13491, 2286, 653, 716, 273, 261, 974, 653, 13, 2603, 31, 13491, 309, 261, 5488, 461, 422, 446, 597, 4289, 422, 446, 13, 7734, 327, 716, 18, 5488, 461, 422, 446, 597, 716, 18, 16163, 422, 446, 31, 5411, 469, 5411, 309, 261, 5488, 461, 422, 446, 597, 4289, 480, 446, 13, 7734, 327, 716, 18, 5488, 461, 422, 446, 597, 4289, 18, 14963, 12, 19056, 18, 16163, 1769, 5411, 469, 5411, 309, 261, 5488, 461, 480, 446, 597, 4289, 422, 446, 13, 7734, 327, 20945, 18, 14963, 2 ]
cp.addExtdirs( m_extdirs );
addExtdirs( cp );
protected Commandline setupKjcCommand() throws TaskException { Commandline cmd = new Commandline(); // generate classpath, because kjc does't support sourcepath. Path classpath = getCompileClasspath(); if( m_deprecation == true ) { cmd.createArgument().setValue( "-deprecation" ); } if( m_destDir != null ) { cmd.createArgument().setValue( "-d" ); cmd.createArgument().setFile( m_destDir ); } // generate the clsspath cmd.createArgument().setValue( "-classpath" ); Path cp = new Path(); // kjc don't have bootclasspath option. if( m_bootclasspath != null ) { cp.append( m_bootclasspath ); } if( m_extdirs != null ) { cp.addExtdirs( m_extdirs ); } cp.append( classpath ); cp.append( src ); cmd.createArgument().setPath( cp ); // kjc-1.5A doesn't support -encoding option now. // but it will be supported near the feature. if( m_encoding != null ) { cmd.createArgument().setValue( "-encoding" ); cmd.createArgument().setValue( m_encoding ); } if( m_debug ) { cmd.createArgument().setValue( "-g" ); } if( m_optimize ) { cmd.createArgument().setValue( "-O2" ); } if( m_verbose ) { cmd.createArgument().setValue( "-verbose" ); } addCurrentCompilerArgs( cmd ); logAndAddFilesToCompile( cmd ); return cmd; }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/1bd4167603ad1a6b613bb73d5e5631e37ea511d0/Kjc.java/clean/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/compilers/Kjc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3498, 1369, 3875, 47, 78, 71, 2189, 1435, 3639, 1216, 3837, 503, 565, 288, 3639, 3498, 1369, 1797, 273, 394, 3498, 1369, 5621, 3639, 368, 2103, 10006, 16, 2724, 417, 78, 71, 1552, 1404, 2865, 1084, 803, 18, 3639, 2666, 10006, 273, 336, 9937, 17461, 5621, 3639, 309, 12, 312, 67, 29263, 422, 638, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 29263, 6, 11272, 3639, 289, 3639, 309, 12, 312, 67, 10488, 1621, 480, 446, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 72, 6, 11272, 5411, 1797, 18, 2640, 1379, 7675, 542, 812, 12, 312, 67, 10488, 1621, 11272, 3639, 289, 3639, 368, 2103, 326, 927, 1049, 803, 3639, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 26302, 6, 11272, 3639, 2666, 3283, 273, 394, 2666, 5621, 3639, 368, 417, 78, 71, 2727, 1404, 1240, 4835, 26302, 1456, 18, 3639, 309, 12, 312, 67, 7137, 26302, 480, 446, 262, 3639, 288, 5411, 3283, 18, 6923, 12, 312, 67, 7137, 26302, 11272, 3639, 289, 3639, 309, 12, 312, 67, 408, 8291, 480, 446, 262, 3639, 288, 5411, 527, 2482, 8291, 12, 3283, 11272, 3639, 289, 3639, 3283, 18, 6923, 12, 10006, 11272, 3639, 3283, 18, 6923, 12, 1705, 11272, 3639, 1797, 18, 2640, 1379, 7675, 542, 743, 12, 3283, 11272, 3639, 368, 417, 78, 71, 17, 21, 18, 25, 37, 3302, 1404, 2865, 300, 5999, 1456, 2037, 18, 3639, 368, 1496, 518, 903, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3498, 1369, 3875, 47, 78, 71, 2189, 1435, 3639, 1216, 3837, 503, 565, 288, 3639, 3498, 1369, 1797, 273, 394, 3498, 1369, 5621, 3639, 368, 2103, 10006, 16, 2724, 417, 78, 71, 1552, 1404, 2865, 1084, 803, 18, 3639, 2666, 10006, 273, 336, 9937, 17461, 5621, 3639, 309, 12, 312, 67, 29263, 422, 638, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 29263, 6, 11272, 3639, 289, 3639, 309, 12, 312, 67, 10488, 1621, 480, 446, 262, 3639, 288, 5411, 1797, 18, 2640, 1379, 7675, 542, 620, 12, 3701, 72, 6, 11272, 5411, 1797, 18, 2640, 1379, 7675, 542, 812, 12, 312, 67, 10488, 1621, 11272, 3639, 289, 3639, 368, 2103, 326, 2 ]
sequenceName.append("_pkey_seq");
sequenceName.append("_pk_seq");
public int getInsertID(Connection conn, String table, String columnName) throws SQLException { StringBuffer sequenceName = new StringBuffer(); /* Old style int totalLength = table.length() + columnName.length(); if (totalLength > 26 && table.length() > 13) { sequenceName.append(table.substring(0, 13)); } else { sequenceName.append(table); } sequenceName.append('_'); if (totalLength > 26 && columnName.length() > 13) { sequenceName.append(columnName.substring(0, 13)); } else { sequenceName.append(columnName); } sequenceName.append("_seq"); */ sequenceName.append(table); sequenceName.append("_pkey_seq"); Statement st = conn.createStatement(); ResultSet rs = st.executeQuery("select currval('" + sequenceName.toString() + "')"); int id = -1; if (rs.next()) { id = rs.getInt(1); } st.close(); if (id < 1) { throw new SQLException("Couldn't get last_insert_id()"); } return id; }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/3abc8dc6f92b482291893ee9d190f8596e3b9c5b/PostgreSQLDBHelper.java/clean/src/org/biojava/bio/seq/db/biosql/PostgreSQLDBHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 4600, 734, 12, 1952, 1487, 16, 9506, 282, 514, 1014, 16, 9506, 282, 514, 7578, 13, 202, 15069, 6483, 565, 288, 202, 780, 1892, 3102, 461, 273, 394, 6674, 5621, 202, 20308, 18613, 2154, 202, 474, 2078, 1782, 273, 1014, 18, 2469, 1435, 397, 7578, 18, 2469, 5621, 202, 430, 261, 4963, 1782, 405, 10659, 597, 1014, 18, 2469, 1435, 405, 5958, 13, 288, 202, 565, 3102, 461, 18, 6923, 12, 2121, 18, 28023, 12, 20, 16, 5958, 10019, 202, 97, 469, 288, 202, 565, 3102, 461, 18, 6923, 12, 2121, 1769, 202, 97, 202, 6178, 461, 18, 6923, 2668, 4623, 1769, 202, 430, 261, 4963, 1782, 405, 10659, 597, 7578, 18, 2469, 1435, 405, 5958, 13, 288, 202, 565, 3102, 461, 18, 6923, 12, 2827, 461, 18, 28023, 12, 20, 16, 5958, 10019, 202, 97, 469, 288, 202, 565, 3102, 461, 18, 6923, 12, 2827, 461, 1769, 202, 97, 202, 6178, 461, 18, 6923, 2932, 67, 5436, 8863, 202, 5549, 202, 6178, 461, 18, 6923, 12, 2121, 1769, 202, 6178, 461, 18, 6923, 2932, 67, 84, 856, 67, 5436, 8863, 202, 3406, 384, 273, 1487, 18, 2640, 3406, 5621, 202, 13198, 3597, 273, 384, 18, 8837, 1138, 2932, 4025, 4306, 1125, 22076, 397, 3102, 461, 18, 10492, 1435, 397, 2491, 2225, 1769, 202, 474, 612, 273, 300, 21, 31, 202, 430, 261, 5453, 18, 4285, 10756, 288, 202, 565, 612, 273, 3597, 18, 588, 1702, 12, 21, 1769, 202, 97, 202, 334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 336, 4600, 734, 12, 1952, 1487, 16, 9506, 282, 514, 1014, 16, 9506, 282, 514, 7578, 13, 202, 15069, 6483, 565, 288, 202, 780, 1892, 3102, 461, 273, 394, 6674, 5621, 202, 20308, 18613, 2154, 202, 474, 2078, 1782, 273, 1014, 18, 2469, 1435, 397, 7578, 18, 2469, 5621, 202, 430, 261, 4963, 1782, 405, 10659, 597, 1014, 18, 2469, 1435, 405, 5958, 13, 288, 202, 565, 3102, 461, 18, 6923, 12, 2121, 18, 28023, 12, 20, 16, 5958, 10019, 202, 97, 469, 288, 202, 565, 3102, 461, 18, 6923, 12, 2121, 1769, 202, 97, 202, 6178, 461, 18, 6923, 2668, 4623, 1769, 202, 430, 261, 4963, 1782, 405, 10659, 597, 7578, 18, 2469, 1435, 405, 2 ]