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
public boolean setExecutable(boolean executable, boolean ownerOnly) { chmod("x", executable, ownerOnly); return SUCCESS; }
public boolean setExecutable(boolean executable, boolean ownerOnly) { chmod("x", executable, ownerOnly); return SUCCESS; }
public boolean setExecutable(boolean executable, boolean ownerOnly) { chmod("x", executable, ownerOnly); return SUCCESS; }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/e10b40e8014547113799b2653164e8c990d41209/MustangFile.java/buggy/src/contrib/streaming/src/java/org/apache/hadoop/streaming/MustangFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 444, 17709, 12, 6494, 9070, 16, 1250, 3410, 3386, 13, 377, 288, 1377, 13413, 2932, 92, 3113, 9070, 16, 3410, 3386, 1769, 1377, 327, 16561, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 444, 17709, 12, 6494, 9070, 16, 1250, 3410, 3386, 13, 377, 288, 1377, 13413, 2932, 92, 3113, 9070, 16, 3410, 3386, 1769, 1377, 327, 16561, 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 ]
JPanel panel = new JPanel(new BorderLayout()); panel.add(textScrollPane, BorderLayout.CENTER); panel.add(box, BorderLayout.SOUTH);
public JComponent createInputPanel() { textPane = new TextPane(); textPane.setPreferredSize(new Dimension(200, 0)); textPane.setBackground(Color.white); textPane.setBorder(null); textPane.setFont(new Font(EditorPreferences.getEditorFont(), Font.PLAIN, EditorPreferences.getEditorFontSize())); textPane.setText(""); textPane.setEditable(false); TextUtils.createTabs(textPane); JScrollPane textScrollPane = new JScrollPane(textPane); textScrollPane.setWheelScrollingEnabled(true); JButton tokenButton = new JButton(IconManager.shared().getIconTokens()); tokenButton.setToolTipText("Show/hide tokens boxes"); tokenButton.setFocusable(false); tokenButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { player.inputText.setDrawTokensBox(!player.inputText.isDrawTokensBox()); textPane.repaint(); Statistics.shared().recordEvent(Statistics.EVENT_DEBUGGER_TOGGLE_INPUT_TOKENS); } }); Box box = Box.createHorizontalBox(); box.add(Box.createHorizontalGlue()); box.add(tokenButton); JPanel panel = new JPanel(new BorderLayout()); panel.add(textScrollPane, BorderLayout.CENTER); panel.add(box, BorderLayout.SOUTH); return panel; }
4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/3029d954794e560a3676aa391be237fe6c91f4af/Debugger.java/buggy/src/org/antlr/works/debugger/Debugger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29058, 752, 1210, 5537, 1435, 288, 3639, 977, 8485, 273, 394, 3867, 8485, 5621, 3639, 977, 8485, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 6976, 16, 374, 10019, 3639, 977, 8485, 18, 542, 8199, 12, 2957, 18, 14739, 1769, 3639, 977, 8485, 18, 542, 8107, 12, 2011, 1769, 3639, 977, 8485, 18, 542, 5711, 12, 2704, 10063, 12, 6946, 12377, 18, 588, 6946, 5711, 9334, 10063, 18, 26549, 16, 18451, 12377, 18, 588, 6946, 22688, 1435, 10019, 3639, 977, 8485, 18, 542, 1528, 2932, 8863, 3639, 977, 8485, 18, 542, 15470, 12, 5743, 1769, 3639, 31282, 18, 2640, 17348, 12, 955, 8485, 1769, 3639, 804, 26360, 977, 26360, 273, 394, 804, 26360, 12, 955, 8485, 1769, 3639, 977, 26360, 18, 542, 59, 11648, 1541, 15742, 1526, 12, 3767, 1769, 3639, 28804, 1147, 3616, 273, 394, 28804, 12, 5554, 1318, 18, 11574, 7675, 588, 5554, 5157, 10663, 3639, 1147, 3616, 18, 542, 29250, 1528, 2932, 5706, 19, 11248, 2430, 14356, 8863, 3639, 1147, 3616, 18, 542, 9233, 429, 12, 5743, 1769, 3639, 1147, 3616, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 288, 5411, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 7734, 7291, 18, 2630, 1528, 18, 542, 6493, 5157, 3514, 12, 5, 14872, 18, 2630, 1528, 18, 291, 6493, 5157, 3514, 10663, 7734, 977, 8485, 18, 14462, 1598, 5621, 7734, 22964, 18, 11574, 7675, 3366, 1133, 12, 8569, 18, 10454, 67, 9394, 3101, 67, 4296, 19491, 900, 67, 15934, 67, 8412, 55, 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, 29058, 752, 1210, 5537, 1435, 288, 3639, 977, 8485, 273, 394, 3867, 8485, 5621, 3639, 977, 8485, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 6976, 16, 374, 10019, 3639, 977, 8485, 18, 542, 8199, 12, 2957, 18, 14739, 1769, 3639, 977, 8485, 18, 542, 8107, 12, 2011, 1769, 3639, 977, 8485, 18, 542, 5711, 12, 2704, 10063, 12, 6946, 12377, 18, 588, 6946, 5711, 9334, 10063, 18, 26549, 16, 18451, 12377, 18, 588, 6946, 22688, 1435, 10019, 3639, 977, 8485, 18, 542, 1528, 2932, 8863, 3639, 977, 8485, 18, 542, 15470, 12, 5743, 1769, 3639, 31282, 18, 2640, 17348, 12, 955, 8485, 1769, 3639, 804, 26360, 977, 26360, 273, 394, 804, 26360, 12, 955, 8485, 1769, 2 ]
indexForm = (DynaActionForm) form;
public ActionForward chooseForViewRoom( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HttpSession session = request.getSession(false); DynaActionForm indexForm = (DynaActionForm) form; IUserView userView = (IUserView) session.getAttribute(SessionConstants.U_VIEW); GestorServicos gestor = GestorServicos.manager(); // get selected execution period Object argsReadExecutionPeriods[] = { }; ArrayList executionPeriods = (ArrayList) gestor.executar( userView, "ReadExecutionPeriods", argsReadExecutionPeriods); ComparatorChain chainComparator = new ComparatorChain(); chainComparator.addComparator(new BeanComparator("infoExecutionYear.year")); chainComparator.addComparator(new BeanComparator("semester")); Collections.sort(executionPeriods, chainComparator); Integer index = (Integer) indexForm.get("index"); InfoExecutionPeriod selectedInfoExecutionPeriod = null; if (executionPeriods != null && index != null) { selectedInfoExecutionPeriod = (InfoExecutionPeriod) executionPeriods.get(index.intValue()); request.setAttribute( SessionConstants.EXECUTION_PERIOD, selectedInfoExecutionPeriod); request.setAttribute( SessionConstants.EXECUTION_PERIOD_OID, selectedInfoExecutionPeriod.getIdInternal()); } // set form with selected value if (selectedInfoExecutionPeriod != null) { indexForm = (DynaActionForm) form; indexForm.set( "index", new Integer( executionPeriods.indexOf(selectedInfoExecutionPeriod))); } // create execution periods label/value bean ArrayList executionPeriodsLabelValueList = new ArrayList(); for (int i = 0; i < executionPeriods.size(); i++) { InfoExecutionPeriod infoExecutionPeriod = (InfoExecutionPeriod) executionPeriods.get(i); executionPeriodsLabelValueList.add( new LabelValueBean( infoExecutionPeriod.getName() + " - " + infoExecutionPeriod.getInfoExecutionYear().getYear(), "" + i)); } request.setAttribute( SessionConstants.LABELLIST_EXECUTIONPERIOD, executionPeriodsLabelValueList); // read lessons of (previously selected) room in selected executionPeriod InfoRoom infoRoom = null; Object argsReadRoomByOID[] = new Object[1]; if (request.getParameter(SessionConstants.ROOM_OID) != null) { argsReadRoomByOID[0] = new Integer(request.getParameter(SessionConstants.ROOM_OID)); } else { } try { infoRoom = (InfoRoom) ServiceUtils.executeService( null, "ReadRoomByOID", argsReadRoomByOID); } catch (FenixServiceException e) { throw new FenixActionException(); } request.setAttribute(SessionConstants.ROOM, infoRoom); request.setAttribute(SessionConstants.ROOM_OID, infoRoom.getIdInternal()); Object argsReadLessons[] = { selectedInfoExecutionPeriod, infoRoom }; try { List lessons; lessons = (List) ServiceUtils.executeService( null, "LerAulasDeSalaEmSemestre", argsReadLessons); if (lessons != null) { request.setAttribute(SessionConstants.LESSON_LIST_ATT, lessons); } } catch (FenixServiceException e) { throw new FenixActionException(); } return mapping.findForward("viewRoom"); }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/9cac7225861fcf1e1b88c1374eca8e4997ff2fc0/ExecutionPeriodDA.java/clean/src/ServidorApresentacao/Action/sop/ExecutionPeriodDA.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4382, 8514, 9876, 1290, 1767, 13646, 12, 202, 202, 1803, 3233, 2874, 16, 202, 202, 1803, 1204, 646, 16, 202, 202, 2940, 18572, 590, 16, 202, 202, 2940, 29910, 766, 13, 202, 202, 15069, 1185, 288, 202, 202, 2940, 2157, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 202, 202, 10419, 69, 1803, 1204, 770, 1204, 273, 261, 10419, 69, 1803, 1204, 13, 646, 31, 202, 202, 45, 1299, 1767, 729, 1767, 273, 261, 45, 1299, 1767, 13, 1339, 18, 588, 1499, 12, 2157, 2918, 18, 57, 67, 12145, 1769, 202, 202, 43, 395, 280, 827, 90, 335, 538, 314, 395, 280, 273, 611, 395, 280, 827, 90, 335, 538, 18, 4181, 5621, 202, 202, 759, 336, 3170, 4588, 3879, 202, 202, 921, 833, 1994, 3210, 30807, 8526, 273, 288, 202, 202, 20451, 202, 202, 19558, 4588, 30807, 273, 1082, 202, 12, 19558, 13, 314, 395, 280, 18, 4177, 322, 297, 12, 9506, 202, 1355, 1767, 16, 9506, 202, 6, 1994, 3210, 30807, 3113, 9506, 202, 1968, 1994, 3210, 30807, 1769, 202, 202, 5559, 3893, 2687, 5559, 273, 394, 13359, 3893, 5621, 202, 202, 5639, 5559, 18, 1289, 5559, 12, 2704, 7704, 5559, 2932, 1376, 3210, 5593, 18, 6874, 7923, 1769, 202, 202, 5639, 5559, 18, 1289, 5559, 12, 2704, 7704, 5559, 2932, 12000, 7654, 7923, 1769, 202, 202, 15150, 18, 3804, 12, 16414, 30807, 16, 2687, 5559, 1769, 202, 202, 4522, 770, 273, 261, 4522, 13, 770, 1204, 18, 588, 2932, 1615, 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, 9876, 1290, 1767, 13646, 12, 202, 202, 1803, 3233, 2874, 16, 202, 202, 1803, 1204, 646, 16, 202, 202, 2940, 18572, 590, 16, 202, 202, 2940, 29910, 766, 13, 202, 202, 15069, 1185, 288, 202, 202, 2940, 2157, 1339, 273, 590, 18, 588, 2157, 12, 5743, 1769, 202, 202, 10419, 69, 1803, 1204, 770, 1204, 273, 261, 10419, 69, 1803, 1204, 13, 646, 31, 202, 202, 45, 1299, 1767, 729, 1767, 273, 261, 45, 1299, 1767, 13, 1339, 18, 588, 1499, 12, 2157, 2918, 18, 57, 67, 12145, 1769, 202, 202, 43, 395, 280, 827, 90, 335, 538, 314, 395, 280, 273, 611, 395, 280, 827, 90, 335, 538, 18, 4181, 5621, 202, 202, 2 ]
if (!cfg.manuallyImplement(sym.getName()) && !isUnimplemented) { CMethodBindingEmitter cEmitter = makeCEmitter(specialBinding, overloaded, (binding != specialBinding), cfg.implPackageName(), cfg.implClassName(), cWriter()); allEmitters.add(cEmitter);
if (!cfg.manuallyImplement(sym.getName()) && !isUnimplemented) { if (binding.needsBody()) { PrintWriter output = cfg.allStatic() ? javaWriter() : javaImplWriter(); JavaMethodBindingEmitter wrappedEntryPoint = new JavaMethodBindingEmitter(specialBinding, output, cfg.runtimeExceptionType(), true); wrappedEntryPoint.addModifier(JavaMethodBindingEmitter.PRIVATE); wrappedEntryPoint.addModifier(JavaMethodBindingEmitter.STATIC); wrappedEntryPoint.addModifier(JavaMethodBindingEmitter.NATIVE); allEmitters.add(wrappedEntryPoint);
protected Iterator generateMethodBindingEmitters(FunctionSymbol sym) throws Exception { ArrayList/*<FunctionEmitter>*/ allEmitters = new ArrayList(1); try { // Get Java binding for the function MethodBinding mb = bindFunction(sym, null, null); // Expand all void* arguments List bindings = expandMethodBinding(mb); boolean overloaded = (bindings.size() > 1); if (overloaded) { // resize ahead of time for speed allEmitters.ensureCapacity(bindings.size()); } // List of the indices of the arguments in this function that should be // expanded to the same type when binding functions with multiple void* // arguments List mirrorIdxs = cfg.mirroredArgs(sym.getName()); for (Iterator iter = bindings.iterator(); iter.hasNext(); ) { MethodBinding binding = (MethodBinding) iter.next(); // Honor the MirrorExpandedBindingArgs directive in .cfg files if (mirrorIdxs != null) { assert(mirrorIdxs.size() >= 2); // sanity check. boolean typesMatch = true; int argIndex = ((Integer)mirrorIdxs.get(0)).intValue(); JavaType leftArgType = binding.getJavaArgumentType(argIndex); for (int i = 1; i < mirrorIdxs.size(); ++i) { argIndex = ((Integer)mirrorIdxs.get(i)).intValue(); JavaType rightArgType = binding.getJavaArgumentType(argIndex); if (!(leftArgType.equals(rightArgType))) { typesMatch = false; break; } leftArgType = rightArgType; } // Don't emit the binding if the specified args aren't the same type if (!typesMatch) { continue; } // skip this binding } // Try to create an NIOBuffer variant for this expanded binding. If // it's the same as the original binding, then we'll be able to emit // the binding like any normal binding because no special binding // generation (wrapper methods, etc) will be necessary. MethodBinding specialBinding = binding.createNIOBufferVariant(); if (cfg.allStatic() && binding.hasContainingType()) { // This should not currently happen since structs are emitted using a different mechanism throw new IllegalArgumentException("Cannot create binding in AllStatic mode because method has containing type: \"" + binding + "\""); } boolean isUnimplemented = cfg.isUnimplemented(binding.getName()); if (cfg.emitImpl()) { // Generate the emitter for the method which may do conversion // from type wrappers to NIO Buffers or which may call the // underlying function directly JavaMethodBindingImplEmitter entryPoint = new JavaMethodBindingImplEmitter(binding, (cfg.allStatic() ? javaWriter() : javaImplWriter()), cfg.runtimeExceptionType(), isUnimplemented); entryPoint.addModifier(JavaMethodBindingEmitter.PUBLIC); if (cfg.allStatic()) { entryPoint.addModifier(JavaMethodBindingEmitter.STATIC); } if (!isUnimplemented && !binding.needsBody()) { entryPoint.addModifier(JavaMethodBindingEmitter.NATIVE); } entryPoint.setReturnedArrayLengthExpression(cfg.returnedArrayLength(binding.getName())); allEmitters.add(entryPoint); } if (cfg.emitInterface()) { // Generate an emitter that will emit just the interface to the function JavaMethodBindingEmitter entryPointInterface = new JavaMethodBindingEmitter(binding, javaWriter(), cfg.runtimeExceptionType()); entryPointInterface.addModifier(JavaMethodBindingEmitter.PUBLIC); entryPointInterface.setReturnedArrayLengthExpression(cfg.returnedArrayLength(binding.getName())); allEmitters.add(entryPointInterface); } if (cfg.emitImpl() && binding.needsBody() && !isUnimplemented) { // Generate the method which calls the underlying function // after unboxing has occurred PrintWriter output = cfg.allStatic() ? javaWriter() : javaImplWriter(); JavaMethodBindingEmitter wrappedEntryPoint = new JavaMethodBindingEmitter(specialBinding, output, cfg.runtimeExceptionType(), true); wrappedEntryPoint.addModifier(JavaMethodBindingEmitter.PRIVATE); wrappedEntryPoint.addModifier(JavaMethodBindingEmitter.STATIC); // Doesn't really matter wrappedEntryPoint.addModifier(JavaMethodBindingEmitter.NATIVE); allEmitters.add(wrappedEntryPoint); } // If the user has stated that the function will be // manually implemented, then don't auto-generate a function body. if (cfg.emitImpl()) { if (!cfg.manuallyImplement(sym.getName()) && !isUnimplemented) { CMethodBindingEmitter cEmitter = makeCEmitter(specialBinding, overloaded, (binding != specialBinding), cfg.implPackageName(), cfg.implClassName(), cWriter()); allEmitters.add(cEmitter); } } } // end iteration over expanded bindings } catch (Exception e) { throw new RuntimeException( "Error while generating bindings for \"" + sym + "\"", e); } return allEmitters.iterator(); }
46813 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46813/661fec76c5ccd030016d66675024ec604752ccda/JavaEmitter.java/buggy/src/net/java/games/gluegen/JavaEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 4498, 2103, 1305, 5250, 17982, 5432, 12, 2083, 5335, 5382, 13, 1216, 1185, 288, 565, 2407, 20308, 32, 2083, 13476, 34, 5549, 777, 17982, 5432, 273, 394, 2407, 12, 21, 1769, 565, 775, 288, 1377, 368, 968, 5110, 5085, 364, 326, 445, 1377, 2985, 5250, 4903, 273, 1993, 2083, 12, 8117, 16, 446, 16, 446, 1769, 5411, 368, 16429, 777, 918, 14, 1775, 1377, 987, 7394, 273, 4542, 1305, 5250, 12, 1627, 1769, 1377, 1250, 1879, 4230, 273, 261, 15863, 18, 1467, 1435, 405, 404, 1769, 1377, 309, 261, 1643, 4230, 13, 288, 3639, 368, 7041, 17510, 434, 813, 364, 8632, 3639, 777, 17982, 5432, 18, 15735, 7437, 12, 15863, 18, 1467, 10663, 1377, 289, 5411, 368, 987, 434, 326, 4295, 434, 326, 1775, 316, 333, 445, 716, 1410, 506, 1377, 368, 8406, 358, 326, 1967, 618, 1347, 5085, 4186, 598, 3229, 918, 14, 1377, 368, 1775, 1377, 987, 15593, 4223, 87, 273, 2776, 18, 81, 481, 23226, 2615, 12, 8117, 18, 17994, 10663, 5411, 364, 261, 3198, 1400, 273, 7394, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 3639, 2985, 5250, 5085, 273, 261, 1305, 5250, 13, 1400, 18, 4285, 5621, 7734, 368, 670, 265, 280, 326, 490, 8299, 17957, 5250, 2615, 8655, 316, 263, 7066, 1390, 3639, 309, 261, 27197, 4223, 87, 480, 446, 13, 288, 1850, 1815, 12, 27197, 4223, 87, 18, 1467, 1435, 1545, 576, 1769, 368, 16267, 866, 18, 1850, 1250, 1953, 2060, 273, 638, 31, 1850, 509, 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, 4498, 2103, 1305, 5250, 17982, 5432, 12, 2083, 5335, 5382, 13, 1216, 1185, 288, 565, 2407, 20308, 32, 2083, 13476, 34, 5549, 777, 17982, 5432, 273, 394, 2407, 12, 21, 1769, 565, 775, 288, 1377, 368, 968, 5110, 5085, 364, 326, 445, 1377, 2985, 5250, 4903, 273, 1993, 2083, 12, 8117, 16, 446, 16, 446, 1769, 5411, 368, 16429, 777, 918, 14, 1775, 1377, 987, 7394, 273, 4542, 1305, 5250, 12, 1627, 1769, 1377, 1250, 1879, 4230, 273, 261, 15863, 18, 1467, 1435, 405, 404, 1769, 1377, 309, 261, 1643, 4230, 13, 288, 3639, 368, 7041, 17510, 434, 813, 364, 8632, 3639, 777, 17982, 5432, 18, 15735, 7437, 12, 15863, 18, 1467, 10663, 1377, 289, 5411, 368, 2 ]
private final static void declareImages( ) { // common icons declareImage( ISharedImages.IMG_OBJS_ERROR_TSK, ICONS_PATH + PROGRESS_PATH + "error_tsk.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_OBJ_FOLDER, ICONS_PATH + OBJ16_PATH + "fldr_obj.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_TOOL_COPY, ICONS_PATH + ETOOL16_PATH + "copy_edit.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_TOOL_CUT, ICONS_PATH + ETOOL16_PATH + "cut_edit.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_TOOL_UNDO, ICONS_PATH + ETOOL16_PATH + "undo_edit.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_TOOL_REDO, ICONS_PATH + ETOOL16_PATH + "redo_edit.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_TOOL_PASTE, ICONS_PATH + ETOOL16_PATH + "paste_edit.gif" ); //$NON-NLS-1$ declareImage( ISharedImages.IMG_TOOL_DELETE, ICONS_PATH + ETOOL16_PATH + "delete_edit.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NEW_REPORT, ICONS_PATH + OBJ16_PATH + "new_report.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_REPORT_FILE, ICONS_PATH + EVIEW16_PATH + "report.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_QUIK_EDIT, ICONS_PATH + EVIEW16_PATH + "quick_edit.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_REPORT_PERSPECTIVE, ICONS_PATH + EVIEW16_PATH + "report_perspective.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_REPORT_PROJECT, ICONS_PATH + OBJ16_PATH + "report_project.gif" ); //$NON-NLS-1$ //element icons declareImage( IReportGraphicConstants.ICON_ELEMENT_CELL, ICONS_PATH + OBJ16_PATH + "cell.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_DATA, ICONS_PATH + OBJ16_PATH + "data.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_DATA_SET, ICONS_PATH + OBJ16_PATH + "data_set.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_DATA_SOURCE, ICONS_PATH + OBJ16_PATH + "data_source.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_ODA_DATA_SET, ICONS_PATH + OBJ16_PATH + "data_set.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_ODA_DATA_SOURCE, ICONS_PATH + OBJ16_PATH + "data_source.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_SCRIPT_DATA_SET, ICONS_PATH + OBJ16_PATH + "data_set.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_SCRIPT_DATA_SOURCE, ICONS_PATH + OBJ16_PATH + "data_source.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_GRID, ICONS_PATH + PAL_PATH + "grid.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_TEXTDATA, ICONS_PATH + PAL_PATH + "textdata.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_GROUP, ICONS_PATH + OBJ16_PATH + "group.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_IMAGE, ICONS_PATH + PAL_PATH + "image.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_LABEL, ICONS_PATH + PAL_PATH + "label.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_LINE, ICONS_PATH + OBJ16_PATH + "line.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_LIST, ICONS_PATH + PAL_PATH + "list.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_LIST_GROUP, ICONS_PATH + OBJ16_PATH + "list_group.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMNET_MASTERPAGE, ICONS_PATH + OBJ16_PATH + "master_page.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMNET_GRAPHICMASTERPAGE, ICONS_PATH + EVIEW16_PATH + "master_page.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_PARAMETER, ICONS_PATH + OBJ16_PATH + "parameter.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_PARAMETER_GROUP, ICONS_PATH + OBJ16_PATH + "parameter_group.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_CASCADING_PARAMETER_GROUP, ICONS_PATH + OBJ16_PATH + "parameter_group.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_ROW, ICONS_PATH + OBJ16_PATH + "row.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_SCALAR_PARAMETER, ICONS_PATH + OBJ16_PATH + "parameter.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMNET_SIMPLE_MASTERPAGE, ICONS_PATH + EVIEW16_PATH + "master_page.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_STYLE, ICONS_PATH + OBJ16_PATH + "style.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_TABLE, ICONS_PATH + PAL_PATH + "table.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_TABLE_GROUP, ICONS_PATH + OBJ16_PATH + "table_group.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_TEXT, ICONS_PATH + PAL_PATH + "text.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_LIBRARY, ICONS_PATH + OBJ16_PATH + "library.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_LIBRARY_REFERENCED, ICONS_PATH + OBJ16_PATH + "library_referenced.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ELEMENT_THEME, ICONS_PATH + OBJ16_PATH + "theme.gif" ); //$NON-NLS-1$ //outline icons declareImage( IReportGraphicConstants.ICON_NODE_BODY, ICONS_PATH + OBJ16_PATH + "body_icon.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_MASTERPAGES, ICONS_PATH + OBJ16_PATH + "master_pages.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_STYLES, ICONS_PATH + OBJ16_PATH + "styles.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_HEADER, ICONS_PATH + OBJ16_PATH + "header.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_DETAILS, ICONS_PATH + OBJ16_PATH + "details.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_FOOTER, ICONS_PATH + OBJ16_PATH + "footer.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_GROUPS, ICONS_PATH + OBJ16_PATH + "group.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_GROUP_HEADER, ICONS_PATH + OBJ16_PATH + "group_header.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_GROUP_FOOTER, ICONS_PATH + OBJ16_PATH + "group_footer.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_LIBRARIES, ICONS_PATH + OBJ16_PATH + "library_folder.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_THEMES, ICONS_PATH + OBJ16_PATH + "theme.gif" ); //$NON-NLS-1$ // layout icons declareImage( IReportGraphicConstants.ICON_LAYOUT_NORMAL, ICONS_PATH + EVIEW16_PATH + "normal_page.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_LAYOUT_MASTERPAGE, ICONS_PATH + EVIEW16_PATH + "master_page.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_LAYOUT_RULER, ICONS_PATH + EVIEW16_PATH + "show_rulers.gif" ); //$NON-NLS-1$ // border icons declareImage( IReportGraphicConstants.ICON_BORDER_ALL, ICONS_PATH + OBJ16_PATH + "borders_frame.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_BORDER_BOTTOM, ICONS_PATH + OBJ16_PATH + "border_bottom.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_BORDER_TOP, ICONS_PATH + OBJ16_PATH + "border_top.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_BORDER_LEFT, ICONS_PATH + OBJ16_PATH + "border_left.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_BORDER_RIGHT, ICONS_PATH + OBJ16_PATH + "border_right.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_BORDER_NOBORDER, ICONS_PATH + OBJ16_PATH + "border_none.gif" ); //$NON-NLS-1$ // missing image icons declareImage( IReportGraphicConstants.ICON_MISSING_IMG, ICONS_PATH + PROGRESS_PATH + "missing_image.gif" ); //$NON-NLS-1$ // data explore icons declareImage( IReportGraphicConstants.ICON_DATA_EXPLORER_VIEW, ICONS_PATH + EVIEW16_PATH + "data_explorer_view.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_DATA_SETS, ICONS_PATH + OBJ16_PATH + "data_set_folder.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_DATA_SOURCES, ICONS_PATH + OBJ16_PATH + "data_source_folder.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_NODE_PARAMETERS, ICONS_PATH + OBJ16_PATH + "parameter_folder.gif" ); //$NON-NLS-1$ //********************************************************** //expression icons declareImage( IReportGraphicConstants.ICON_EXPRESSION_DATA_TABLE, ICONS_PATH + OBJ16_PATH + "data_table.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_DATA_COLUMN, ICONS_PATH + OBJ16_PATH + "data_column.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_OPERATOR, ICONS_PATH + OBJ16_PATH + "operator.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_GLOBAL, ICONS_PATH + OBJ16_PATH + "global.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_METHOD, ICONS_PATH + OBJ16_PATH + "method.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_STATIC_METHOD, ICONS_PATH + OBJ16_PATH + "static_method.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_MEMBER, ICONS_PATH + OBJ16_PATH + "property.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_STATIC_MEMBER, ICONS_PATH + OBJ16_PATH + "static_property.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_EXPRESSION_BUILDER, ICONS_PATH + OBJ16_PATH + "expression.gif" ); //$NON-NLS-1$ //data wizards declareImage( IReportGraphicConstants.ICON_WIZARD_DATASOURCE, ICONS_PATH + WIZBAN_PATH + "datasource_wizard.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_WIZARD_DATASET, ICONS_PATH + WIZBAN_PATH + "dataset_wizard.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_WIZARDPAGE_DATASETSELECTION, ICONS_PATH + WIZBAN_PATH + "dataset_wizard_table.gif" ); //$NON-NLS-1$ /////////////////////attribute image declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_FONT_WIDTH, ICONS_PATH + OBJ16_PATH + "bold.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_FONT_WIDTH + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "bold_disabled.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_FONT_STYLE, ICONS_PATH + OBJ16_PATH + "italic.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_FONT_STYLE + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "italic_disabled.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_UNDERLINE, ICONS_PATH + OBJ16_PATH + "underline.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_UNDERLINE + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "underline_disabled.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_LINE_THROUGH, ICONS_PATH + OBJ16_PATH + "lineSthrough.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_LINE_THROUGH + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "lineSthrough_disabled.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BORDER_NONE, ICONS_PATH + OBJ16_PATH + "border_none.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BORDER_FRAME, ICONS_PATH + OBJ16_PATH + "border_frame.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BORDER_LEFT, ICONS_PATH + OBJ16_PATH + "border_left.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BORDER_RIGHT, ICONS_PATH + OBJ16_PATH + "border_right.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BORDER_TOP, ICONS_PATH + OBJ16_PATH + "border_top.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BORDER_BOTTOM, ICONS_PATH + OBJ16_PATH + "border_bottom.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_CENTER, ICONS_PATH + OBJ16_PATH + "center_align.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_CENTER + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "center_align_disabled.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_JUSTIFY, ICONS_PATH + OBJ16_PATH + "justified_align.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_JUSTIFY + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "justified_align_disabled.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_LEFT, ICONS_PATH + OBJ16_PATH + "left_align.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_LEFT + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "left_align_disabled.gif" );//$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_RIGHT, ICONS_PATH + OBJ16_PATH + "right_align.gif" );//$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TEXT_ALIGN_RIGHT + IReportGraphicConstants.DIS, ICONS_PATH + DOBJ16_PATH + "right_align_disabled.gif" );//$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_TOP_MARGIN, ICONS_PATH + MISC_PATH + "top_margin.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_BOTTOM_MARGIN, ICONS_PATH + MISC_PATH + "bottom_margin.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_LEFT_MARGIN, ICONS_PATH + MISC_PATH + "left_margin.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_ATTRIBUTE_RIGHT_MARGIN, ICONS_PATH + MISC_PATH + "right_margin.gif" ); //$NON-NLS-1$ //********************************************************** //Preview icons declareImage( IReportGraphicConstants.ICON_PREVIEW_PARAMETERS, ICONS_PATH + PROGRESS_PATH + "params_ecl_show.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_PREVIEW_PARAMETERS_HIDE, ICONS_PATH + PROGRESS_PATH + "params_ecl_hide.gif" ); //$NON-NLS-1$ declareImage( IReportGraphicConstants.ICON_PREVIEW_REFRESH, ICONS_PATH + ETOOL16_PATH + "refresh.gif" ); //$NON-NLS-1$ //Auto Text Icon declareImage( IReportGraphicConstants.ICON_AUTOTEXT, ICONS_PATH + OBJ16_PATH + "autotext.gif" ); //$NON-NLS-1$ //Parameter dialog icon declareImage( IReportGraphicConstants.ICON_DEFAULT, ICONS_PATH + OBJ16_PATH + "default.gif" ); //$NON-NLS-1$ //Data editor dialog icons declareImage(IReportGraphicConstants.ICON_DATAEDIT_DLG_TITLE_BANNER, ICONS_PATH + OBJ16_PATH + "prop_dialog_title.gif" ); //$NON-NLS-1$ //Open file icon declareImage( IReportGraphicConstants.ICON_OPEN_FILE, ICONS_PATH + ETOOL16_PATH + "open_file.gif" ); //$NON-NLS-1$ declareImage("TableRowSelector", ICONS_PATH + OBJ16_PATH + "tablerowselector.gif" ); //$NON-NLS-1$ //$NON-NLS-2$ }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/60b230da700eb9288c79f8829a45e89ad331053f/ReportPlatformUIImages.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/ReportPlatformUIImages.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 760, 918, 14196, 8946, 12, 262, 202, 95, 202, 202, 759, 2975, 17455, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 5704, 6479, 67, 3589, 67, 8047, 47, 16, 467, 2248, 55, 67, 4211, 9506, 202, 15, 4629, 19126, 67, 4211, 397, 315, 1636, 67, 3428, 79, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 24547, 67, 17357, 16, 467, 2248, 55, 67, 4211, 397, 9730, 46, 2313, 67, 4211, 397, 315, 74, 14796, 67, 2603, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 24875, 16, 467, 2248, 55, 67, 4211, 397, 512, 26263, 2313, 67, 4211, 397, 315, 3530, 67, 4619, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 39, 1693, 16, 467, 2248, 55, 67, 4211, 397, 512, 26263, 2313, 67, 4211, 397, 315, 5150, 67, 4619, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 26263, 67, 2124, 3191, 16, 467, 2248, 55, 67, 4211, 397, 512, 26263, 2313, 67, 4211, 397, 315, 31226, 67, 4619, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 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, 760, 918, 14196, 8946, 12, 262, 202, 95, 202, 202, 759, 2975, 17455, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 5704, 6479, 67, 3589, 67, 8047, 47, 16, 467, 2248, 55, 67, 4211, 9506, 202, 15, 4629, 19126, 67, 4211, 397, 315, 1636, 67, 3428, 79, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 3445, 43, 67, 24547, 67, 17357, 16, 467, 2248, 55, 67, 4211, 397, 9730, 46, 2313, 67, 4211, 397, 315, 74, 14796, 67, 2603, 18, 13905, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 29554, 2040, 12, 467, 7887, 8946, 18, 2 ]
Report rpt = new Report(); runTestFromString15(TEST1, new FooRule(), rpt); assertEquals(0, rpt.size()); runTestFromString15(TEST2, new FooRule(), rpt); assertEquals(0, rpt.size()); }
Report rpt = new Report(); runTestFromString(TEST1, new FooRule(), rpt, SourceType.JAVA_15); assertEquals(0, rpt.size()); runTestFromString(TEST2, new FooRule(), rpt, SourceType.JAVA_15); assertEquals(0, rpt.size()); }
public void testClassLevelSuppression() throws Throwable { Report rpt = new Report(); runTestFromString15(TEST1, new FooRule(), rpt); assertEquals(0, rpt.size()); runTestFromString15(TEST2, new FooRule(), rpt); assertEquals(0, rpt.size()); }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/SuppressWarningsTest.java/buggy/pmd/regress/test/net/sourceforge/pmd/SuppressWarningsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 797, 2355, 3088, 1337, 1435, 1216, 4206, 288, 3639, 8706, 31656, 273, 394, 8706, 5621, 3639, 1086, 4709, 9193, 3600, 12, 16961, 21, 16, 394, 23077, 2175, 9334, 31656, 1769, 3639, 1815, 8867, 12, 20, 16, 31656, 18, 1467, 10663, 3639, 1086, 4709, 9193, 3600, 12, 16961, 22, 16, 394, 23077, 2175, 9334, 31656, 1769, 3639, 1815, 8867, 12, 20, 16, 31656, 18, 1467, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 797, 2355, 3088, 1337, 1435, 1216, 4206, 288, 3639, 8706, 31656, 273, 394, 8706, 5621, 3639, 1086, 4709, 9193, 3600, 12, 16961, 21, 16, 394, 23077, 2175, 9334, 31656, 1769, 3639, 1815, 8867, 12, 20, 16, 31656, 18, 1467, 10663, 3639, 1086, 4709, 9193, 3600, 12, 16961, 22, 16, 394, 23077, 2175, 9334, 31656, 1769, 3639, 1815, 8867, 12, 20, 16, 31656, 18, 1467, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
readGradeForm(data, state);
readGradeForm(data, state, "read");
private boolean alertGlobalNavigation(SessionState state, RunData data) { String mode = (String) state.getAttribute(STATE_MODE); ParameterParser params = data.getParameters(); if (mode.equals(MODE_STUDENT_VIEW_SUBMISSION) || mode.equals(MODE_STUDENT_PREVIEW_SUBMISSION) || mode.equals(MODE_STUDENT_VIEW_GRADE) || mode.equals(MODE_INSTRUCTOR_NEW_EDIT_ASSIGNMENT) || mode.equals(MODE_INSTRUCTOR_DELETE_ASSIGNMENT) || mode.equals(MODE_INSTRUCTOR_GRADE_SUBMISSION) || mode.equals(MODE_INSTRUCTOR_PREVIEW_GRADE_SUBMISSION) || mode.equals(MODE_INSTRUCTOR_PREVIEW_ASSIGNMENT) || mode.equals(MODE_INSTRUCTOR_VIEW_ASSIGNMENT)) { if (state.getAttribute(ALERT_GLOBAL_NAVIGATION) == null) { addAlert(state, rb.getString("alert.globalNavi")); state.setAttribute(ALERT_GLOBAL_NAVIGATION, Boolean.TRUE); if (mode.equals(MODE_STUDENT_VIEW_SUBMISSION)) { // retrieve the submission text (as formatted text) boolean checkForFormattingErrors = true; // the student is submitting something - so check for errors String text = processFormattedTextFromBrowser(state, params.getCleanString(VIEW_SUBMISSION_TEXT), checkForFormattingErrors); state.setAttribute(VIEW_SUBMISSION_TEXT, text); if (params.getString(VIEW_SUBMISSION_HONOR_PLEDGE_YES) != null) { state.setAttribute(VIEW_SUBMISSION_HONOR_PLEDGE_YES, "true"); } state.setAttribute(FilePickerHelper.FILE_PICKER_TITLE_TEXT, rb.getString("gen.addatt")); // TODO: file picker to save in dropbox? -ggolden // User[] users = { UserDirectoryService.getCurrentUser() }; // state.setAttribute(ResourcesAction.STATE_SAVE_ATTACHMENT_IN_DROPBOX, users); } else if (mode.equals(MODE_INSTRUCTOR_NEW_EDIT_ASSIGNMENT)) { setNewAssignmentParameters(data, false); } else if (mode.equals(MODE_INSTRUCTOR_GRADE_SUBMISSION)) { readGradeForm(data, state); } return true; } } return false; } // alertGlobalNavigation
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/0a36dcd0c42d95c18f892c93e60958aca0a14764/AssignmentAction.java/buggy/assignment/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6881, 5160, 14301, 12, 2157, 1119, 919, 16, 1939, 751, 501, 13, 202, 95, 202, 202, 780, 1965, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 7998, 67, 7038, 1769, 202, 202, 1662, 2678, 859, 273, 501, 18, 588, 2402, 5621, 202, 202, 430, 261, 3188, 18, 14963, 12, 7038, 67, 882, 12587, 2222, 67, 12145, 67, 8362, 15566, 13, 747, 1965, 18, 14963, 12, 7038, 67, 882, 12587, 2222, 67, 3670, 12145, 67, 8362, 15566, 13, 9506, 202, 20081, 1965, 18, 14963, 12, 7038, 67, 882, 12587, 2222, 67, 12145, 67, 24554, 1639, 13, 747, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 12917, 67, 10776, 67, 23289, 3212, 13, 9506, 202, 20081, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 6460, 67, 23289, 3212, 13, 747, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 24554, 1639, 67, 8362, 15566, 13, 9506, 202, 20081, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 3670, 12145, 67, 24554, 1639, 67, 8362, 15566, 13, 747, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 3670, 12145, 67, 23289, 3212, 13, 9506, 202, 20081, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 12145, 67, 23289, 3212, 3719, 202, 202, 95, 1082, 202, 430, 261, 2019, 18, 588, 1499, 12, 1013, 11539, 67, 20402, 67, 50, 5856, 3047, 2689, 13, 422, 446, 13, 1082, 202, 95, 9506, 202, 1289, 13298, 12, 2019, 16, 7138, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 6881, 5160, 14301, 12, 2157, 1119, 919, 16, 1939, 751, 501, 13, 202, 95, 202, 202, 780, 1965, 273, 261, 780, 13, 919, 18, 588, 1499, 12, 7998, 67, 7038, 1769, 202, 202, 1662, 2678, 859, 273, 501, 18, 588, 2402, 5621, 202, 202, 430, 261, 3188, 18, 14963, 12, 7038, 67, 882, 12587, 2222, 67, 12145, 67, 8362, 15566, 13, 747, 1965, 18, 14963, 12, 7038, 67, 882, 12587, 2222, 67, 3670, 12145, 67, 8362, 15566, 13, 9506, 202, 20081, 1965, 18, 14963, 12, 7038, 67, 882, 12587, 2222, 67, 12145, 67, 24554, 1639, 13, 747, 1965, 18, 14963, 12, 7038, 67, 706, 13915, 916, 67, 12917, 67, 10776, 67, 23289, 3212, 13, 9506, 2 ]
if(isJdk14() || JAVADOC_ANNOTATION_TYPE.equals(m_target)) { AnnotationConfiguration.getInstance().getAnnotationFinder().addSourceDirs(m_sourceDirs); }
AnnotationConfiguration.getInstance().getAnnotationFinder().initialize();
public void run() { // lazy scan sourcedirs if needed if(isJdk14() || JAVADOC_ANNOTATION_TYPE.equals(m_target)) { AnnotationConfiguration.getInstance().getAnnotationFinder().addSourceDirs(m_sourceDirs); } List<ISuite> suiteRunners = null; // // Slave mode // if (m_clientPort != 0) { waitForSuites(); } // // Regular mode // else if (m_hostFile == null) { suiteRunners = runSuitesLocally(); for (IReporter reporter : m_reporters) { reporter.generateReport(m_suites, suiteRunners, m_outputDir); } } // // Master mode // else { suiteRunners = runSuitesRemotely(); for (IReporter reporter : m_reporters) { reporter.generateReport(m_suites, suiteRunners, m_outputDir); } } // HINT: check if anything was run int runMethodsCount = 0; if(null != suiteRunners) { for(ISuite suite: suiteRunners) { runMethodsCount += suite.getInvokedMethods().size(); } } if(runMethodsCount == 0) { setStatus(HAS_NO_TEST); if (TestRunner.getVerbose() > 1) { System.err.println("[TestNG] No tests found. Nothing was run"); } } }
47060 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47060/b75a6679665013f047f910c141d44ac8212eb311/TestNG.java/clean/src/main/org/testng/TestNG.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 288, 565, 368, 7962, 4135, 1084, 8291, 309, 3577, 565, 309, 12, 291, 46, 2883, 3461, 1435, 747, 804, 5856, 1880, 10809, 67, 24922, 67, 2399, 18, 14963, 12, 81, 67, 3299, 3719, 288, 1377, 6090, 1750, 18, 588, 1442, 7675, 588, 3257, 8441, 7675, 1289, 1830, 9872, 12, 81, 67, 3168, 9872, 1769, 565, 289, 3639, 987, 32, 5127, 9519, 34, 11371, 1997, 9646, 273, 446, 31, 3639, 368, 565, 368, 9708, 836, 1965, 565, 368, 565, 309, 261, 81, 67, 2625, 2617, 480, 374, 13, 288, 1377, 10712, 22024, 5621, 565, 289, 3639, 368, 565, 368, 24544, 1965, 565, 368, 565, 469, 309, 261, 81, 67, 2564, 812, 422, 446, 13, 288, 1377, 11371, 1997, 9646, 273, 1086, 22024, 1333, 1230, 5621, 1377, 364, 261, 45, 13289, 11528, 294, 312, 67, 266, 3831, 5432, 13, 288, 3639, 11528, 18, 7163, 4820, 12, 81, 67, 26560, 2997, 16, 11371, 1997, 9646, 16, 312, 67, 2844, 1621, 1769, 1377, 289, 565, 289, 3639, 368, 565, 368, 13453, 1965, 565, 368, 565, 469, 288, 1377, 11371, 1997, 9646, 273, 1086, 22024, 1933, 352, 2357, 5621, 1377, 364, 261, 45, 13289, 11528, 294, 312, 67, 266, 3831, 5432, 13, 288, 3639, 11528, 18, 7163, 4820, 12, 81, 67, 26560, 2997, 16, 11371, 1997, 9646, 16, 312, 67, 2844, 1621, 1769, 1377, 289, 565, 289, 3639, 368, 28110, 30, 866, 309, 6967, 1703, 1086, 565, 509, 1086, 4712, 1380, 273, 374, 31, 565, 309, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 288, 565, 368, 7962, 4135, 1084, 8291, 309, 3577, 565, 309, 12, 291, 46, 2883, 3461, 1435, 747, 804, 5856, 1880, 10809, 67, 24922, 67, 2399, 18, 14963, 12, 81, 67, 3299, 3719, 288, 1377, 6090, 1750, 18, 588, 1442, 7675, 588, 3257, 8441, 7675, 1289, 1830, 9872, 12, 81, 67, 3168, 9872, 1769, 565, 289, 3639, 987, 32, 5127, 9519, 34, 11371, 1997, 9646, 273, 446, 31, 3639, 368, 565, 368, 9708, 836, 1965, 565, 368, 565, 309, 261, 81, 67, 2625, 2617, 480, 374, 13, 288, 1377, 10712, 22024, 5621, 565, 289, 3639, 368, 565, 368, 24544, 1965, 565, 368, 565, 469, 309, 261, 81, 67, 2564, 812, 422, 446, 13, 288, 2 ]
final AnAction action = new GetFromVcsAction(); action.actionPerformed(new AnActionEvent(e, new DataContext() { public Object getData(String dataId) { if (DataConstants.PROJECT.equals(dataId)) { return null; } return button; } }, ActionPlaces.UNKNOWN, new PresentationFactory().getPresentation(action), actionManager, 0));
final GetFromVcsAction action = new GetFromVcsAction(); action.actionPerformed(button, e);
private WelcomeScreen() { // Create Plugins Panel myPluginsPanel = new PluginsPanel(new GridBagLayout()); myPluginsPanel.setBackground(PLUGINS_PANEL_COLOR); JLabel pluginsCaption = new JLabel("Plugins"); pluginsCaption.setFont(CAPTION_FONT); pluginsCaption.setForeground(CAPTION_COLOR); JLabel installedPluginsCaption = new JLabel("Installed Plugins"); installedPluginsCaption.setFont(LINK_FONT); installedPluginsCaption.setForeground(CAPTION_COLOR); JPanel pluginsListPanel = new JPanel(new GridBagLayout()); pluginsListPanel.setBackground(PLUGINS_PANEL_COLOR); JPanel topPluginsPanel = new JPanel(new GridBagLayout()); topPluginsPanel.setBackground(PLUGINS_PANEL_COLOR); //Create the list of installed plugins PluginDescriptor[] myInstalledPlugins = PluginManager.getPlugins(); if (myInstalledPlugins == null || myInstalledPlugins.length == 0) { addListItemToPlugins(pluginsListPanel, "<html><i>No plugins currently installed.</i></html>", null, null, null, null); } else { for (int i = 0; i < myInstalledPlugins.length; i++) { PluginDescriptor plugin = myInstalledPlugins[i]; addListItemToPlugins(pluginsListPanel, plugin.getName(), plugin.getDescription(), plugin.getVendorLogoPath(), plugin.getPluginClassLoader(), plugin.getUrl()); // TODO[pti]: check whether plugin has a welcome-action, and if yes, add it to 'ourPluginsWithActions' ArrayList } } GridBagConstraints gBC = new GridBagConstraints(0, 0, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(17, 25, 0, 0), 0, 0); topPluginsPanel.add(pluginsCaption, gBC); JLabel emptyLabel_1 = new JLabel(); emptyLabel_1.setBackground(PLUGINS_PANEL_COLOR); gBC = new GridBagConstraints(1, 0, 1, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0); topPluginsPanel.add(emptyLabel_1, gBC); gBC = new GridBagConstraints(2, 0, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(13, 0, 0, 10), 0, 0); MyActionButton openPluginManager = new PluginsActionButton(OPEN_PLUGINS_ICON, null) { protected void onPress(InputEvent e) { ShowSettingsUtil.getInstance().editConfigurable(myPluginsPanel, PluginManagerConfigurable.getInstance()); } public Dimension getMaximumSize() { return OPEN_PLUGIN_MANAGER_SIZE; } public Dimension getMinimumSize() { return OPEN_PLUGIN_MANAGER_SIZE; } public Dimension getPreferredSize() { return OPEN_PLUGIN_MANAGER_SIZE; } }; openPluginManager.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); topPluginsPanel.add(openPluginManager, gBC); openPluginManager.setupWithinPanel(myPluginsPanel, PLUGINS_GROUP, myPluginsButtonsCount, 0); myPluginsButtonsCount++; gBC = new GridBagConstraints(0, 1, 1, 1, 0, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(15, 25, 0, 0), 0, 0); topPluginsPanel.add(installedPluginsCaption, gBC); JLabel emptyLabel_2 = new JLabel(); emptyLabel_2.setBackground(PLUGINS_PANEL_COLOR); gBC = new GridBagConstraints(1, 1, 2, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0); topPluginsPanel.add(emptyLabel_2, gBC); gBC = new GridBagConstraints(0, 0, 1, 1, 0.5, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0); myPluginsPanel.add(topPluginsPanel, gBC); gBC = new GridBagConstraints(0, 1, 1, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 5, 0, 0), 0, 0); myPluginsPanel.add(pluginsListPanel, gBC); JPanel emptyPanel_1 = new JPanel(); emptyPanel_1.setBackground(PLUGINS_PANEL_COLOR); gBC = new GridBagConstraints(0, 2, 1, 1, 1, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0); myPluginsPanel.add(emptyPanel_1, gBC); JScrollPane myPluginsScrollPane = ScrollPaneFactory.createScrollPane(myPluginsPanel); myPluginsScrollPane.setBorder(BorderFactory.createLineBorder(GRAY_BORDER_COLOR)); myPluginsScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); myPluginsScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); // Create Main Manel for Quick Start and Documentation myMainPanel = new JPanel(new GridBagLayout()); myMainPanel.setBackground(MAIN_PANEL_COLOR); ActionGroupDescriptor quickStarts = new ActionGroupDescriptor("Quick Start", 0); MyActionButton newProject = new MyActionButton(NEW_PROJECT_ICON, null) { protected void onPress(InputEvent e) { ProjectUtil.createNewProject(null); } }; quickStarts.addButton(newProject, "Create New Project", "Start the \"New Project\" Wizard that will guide you through " + "the steps that are necessary to create a new project."); final ActionManager actionManager = ActionManager.getInstance(); MyActionButton openRecentProject = new ButtonWithExtension(REOPEN_RECENT_ICON, null) { protected void onPress(InputEvent e, final MyActionButton button) { final AnAction action = new RecentProjectsAction(); action.actionPerformed(new AnActionEvent(e, new DataContext() { public Object getData(String dataId) { if (DataConstants.PROJECT.equals(dataId)) { return null; } return button; } }, ActionPlaces.UNKNOWN, new PresentationFactory().getPresentation(action), actionManager, 0)); } }; quickStarts.addButton(openRecentProject, "Reopen Recent Project...", "You can open one of the most recent " + "projects you were working with. Click the icon " + "or link to select a project from the list."); MyActionButton getFromVCS = new ButtonWithExtension(FROM_VCS_ICON, null) { protected void onPress(InputEvent e, final MyActionButton button) { final AnAction action = new GetFromVcsAction(); action.actionPerformed(new AnActionEvent(e, new DataContext() { public Object getData(String dataId) { if (DataConstants.PROJECT.equals(dataId)) { return null; } return button; } }, ActionPlaces.UNKNOWN, new PresentationFactory().getPresentation(action), actionManager, 0)); } }; quickStarts.addButton(getFromVCS, "Get Project From Version Control...", "You can check out an entire project from " + "a Version Control System. Click the icon to " + "select CVS or Subversion."); quickStarts.appendActionsFromGroup((DefaultActionGroup)actionManager.getAction(IdeActions.GROUP_WELCOME_SCREEN_QUICKSTART)); ActionGroupDescriptor docsGroup = new ActionGroupDescriptor("Documentation", 1); MyActionButton readHelp = new MyActionButton(READ_HELP_ICON, null) { protected void onPress(InputEvent e) { HelpManagerImpl.getInstance().invokeHelp(""); } }; docsGroup.addButton(readHelp, "Read Help", "Open IntelliJ IDEA \"Help Topics\" in a new window."); MyActionButton defaultKeymap = new MyActionButton(KEYMAP_ICON, null) { protected void onPress(InputEvent e) { try { BrowserUtil.launchBrowser(KEYMAP_URL); } catch (IllegalThreadStateException ex) { // it's not a problem } } }; docsGroup.addButton(defaultKeymap, "Default Keymap", "Open PDF file with the default keymap reference card."); docsGroup.appendActionsFromGroup((DefaultActionGroup)actionManager.getAction(IdeActions.GROUP_WELCOME_SCREEN_DOC));// TODO[pti]: before adding Quick Start and Documentation panes to the main panel, check for plugins with welcome actions and add them to the appropriate panes JPanel emptyPanel_2 = new JPanel(); emptyPanel_2.setBackground(MAIN_PANEL_COLOR); final JPanel quickStartPanel = quickStarts.getPanel(); quickStartPanel.add(emptyPanel_2, new GridBagConstraints(0, quickStarts.getIdx() + 2, 2, 1, 1, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); JPanel emptyPanel_3 = new JPanel(); emptyPanel_3.setBackground(MAIN_PANEL_COLOR); final JPanel docsPanel = docsGroup.getPanel(); docsPanel.add(emptyPanel_3, new GridBagConstraints(0, docsGroup.getIdx() + 2, 2, 1, 1, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); // Fill Main Panel with Quick Start and Documentation lists gBC = new GridBagConstraints(0, 0, 1, 1, 1, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 30, 0, 0), 0, 0); myMainPanel.add(quickStartPanel, gBC); gBC = new GridBagConstraints(1, 0, 1, 1, 1, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(0, 15, 0, 0), 0, 0); myMainPanel.add(docsPanel, gBC); myMainPanel.setPreferredSize(new Dimension(650, 450)); JScrollPane myMainScrollPane = ScrollPaneFactory.createScrollPane(myMainPanel); myMainScrollPane.setBorder(null); myMainScrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); myMainScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); // Create caption pane JPanel topPanel = new JPanel(new GridBagLayout()) { public void paint(Graphics g) { Icon welcome = CAPTION_IMAGE; welcome.paintIcon(null, g, 0, 0); g.setColor(CAPTION_BACKGROUND); g.fillRect(welcome.getIconWidth(), 0, this.getWidth() - welcome.getIconWidth(), welcome.getIconHeight()); super.paint(g); } }; topPanel.setOpaque(false); JPanel transparentTopPanel = new JPanel(); transparentTopPanel.setOpaque(false); topPanel.add(transparentTopPanel, new GridBagConstraints(0, 0, 1, 1, 1, 0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0)); topPanel.add(new JLabel(DEVELOP_SLOGAN), new GridBagConstraints(1, 0, 1, 1, 0, 0, GridBagConstraints.SOUTHWEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 10), 0, 0)); // Create the base welcome panel myWelcomePanel = new JPanel(new GridBagLayout()); myWelcomePanel.setBackground(MAIN_PANEL_BACKGROUND); gBC = new GridBagConstraints(0, 0, 3, 1, 1, 0, GridBagConstraints.NORTHWEST, GridBagConstraints.HORIZONTAL, new Insets(10, 5, 0, 5), 0, 0); myWelcomePanel.add(topPanel, gBC); gBC = new GridBagConstraints(0, 1, 2, 1, 1.4, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(15, 15, 15, 0), 0, 0); myWelcomePanel.add(myMainScrollPane, gBC); gBC = new GridBagConstraints(2, 1, 1, 1, 0.6, 1, GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH, new Insets(15, 15, 15, 15), 0, 0); myWelcomePanel.add(myPluginsScrollPane, gBC); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/a45ec0e180c32c9f2a96c85c33771141193e3b86/WelcomeScreen.java/clean/source/com/intellij/openapi/wm/impl/welcomeScreen/WelcomeScreen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 678, 16312, 7956, 1435, 288, 565, 368, 1788, 26849, 23641, 565, 3399, 9461, 5537, 273, 394, 26849, 5537, 12, 2704, 7145, 5013, 3744, 10663, 565, 3399, 9461, 5537, 18, 542, 8199, 12, 19415, 55, 67, 30819, 2247, 67, 10989, 1769, 565, 21403, 4799, 21158, 273, 394, 21403, 2932, 9461, 8863, 565, 4799, 21158, 18, 542, 5711, 12, 3587, 3725, 67, 25221, 1769, 565, 4799, 21158, 18, 542, 23206, 12, 3587, 3725, 67, 10989, 1769, 565, 21403, 5876, 9461, 21158, 273, 394, 21403, 2932, 16747, 26849, 8863, 565, 5876, 9461, 21158, 18, 542, 5711, 12, 10554, 67, 25221, 1769, 565, 5876, 9461, 21158, 18, 542, 23206, 12, 3587, 3725, 67, 10989, 1769, 565, 24048, 4799, 682, 5537, 273, 394, 24048, 12, 2704, 7145, 5013, 3744, 10663, 565, 4799, 682, 5537, 18, 542, 8199, 12, 19415, 55, 67, 30819, 2247, 67, 10989, 1769, 565, 24048, 1760, 9461, 5537, 273, 394, 24048, 12, 2704, 7145, 5013, 3744, 10663, 565, 1760, 9461, 5537, 18, 542, 8199, 12, 19415, 55, 67, 30819, 2247, 67, 10989, 1769, 565, 368, 1684, 326, 666, 434, 5876, 4799, 565, 6258, 3187, 8526, 3399, 16747, 9461, 273, 6258, 1318, 18, 588, 9461, 5621, 565, 309, 261, 4811, 16747, 9461, 422, 446, 747, 3399, 16747, 9461, 18, 2469, 422, 374, 13, 288, 1377, 527, 13575, 774, 9461, 12, 8057, 682, 5537, 16, 3532, 2620, 4438, 77, 34, 2279, 4799, 4551, 5876, 17347, 77, 4695, 2620, 2984, 16, 446, 16, 446, 16, 446, 16, 446, 1769, 565, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 678, 16312, 7956, 1435, 288, 565, 368, 1788, 26849, 23641, 565, 3399, 9461, 5537, 273, 394, 26849, 5537, 12, 2704, 7145, 5013, 3744, 10663, 565, 3399, 9461, 5537, 18, 542, 8199, 12, 19415, 55, 67, 30819, 2247, 67, 10989, 1769, 565, 21403, 4799, 21158, 273, 394, 21403, 2932, 9461, 8863, 565, 4799, 21158, 18, 542, 5711, 12, 3587, 3725, 67, 25221, 1769, 565, 4799, 21158, 18, 542, 23206, 12, 3587, 3725, 67, 10989, 1769, 565, 21403, 5876, 9461, 21158, 273, 394, 21403, 2932, 16747, 26849, 8863, 565, 5876, 9461, 21158, 18, 542, 5711, 12, 10554, 67, 25221, 1769, 565, 5876, 9461, 21158, 18, 542, 23206, 12, 3587, 3725, 67, 10989, 1769, 565, 24048, 4799, 682, 5537, 273, 2 ]
for (int wClass=0; wClass<config.nClasses; wClass++)
/*for (int wClass=0; wClass<config.nClasses; wClass++)
private void calcProto(Output outputs, DataHolder data) { //calculate prototypes for each class: for (int wClass=0; wClass<config.nClasses; wClass++) { double sumProbThisClass = 0; for (int wSample=0; wSample<data.nSamples; wSample++) { prob[wClass][wSample] = Math.pow(outputs.getArray(wClass)[wSample], m); sumProbThisClass += prob[wClass][wSample]; } for (int wVar=0; wVar<data.nVars; wVar++) { prototypes[wClass][wVar] = 0; for (int wSample=0; wSample<data.nSamples; wSample++) { prototypes[wClass][wVar] += prob[wClass][wSample] * data.getDataVect(wVar+1)[wSample]; } //if (sumProbThisClass!=0) prototypes[wClass][wVar] /= sumProbThisClass; } } }
12140 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12140/d177990c48e508a3b6d2cdf5b5f0a41e6f0851bf/FitnessClusteringGroup.java/clean/branches/clustering/src/gpalta/clustering/FitnessClusteringGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 7029, 6262, 12, 1447, 6729, 16, 1910, 6064, 501, 13, 565, 288, 3639, 368, 11162, 450, 3307, 989, 364, 1517, 667, 30, 3639, 1748, 1884, 261, 474, 341, 797, 33, 20, 31, 341, 797, 32, 1425, 18, 82, 4818, 31, 341, 797, 27245, 3639, 288, 5411, 1645, 2142, 9152, 2503, 797, 273, 374, 31, 5411, 364, 261, 474, 341, 8504, 33, 20, 31, 341, 8504, 32, 892, 18, 82, 13239, 31, 341, 8504, 27245, 5411, 288, 7734, 3137, 63, 91, 797, 6362, 91, 8504, 65, 273, 2361, 18, 23509, 12, 12295, 18, 588, 1076, 12, 91, 797, 25146, 91, 8504, 6487, 312, 1769, 7734, 2142, 9152, 2503, 797, 1011, 3137, 63, 91, 797, 6362, 91, 8504, 15533, 5411, 289, 13491, 364, 261, 474, 341, 1537, 33, 20, 31, 341, 1537, 32, 892, 18, 82, 5555, 31, 341, 1537, 27245, 5411, 288, 7734, 450, 3307, 989, 63, 91, 797, 6362, 91, 1537, 65, 273, 374, 31, 7734, 364, 261, 474, 341, 8504, 33, 20, 31, 341, 8504, 32, 892, 18, 82, 13239, 31, 341, 8504, 27245, 7734, 288, 10792, 450, 3307, 989, 63, 91, 797, 6362, 91, 1537, 65, 1011, 3137, 63, 91, 797, 6362, 91, 8504, 65, 380, 501, 18, 588, 751, 58, 386, 12, 91, 1537, 15, 21, 25146, 91, 8504, 15533, 7734, 289, 7734, 368, 430, 261, 1364, 9152, 2503, 797, 5, 33, 20, 13, 10792, 450, 3307, 989, 63, 91, 797, 6362, 91, 1537, 65, 9531, 2142, 9152, 2503, 797, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 7029, 6262, 12, 1447, 6729, 16, 1910, 6064, 501, 13, 565, 288, 3639, 368, 11162, 450, 3307, 989, 364, 1517, 667, 30, 3639, 1748, 1884, 261, 474, 341, 797, 33, 20, 31, 341, 797, 32, 1425, 18, 82, 4818, 31, 341, 797, 27245, 3639, 288, 5411, 1645, 2142, 9152, 2503, 797, 273, 374, 31, 5411, 364, 261, 474, 341, 8504, 33, 20, 31, 341, 8504, 32, 892, 18, 82, 13239, 31, 341, 8504, 27245, 5411, 288, 7734, 3137, 63, 91, 797, 6362, 91, 8504, 65, 273, 2361, 18, 23509, 12, 12295, 18, 588, 1076, 12, 91, 797, 25146, 91, 8504, 6487, 312, 1769, 7734, 2142, 9152, 2503, 797, 1011, 3137, 63, 91, 797, 6362, 91, 8504, 2 ]
public void releaseWritableTile(int tileX, int tileY) {
public void releaseWritableTile(int tileX, int tileY) {
public void releaseWritableTile(int tileX, int tileY) { isTileWritable(tileX, tileY); // for exception }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/BufferedImage.java/clean/core/src/classpath/java/java/awt/image/BufferedImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3992, 12061, 9337, 12, 474, 4769, 60, 16, 509, 4769, 61, 13, 288, 202, 202, 291, 9337, 12061, 12, 15368, 60, 16, 4769, 61, 1769, 368, 364, 1520, 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, 918, 3992, 12061, 9337, 12, 474, 4769, 60, 16, 509, 4769, 61, 13, 288, 202, 202, 291, 9337, 12061, 12, 15368, 60, 16, 4769, 61, 1769, 368, 364, 1520, 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 ]
sc.add( "}" ); }
sc.unindent(); sc.add( "}" );
private void writeFieldParsing( ModelClass modelClass, ModelField field, JSourceCode sc, String statement, Model objectModel ) { if ( field.getDelegateTo() != null ) { } else { String type = field.getType(); String name = field.getName(); String className = capitalise( field.getName() ); String modelClassName = uncapitalise( modelClass.getName() ); sc.add( statement + " ( parser.getName().equals( \"" + field.getName() + "\" ) )" ); sc.add( "{" ); sc.indent(); if ( isClassInModel( type, objectModel ) ) { sc.add( type + " " + name + " = new " + type + "();" ); sc.add( modelClassName + ".set" + className + "( " + name + " );" ); writeClassParsing( objectModel.getClass( field.getType() ), sc, objectModel, true ); } else if ( isCollection( type ) ) { writeCollectionParsing( modelClassName, name, sc, objectModel ); } else if ( isMap( type ) ) { // These are properties for now. writePropertiesParsing( modelClassName, name, sc, objectModel ); } else { sc.add( modelClassName + ".set" + className + "( parser.nextText() );" ); } sc.unindent(); sc.add( "}" ); } }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/6d23d24e45536cd509c7e9828ece43c02463570d/Xpp3ReaderGenerator.java/clean/modello-core/src/main/java/org/codehaus/modello/generator/xml/xpp3/Xpp3ReaderGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 974, 13963, 12, 3164, 797, 13082, 16, 3164, 974, 652, 16, 804, 1830, 1085, 888, 16, 514, 3021, 16, 3164, 733, 1488, 262, 565, 288, 3639, 309, 261, 652, 18, 588, 9586, 774, 1435, 480, 446, 262, 3639, 288, 3639, 289, 3639, 469, 3639, 288, 5411, 514, 618, 273, 652, 18, 588, 559, 5621, 5411, 514, 508, 273, 652, 18, 17994, 5621, 5411, 514, 2658, 273, 12872, 784, 12, 652, 18, 17994, 1435, 11272, 5411, 514, 938, 3834, 273, 6301, 438, 7053, 784, 12, 13082, 18, 17994, 1435, 11272, 5411, 888, 18, 1289, 12, 3021, 397, 315, 261, 2082, 18, 17994, 7675, 14963, 12, 11843, 397, 652, 18, 17994, 1435, 397, 7023, 262, 28796, 11272, 5411, 888, 18, 1289, 12, 18173, 11272, 5411, 888, 18, 9355, 5621, 5411, 309, 261, 25975, 382, 1488, 12, 618, 16, 733, 1488, 262, 262, 5411, 288, 7734, 888, 18, 1289, 12, 618, 397, 315, 315, 397, 508, 397, 315, 273, 394, 315, 397, 618, 397, 25605, 4868, 11272, 7734, 888, 18, 1289, 12, 938, 3834, 397, 3552, 542, 6, 397, 2658, 397, 7751, 315, 397, 508, 397, 315, 262, 4868, 11272, 7734, 1045, 797, 13963, 12, 733, 1488, 18, 588, 797, 12, 652, 18, 588, 559, 1435, 262, 16, 888, 16, 733, 1488, 16, 638, 11272, 5411, 289, 5411, 469, 309, 261, 26506, 12, 618, 262, 262, 5411, 288, 7734, 1045, 2532, 13963, 12, 938, 3834, 16, 508, 16, 888, 16, 733, 1488, 11272, 5411, 289, 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, 3238, 918, 1045, 974, 13963, 12, 3164, 797, 13082, 16, 3164, 974, 652, 16, 804, 1830, 1085, 888, 16, 514, 3021, 16, 3164, 733, 1488, 262, 565, 288, 3639, 309, 261, 652, 18, 588, 9586, 774, 1435, 480, 446, 262, 3639, 288, 3639, 289, 3639, 469, 3639, 288, 5411, 514, 618, 273, 652, 18, 588, 559, 5621, 5411, 514, 508, 273, 652, 18, 17994, 5621, 5411, 514, 2658, 273, 12872, 784, 12, 652, 18, 17994, 1435, 11272, 5411, 514, 938, 3834, 273, 6301, 438, 7053, 784, 12, 13082, 18, 17994, 1435, 11272, 5411, 888, 18, 1289, 12, 3021, 397, 315, 261, 2082, 18, 17994, 7675, 14963, 12, 11843, 397, 652, 18, 17994, 1435, 397, 7023, 262, 28796, 11272, 2 ]
case Id_indexOf: return wrap_int( jsFunction_indexOf(ScriptRuntime.toString(thisObj), args));
case Id_lastIndexOf: return wrap_int(jsFunction_lastIndexOf (ScriptRuntime.toString(thisObj), args));
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f). jsFunction_toString(); case Id_valueOf: return realThis(thisObj, f). jsFunction_valueOf(); case Id_charAt: return jsFunction_charAt(ScriptRuntime.toString(thisObj), args); case Id_charCodeAt: return wrap_double( jsFunction_charCodeAt(ScriptRuntime.toString(thisObj), args)); case Id_indexOf: return wrap_int( jsFunction_indexOf(ScriptRuntime.toString(thisObj), args)); case Id_lastIndexOf: return wrap_int( jsFunction_lastIndexOf(ScriptRuntime.toString(thisObj), args)); case Id_split: return jsFunction_split(cx, ScriptRuntime.toString(thisObj), args, f); case Id_substring: return jsFunction_substring(cx, ScriptRuntime.toString(thisObj), args); case Id_toLowerCase: return jsFunction_toLowerCase(ScriptRuntime.toString(thisObj)); case Id_toUpperCase: return jsFunction_toUpperCase(ScriptRuntime.toString(thisObj)); case Id_substr: return jsFunction_substr(ScriptRuntime.toString(thisObj), args); case Id_concat: return jsFunction_concat(ScriptRuntime.toString(thisObj), args); case Id_slice: return jsFunction_slice(ScriptRuntime.toString(thisObj), args); case Id_bold: return realThis(thisObj, f). jsFunction_bold(); case Id_italics: return realThis(thisObj, f). jsFunction_italics(); case Id_fixed: return realThis(thisObj, f). jsFunction_fixed(); case Id_strike: return realThis(thisObj, f). jsFunction_strike(); case Id_small: return realThis(thisObj, f). jsFunction_small(); case Id_big: return realThis(thisObj, f). jsFunction_big(); case Id_blink: return realThis(thisObj, f). jsFunction_blink(); case Id_sup: return realThis(thisObj, f). jsFunction_sup(); case Id_sub: return realThis(thisObj, f). jsFunction_sub(); case Id_fontsize: return realThis(thisObj, f). jsFunction_fontsize(ScriptRuntime.toString(args, 0)); case Id_fontcolor: return realThis(thisObj, f). jsFunction_fontcolor(ScriptRuntime.toString(args, 0)); case Id_link: return realThis(thisObj, f). jsFunction_link(ScriptRuntime.toString(args, 0)); case Id_anchor: return realThis(thisObj, f). jsFunction_anchor(ScriptRuntime.toString(args, 0)); case Id_equals: return wrap_boolean( jsFunction_equals(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_equalsIgnoreCase: return wrap_boolean( jsFunction_equalsIgnoreCase(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_match: return jsFunction_match(cx, thisObj, args, f); case Id_search: return jsFunction_search(cx, thisObj, args, f); case Id_replace: return jsFunction_replace(cx, thisObj, args, f); } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 2080, 20535, 30, 327, 5411, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 3639, 648, 3124, 67, 12316, 30, 327, 5411, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 1132, 951, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 1132, 951, 5621, 3639, 648, 3124, 67, 3001, 861, 30, 327, 5411, 3828, 2083, 67, 3001, 861, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 1769, 3639, 648, 3124, 67, 3001, 1085, 861, 30, 327, 2193, 67, 9056, 12, 5411, 3828, 2083, 67, 3001, 1085, 861, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 31806, 30, 327, 2193, 67, 474, 12, 5411, 3828, 2083, 67, 31806, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 2722, 31985, 30, 327, 2193, 67, 474, 12, 5411, 3828, 2083, 67, 2722, 31985, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 4939, 30, 327, 5411, 3828, 2083, 67, 4939, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 2080, 20535, 30, 327, 5411, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 3639, 648, 3124, 67, 12316, 30, 327, 5411, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 1132, 951, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 2 ]
out.write(buf.toString().getBytes());
out.write(buf.toString());
public void renderStatusHTML(OutputStream out) throws IOException { out.write(("<h1>Router console</h1>\n" + "<i><a href=\"/oldconsole.jsp\">console</a> | <a href=\"/oldstats.jsp\">stats</a></i><br>\n" + "<form action=\"/oldconsole.jsp\">" + "<select name=\"go\" onChange='location.href=this.value'>" + "<option value=\"/oldconsole.jsp#bandwidth\">Bandwidth</option>\n" + "<option value=\"/oldconsole.jsp#clients\">Clients</option>\n" + "<option value=\"/oldconsole.jsp#transports\">Transports</option>\n" + "<option value=\"/oldconsole.jsp#profiles\">Peer Profiles</option>\n" + "<option value=\"/oldconsole.jsp#tunnels\">Tunnels</option>\n" + "<option value=\"/oldconsole.jsp#jobs\">Jobs</option>\n" + "<option value=\"/oldconsole.jsp#shitlist\">Shitlist</option>\n" + "<option value=\"/oldconsole.jsp#pending\">Pending messages</option>\n" + "<option value=\"/oldconsole.jsp#netdb\">Network Database</option>\n" + "<option value=\"/oldconsole.jsp#logs\">Log messages</option>\n" + "</select> <input type=\"submit\" value=\"GO\" /> </form>" + "<hr />\n").getBytes()); StringBuffer buf = new StringBuffer(32*1024); if ( (_routerInfo != null) && (_routerInfo.getIdentity() != null) ) buf.append("<b>Router: </b> ").append(_routerInfo.getIdentity().getHash().toBase64()).append("<br />\n"); buf.append("<b>As of: </b> ").append(new Date(_context.clock().now())).append(" (uptime: ").append(DataHelper.formatDuration(getUptime())).append(") <br />\n"); buf.append("<b>Started on: </b> ").append(new Date(getWhenStarted())).append("<br />\n"); buf.append("<b>Clock offset: </b> ").append(_context.clock().getOffset()).append("ms (OS time: ").append(new Date(_context.clock().now() - _context.clock().getOffset())).append(")<br />\n"); long tot = Runtime.getRuntime().totalMemory()/1024; long free = Runtime.getRuntime().freeMemory()/1024; buf.append("<b>Memory:</b> In use: ").append((tot-free)).append("KB Free: ").append(free).append("KB <br />\n"); buf.append("<b>Version:</b> Router: ").append(RouterVersion.VERSION).append(" / SDK: ").append(CoreVersion.VERSION).append("<br />\n"); if (_higherVersionSeen) buf.append("<b><font color=\"red\">HIGHER VERSION SEEN</font><b> - please <a href=\"http://www.i2p.net/\">check</a> to see if there is a new release out<br />\n"); buf.append("<hr /><a name=\"bandwidth\"> </a><h2>Bandwidth</h2>\n"); long sent = _context.bandwidthLimiter().getTotalAllocatedOutboundBytes(); long received = _context.bandwidthLimiter().getTotalAllocatedInboundBytes(); buf.append("<ul>"); buf.append("<li> ").append(sent).append(" bytes sent, "); buf.append(received).append(" bytes received</li>"); long notSent = _context.bandwidthLimiter().getTotalWastedOutboundBytes(); long notReceived = _context.bandwidthLimiter().getTotalWastedInboundBytes(); buf.append("<li> ").append(notSent).append(" bytes outbound bytes unused, "); buf.append(notReceived).append(" bytes inbound bytes unused</li>"); DecimalFormat fmt = new DecimalFormat("##0.00"); // we use the unadjusted time, since thats what getWhenStarted is based off long lifetime = _context.clock().now()-_context.clock().getOffset() - getWhenStarted(); lifetime /= 1000; if ( (sent > 0) && (received > 0) ) { double sendKBps = sent / (lifetime*1024.0); double receivedKBps = received / (lifetime*1024.0); buf.append("<li>Lifetime rate: "); buf.append(fmt.format(sendKBps)).append("KBps sent "); buf.append(fmt.format(receivedKBps)).append("KBps received"); buf.append("</li>"); } if ( (notSent > 0) && (notReceived > 0) ) { double notSendKBps = notSent / (lifetime*1024.0); double notReceivedKBps = notReceived / (lifetime*1024.0); buf.append("<li>Lifetime unused rate: "); buf.append(fmt.format(notSendKBps)).append("KBps outbound unused "); buf.append(fmt.format(notReceivedKBps)).append("KBps inbound unused"); buf.append("</li>"); } RateStat sendRate = _context.statManager().getRate("transport.sendMessageSize"); for (int i = 0; i < sendRate.getPeriods().length; i++) { Rate rate = sendRate.getRate(sendRate.getPeriods()[i]); double bytes = rate.getLastTotalValue(); long ms = rate.getLastTotalEventTime() + rate.getLastTotalEventTime(); if (ms <= 0) { bytes = 0; ms = 1; } buf.append("<li>"); buf.append(DataHelper.formatDuration(rate.getPeriod())).append(" instantaneous send avg: "); double bps = bytes*1000.0d/ms; if (bps > 2048) { bps /= 1024.0d; buf.append(fmt.format(bps)).append(" KBps"); } else { buf.append(fmt.format(bps)).append(" Bps"); } buf.append(" over ").append((long)bytes).append(" bytes"); buf.append("</li><li>"); buf.append(DataHelper.formatDuration(rate.getPeriod())).append(" period send avg: "); bps = bytes*1000.0d/(rate.getPeriod()); if (bps > 2048) { bps /= 1024.0d; buf.append(fmt.format(bps)).append(" KBps"); } else { buf.append(fmt.format(bps)).append(" Bps"); } buf.append(" over ").append((long)bytes).append(" bytes"); buf.append("</li>"); } RateStat receiveRate = _context.statManager().getRate("transport.receiveMessageSize"); for (int i = 0; i < receiveRate.getPeriods().length; i++) { Rate rate = receiveRate.getRate(receiveRate.getPeriods()[i]); double bytes = rate.getLastTotalValue(); long ms = rate.getLastTotalEventTime(); if (ms <= 0) { bytes = 0; ms = 1; } buf.append("<li>"); buf.append(DataHelper.formatDuration(rate.getPeriod())).append(" instantaneous receive avg: "); double bps = bytes*1000.0d/ms; if (bps > 2048) { bps /= 1024.0d; buf.append(fmt.format(bps)).append(" KBps "); } else { buf.append(fmt.format(bps)).append(" Bps "); } buf.append(" over ").append((long)bytes).append(" bytes"); buf.append("</li><li>"); buf.append(DataHelper.formatDuration(rate.getPeriod())).append(" period receive avg: "); bps = bytes*1000.0d/(rate.getPeriod()); if (bps > 2048) { bps /= 1024.0d; buf.append(fmt.format(bps)).append(" KBps"); } else { buf.append(fmt.format(bps)).append(" Bps"); } buf.append(" over ").append((long)bytes).append(" bytes"); buf.append("</li>"); } buf.append("</ul>\n"); buf.append("<i>Instantaneous averages count how fast the transfers go when we're trying to transfer data, "); buf.append("while period averages count how fast the transfers go across the entire period, even when we're not "); buf.append("trying to transfer data. Lifetime averages count how many elephants there are on the moon [like anyone reads this text]</i>"); buf.append("\n"); out.write(buf.toString().getBytes()); _context.bandwidthLimiter().renderStatusHTML(out); out.write("<hr /><a name=\"clients\"> </a>\n".getBytes()); _context.clientManager().renderStatusHTML(out); out.write("\n<hr /><a name=\"transports\"> </a>\n".getBytes()); _context.commSystem().renderStatusHTML(out); out.write("\n<hr /><a name=\"profiles\"> </a>\n".getBytes()); _context.peerManager().renderStatusHTML(out); out.write("\n<hr /><a name=\"tunnels\"> </a>\n".getBytes()); _context.tunnelManager().renderStatusHTML(out); out.write("\n<hr /><a name=\"jobs\"> </a>\n".getBytes()); _context.jobQueue().renderStatusHTML(out); out.write("\n<hr /><a name=\"shitlist\"> </a>\n".getBytes()); _context.shitlist().renderStatusHTML(out); out.write("\n<hr /><a name=\"pending\"> </a>\n".getBytes()); _context.messageRegistry().renderStatusHTML(out); out.write("\n<hr /><a name=\"netdb\"> </a>\n".getBytes()); _context.netDb().renderStatusHTML(out); buf.setLength(0); buf.append("\n<hr /><a name=\"logs\"> </a>\n"); List msgs = _context.logManager().getBuffer().getMostRecentMessages(); buf.append("\n<h2>Most recent console messages:</h2><table border=\"1\">\n"); for (Iterator iter = msgs.iterator(); iter.hasNext(); ) { String msg = (String)iter.next(); buf.append("<tr><td valign=\"top\" align=\"left\"><pre>"); appendLogMessage(buf, msg); buf.append("</pre></td></tr>\n"); } buf.append("</table>\n"); out.write(buf.toString().getBytes()); }
27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/62ed6c6a58f9adaa081ae5a6cb591d18c6ad4f85/Router.java/buggy/router/java/src/net/i2p/router/Router.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1743, 1482, 4870, 12, 4632, 596, 13, 1216, 1860, 288, 3639, 596, 18, 2626, 12, 2932, 32, 76, 21, 34, 8259, 2983, 1757, 76, 21, 5333, 82, 6, 397, 10402, 3532, 77, 4438, 69, 3897, 5189, 19, 1673, 8698, 18, 24926, 24735, 8698, 1757, 69, 34, 571, 411, 69, 3897, 5189, 19, 1673, 5296, 18, 24926, 24735, 5296, 1757, 69, 4695, 77, 4438, 2848, 5333, 82, 6, 397, 10402, 3532, 687, 1301, 5189, 19, 1673, 8698, 18, 24926, 21121, 397, 10402, 3532, 4025, 508, 5189, 3240, 2412, 24031, 2218, 3562, 18, 7547, 33, 2211, 18, 1132, 28533, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 29750, 24735, 24621, 1757, 3482, 5333, 82, 6, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 16931, 24735, 12300, 1757, 3482, 5333, 82, 6, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 2338, 4363, 24735, 1429, 4363, 1757, 3482, 5333, 82, 6, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 18314, 24735, 6813, 1186, 2354, 1757, 3482, 5333, 82, 6, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 19878, 87, 24735, 20329, 87, 1757, 3482, 5333, 82, 6, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 10088, 24735, 7276, 1757, 3482, 5333, 82, 6, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 674, 305, 1098, 24735, 1555, 305, 1098, 1757, 3482, 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, 1743, 1482, 4870, 12, 4632, 596, 13, 1216, 1860, 288, 3639, 596, 18, 2626, 12, 2932, 32, 76, 21, 34, 8259, 2983, 1757, 76, 21, 5333, 82, 6, 397, 10402, 3532, 77, 4438, 69, 3897, 5189, 19, 1673, 8698, 18, 24926, 24735, 8698, 1757, 69, 34, 571, 411, 69, 3897, 5189, 19, 1673, 5296, 18, 24926, 24735, 5296, 1757, 69, 4695, 77, 4438, 2848, 5333, 82, 6, 397, 10402, 3532, 687, 1301, 5189, 19, 1673, 8698, 18, 24926, 21121, 397, 10402, 3532, 4025, 508, 5189, 3240, 2412, 24031, 2218, 3562, 18, 7547, 33, 2211, 18, 1132, 28533, 397, 10402, 3532, 3482, 460, 5189, 19, 1673, 8698, 18, 24926, 7, 29750, 24735, 24621, 1757, 3482, 5333, 82, 2 ]
elementDescriptor = parentTag.getDescriptor();
final XmlElementDescriptor parentDescriptor = parentTag.getDescriptor();
private void checkTagByDescriptor(final XmlTag tag) { String name = tag.getName(); XmlElementDescriptor elementDescriptor; final PsiElement parent = tag.getParent(); if (parent instanceof XmlTag) { XmlTag parentTag = (XmlTag)parent; elementDescriptor = parentTag.getDescriptor(); boolean nullParentDescriptor = false; if (elementDescriptor != null) { elementDescriptor = elementDescriptor.getElementDescriptor(tag); } else { nullParentDescriptor = true; } if (elementDescriptor instanceof AnyXmlElementDescriptor || nullParentDescriptor) { elementDescriptor = tag.getDescriptor(); } if (elementDescriptor == null) { if (nullParentDescriptor) return; addElementsForTag( tag, "Element " + name + " is not allowed here", myResult, getTagProblemInfoType(tag), null ); return; } } else { //root tag elementDescriptor = tag.getDescriptor(); if (elementDescriptor == null) { addElementsForTag(tag, "Element " + name + " must be declared", myResult, HighlightInfoType.WRONG_REF, null); return; } } XmlAttributeDescriptor[] attributeDescriptors = elementDescriptor.getAttributesDescriptors(); Set<String> requiredAttributes = null; for (XmlAttributeDescriptor attribute : attributeDescriptors) { if (attribute != null && attribute.isRequired()) { if (requiredAttributes == null) { requiredAttributes = new HashSet<String>(); } requiredAttributes.add(attribute.getDefaultName()); } } if (requiredAttributes != null) { for (final String attrName : requiredAttributes) { if (tag.getAttribute(attrName, tag.getNamespace()) == null) { if (!(elementDescriptor instanceof JspElementDescriptor) || !((JspElementDescriptor)elementDescriptor).isRequiredAttributeImplicitlyPresent(tag, attrName) ) { addElementsForTag( tag, "Element " + name + " doesn't have required attribute " + attrName, myResult, HighlightInfoType.WRONG_REF, new IntentionAction() { public String getText() { return "Insert Required Attribute"; } public String getFamilyName() { return "Insert Required Attribute"; } public boolean isAvailable(Project project, Editor editor, PsiFile file) { return true; } public void invoke(final Project project, final Editor editor, PsiFile file) { if (!CodeInsightUtil.prepareFileForWrite(file)) return; ASTNode treeElement = SourceTreeToPsiMap.psiElementToTree(tag); PsiElement anchor = SourceTreeToPsiMap.treeElementToPsi( XmlChildRole.EMPTY_TAG_END_FINDER.findChild(treeElement) ); if (anchor == null) { anchor = SourceTreeToPsiMap.treeElementToPsi( XmlChildRole.START_TAG_END_FINDER.findChild(treeElement) ); } if (anchor == null) return; final Template template = TemplateManager.getInstance(project).createTemplate("", ""); template.addTextSegment(" " + attrName + "=\""); Expression expression = new Expression() { TextResult result = new TextResult(""); public Result calculateResult(ExpressionContext context) { return result; } public Result calculateQuickResult(ExpressionContext context) { return null; } public LookupItem[] calculateLookupItems(ExpressionContext context) { return new LookupItem[0]; } }; template.addVariable("name", expression, expression, true); template.addTextSegment("\""); final PsiElement anchor1 = anchor; final Runnable runnable = new Runnable() { public void run() { ApplicationManager.getApplication().runWriteAction( new Runnable() { public void run() { int textOffset = anchor1.getTextOffset(); editor.getCaretModel().moveToOffset(textOffset); TemplateManager.getInstance(project).startTemplate(editor, template, null); } } ); } }; if (!ApplicationManager.getApplication().isUnitTestMode()) { Runnable commandRunnable = new Runnable() { public void run() { CommandProcessor.getInstance().executeCommand( project, runnable, getText(), getFamilyName() ); } }; ApplicationManager.getApplication().invokeLater(commandRunnable); } else { runnable.run(); } } public boolean startInWriteAction() { return true; } } ); return; } } } } if (elementDescriptor instanceof Validator) { ((Validator)elementDescriptor).validate(tag,this); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/13c262b3e5f3a112915283eb6e198c40e8d06a21/XmlHighlightVisitor.java/clean/source/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 866, 1805, 858, 3187, 12, 6385, 5714, 1805, 1047, 13, 288, 565, 514, 508, 273, 1047, 18, 17994, 5621, 565, 15412, 3187, 930, 3187, 31, 565, 727, 453, 7722, 1046, 982, 273, 1047, 18, 588, 3054, 5621, 565, 309, 261, 2938, 1276, 5714, 1805, 13, 288, 1377, 5714, 1805, 982, 1805, 273, 261, 4432, 1805, 13, 2938, 31, 1377, 727, 15412, 3187, 982, 3187, 273, 982, 1805, 18, 588, 3187, 5621, 1377, 1250, 446, 3054, 3187, 273, 629, 31, 1377, 309, 261, 2956, 3187, 480, 446, 13, 288, 3639, 930, 3187, 273, 930, 3187, 18, 21336, 3187, 12, 2692, 1769, 1377, 289, 469, 288, 3639, 446, 3054, 3187, 273, 638, 31, 1377, 289, 1377, 309, 261, 2956, 3187, 1276, 5502, 4432, 1046, 3187, 747, 446, 3054, 3187, 13, 288, 3639, 930, 3187, 273, 1047, 18, 588, 3187, 5621, 1377, 289, 1377, 309, 261, 2956, 3187, 422, 446, 13, 288, 3639, 309, 261, 2011, 3054, 3187, 13, 327, 31, 3639, 527, 3471, 1290, 1805, 12, 1850, 1047, 16, 1850, 315, 1046, 315, 397, 508, 397, 315, 353, 486, 2935, 2674, 3113, 1850, 3399, 1253, 16, 1850, 11362, 13719, 966, 559, 12, 2692, 3631, 1850, 446, 3639, 11272, 3639, 327, 31, 1377, 289, 565, 289, 565, 469, 288, 1377, 368, 3085, 1047, 1377, 930, 3187, 273, 1047, 18, 588, 3187, 5621, 377, 309, 261, 2956, 3187, 422, 446, 13, 288, 4202, 527, 3471, 1290, 1805, 12, 2692, 16, 315, 1046, 315, 397, 508, 397, 315, 1297, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 866, 1805, 858, 3187, 12, 6385, 5714, 1805, 1047, 13, 288, 565, 514, 508, 273, 1047, 18, 17994, 5621, 565, 15412, 3187, 930, 3187, 31, 565, 727, 453, 7722, 1046, 982, 273, 1047, 18, 588, 3054, 5621, 565, 309, 261, 2938, 1276, 5714, 1805, 13, 288, 1377, 5714, 1805, 982, 1805, 273, 261, 4432, 1805, 13, 2938, 31, 1377, 727, 15412, 3187, 982, 3187, 273, 982, 1805, 18, 588, 3187, 5621, 1377, 1250, 446, 3054, 3187, 273, 629, 31, 1377, 309, 261, 2956, 3187, 480, 446, 13, 288, 3639, 930, 3187, 273, 930, 3187, 18, 21336, 3187, 12, 2692, 1769, 1377, 289, 469, 288, 3639, 446, 3054, 3187, 273, 638, 31, 1377, 289, 1377, 309, 261, 2 ]
implReset();
protected final CoderResult implFlush(CharBuffer out) { try{ data[OUTPUT_OFFSET] = getArray(out); ec=NativeConverter.flushByteToChar( converterHandle, /* Handle to ICU Converter */ output, /* input array of chars */ outEnd, /* input index+1 to be written */ data /* contains data, inOff,outOff */ ); /* If we don't have room for the output, throw an exception*/ if (ErrorCode.isFailure(ec)) { if (ec == ErrorCode.U_BUFFER_OVERFLOW_ERROR) { return CoderResult.OVERFLOW; }else if (ec == ErrorCode.U_TRUNCATED_CHAR_FOUND) {//CSDL: add this truncated character error handling return CoderResult.malformedForLength(data[INPUT_OFFSET]); }else { ErrorCode.getException(ec); } } implReset(); return CoderResult.UNDERFLOW; }finally{ /* save the flushed data */ setPosition(out); } }
7297 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7297/f275a9d6cd022527e500814ee8337d6dd968aef1/CharsetDecoderICU.java/buggy/src/classes/com/ibm/icu4jni/charset/CharsetDecoderICU.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 385, 5350, 1253, 9380, 8207, 12, 2156, 1892, 596, 13, 288, 4202, 775, 95, 6647, 501, 63, 15527, 67, 11271, 65, 273, 12634, 12, 659, 1769, 13491, 6557, 33, 9220, 5072, 18, 11330, 3216, 774, 2156, 12, 4766, 5411, 6027, 3259, 16, 225, 1748, 5004, 358, 28009, 14768, 1195, 4766, 5411, 876, 16, 6647, 1748, 810, 526, 434, 5230, 1195, 4766, 5411, 596, 1638, 16, 6647, 1748, 810, 770, 15, 21, 358, 506, 5941, 1195, 4766, 5411, 501, 2868, 1748, 1914, 501, 16, 316, 7210, 16, 659, 7210, 1195, 4766, 5411, 11272, 4766, 17311, 1748, 971, 732, 2727, 1404, 1240, 7725, 364, 326, 876, 16, 604, 392, 1520, 5549, 5411, 309, 261, 12012, 18, 291, 5247, 12, 557, 3719, 288, 7734, 309, 261, 557, 422, 13218, 18, 57, 67, 11302, 67, 12959, 17430, 67, 3589, 13, 288, 10792, 327, 385, 5350, 1253, 18, 12959, 17430, 31, 7734, 289, 12107, 309, 261, 557, 422, 13218, 18, 57, 67, 4349, 2124, 13890, 67, 7305, 67, 9294, 13, 288, 759, 4596, 8914, 30, 527, 333, 15282, 3351, 555, 5057, 10792, 327, 385, 5350, 1253, 18, 81, 8246, 1290, 1782, 12, 892, 63, 15934, 67, 11271, 19226, 7734, 289, 12107, 288, 10792, 13218, 18, 588, 503, 12, 557, 1769, 7734, 289, 5411, 289, 202, 3639, 9380, 7013, 5621, 202, 3639, 327, 385, 5350, 1253, 18, 31625, 17430, 31, 202, 282, 289, 23417, 95, 5411, 1748, 1923, 326, 22604, 501, 1195, 5411, 19776, 12, 659, 1769, 202, 282, 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, 4750, 727, 385, 5350, 1253, 9380, 8207, 12, 2156, 1892, 596, 13, 288, 4202, 775, 95, 6647, 501, 63, 15527, 67, 11271, 65, 273, 12634, 12, 659, 1769, 13491, 6557, 33, 9220, 5072, 18, 11330, 3216, 774, 2156, 12, 4766, 5411, 6027, 3259, 16, 225, 1748, 5004, 358, 28009, 14768, 1195, 4766, 5411, 876, 16, 6647, 1748, 810, 526, 434, 5230, 1195, 4766, 5411, 596, 1638, 16, 6647, 1748, 810, 770, 15, 21, 358, 506, 5941, 1195, 4766, 5411, 501, 2868, 1748, 1914, 501, 16, 316, 7210, 16, 659, 7210, 1195, 4766, 5411, 11272, 4766, 17311, 1748, 971, 732, 2727, 1404, 1240, 7725, 364, 326, 876, 16, 604, 392, 1520, 5549, 5411, 309, 261, 12012, 18, 291, 5247, 2 ]
if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } else if(GrailsClassUtils.isDomainClass( relatedClassType )) { Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } else { property.setPersistant(false); } } else { property.setPersistant(false); } }
if(relatedClassType != null) { property.setReferencedPropertyType(relatedClassType); if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } else if(GrailsClassUtils.isDomainClass( relatedClassType )) { Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } else { property.setPersistant(false); } } else { property.setPersistant(false); } }
private void establishRelationshipForSet(DefaultGrailsDomainClassProperty property) { // is it a relationship Class relatedClassType = getRelatedClassType( property.getName() ); if(relatedClassType != null) { // set the referenced type in the property property.setReferencedPropertyType(relatedClassType); // if the related class is the same as this class // its a circular one-to-many if(relatedClassType.getName().equals(getFullName())){ property.setOneToMany(true); property.setBidirectional(true); } // if the related type is a domain class // then figure out what kind of relationship it is else if(GrailsClassUtils.isDomainClass( relatedClassType )) { // check the relationship defined in the referenced type // if it is also a Set/domain class etc. Map relatedClassRelationships = GrailsDomainConfigurationUtil.getAssociationMap(relatedClassType); Class relatedClassPropertyType = null; // if the related type has a relationships map it may be a many-to-many // figure out if there is a many-to-many relationship defined if( relatedClassRelationships != null && !relatedClassRelationships.isEmpty() ) { String relatedClassPropertyName = null; // retrieve the relationship property for(Iterator i = relatedClassRelationships.keySet().iterator();i.hasNext();) { String currentKey = (String)i.next(); Class currentClass = (Class) relatedClassRelationships.get( currentKey ); if(currentClass.getName().equals( getClazz().getName() )) { relatedClassPropertyName = currentKey; break; } } // if there is one defined get the type if(relatedClassPropertyName != null) { relatedClassPropertyType = GrailsClassUtils.getProperyType( relatedClassType, relatedClassPropertyName); } } // otherwise figure out if there is a one-to-many relationship by retrieving any properties that are of the related type // if there is more than one property then (for the moment) ignore the relationship if(relatedClassPropertyType == null) { PropertyDescriptor[] descriptors = GrailsClassUtils.getPropertiesOfType(relatedClassType, getClazz()); if(descriptors.length == 1) { relatedClassPropertyType = descriptors[0].getPropertyType(); } } establishRelationshipForSetToType(property,relatedClassPropertyType); } // otherwise set it to not persistent as you can't persist // relationships to non-domain classes else { property.setPersistant(false); } } else { // no relationship defined for set. // set not persistent property.setPersistant(false); } }
51576 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51576/58974951e3276884850340e13cf2bb066cb110b9/DefaultGrailsDomainClass.java/buggy/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsDomainClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18312, 8180, 1290, 694, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 759, 353, 518, 279, 5232, 202, 202, 797, 3746, 18328, 273, 21531, 18328, 12, 1272, 18, 17994, 1435, 11272, 25083, 202, 430, 12, 9243, 18328, 480, 446, 13, 288, 1082, 202, 759, 444, 326, 8042, 618, 316, 326, 1272, 1082, 202, 4468, 18, 542, 22344, 22802, 12, 9243, 18328, 1769, 1082, 202, 759, 309, 326, 3746, 667, 353, 326, 1967, 487, 333, 667, 1082, 202, 759, 2097, 279, 15302, 1245, 17, 869, 17, 9353, 1082, 202, 430, 12, 9243, 18328, 18, 17994, 7675, 14963, 12, 588, 19223, 1435, 3719, 95, 9506, 202, 4468, 18, 542, 3335, 12601, 12, 3767, 1769, 9506, 202, 4468, 18, 542, 17763, 24699, 12, 3767, 1769, 1082, 202, 97, 1082, 202, 759, 309, 326, 3746, 618, 353, 279, 2461, 667, 1082, 202, 759, 1508, 7837, 596, 4121, 3846, 434, 5232, 518, 353, 25083, 202, 12107, 309, 12, 14571, 14573, 797, 1989, 18, 291, 3748, 797, 12, 3746, 18328, 8623, 288, 6862, 6862, 9506, 202, 759, 866, 326, 5232, 2553, 316, 326, 8042, 618, 9506, 202, 759, 309, 518, 353, 2546, 279, 1000, 19, 4308, 667, 5527, 18, 9506, 202, 863, 3746, 797, 17185, 273, 10812, 14573, 3748, 1750, 1304, 18, 588, 7174, 863, 12, 9243, 18328, 1769, 9506, 202, 797, 3746, 797, 22802, 273, 446, 31, 6862, 9506, 202, 759, 309, 326, 3746, 618, 711, 279, 11499, 852, 518, 2026, 506, 279, 4906, 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, 18312, 8180, 1290, 694, 12, 1868, 14571, 14573, 3748, 797, 1396, 1272, 13, 288, 202, 202, 759, 353, 518, 279, 5232, 202, 202, 797, 3746, 18328, 273, 21531, 18328, 12, 1272, 18, 17994, 1435, 11272, 25083, 202, 430, 12, 9243, 18328, 480, 446, 13, 288, 1082, 202, 759, 444, 326, 8042, 618, 316, 326, 1272, 1082, 202, 4468, 18, 542, 22344, 22802, 12, 9243, 18328, 1769, 1082, 202, 759, 309, 326, 3746, 667, 353, 326, 1967, 487, 333, 667, 1082, 202, 759, 2097, 279, 15302, 1245, 17, 869, 17, 9353, 1082, 202, 430, 12, 9243, 18328, 18, 17994, 7675, 14963, 12, 588, 19223, 1435, 3719, 95, 9506, 202, 4468, 18, 542, 3335, 12601, 12, 3767, 2 ]
private synchronized void fail(InserterException e) {
private void fail(InserterException e) {
private synchronized void fail(InserterException e) { Logger.minor(this, "Failing: "+e, e); if(finished) return; if(sfi != null) sfi.cancel(); if(metadataPutter != null) metadataPutter.cancel(); finished = true; cb.onFailure(e, this); }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/a99fbfa9db79808f376d90d1b435c8efcfb94698/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 3852, 918, 2321, 12, 382, 550, 387, 503, 425, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3754, 310, 30, 13773, 73, 16, 425, 1769, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 430, 12, 21668, 77, 480, 446, 13, 9506, 202, 21668, 77, 18, 10996, 5621, 1082, 202, 430, 12, 4165, 6426, 387, 480, 446, 13, 9506, 202, 4165, 6426, 387, 18, 10996, 5621, 1082, 202, 13527, 273, 638, 31, 1082, 202, 7358, 18, 265, 5247, 12, 73, 16, 333, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 1152, 3852, 918, 2321, 12, 382, 550, 387, 503, 425, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 3754, 310, 30, 13773, 73, 16, 425, 1769, 1082, 202, 430, 12, 13527, 13, 327, 31, 1082, 202, 430, 12, 21668, 77, 480, 446, 13, 9506, 202, 21668, 77, 18, 10996, 5621, 1082, 202, 430, 12, 4165, 6426, 387, 480, 446, 13, 9506, 202, 4165, 6426, 387, 18, 10996, 5621, 1082, 202, 13527, 273, 638, 31, 1082, 202, 7358, 18, 265, 5247, 12, 73, 16, 333, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
internalOnSetTarget(TargetEvent.TARGET_REMOVED, oldTargets);
public synchronized void setTarget(Object o) { if (isInTargetTransaction()) return; if ((_targets.size() == 0 && o == null) || (_targets.size() == 1 && _targets.get(0).equals(o))) return; startTargetTransaction(); Object oldTargets[] = _targets.toArray(); _targets.clear(); internalOnSetTarget(TargetEvent.TARGET_REMOVED, oldTargets); if (o != null) _targets.add(o); internalOnSetTarget(TargetEvent.TARGET_SET, oldTargets); endTargetTransaction(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/21c4cbeef10fac9f8160514fcf9ceace6ce0b639/TargetManager.java/clean/src_new/org/argouml/ui/targetmanager/TargetManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 18367, 12, 921, 320, 13, 288, 202, 430, 261, 291, 382, 2326, 3342, 10756, 202, 565, 327, 31, 202, 430, 14015, 67, 11358, 18, 1467, 1435, 422, 374, 597, 320, 422, 446, 13, 747, 202, 565, 261, 67, 11358, 18, 1467, 1435, 422, 404, 597, 389, 11358, 18, 588, 12, 20, 2934, 14963, 12, 83, 20349, 202, 565, 327, 31, 202, 1937, 2326, 3342, 5621, 202, 921, 1592, 9432, 8526, 273, 389, 11358, 18, 31447, 5621, 202, 67, 11358, 18, 8507, 5621, 202, 7236, 1398, 694, 2326, 12, 2326, 1133, 18, 16374, 67, 11122, 12135, 16, 1592, 9432, 1769, 202, 430, 261, 83, 480, 446, 13, 202, 565, 389, 11358, 18, 1289, 12, 83, 1769, 202, 7236, 1398, 694, 2326, 12, 2326, 1133, 18, 16374, 67, 4043, 16, 1592, 9432, 1769, 3639, 679, 2326, 3342, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 3852, 918, 18367, 12, 921, 320, 13, 288, 202, 430, 261, 291, 382, 2326, 3342, 10756, 202, 565, 327, 31, 202, 430, 14015, 67, 11358, 18, 1467, 1435, 422, 374, 597, 320, 422, 446, 13, 747, 202, 565, 261, 67, 11358, 18, 1467, 1435, 422, 404, 597, 389, 11358, 18, 588, 12, 20, 2934, 14963, 12, 83, 20349, 202, 565, 327, 31, 202, 1937, 2326, 3342, 5621, 202, 921, 1592, 9432, 8526, 273, 389, 11358, 18, 31447, 5621, 202, 67, 11358, 18, 8507, 5621, 202, 7236, 1398, 694, 2326, 12, 2326, 1133, 18, 16374, 67, 11122, 12135, 16, 1592, 9432, 1769, 202, 430, 261, 83, 480, 446, 13, 202, 565, 389, 11358, 18, 1289, 12, 83, 1769, 2 ]
public DataCube(Array parentArray) {
public DataCube(ArrayInterface parentArray) {
public DataCube(Array parentArray) { this.parentArray = parentArray; init(); }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/d3cf59077fd7d0243cdc777745556c82ae0466d5/DataCube.java/buggy/src/gov/nasa/gsfc/adc/xdf/DataCube.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1910, 39, 4895, 12, 1076, 1358, 982, 1076, 13, 288, 377, 333, 18, 2938, 1076, 273, 982, 1076, 31, 377, 1208, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1910, 39, 4895, 12, 1076, 1358, 982, 1076, 13, 288, 377, 333, 18, 2938, 1076, 273, 982, 1076, 31, 377, 1208, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void send (int event) { // at this point, we've filled the tiles with data // however, we don't know the size of the space // Calculate the highest indexed tile used so far, and update the subspace Address start = subspace.getStart(); int required = countTileNum(start, maxAddr, blockSize); int current = subspace.getBlockNum(); if (required > current || maxAddr != subspace.getEnd()) { subspace.reset(start, maxAddr, 0, required); allTileNum = required; space.resize(allTileNum); setTilenames(subspace, allTileNum); } // start the communication space.startComm(); int numTiles = allTileNum; //Log.writeln("TreadmillDriver: sending, allTileNum=", numTiles); // (1) Used Space stream // send the stream data space.stream(LOS_USED_SPACE_STREAM, numTiles); for (int i = 0; i < numTiles; ++i) { //checkspace(i, 0, "send"); if (Assert.VERIFY_ASSERTIONS) if (tiles[i].usedSpace > subspace.getBlockSize()) { Log.write("Bad value for TreadmillDriver Used Space stream: "); Log.write(tiles[i].usedSpace); Log.writeln(" max=", subspace.getBlockSize()); // Assert._assert(false); } space.streamIntValue(tiles[i].usedSpace); } space.streamEnd(); // send the summary data space.summary(LOS_USED_SPACE_STREAM, 2 /*items to send*/); space.summaryValue(totalUsedSpace); space.summaryValue(subspace.getEnd().diff(subspace.getStart()).toInt()); space.summaryEnd(); // (2) Objects stream space.stream(LOS_OBJECTS_STREAM, numTiles); for (int i = 0; i < numTiles; ++i) { if (Assert.VERIFY_ASSERTIONS) if (tiles[i].objects > subspace.getBlockSize()/threshold) { Log.write("Bad value for TreadmillDriver Objects stream: "); Log.write(tiles[i].usedSpace); Log.writeln(" max=", (int)(subspace.getBlockSize()/threshold)); // Assert._assert(false); } space.streamShortValue(tiles[i].objects); } space.streamEnd(); space.summary(LOS_OBJECTS_STREAM, 1); space.summaryValue(totalObjects); space.summaryEnd(); // send the control info // all of space is USED controlValues(tiles, AbstractTile.CONTROL_USED, subspace.getFirstIndex(), subspace.getBlockNum()); space.controlEnd(numTiles, tiles); // send the space info Offset size = subspace.getEnd().diff(subspace.getStart()); sendSpaceInfoAndEndComm(size); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4c66aa27cec27f8dd5902baec018ff86d7f49ee2/TreadmillDriver.java/clean/MMTk/src/org/mmtk/utility/gcspy/drivers/TreadmillDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1366, 261, 474, 871, 13, 288, 565, 368, 622, 333, 1634, 16, 732, 8081, 6300, 326, 12568, 598, 501, 565, 368, 14025, 16, 732, 2727, 1404, 5055, 326, 963, 434, 326, 3476, 565, 368, 9029, 326, 9742, 8808, 4769, 1399, 1427, 10247, 16, 471, 1089, 326, 720, 2981, 565, 5267, 787, 273, 720, 2981, 18, 588, 1685, 5621, 565, 509, 1931, 273, 1056, 9337, 2578, 12, 1937, 16, 943, 3178, 16, 13766, 1769, 565, 509, 783, 273, 720, 2981, 18, 588, 1768, 2578, 5621, 565, 309, 261, 4718, 405, 783, 747, 943, 3178, 480, 720, 2981, 18, 588, 1638, 10756, 288, 1377, 720, 2981, 18, 6208, 12, 1937, 16, 943, 3178, 16, 374, 16, 1931, 1769, 1377, 777, 9337, 2578, 273, 1931, 31, 1377, 3476, 18, 15169, 12, 454, 9337, 2578, 1769, 1377, 444, 56, 330, 6809, 12, 1717, 2981, 16, 777, 9337, 2578, 1769, 565, 289, 565, 368, 787, 326, 18279, 565, 3476, 18, 1937, 12136, 5621, 565, 509, 818, 27669, 273, 777, 9337, 2578, 31, 565, 368, 1343, 18, 5363, 292, 82, 2932, 56, 896, 81, 737, 4668, 30, 5431, 16, 777, 9337, 2578, 1546, 16, 818, 27669, 1769, 282, 368, 261, 21, 13, 10286, 14059, 1407, 282, 368, 1366, 326, 1407, 501, 565, 3476, 18, 3256, 12, 1502, 55, 67, 20093, 67, 6616, 67, 13693, 16, 818, 27669, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 818, 27669, 31, 965, 77, 13, 288, 1377, 368, 1893, 2981, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1366, 261, 474, 871, 13, 288, 565, 368, 622, 333, 1634, 16, 732, 8081, 6300, 326, 12568, 598, 501, 565, 368, 14025, 16, 732, 2727, 1404, 5055, 326, 963, 434, 326, 3476, 565, 368, 9029, 326, 9742, 8808, 4769, 1399, 1427, 10247, 16, 471, 1089, 326, 720, 2981, 565, 5267, 787, 273, 720, 2981, 18, 588, 1685, 5621, 565, 509, 1931, 273, 1056, 9337, 2578, 12, 1937, 16, 943, 3178, 16, 13766, 1769, 565, 509, 783, 273, 720, 2981, 18, 588, 1768, 2578, 5621, 565, 309, 261, 4718, 405, 783, 747, 943, 3178, 480, 720, 2981, 18, 588, 1638, 10756, 288, 1377, 720, 2981, 18, 6208, 12, 1937, 16, 943, 3178, 16, 374, 16, 1931, 1769, 2 ]
switch (kind & ~EXCEPTION) {
switch (getBaseKind()) {
public String toString() { String pfx = ""; if (DEBUG_EXCEPTION) { pfx = (kind & EXCEPTION) != 0 ? "e" : "_"; } switch (kind & ~EXCEPTION) { case NULL: return pfx + "n"; case CHECKED_NULL: return pfx + "w"; case NN: return pfx + "N"; case CHECKED_NN: return pfx + "W"; case NSP: return pfx + "s"; case NN_UNKNOWN: return pfx + "-"; case NCP2: return pfx + "/"; default: throw new IllegalStateException("unknown kind of IsNullValue: " + kind); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/5a87ae4b828bca972e1c7b535b3a459935153999/IsNullValue.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/npe/IsNullValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 780, 31592, 273, 1408, 31, 202, 202, 430, 261, 9394, 67, 12658, 13, 288, 1082, 202, 14241, 92, 273, 261, 9224, 473, 23136, 13, 480, 374, 692, 315, 73, 6, 294, 8802, 31, 202, 202, 97, 202, 202, 9610, 261, 9224, 473, 4871, 12658, 13, 288, 202, 202, 3593, 3206, 30, 1082, 202, 2463, 31592, 397, 315, 82, 14432, 202, 202, 3593, 14565, 2056, 67, 8560, 30, 1082, 202, 2463, 31592, 397, 315, 91, 14432, 202, 202, 3593, 30471, 30, 1082, 202, 2463, 31592, 397, 315, 50, 14432, 202, 202, 3593, 14565, 2056, 67, 12225, 30, 1082, 202, 2463, 31592, 397, 315, 59, 14432, 202, 202, 3593, 423, 3118, 30, 1082, 202, 2463, 31592, 397, 315, 87, 14432, 202, 202, 3593, 30471, 67, 14737, 30, 1082, 202, 2463, 31592, 397, 7514, 31, 202, 202, 3593, 423, 4258, 22, 30, 1082, 202, 2463, 31592, 397, 4016, 31, 202, 202, 1886, 30, 1082, 202, 12849, 394, 5477, 2932, 8172, 3846, 434, 30230, 620, 30, 315, 397, 3846, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 780, 31592, 273, 1408, 31, 202, 202, 430, 261, 9394, 67, 12658, 13, 288, 1082, 202, 14241, 92, 273, 261, 9224, 473, 23136, 13, 480, 374, 692, 315, 73, 6, 294, 8802, 31, 202, 202, 97, 202, 202, 9610, 261, 9224, 473, 4871, 12658, 13, 288, 202, 202, 3593, 3206, 30, 1082, 202, 2463, 31592, 397, 315, 82, 14432, 202, 202, 3593, 14565, 2056, 67, 8560, 30, 1082, 202, 2463, 31592, 397, 315, 91, 14432, 202, 202, 3593, 30471, 30, 1082, 202, 2463, 31592, 397, 315, 50, 14432, 202, 202, 3593, 14565, 2056, 67, 12225, 30, 1082, 202, 2463, 31592, 397, 315, 59, 14432, 202, 202, 3593, 423, 3118, 30, 2 ]
"INSERT INTO #SAfe0012(value) values (?)");
"INSERT INTO #SAfe0012(value) values (?)");
public void testInsertRow0012() throws Exception { Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #SAfe0012(value VARCHAR(255) PRIMARY KEY)"); stmt.close(); PreparedStatement insStmt = con.prepareStatement( "INSERT INTO #SAfe0012(value) values (?)"); insStmt.setString(1, "Row 1"); assertEquals(1, insStmt.executeUpdate()); insStmt.setString(1, "Row 2"); assertEquals(1, insStmt.executeUpdate()); insStmt.close(); stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs = stmt.executeQuery("SELECT * FROM #SAfe0012 ORDER BY 1"); assertEquals(null, stmt.getWarnings()); assertEquals(null, rs.getWarnings()); // Insert the new row rs.moveToInsertRow(); rs.updateString(1, "Row X"); rs.insertRow(); // Check the ResultSet contents rs.moveToCurrentRow(); rs.next(); assertEquals("Row 1", rs.getString(1)); rs.next(); assertEquals("Row 2", rs.getString(1)); rs.next(); assertEquals("Row X", rs.getString(1)); rs.close(); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/662fbbf0e5f04956f22a56e58dae82d6c816a2c6/SAfeTest.java/clean/src/test/net/sourceforge/jtds/test/SAfeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4600, 1999, 713, 2138, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 5233, 3030, 713, 2138, 12, 1132, 27915, 12, 10395, 13, 20058, 5311, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 2763, 8952, 273, 356, 18, 9366, 3406, 12, 7734, 315, 11356, 12421, 468, 5233, 3030, 713, 2138, 12, 1132, 13, 924, 13590, 2225, 1769, 3639, 2763, 8952, 18, 542, 780, 12, 21, 16, 315, 1999, 404, 8863, 3639, 1815, 8867, 12, 21, 16, 2763, 8952, 18, 8837, 1891, 10663, 3639, 2763, 8952, 18, 542, 780, 12, 21, 16, 315, 1999, 576, 8863, 3639, 1815, 8867, 12, 21, 16, 2763, 8952, 18, 8837, 1891, 10663, 3639, 2763, 8952, 18, 4412, 5621, 3639, 3480, 273, 356, 18, 2640, 3406, 12, 13198, 18, 2399, 67, 2312, 14555, 67, 26753, 16325, 16, 4766, 282, 10842, 18, 2248, 7509, 67, 3079, 11102, 2782, 1769, 3639, 10842, 3597, 273, 3480, 18, 8837, 1138, 2932, 4803, 380, 4571, 468, 5233, 3030, 713, 2138, 10205, 6953, 404, 8863, 3639, 1815, 8867, 12, 2011, 16, 3480, 18, 588, 4312, 10663, 3639, 1815, 8867, 12, 2011, 16, 3597, 18, 588, 4312, 10663, 3639, 368, 8040, 326, 394, 1027, 3639, 3597, 18, 8501, 774, 4600, 1999, 5621, 3639, 3597, 18, 2725, 780, 12, 21, 16, 315, 1999, 1139, 8863, 3639, 3597, 18, 6387, 1999, 5621, 3639, 368, 2073, 326, 10842, 2939, 3639, 3597, 18, 8501, 774, 3935, 1999, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4600, 1999, 713, 2138, 1435, 1216, 1185, 288, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 5233, 3030, 713, 2138, 12, 1132, 27915, 12, 10395, 13, 20058, 5311, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 2763, 8952, 273, 356, 18, 9366, 3406, 12, 7734, 315, 11356, 12421, 468, 5233, 3030, 713, 2138, 12, 1132, 13, 924, 13590, 2225, 1769, 3639, 2763, 8952, 18, 542, 780, 12, 21, 16, 315, 1999, 404, 8863, 3639, 1815, 8867, 12, 21, 16, 2763, 8952, 18, 8837, 1891, 10663, 3639, 2763, 8952, 18, 542, 780, 12, 21, 16, 315, 1999, 576, 8863, 3639, 1815, 8867, 12, 21, 16, 2763, 2 ]
public List prefixLookup( TypeInfo.eType type, String prefix, boolean qualified ) throws ParserSymbolTableException;
public List prefixLookup( TypeFilter filter, String prefix, boolean qualified ) throws ParserSymbolTableException;
public List prefixLookup( TypeInfo.eType type, String prefix, boolean qualified ) throws ParserSymbolTableException;
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/bce674ac9a55b14dcd5c5cdebac67332b7bea61f/IContainerSymbol.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/IContainerSymbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 987, 1633, 6609, 12, 1412, 966, 18, 73, 559, 618, 16, 514, 1633, 16, 1250, 9348, 262, 1216, 6783, 5335, 1388, 503, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 987, 1633, 6609, 12, 1412, 966, 18, 73, 559, 618, 16, 514, 1633, 16, 1250, 9348, 262, 1216, 6783, 5335, 1388, 503, 31, 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 ]
public BugzillaQueryPageParser(TaskRepository repository, IProgressMonitor monitor) throws LoginException { this.monitor = monitor; // get the servers url urlString = repository.getUrl().toExternalForm() + "/query.cgi"; // if we are dealing with 2.18 we need to use the folowing in the // query string to get the right search page if (BugzillaPlugin.getDefault().isServerCompatability218()) { urlString += "?format=advanced"; } // use the user name and password if we have it if (repository.hasCredentials()) { try { // if we are dealing with 2.18 we already have the ? from before // so we need // an & instead. If other version, still add ? if (BugzillaPlugin.getDefault().isServerCompatability218()) urlString += "&"; else urlString += "?"; urlString += "GoAheadAndLogIn=1&Bugzilla_login=" + URLEncoder.encode(repository.getUserName(), BugzillaPlugin.ENCODING_UTF_8) + "&Bugzilla_password=" + URLEncoder.encode(repository.getPassword(), BugzillaPlugin.ENCODING_UTF_8); } catch (UnsupportedEncodingException e) { /* * Do nothing. Every implementation of the Java platform is * required to support the standard charset * BugzillaPlugin.ENCODING_UTF_8 */ } } successful = false; // try to get the new options from the page parseDocument(); if (!successful) { if (exception instanceof MalformedURLException) { MessageDialog .openError( null, "Unsupported Protocol", "The server that was specified for Bugzilla is not supported by your JVM.\nPlease make sure that you are using a JDK that supports SSL."); } else {// throw exception // if there was a problem with the operation, display an error // message ErrorDialog.openError(null, IBugzillaConstants.TITLE_MESSAGE_DIALOG, "Bugzilla could not complete the the update.", new Status(IStatus.ERROR, IBugzillaConstants.PLUGIN_ID, IStatus.OK, "url may be invalid", exception)); } } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/efe136bc49630de13316a3de20a997050dd17c5b/BugzillaQueryPageParser.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/search/BugzillaQueryPageParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 16907, 15990, 1138, 1964, 2678, 12, 2174, 3305, 3352, 16, 467, 5491, 7187, 6438, 13, 1216, 11744, 503, 288, 202, 202, 2211, 18, 10259, 273, 6438, 31, 202, 202, 759, 336, 326, 7084, 880, 202, 202, 718, 780, 273, 3352, 18, 588, 1489, 7675, 869, 6841, 1204, 1435, 397, 2206, 2271, 18, 19062, 14432, 202, 202, 759, 309, 732, 854, 21964, 598, 576, 18, 2643, 732, 1608, 358, 999, 326, 28420, 543, 310, 316, 326, 202, 202, 759, 843, 533, 358, 336, 326, 2145, 1623, 1363, 202, 202, 430, 261, 19865, 15990, 3773, 18, 588, 1868, 7675, 291, 2081, 13322, 2967, 22, 2643, 10756, 288, 1082, 202, 718, 780, 1011, 18101, 2139, 33, 27080, 14432, 202, 202, 97, 202, 202, 759, 999, 326, 729, 508, 471, 2201, 309, 732, 1240, 518, 202, 202, 430, 261, 9071, 18, 5332, 6163, 10756, 288, 1082, 202, 698, 288, 9506, 202, 759, 309, 732, 854, 21964, 598, 576, 18, 2643, 732, 1818, 1240, 326, 692, 628, 1865, 9506, 202, 759, 1427, 732, 1608, 9506, 202, 759, 392, 473, 3560, 18, 971, 1308, 1177, 16, 4859, 527, 692, 9506, 202, 430, 261, 19865, 15990, 3773, 18, 588, 1868, 7675, 291, 2081, 13322, 2967, 22, 2643, 10756, 6862, 202, 718, 780, 1011, 7830, 14432, 9506, 202, 12107, 6862, 202, 718, 780, 1011, 13574, 31, 9506, 202, 718, 780, 1011, 315, 5741, 24250, 1876, 1343, 382, 33, 21, 10, 19865, 15990, 67, 5819, 1546, 25083, 202, 15, 1976, 7204, 18, 3015, 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, 16907, 15990, 1138, 1964, 2678, 12, 2174, 3305, 3352, 16, 467, 5491, 7187, 6438, 13, 1216, 11744, 503, 288, 202, 202, 2211, 18, 10259, 273, 6438, 31, 202, 202, 759, 336, 326, 7084, 880, 202, 202, 718, 780, 273, 3352, 18, 588, 1489, 7675, 869, 6841, 1204, 1435, 397, 2206, 2271, 18, 19062, 14432, 202, 202, 759, 309, 732, 854, 21964, 598, 576, 18, 2643, 732, 1608, 358, 999, 326, 28420, 543, 310, 316, 326, 202, 202, 759, 843, 533, 358, 336, 326, 2145, 1623, 1363, 202, 202, 430, 261, 19865, 15990, 3773, 18, 588, 1868, 7675, 291, 2081, 13322, 2967, 22, 2643, 10756, 288, 1082, 202, 718, 780, 1011, 18101, 2139, 33, 27080, 14432, 202, 2 ]
if (child.getParent() != null) {
if (child.getParent() != null && child!=node) {
private void collapseCurrentlySelectedNode() { TreePath[] paths = logTree.getSelectionPaths(); if (paths == null) { return; } LogLog.debug("Collapsing all children of selected node"); for (int i = 0; i < paths.length; i++) { TreePath path = paths[i]; DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent(); Enumeration enumeration = node.depthFirstEnumeration(); while (enumeration.hasMoreElements()) { DefaultMutableTreeNode child = (DefaultMutableTreeNode) enumeration.nextElement(); if (child.getParent() != null) { TreeNode[] nodes = ((DefaultMutableTreeNode) child.getParent()).getPath(); TreePath treePath = new TreePath(nodes); while ((treePath != null) && (treePath.getPathCount() > 0)) { DefaultMutableTreeNode potentialRoot = (DefaultMutableTreeNode) treePath.getPathComponent(0); logTree.collapsePath(treePath); treePath = treePath.getParentPath(); } } } } ensureRootExpanded(); }
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/4903013831acec34499887e7f6014471278db5b4/LoggerNameTreePanel.java/buggy/src/java/org/apache/log4j/chainsaw/LoggerNameTreePanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 13627, 3935, 715, 7416, 907, 1435, 288, 565, 4902, 743, 8526, 2953, 273, 613, 2471, 18, 588, 6233, 4466, 5621, 565, 309, 261, 4481, 422, 446, 13, 288, 1377, 327, 31, 565, 289, 565, 1827, 1343, 18, 4148, 2932, 914, 3762, 2470, 777, 2325, 434, 3170, 756, 8863, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2953, 18, 2469, 31, 277, 27245, 288, 1377, 4902, 743, 589, 273, 2953, 63, 77, 15533, 1377, 2989, 19536, 12513, 756, 273, 3639, 261, 1868, 19536, 12513, 13, 589, 18, 588, 3024, 743, 1841, 5621, 1377, 13864, 16836, 273, 756, 18, 5979, 3759, 21847, 5621, 1377, 1323, 261, 7924, 7067, 18, 5332, 7417, 3471, 10756, 288, 3639, 2989, 19536, 12513, 1151, 273, 1850, 261, 1868, 19536, 12513, 13, 16836, 18, 4285, 1046, 5621, 3639, 309, 261, 3624, 18, 588, 3054, 1435, 480, 446, 597, 1151, 5, 33, 2159, 13, 288, 1850, 20270, 8526, 2199, 273, 5411, 14015, 1868, 19536, 12513, 13, 1151, 18, 588, 3054, 1435, 2934, 588, 743, 5621, 1850, 4902, 743, 2151, 743, 273, 394, 4902, 743, 12, 4690, 1769, 1850, 1323, 14015, 3413, 743, 480, 446, 13, 597, 261, 3413, 743, 18, 588, 743, 1380, 1435, 405, 374, 3719, 288, 5411, 2989, 19536, 12513, 8555, 2375, 273, 2868, 261, 1868, 19536, 12513, 13, 2151, 743, 18, 588, 743, 1841, 12, 20, 1769, 5411, 613, 2471, 18, 21405, 743, 12, 3413, 743, 1769, 5411, 2151, 743, 273, 2151, 743, 18, 588, 3054, 743, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 13627, 3935, 715, 7416, 907, 1435, 288, 565, 4902, 743, 8526, 2953, 273, 613, 2471, 18, 588, 6233, 4466, 5621, 565, 309, 261, 4481, 422, 446, 13, 288, 1377, 327, 31, 565, 289, 565, 1827, 1343, 18, 4148, 2932, 914, 3762, 2470, 777, 2325, 434, 3170, 756, 8863, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2953, 18, 2469, 31, 277, 27245, 288, 1377, 4902, 743, 589, 273, 2953, 63, 77, 15533, 1377, 2989, 19536, 12513, 756, 273, 3639, 261, 1868, 19536, 12513, 13, 589, 18, 588, 3024, 743, 1841, 5621, 1377, 13864, 16836, 273, 756, 18, 5979, 3759, 21847, 5621, 1377, 1323, 261, 7924, 7067, 18, 5332, 7417, 3471, 10756, 288, 3639, 2989, 2 ]
addValidator("timePeriod", createDatatypeValidator("timePeriod", getDatatypeValidator( "recurringDuration"), facets, false ));
createDatatypeValidator("timePeriod", getDatatypeValidator( "recurringDuration"), facets, false );
void initializeRegistry() { DatatypeValidator v = null; //Register Primitive Datatypes 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("ID", new IDDatatypeValidator()); fRegistry.put("IDREF", new IDREFDatatypeValidator()); fRegistry.put("ENTITY", new ENTITYDatatypeValidator()); fRegistry.put("NOTATION", new NOTATIONDatatypeValidator()); fRegistry.put("QName", new QNameDatatypeValidator()); Hashtable facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]+)(-[a-zA-Z]+)*" ); addValidator("language", createDatatypeValidator("language", new StringDatatypeValidator() , facets, false )); addValidator("IDREFS", createDatatypeValidator( "IDREFS", new IDREFDatatypeValidator(), null , true )); addValidator("ENTITIES", createDatatypeValidator( "ENTITIES", new ENTITYDatatypeValidator(), null, true )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "\\c+" ); addValidator("NMTOKEN", createDatatypeValidator("NMTOKEN", new StringDatatypeValidator(), facets, false )); addValidator("NMTOKENS", createDatatypeValidator("NMTOKENS", getDatatypeValidator( "NMTOKEN" ), null, true )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "\\i\\c*" ); addValidator("Name", createDatatypeValidator("Name", new StringDatatypeValidator(), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PATTERN , "[\\i-[:]][\\c-[:]]*" ); addValidator("NCName", createDatatypeValidator("NCName", new StringDatatypeValidator(), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_SCALE, "0"); addValidator("integer", createDatatypeValidator("integer", new DecimalDatatypeValidator(), facets, false)); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "0" ); addValidator("nonPositiveInteger", createDatatypeValidator("nonPositiveInteger", getDatatypeValidator("integer"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "-1" ); addValidator("negativeInteger", createDatatypeValidator("negativeInteger", getDatatypeValidator( "nonPositiveInteger"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "9223372036854775807"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-9223372036854775808"); addValidator("long", createDatatypeValidator("long", getDatatypeValidator( "integer"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "2147483647"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-2147483648"); addValidator("int", createDatatypeValidator("int", getDatatypeValidator( "long"), facets,false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "32767"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-32768"); addValidator("short", createDatatypeValidator("short", getDatatypeValidator( "int"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE , "127"); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "-128"); addValidator("byte", createDatatypeValidator("byte", getDatatypeValidator( "short"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MININCLUSIVE, "0" ); addValidator("nonNegativeInteger", createDatatypeValidator("nonNegativeInteger", getDatatypeValidator( "integer"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "18446744073709551615" ); addValidator("unsignedLong", createDatatypeValidator("unsignedLong", getDatatypeValidator( "nonNegativeInteger"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "4294967295" ); addValidator("unsignedInt", createDatatypeValidator("unsignedInt", getDatatypeValidator( "unsignedLong"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "65535" ); addValidator("unsignedShort", createDatatypeValidator("unsignedShort", getDatatypeValidator( "unsignedInt"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "255" ); addValidator("unsignedByte", createDatatypeValidator("unsignedByte", getDatatypeValidator( "unsignedShort"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_MAXINCLUSIVE, "255" ); addValidator("positiveInteger", createDatatypeValidator("positiveInteger", getDatatypeValidator( "nonNegativeInteger"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_DURATION, "P0Y" ); facets.put(SchemaSymbols.ELT_PERIOD, "P0Y" ); addValidator("timeInstant", createDatatypeValidator("timeInstant", getDatatypeValidator( "recurringDuration"),facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_DURATION, "P0Y" ); facets.put(SchemaSymbols.ELT_PERIOD, "PY24H" ); addValidator("time", createDatatypeValidator("time", getDatatypeValidator( "recurringDuration"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PERIOD, "P0Y" ); addValidator("timePeriod", createDatatypeValidator("timePeriod", getDatatypeValidator( "recurringDuration"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_DURATION, "PT24H" ); addValidator("date", createDatatypeValidator("date", getDatatypeValidator( "timePeriod"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_DURATION, "P1M" ); addValidator("month", createDatatypeValidator("month", getDatatypeValidator( "timePeriod"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_DURATION, "P1Y" ); addValidator("year", createDatatypeValidator("year", getDatatypeValidator( "timePeriod"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_DURATION, "P100Y" ); addValidator("century", createDatatypeValidator("century", getDatatypeValidator( "timePeriod"), facets, false )); facets = new Hashtable(); facets.put(SchemaSymbols.ELT_PERIOD, "P1Y" ); facets.put(SchemaSymbols.ELT_DURATION, "PT24H" ); addValidator("recurringDate", createDatatypeValidator("recurringDate", getDatatypeValidator( "recurringDuration"),facets, false )); } catch ( InvalidDatatypeFacetException ex ){ ex.printStackTrace(); } }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/ffeac47efe48c6c710d3b3cf129a20c34d984794/DatatypeValidatorFactoryImpl.java/buggy/src/org/apache/xerces/validators/datatype/DatatypeValidatorFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4046, 4243, 1435, 288, 3639, 21168, 5126, 225, 331, 273, 446, 31, 3639, 368, 3996, 14488, 6168, 13373, 540, 775, 288, 5411, 284, 4243, 18, 458, 2932, 1080, 3113, 5411, 394, 514, 20228, 5126, 1435, 11272, 5411, 284, 4243, 18, 458, 2932, 6494, 3113, 6647, 394, 3411, 20228, 5126, 1435, 225, 11272, 5411, 284, 4243, 18, 458, 2932, 5659, 3113, 2398, 394, 5450, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 9056, 3113, 5411, 394, 3698, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 12586, 3113, 6647, 394, 11322, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 957, 5326, 3113, 1377, 394, 2647, 5326, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 266, 21179, 5326, 3113, 394, 868, 21179, 5326, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 8578, 3113, 5411, 394, 7896, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 1650, 2404, 3113, 1377, 394, 3699, 2404, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 734, 3113, 7734, 394, 1599, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 734, 10771, 3113, 2398, 394, 1599, 10771, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 11101, 3113, 5411, 394, 17020, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 4400, 2689, 3113, 1850, 394, 4269, 2689, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 13688, 3113, 2398, 394, 16723, 20228, 5126, 10663, 2398, 18559, 21681, 273, 394, 18559, 5621, 5411, 21681, 18, 458, 12, 3078, 14821, 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, 4046, 4243, 1435, 288, 3639, 21168, 5126, 225, 331, 273, 446, 31, 3639, 368, 3996, 14488, 6168, 13373, 540, 775, 288, 5411, 284, 4243, 18, 458, 2932, 1080, 3113, 5411, 394, 514, 20228, 5126, 1435, 11272, 5411, 284, 4243, 18, 458, 2932, 6494, 3113, 6647, 394, 3411, 20228, 5126, 1435, 225, 11272, 5411, 284, 4243, 18, 458, 2932, 5659, 3113, 2398, 394, 5450, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 9056, 3113, 5411, 394, 3698, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 12586, 3113, 6647, 394, 11322, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 957, 5326, 3113, 1377, 394, 2647, 5326, 20228, 5126, 10663, 5411, 284, 4243, 18, 458, 2932, 266, 2 ]
public void testGetObject4() throws Exception { int data = 1; Statement stmt = con.createStatement(); stmt.execute("CREATE TABLE #getObject4 (data INT, minval INT, maxval INT)"); stmt.close(); PreparedStatement pstmt = con.prepareStatement("INSERT INTO #getObject4 (data, minval, maxval) VALUES (?, ?, ?)"); pstmt.setInt(1, data); pstmt.setInt(2, Integer.MIN_VALUE); pstmt.setInt(3, Integer.MAX_VALUE); assertEquals(1, pstmt.executeUpdate()); pstmt.close(); Statement stmt2 = con.createStatement(); ResultSet rs = stmt2.executeQuery("SELECT data, minval, maxval FROM #getObject4"); assertTrue(rs.next()); assertTrue(rs.getBoolean(1)); assertTrue(rs.getByte(1) == 1); assertTrue(rs.getShort(1) == 1); assertTrue(rs.getInt(1) == 1); assertTrue(rs.getLong(1) == 1); assertTrue(rs.getFloat(1) == 1); assertTrue(rs.getDouble(1) == 1); assertTrue(rs.getBigDecimal(1).intValue() == 1); assertEquals("1", rs.getString(1)); Object tmpData = rs.getObject(1); assertTrue(tmpData instanceof Integer); assertEquals(data, ((Integer) tmpData).intValue()); ResultSetMetaData resultSetMetaData = rs.getMetaData(); assertNotNull(resultSetMetaData); assertEquals(Types.INTEGER, resultSetMetaData.getColumnType(1)); assertEquals(rs.getInt(2), Integer.MIN_VALUE); assertEquals(rs.getInt(3), Integer.MAX_VALUE); assertFalse(rs.next()); stmt2.close(); rs.close(); }
2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/f18464865cbac496cd34ae72689b9db6c38ac640/ResultSetTest.java/clean/src/test/net/sourceforge/jtds/test/ResultSetTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 921, 24, 1435, 1216, 1185, 288, 3639, 509, 501, 273, 404, 31, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 588, 921, 24, 261, 892, 6137, 16, 1131, 1125, 6137, 16, 30443, 6137, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 588, 921, 24, 261, 892, 16, 1131, 1125, 16, 30443, 13, 13477, 13590, 16, 20033, 692, 2225, 1769, 3639, 293, 10589, 18, 542, 1702, 12, 21, 16, 501, 1769, 3639, 293, 10589, 18, 542, 1702, 12, 22, 16, 2144, 18, 6236, 67, 4051, 1769, 3639, 293, 10589, 18, 542, 1702, 12, 23, 16, 2144, 18, 6694, 67, 4051, 1769, 3639, 1815, 8867, 12, 21, 16, 293, 10589, 18, 8837, 1891, 10663, 3639, 293, 10589, 18, 4412, 5621, 3639, 8056, 3480, 22, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 3597, 273, 3480, 22, 18, 8837, 1138, 2932, 4803, 501, 16, 1131, 1125, 16, 30443, 4571, 468, 588, 921, 24, 8863, 3639, 1815, 5510, 12, 5453, 18, 4285, 10663, 3639, 1815, 5510, 12, 5453, 18, 588, 5507, 12, 21, 10019, 3639, 1815, 5510, 12, 5453, 18, 588, 3216, 12, 21, 13, 422, 404, 1769, 3639, 1815, 5510, 12, 5453, 18, 588, 4897, 12, 21, 13, 422, 404, 1769, 3639, 1815, 5510, 12, 5453, 18, 588, 1702, 12, 21, 13, 422, 404, 1769, 3639, 1815, 5510, 12, 5453, 18, 588, 3708, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 921, 24, 1435, 1216, 1185, 288, 3639, 509, 501, 273, 404, 31, 3639, 8056, 3480, 273, 356, 18, 2640, 3406, 5621, 3639, 3480, 18, 8837, 2932, 9344, 7567, 468, 588, 921, 24, 261, 892, 6137, 16, 1131, 1125, 6137, 16, 30443, 6137, 2225, 1769, 3639, 3480, 18, 4412, 5621, 3639, 16913, 293, 10589, 273, 356, 18, 9366, 3406, 2932, 11356, 12421, 468, 588, 921, 24, 261, 892, 16, 1131, 1125, 16, 30443, 13, 13477, 13590, 16, 20033, 692, 2225, 1769, 3639, 293, 10589, 18, 542, 1702, 12, 21, 16, 501, 1769, 3639, 293, 10589, 18, 542, 1702, 12, 22, 16, 2144, 18, 6236, 67, 4051, 1769, 3639, 293, 10589, 18, 542, 1702, 12, 23, 2 ]
void deleteCategory(ITaskCategory category) {
void deleteCategory(ITaskContainer category) {
void deleteCategory(ITaskCategory category) { categories.remove(category); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/dea0a82964f47b68e4f650f37d53ae9af2441bfa/TaskList.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1430, 4457, 12, 1285, 835, 4457, 3150, 13, 288, 202, 202, 8995, 18, 4479, 12, 4743, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 1430, 4457, 12, 1285, 835, 4457, 3150, 13, 288, 202, 202, 8995, 18, 4479, 12, 4743, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SwingUtilities.invokeLater(r);
invokeAndWait(r);
public void receivedResponse(boolean error, String response) { if (m_fastUpdate) { assert(SwingUtilities.isEventDispatchThread()); appendResponse(error, response); return; } Runnable r = new UpdateResponse(this, error, response); SwingUtilities.invokeLater(r); }
51310 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51310/244dea79395ce64edcb9f803af5e0993085decce/GtpShell.java/buggy/src/gui/GtpShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 1064, 12, 6494, 555, 16, 514, 766, 13, 565, 288, 3639, 309, 261, 81, 67, 8076, 1891, 13, 3639, 288, 5411, 1815, 12, 6050, 310, 11864, 18, 291, 1133, 5325, 3830, 10663, 5411, 714, 1064, 12, 1636, 16, 766, 1769, 5411, 327, 31, 3639, 289, 3639, 10254, 436, 273, 394, 2315, 1064, 12, 2211, 16, 555, 16, 766, 1769, 3639, 4356, 1876, 5480, 12, 86, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 5079, 1064, 12, 6494, 555, 16, 514, 766, 13, 565, 288, 3639, 309, 261, 81, 67, 8076, 1891, 13, 3639, 288, 5411, 1815, 12, 6050, 310, 11864, 18, 291, 1133, 5325, 3830, 10663, 5411, 714, 1064, 12, 1636, 16, 766, 1769, 5411, 327, 31, 3639, 289, 3639, 10254, 436, 273, 394, 2315, 1064, 12, 2211, 16, 555, 16, 766, 1769, 3639, 4356, 1876, 5480, 12, 86, 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 ]
if (!(object instanceof BeanPointer)){ return false; }
if (!(object instanceof BeanPointer)) { return false; }
public boolean equals(Object object){ if (object == this){ return true; } if (!(object instanceof BeanPointer)){ return false; } BeanPointer other = (BeanPointer)object; if (parent != other.parent){ if (parent == null || !parent.equals(other.parent)){ return false; } } if ((name == null && other.name != null) || (name != null && !name.equals(other.name))){ return false; } int i_this = (index == WHOLE_COLLECTION ? 0 : index); int i_other = (other.index == WHOLE_COLLECTION ? 0 : other.index); if (i_this != i_other){ return false; } if (bean instanceof Number || bean instanceof String || bean instanceof Boolean){ return bean.equals(other.bean); } return bean == other.bean; }
52531 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52531/430fdd01e75a5e681274aa65adeb2d9826ee45a8/BeanPointer.java/buggy/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 733, 15329, 3639, 309, 261, 1612, 422, 333, 15329, 5411, 327, 638, 31, 3639, 289, 3639, 309, 16051, 12, 1612, 1276, 7704, 4926, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 7704, 4926, 1308, 273, 261, 3381, 4926, 13, 1612, 31, 3639, 309, 261, 2938, 480, 1308, 18, 2938, 15329, 5411, 309, 261, 2938, 422, 446, 747, 401, 2938, 18, 14963, 12, 3011, 18, 2938, 3719, 95, 7734, 327, 629, 31, 5411, 289, 3639, 289, 3639, 309, 14015, 529, 422, 446, 597, 1308, 18, 529, 480, 446, 13, 747, 7734, 261, 529, 480, 446, 597, 401, 529, 18, 14963, 12, 3011, 18, 529, 3719, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 509, 277, 67, 2211, 273, 261, 1615, 422, 678, 7995, 900, 67, 25964, 692, 374, 294, 770, 1769, 3639, 509, 277, 67, 3011, 273, 261, 3011, 18, 1615, 422, 678, 7995, 900, 67, 25964, 692, 374, 294, 1308, 18, 1615, 1769, 3639, 309, 261, 77, 67, 2211, 480, 277, 67, 3011, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 309, 261, 14496, 1276, 3588, 747, 3931, 1276, 514, 747, 3931, 1276, 3411, 15329, 5411, 327, 3931, 18, 14963, 12, 3011, 18, 14496, 1769, 3639, 289, 3639, 327, 3931, 422, 1308, 18, 14496, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 733, 15329, 3639, 309, 261, 1612, 422, 333, 15329, 5411, 327, 638, 31, 3639, 289, 3639, 309, 16051, 12, 1612, 1276, 7704, 4926, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 7704, 4926, 1308, 273, 261, 3381, 4926, 13, 1612, 31, 3639, 309, 261, 2938, 480, 1308, 18, 2938, 15329, 5411, 309, 261, 2938, 422, 446, 747, 401, 2938, 18, 14963, 12, 3011, 18, 2938, 3719, 95, 7734, 327, 629, 31, 5411, 289, 3639, 289, 3639, 309, 14015, 529, 422, 446, 597, 1308, 18, 529, 480, 446, 13, 747, 7734, 261, 529, 480, 446, 597, 401, 529, 18, 14963, 12, 3011, 18, 529, 3719, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 2 ]
_logDir = new File(_pageContext.getServletConfig().getInitParameter("logDir"));
String logDirName = _pageContext.getServletConfig().getInitParameter("logDir"); if (logDirName == null) { logDirName = _pageContext.getServletContext().getInitParameter("logDir"); } _logDir = new File(logDirName);
public int doStartTag() throws JspException { _count = 0; _logDir = new File(_pageContext.getServletConfig().getInitParameter("logDir")); String logDirPath = _logDir.getAbsolutePath(); System.out.println("Scanning directory: " + logDirPath + " for log files."); _fileNames = _logDir.list(new FilenameFilter() { public boolean accept(File dir, String name) { return name.startsWith("log") && name.endsWith(".xml") && !(new File(dir, name).isDirectory()); } }); if(_fileNames == null) { throw new JspException( "Configuration problem? No logs found in logDir: " + logDirPath); } //sort links... Arrays.sort(_fileNames, new Comparator() { public int compare(Object o1, Object o2) { return ((String) o2).compareTo((String) o1); } }); return EVAL_BODY_TAG; }
55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/49a89f61afe557f3ab9c55b92b44e7d1afa1b53b/NavigationTag.java/buggy/reporting/jsp/src/net/sourceforge/cruisecontrol/taglib/NavigationTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 389, 1883, 273, 374, 31, 3639, 514, 613, 28780, 273, 389, 2433, 1042, 18, 588, 4745, 809, 7675, 588, 2570, 1662, 2932, 1330, 1621, 8863, 309, 261, 1330, 28780, 422, 446, 13, 288, 613, 28780, 273, 389, 2433, 1042, 18, 588, 4745, 1042, 7675, 588, 2570, 1662, 2932, 1330, 1621, 8863, 289, 389, 1330, 1621, 273, 394, 1387, 12, 1330, 28780, 1769, 540, 514, 613, 20129, 273, 389, 1330, 1621, 18, 588, 10368, 743, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 1541, 10903, 1867, 30, 315, 397, 613, 20129, 397, 315, 364, 613, 1390, 1199, 1769, 3639, 389, 768, 1557, 273, 389, 1330, 1621, 18, 1098, 12, 2704, 16671, 1586, 1435, 288, 5411, 1071, 1250, 2791, 12, 812, 1577, 16, 514, 508, 13, 288, 7734, 327, 508, 18, 17514, 1190, 2932, 1330, 7923, 597, 508, 18, 5839, 1190, 2932, 18, 2902, 7923, 597, 401, 12, 2704, 1387, 12, 1214, 16, 508, 2934, 291, 2853, 10663, 5411, 289, 3639, 15549, 3639, 309, 24899, 768, 1557, 422, 446, 13, 288, 5411, 604, 394, 27485, 12, 10792, 315, 1750, 6199, 35, 2631, 5963, 1392, 316, 31101, 30, 315, 10792, 397, 613, 20129, 1769, 3639, 289, 3639, 368, 3804, 4716, 2777, 3639, 5647, 18, 3804, 24899, 768, 1557, 16, 394, 13359, 1435, 288, 5411, 1071, 509, 3400, 12, 921, 320, 21, 16, 1033, 320, 22, 13, 288, 7734, 327, 14015, 780, 13, 320, 22, 2934, 9877, 774, 12443, 780, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 741, 30512, 1435, 1216, 27485, 288, 3639, 389, 1883, 273, 374, 31, 3639, 514, 613, 28780, 273, 389, 2433, 1042, 18, 588, 4745, 809, 7675, 588, 2570, 1662, 2932, 1330, 1621, 8863, 309, 261, 1330, 28780, 422, 446, 13, 288, 613, 28780, 273, 389, 2433, 1042, 18, 588, 4745, 1042, 7675, 588, 2570, 1662, 2932, 1330, 1621, 8863, 289, 389, 1330, 1621, 273, 394, 1387, 12, 1330, 28780, 1769, 540, 514, 613, 20129, 273, 389, 1330, 1621, 18, 588, 10368, 743, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 1541, 10903, 1867, 30, 315, 397, 613, 20129, 397, 315, 364, 613, 1390, 1199, 1769, 3639, 389, 768, 1557, 273, 389, 1330, 1621, 18, 1098, 12, 2704, 2 ]
Iterator /*<Invite>*/ iter = invites.iterator(); while (iter.hasNext()) { Invite cur = (Invite) iter.next();
private void processInvitesAfterCreate(String method, int folderId, short volumeId, boolean createAppt, ParsedMessage pm, List /* Invite */ invites) throws ServiceException { // since this is the first time we've seen this Invite Message, we need to process it // and see if it updates an existing Appointment in the Appointments table, or whatever... boolean updatedMetadata = false; Iterator /*<Invite>*/ iter = invites.iterator(); while (iter.hasNext()) { Invite cur = (Invite) iter.next(); Mailbox mbox = getMailbox(); Appointment appt = mbox.getAppointmentByUid(cur.getUid()); if (createAppt) { if (appt == null) { // ONLY create an appointment if this is a REQUEST method...otherwise don't. if (method.equals(ICalTok.REQUEST.toString())) { appt = mbox.createAppointment(Mailbox.ID_FOLDER_CALENDAR, volumeId, "", cur.getUid(), pm, cur); } else { sLog.info("Mailbox " + getMailboxId()+" Message "+getId()+" SKIPPING Invite "+method+" b/c no Appointment could be found"); return; // for now, just ignore this Invitation } } else { // When updating an existing appointment, ignore the // passed-in folderId which will usually be Inbox. Leave // the appointment in the folder it's currently in. appt.processNewInvite(pm, cur, false, appt.getFolderId(), volumeId); } } if (appt != null) { ApptInfo info = new ApptInfo(appt.getId(), cur.getComponentNum()); if (mApptInfos == null) { mApptInfos = new ArrayList<ApptInfo>(); } mApptInfos.add(info); updatedMetadata = true; } } if (updatedMetadata) saveMetadata(); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/4c89ff9f70777fd0b4b98edb0f794c8e0720288c/Message.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Message.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1207, 3605, 2997, 4436, 1684, 12, 780, 707, 16, 509, 31996, 16, 3025, 3940, 548, 16, 1250, 752, 1294, 337, 16, 4766, 1850, 19244, 1079, 7430, 16, 987, 1748, 30981, 1195, 2198, 2997, 13, 565, 1216, 16489, 288, 4202, 368, 3241, 333, 353, 326, 1122, 813, 732, 8081, 5881, 333, 30981, 2350, 16, 732, 1608, 358, 1207, 518, 4202, 368, 471, 2621, 309, 518, 4533, 392, 2062, 1716, 29815, 316, 326, 1716, 1153, 1346, 1014, 16, 578, 15098, 2777, 4202, 1250, 3526, 2277, 273, 629, 31, 2868, 4498, 1748, 32, 22730, 34, 5549, 1400, 273, 2198, 2997, 18, 9838, 5621, 4202, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 6647, 30981, 662, 273, 261, 22730, 13, 1400, 18, 4285, 5621, 6647, 11542, 2147, 312, 2147, 273, 31991, 2147, 5621, 6647, 1716, 29815, 513, 337, 273, 312, 2147, 18, 588, 1294, 29815, 858, 11994, 12, 1397, 18, 588, 11994, 10663, 6647, 309, 261, 2640, 1294, 337, 13, 288, 9079, 309, 261, 438, 337, 422, 446, 13, 288, 10792, 368, 20747, 752, 392, 595, 763, 475, 309, 333, 353, 279, 12492, 707, 2777, 29778, 2727, 1404, 18, 10402, 309, 261, 2039, 18, 14963, 12, 2871, 287, 20477, 18, 5519, 18, 10492, 1435, 3719, 288, 15604, 513, 337, 273, 312, 2147, 18, 2640, 1294, 29815, 12, 30239, 18, 734, 67, 17357, 67, 12983, 29154, 16, 3940, 548, 16, 23453, 662, 18, 588, 11994, 9334, 7430, 16, 662, 1769, 10402, 289, 469, 288, 15604, 272, 1343, 18, 1376, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1207, 3605, 2997, 4436, 1684, 12, 780, 707, 16, 509, 31996, 16, 3025, 3940, 548, 16, 1250, 752, 1294, 337, 16, 4766, 1850, 19244, 1079, 7430, 16, 987, 1748, 30981, 1195, 2198, 2997, 13, 565, 1216, 16489, 288, 4202, 368, 3241, 333, 353, 326, 1122, 813, 732, 8081, 5881, 333, 30981, 2350, 16, 732, 1608, 358, 1207, 518, 4202, 368, 471, 2621, 309, 518, 4533, 392, 2062, 1716, 29815, 316, 326, 1716, 1153, 1346, 1014, 16, 578, 15098, 2777, 4202, 1250, 3526, 2277, 273, 629, 31, 2868, 4498, 1748, 32, 22730, 34, 5549, 1400, 273, 2198, 2997, 18, 9838, 5621, 4202, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 6647, 30981, 662, 273, 261, 22730, 13, 2 ]
finishVisit( );
finishVisit( query );
public void visitListItem( ListItemDesign list ) { prepareVisit( list ); assert tempQuery != null; visitListBand( list.getHeader( ) ); popExpressions( ); SlotHandle groupsSlot = ( (ListHandle) list.getHandle( ) ).getGroups( ); for ( int i = 0; i < list.getGroupCount( ); i++ ) { handleListGroup( list.getGroup( i ), (GroupHandle) groupsSlot .get( i ) ); } if ( list.getDetail( ).getContentCount( ) != 0 ) { tempQuery.setUsesDetails( true ); } pushExpressions( tempQuery.getRowExpressions( ) ); visitListBand( list.getDetail( ) ); popExpressions( ); pushExpressions( tempQuery.getAfterExpressions( ) ); visitListBand( list.getFooter( ) ); finishVisit( ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/13150ae5efd3665ae68ab91821505d7b2a0a0370/ReportQueryBuilder.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 3757, 13575, 12, 987, 1180, 15478, 666, 262, 202, 202, 95, 1082, 202, 9366, 10432, 12, 666, 11272, 1082, 202, 11231, 1906, 1138, 480, 446, 31, 25083, 202, 11658, 682, 14231, 12, 666, 18, 588, 1864, 12, 262, 11272, 1082, 202, 5120, 8927, 12, 11272, 1082, 202, 8764, 3259, 3252, 8764, 273, 261, 261, 682, 3259, 13, 666, 18, 588, 3259, 12, 262, 262, 18, 588, 3621, 12, 11272, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 666, 18, 588, 1114, 1380, 12, 11272, 277, 9904, 262, 1082, 202, 95, 9506, 202, 4110, 682, 1114, 12, 666, 18, 588, 1114, 12, 277, 262, 16, 261, 1114, 3259, 13, 3252, 8764, 25083, 202, 18, 588, 12, 277, 262, 11272, 1082, 202, 97, 1082, 202, 430, 261, 666, 18, 588, 6109, 12, 262, 18, 588, 1350, 1380, 12, 262, 480, 374, 262, 1082, 202, 95, 9506, 202, 5814, 1138, 18, 542, 15128, 3790, 12, 638, 11272, 1082, 202, 97, 1082, 202, 6206, 8927, 12, 1906, 1138, 18, 588, 1999, 8927, 12, 262, 11272, 1082, 202, 11658, 682, 14231, 12, 666, 18, 588, 6109, 12, 262, 11272, 1082, 202, 5120, 8927, 12, 11272, 1082, 202, 6206, 8927, 12, 1906, 1138, 18, 588, 4436, 8927, 12, 262, 11272, 1082, 202, 11658, 682, 14231, 12, 666, 18, 588, 13787, 12, 262, 11272, 1082, 202, 13749, 10432, 12, 843, 11272, 3196, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 3757, 13575, 12, 987, 1180, 15478, 666, 262, 202, 202, 95, 1082, 202, 9366, 10432, 12, 666, 11272, 1082, 202, 11231, 1906, 1138, 480, 446, 31, 25083, 202, 11658, 682, 14231, 12, 666, 18, 588, 1864, 12, 262, 11272, 1082, 202, 5120, 8927, 12, 11272, 1082, 202, 8764, 3259, 3252, 8764, 273, 261, 261, 682, 3259, 13, 666, 18, 588, 3259, 12, 262, 262, 18, 588, 3621, 12, 11272, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 666, 18, 588, 1114, 1380, 12, 11272, 277, 9904, 262, 1082, 202, 95, 9506, 202, 4110, 682, 1114, 12, 666, 18, 588, 1114, 12, 277, 262, 16, 261, 1114, 3259, 13, 3252, 8764, 25083, 202, 2 ]
public RuleDescr rule() throws RecognitionException { RuleDescr rule; Token loc=null; Token any=null; String ruleName = null; rule = null; String consequence = ""; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:217:17: ( opt_eol loc= 'rule' ruleName= word opt_eol ( rule_attributes[rule] )? opt_eol (loc= 'when' ( ':' )? opt_eol ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] ) )? 'then' ( ':' )? opt_eol ( options {greedy=false; } : any= . )* 'end' opt_eol ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:217:17: opt_eol loc= 'rule' ruleName= word opt_eol ( rule_attributes[rule] )? opt_eol (loc= 'when' ( ':' )? opt_eol ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] ) )? 'then' ( ':' )? opt_eol ( options {greedy=false; } : any= . )* 'end' opt_eol { following.push(FOLLOW_opt_eol_in_rule539); opt_eol(); following.pop(); loc=(Token)input.LT(1); match(input,28,FOLLOW_28_in_rule545); following.push(FOLLOW_word_in_rule549); ruleName=word(); following.pop(); following.push(FOLLOW_opt_eol_in_rule551); opt_eol(); following.pop(); rule = new RuleDescr( ruleName, null ); rule.setLocation( loc.getLine(), loc.getCharPositionInLine() ); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:223:17: ( rule_attributes[rule] )? int alt19=2; switch ( input.LA(1) ) { case 30: case 32: alt19=1; break; case EOL: case 22: case 33: case 34: case 35: case 36: case 37: case 38: alt19=1; break; case 29: alt19=1; break; case 31: alt19=1; break; default: NoViableAltException nvae = new NoViableAltException("223:17: ( rule_attributes[rule] )?", 19, 0, input); throw nvae; } switch (alt19) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:223:25: rule_attributes[rule] { following.push(FOLLOW_rule_attributes_in_rule562); rule_attributes(rule); following.pop(); } break; } following.push(FOLLOW_opt_eol_in_rule572); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:226:17: (loc= 'when' ( ':' )? opt_eol ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] ) )? int alt22=2; int LA22_0 = input.LA(1); if ( LA22_0==29 ) { alt22=1; } else if ( LA22_0==31 ) { alt22=2; } else { NoViableAltException nvae = new NoViableAltException("226:17: (loc= \'when\' ( \':\' )? opt_eol ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] ) )?", 22, 0, input); throw nvae; } switch (alt22) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:226:25: loc= 'when' ( ':' )? opt_eol ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] ) { loc=(Token)input.LT(1); match(input,29,FOLLOW_29_in_rule580); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:226:36: ( ':' )? int alt20=2; int LA20_0 = input.LA(1); if ( LA20_0==30 ) { int LA20_1 = input.LA(2); if ( !( expander != null ) ) { alt20=1; } else if ( expander != null ) { alt20=2; } else { NoViableAltException nvae = new NoViableAltException("226:36: ( \':\' )?", 20, 1, input); throw nvae; } } else if ( (LA20_0>=EOL && LA20_0<=29)||(LA20_0>=31 && LA20_0<=56) ) { alt20=2; } else { NoViableAltException nvae = new NoViableAltException("226:36: ( \':\' )?", 20, 0, input); throw nvae; } switch (alt20) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:226:36: ':' { match(input,30,FOLLOW_30_in_rule582); } break; } following.push(FOLLOW_opt_eol_in_rule585); opt_eol(); following.pop(); AndDescr lhs = new AndDescr(); rule.setLhs( lhs ); lhs.setLocation( loc.getLine(), loc.getCharPositionInLine() ); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] ) int alt21=2; switch ( input.LA(1) ) { case 21: int LA21_1 = input.LA(2); if ( expander != null ) { alt21=1; } else if ( true ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 1, input); throw nvae; } break; case EOL: case INT: case BOOL: case STRING: case FLOAT: case MISC: case WS: case SH_STYLE_SINGLE_LINE_COMMENT: case C_STYLE_SINGLE_LINE_COMMENT: case MULTI_LINE_COMMENT: case 15: case 16: case 17: case 18: case 19: case 20: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 56: alt21=1; break; case 31: int LA21_3 = input.LA(2); if ( expander != null ) { alt21=1; } else if ( true ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 3, input); throw nvae; } break; case 53: int LA21_4 = input.LA(2); if ( expander != null ) { alt21=1; } else if ( true ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 4, input); throw nvae; } break; case 54: int LA21_5 = input.LA(2); if ( expander != null ) { alt21=1; } else if ( true ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 5, input); throw nvae; } break; case 55: int LA21_6 = input.LA(2); if ( expander != null ) { alt21=1; } else if ( true ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 6, input); throw nvae; } break; case ID: int LA21_7 = input.LA(2); if ( expander != null ) { alt21=1; } else if ( true ) { alt21=2; } else { NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 7, input); throw nvae; } break; default: NoViableAltException nvae = new NoViableAltException("231:25: ({...}? expander_lhs_block[lhs] | normal_lhs_block[lhs] )", 21, 0, input); throw nvae; } switch (alt21) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:232:33: {...}? expander_lhs_block[lhs] { if ( !( expander != null ) ) { throw new FailedPredicateException(input, "rule", " expander != null "); } following.push(FOLLOW_expander_lhs_block_in_rule603); expander_lhs_block(lhs); following.pop(); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:233:35: normal_lhs_block[lhs] { following.push(FOLLOW_normal_lhs_block_in_rule612); normal_lhs_block(lhs); following.pop(); } break; } } break; } match(input,31,FOLLOW_31_in_rule633); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:237:24: ( ':' )? int alt23=2; int LA23_0 = input.LA(1); if ( LA23_0==30 ) { alt23=1; } else if ( (LA23_0>=EOL && LA23_0<=29)||(LA23_0>=31 && LA23_0<=56) ) { alt23=2; } else { NoViableAltException nvae = new NoViableAltException("237:24: ( \':\' )?", 23, 0, input); throw nvae; } switch (alt23) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:237:24: ':' { match(input,30,FOLLOW_30_in_rule635); } break; } following.push(FOLLOW_opt_eol_in_rule639); opt_eol(); following.pop(); // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:238:17: ( options {greedy=false; } : any= . )* loop24: do { int alt24=2; int LA24_0 = input.LA(1); if ( LA24_0==27 ) { alt24=2; } else if ( (LA24_0>=EOL && LA24_0<=26)||(LA24_0>=28 && LA24_0<=56) ) { alt24=1; } switch (alt24) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:238:44: any= . { any=(Token)input.LT(1); matchAny(input); consequence = consequence + " " + any.getText(); } break; default : break loop24; } } while (true); if ( expander != null ) { String expanded = runThenExpander( consequence ); rule.setConsequence( expanded ); } else { rule.setConsequence( consequence ); } match(input,27,FOLLOW_27_in_rule674); following.push(FOLLOW_opt_eol_in_rule676); opt_eol(); following.pop(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return rule; }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6781, 16198, 1720, 1435, 1216, 9539, 288, 6647, 6781, 16198, 1720, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 23285, 273, 446, 31, 1171, 202, 202, 5345, 273, 446, 31, 540, 202, 202, 780, 356, 6178, 273, 1408, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4033, 30, 4033, 30, 261, 2153, 67, 30951, 1515, 33, 296, 5345, 11, 23285, 33, 2076, 2153, 67, 30951, 261, 1720, 67, 4350, 63, 5345, 65, 7851, 2153, 67, 30951, 261, 1829, 33, 296, 13723, 11, 261, 3921, 7851, 2153, 67, 30951, 20316, 4542, 264, 67, 80, 4487, 67, 2629, 63, 80, 4487, 65, 571, 2212, 67, 80, 4487, 67, 2629, 63, 80, 4487, 65, 262, 7851, 296, 15991, 11, 261, 3921, 7851, 2153, 67, 30951, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 1281, 33, 263, 8618, 296, 409, 11, 2153, 67, 30951, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4033, 30, 4033, 30, 2153, 67, 30951, 1515, 33, 296, 5345, 11, 23285, 33, 2076, 2153, 67, 30951, 261, 1720, 67, 4350, 63, 5345, 65, 7851, 2153, 67, 30951, 261, 1829, 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, 6781, 16198, 1720, 1435, 1216, 9539, 288, 6647, 6781, 16198, 1720, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 23285, 273, 446, 31, 1171, 202, 202, 5345, 273, 446, 31, 540, 202, 202, 780, 356, 6178, 273, 1408, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 22, 4033, 30, 4033, 30, 261, 2153, 67, 30951, 1515, 33, 296, 5345, 11, 23285, 33, 2076, 2153, 67, 30951, 261, 1720, 67, 4350, 63, 5345, 65, 7851, 2153, 67, 30951, 261, 1829, 33, 2 ]
await() { if (flag == false) { try { wait(); } catch (InterruptedException e) {} System.out.println(Thread.currentThread().getName() + ": flag: notification received"); } else System.out.println(Thread.currentThread().getName() + ": flag: already set"); }
synchronized void await() { Thread current = Thread.currentThread(); String name = current instanceof Task ? ((Task)current).getTaskName() : "Main "; if (flag == false) { try { wait(); } catch (InterruptedException e) {} System.out.println(name + ": flag: notification received"); } else System.out.println(name + ": flag: already set"); }
await() { if (flag == false) { try { wait(); } catch (InterruptedException e) {} System.out.println(Thread.currentThread().getName() + ": flag: notification received"); } else System.out.println(Thread.currentThread().getName() + ": flag: already set"); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/b71f33bccea1a83bb173e8dfaae8c5cd4a78129d/TestNotification.java/clean/rvm/src/examples/threads/TestNotification.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4273, 1435, 1377, 288, 1377, 309, 261, 6420, 422, 629, 13, 540, 288, 540, 775, 288, 2529, 5621, 289, 1044, 261, 24485, 503, 425, 13, 2618, 540, 2332, 18, 659, 18, 8222, 12, 3830, 18, 2972, 3830, 7675, 17994, 1435, 397, 6398, 2982, 30, 3851, 5079, 8863, 540, 289, 1377, 469, 540, 2332, 18, 659, 18, 8222, 12, 3830, 18, 2972, 3830, 7675, 17994, 1435, 397, 6398, 2982, 30, 1818, 444, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 4273, 1435, 1377, 288, 1377, 309, 261, 6420, 422, 629, 13, 540, 288, 540, 775, 288, 2529, 5621, 289, 1044, 261, 24485, 503, 425, 13, 2618, 540, 2332, 18, 659, 18, 8222, 12, 3830, 18, 2972, 3830, 7675, 17994, 1435, 397, 6398, 2982, 30, 3851, 5079, 8863, 540, 289, 1377, 469, 540, 2332, 18, 659, 18, 8222, 12, 3830, 18, 2972, 3830, 7675, 17994, 1435, 397, 6398, 2982, 30, 1818, 444, 8863, 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 ]
c.add(Restrictions.in("id",(Collection) value(IDS))); Hierarchy.fetchChildren(c,(Class) value(CLASS),Integer.MAX_VALUE);
Criteria[] hy = Hierarchy.fetchParents(c,(Class) value(CLASS),Integer.MAX_VALUE); hy[hy.length-1].add(Restrictions.in("id",(Collection) value(IDS)));
protected void buildQuery(Session session) throws HibernateException, SQLException { Criteria c = session.createCriteria((Class) value(CLASS)); c.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); c.add(Restrictions.in("id",(Collection) value(IDS))); Hierarchy.fetchChildren(c,(Class) value(CLASS),Integer.MAX_VALUE); setCriteria( c ); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/b0d9b08448464cb80e12bda271a852daf0e5bd6a/PojosGetImagesQueryDefinition.java/clean/components/server/src/ome/services/query/PojosGetImagesQueryDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 29279, 12, 2157, 1339, 13, 377, 1216, 670, 24360, 503, 16, 6483, 565, 288, 3639, 8356, 276, 273, 1339, 18, 2640, 7231, 12443, 797, 13, 460, 12, 5237, 10019, 3639, 276, 18, 542, 1253, 8319, 12, 7231, 18, 2565, 17807, 67, 9185, 67, 11101, 1769, 3639, 276, 18, 1289, 12, 26175, 18, 267, 2932, 350, 3113, 12, 2532, 13, 460, 12, 19516, 3719, 1769, 3639, 670, 6000, 18, 5754, 4212, 12, 71, 16, 12, 797, 13, 460, 12, 5237, 3631, 4522, 18, 6694, 67, 4051, 1769, 3639, 444, 7231, 12, 276, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 29279, 12, 2157, 1339, 13, 377, 1216, 670, 24360, 503, 16, 6483, 565, 288, 3639, 8356, 276, 273, 1339, 18, 2640, 7231, 12443, 797, 13, 460, 12, 5237, 10019, 3639, 276, 18, 542, 1253, 8319, 12, 7231, 18, 2565, 17807, 67, 9185, 67, 11101, 1769, 3639, 276, 18, 1289, 12, 26175, 18, 267, 2932, 350, 3113, 12, 2532, 13, 460, 12, 19516, 3719, 1769, 3639, 670, 6000, 18, 5754, 4212, 12, 71, 16, 12, 797, 13, 460, 12, 5237, 3631, 4522, 18, 6694, 67, 4051, 1769, 3639, 444, 7231, 12, 276, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
values.placeValue(i, resultY);
if (!values.isCombinable(i)) resultY.setToUnassigned(); else values.placeValue(i, resultY);
public void addPointsToChart(CommandRecord commandRec, int startValue, int endValue) { MesquiteNumber resultX = new MesquiteNumber(); MesquiteNumber resultY = new MesquiteNumber(); resultY.setValue(1); /*if (highlightsExist && hE!=null) explanationString += " [Highlighted " + hE + "]";*/ chart.getCharter().setSuspendDrawing(true); chart.getCharter().setSuspendChartCalculations(true); for (int i=startValue; i<endValue; i++) { if (i % 100 == 0) commandRec.tick("Constructing chart; adding item " + i); if (weighted && weights!=null && weights.isCombinable(i)) weights.placeValue(i, resultY); if (!itemsOnX) { values.placeValue(i, resultX); chart.addPoint(resultX, resultY); } else { int j = i+1; //TODO: this shouldn't always bump by one (zero based internal to 1 based for user) values.placeValue(i, resultY); resultX.setValue(j); int point = chart.addPoint(resultX, resultY); if (colorItems.getValue()) { Color c = itemsSourceTask.getItemColor(taxa, i, commandRec); if (c!=null) { chart.setColor(point, c); } } } } chart.getCharter().setSuspendDrawing(false); chart.getCharter().setSuspendChartCalculations(false); resetMessagePaneText(commandRec); chart.munch(commandRec); contentsChanged(); messagePane.repaint(); }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/f13d81739af31354f83b14c9490772258666d61b/ItemValuesChart.java/clean/Source/mesquite/charts/ItemValuesChart/ItemValuesChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 5636, 774, 7984, 12, 2189, 2115, 1296, 5650, 16, 509, 27900, 16, 509, 30684, 13, 288, 202, 202, 49, 281, 372, 1137, 1854, 563, 60, 273, 394, 490, 281, 372, 1137, 1854, 5621, 202, 202, 49, 281, 372, 1137, 1854, 563, 61, 273, 394, 490, 281, 372, 1137, 1854, 5621, 202, 202, 2088, 61, 18, 542, 620, 12, 21, 1769, 202, 202, 20308, 430, 261, 15978, 87, 4786, 597, 366, 41, 5, 33, 2011, 13, 1082, 202, 338, 15854, 780, 1011, 315, 225, 306, 16205, 329, 315, 397, 366, 41, 397, 9870, 31, 5549, 6862, 202, 11563, 18, 588, 2156, 387, 7675, 542, 55, 18815, 26885, 12, 3767, 1769, 202, 202, 11563, 18, 588, 2156, 387, 7675, 542, 55, 18815, 7984, 4844, 1012, 12, 3767, 1769, 202, 202, 1884, 261, 474, 277, 33, 1937, 620, 31, 277, 32, 409, 620, 31, 277, 27245, 288, 1082, 202, 430, 261, 77, 738, 2130, 422, 374, 13, 9506, 202, 3076, 5650, 18, 6470, 2932, 7249, 310, 4980, 31, 6534, 761, 315, 397, 277, 1769, 1082, 202, 430, 261, 30890, 597, 5376, 5, 33, 2011, 597, 5376, 18, 291, 24107, 429, 12, 77, 3719, 9506, 202, 9727, 18, 964, 620, 12, 77, 16, 563, 61, 1769, 1082, 202, 430, 16051, 3319, 1398, 60, 13, 288, 9506, 202, 2372, 18, 964, 620, 12, 77, 16, 563, 60, 1769, 9506, 202, 11563, 18, 1289, 2148, 12, 2088, 60, 16, 563, 61, 1769, 1082, 202, 97, 1082, 202, 12107, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 5636, 774, 7984, 12, 2189, 2115, 1296, 5650, 16, 509, 27900, 16, 509, 30684, 13, 288, 202, 202, 49, 281, 372, 1137, 1854, 563, 60, 273, 394, 490, 281, 372, 1137, 1854, 5621, 202, 202, 49, 281, 372, 1137, 1854, 563, 61, 273, 394, 490, 281, 372, 1137, 1854, 5621, 202, 202, 2088, 61, 18, 542, 620, 12, 21, 1769, 202, 202, 20308, 430, 261, 15978, 87, 4786, 597, 366, 41, 5, 33, 2011, 13, 1082, 202, 338, 15854, 780, 1011, 315, 225, 306, 16205, 329, 315, 397, 366, 41, 397, 9870, 31, 5549, 6862, 202, 11563, 18, 588, 2156, 387, 7675, 542, 55, 18815, 26885, 12, 3767, 1769, 202, 202, 11563, 18, 588, 2 ]
if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } String routine = args[offset].intern(); if (routinesToSkip == null) { routinesToSkip = new Set(); } routinesToSkip.add(routine); return offset+1;
if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } String routine = args[offset].intern(); if (routinesToSkip == null) { routinesToSkip = new Set(); } routinesToSkip.add(routine); return offset+1;
public int processOption(String option, String[] args, int offset) throws UsageError { if (option.equals("-nocheck")) { stages = 5; // run all but last stage return offset; } else if (option.equals("-typecheck")) { stages = 1; return offset; } else if (option.equals("-stages")) { if (offset == args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } try { stages = new Integer(args[offset]).intValue(); if (stages<1) throw new NumberFormatException(); } catch (NumberFormatException e) { throw new UsageError("Option " + option + " requires one positive integer argument: " + e.toString()); } return offset+1; } else if (option.equals("-start")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } try { startLine = new Integer(args[offset]).intValue(); } catch (NumberFormatException e) { throw new UsageError("Option " + option + " requires one positive integer argument: " + e.toString()); } return offset+1; } else if (option.equals("-specs")) { if (offset >= args.length) { throw new UsageError("Option " + option + " requires one String argument"); } specspath = args[offset]; return offset+1; } else if (option.equals("-vclimit")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } try { vclimit = new Integer(args[offset]).intValue(); } catch (NumberFormatException e) { throw new UsageError("Option " + option + " requires one positive integer argument: " + e.toString()); } return offset+1; } else if (option.equals("-inlineFromConstructors")) { inlineFromConstructors = true; return offset; } else if (option.equals("-inlineCheckDepth")) { inlineDepthFlags = true; // can't use this along with the -inlineConstructors flag if (inlineConstructors) throw new UsageError("Can't use -inlineConstructors in combination with either -inlineCheckDepth or -inlineDepthPastCheck"); if (offset == args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } try { Main.gctranslator.inlineCheckDepth = new Integer(args[offset]).intValue(); if (Main.gctranslator.inlineCheckDepth < 0) throw new NumberFormatException(); } catch (NumberFormatException e) { throw new UsageError("Option " + option + " requires one positive integer argument: " + e.toString()); } return offset+1; } else if (option.equals("-inlineDepthPastCheck")) { inlineDepthFlags = true; // can't use this along with the -inlineConstructors flag if (inlineConstructors) throw new UsageError("can't use -inlineConstructors in combination with either -inlineCheckDepth or -inlineDepthPastCheck"); if (offset == args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } try { Main.gctranslator.inlineDepthPastCheck = new Integer(args[offset]).intValue(); if (Main.gctranslator.inlineDepthPastCheck < 0) throw new NumberFormatException(); } catch (NumberFormatException e) { throw new UsageError("Option " + option + " requires one positive integer argument: " + e.toString()); } return offset+1; } else if (option.equals("-inlineConstructors")) { // can't use this along with either of the inline depth flags if (inlineDepthFlags) throw new UsageError("can't use -inlineConstructors in combination with either -inlineCheckDepth or -inlineDepthPastCheck"); inlineConstructors = true; return offset; } else if (option.equals("-suggest")) { suggest = true; return offset; } else if (option.equals("-pgc")) { pgc = true; return offset; } else if (option.equals("-pcc")) { pcc = true; return offset; } else if (option.equals("-nospvc")) { spvc = false; return offset; } else if (option.equals("-passify")) { passify = true; return offset; } else if (option.equals("-wpp")) { wpp = true; return offset; } else if (option.equals("-useDefpred")) { useDefpred = true; return offset; } else if (option.equals("-nodsa")) { dsa = false; spvc = false; // spvc requires dsa for soundness return offset; } else if (option.equals("-pdsa")) { pdsa = true; return offset; } else if (option.equals("-pvc")) { pvc = true; prettyPrintVC = true; return offset; } else if (option.equals("-wpnxw")) { if (offset >= args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } wpnxw = new Integer(args[offset]).intValue(); return offset+1; } else if (option.equals("-namePCsize")) { if (offset >= args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } namePCsize = new Integer(args[offset]).intValue(); return offset+1; } else if (option.equals("-stats")) { stats = true; return offset; } else if (option.equals("-checkSpecs")) { checkSpecs = true; return offset; } else if (option.equals("-pjt")) { pjt = true; return offset; } else if (option.equals("-nvu")) { nvu = true; return offset; } else if (option.equals("-assertContinue")) { assertContinue = true; return offset; } else if (option.equals("-noTrackReadChars")) { trackReadChars = false; return offset; } else if (option.equals("-filterMethodSpecs")) { filterMethodSpecs = true; return offset; } else if (option.equals("-noPeepOptGCAssertFalse")) { noPeepOptGCAssertFalse = true; return offset; } else if (option.equals("-noEpeepopt")) { peepOptE = false; return offset; } else if (option.equals("-noGCpeepopt")) { peepOptGC = false; return offset; } else if (option.equals("-lazySubst")) { lazySubst = true; return offset; } else if (option.equals("-mergeinv")) { mergeInv = true; return offset; } else if (option.equals("-noAllocUseOpt")) { allocUseOpt = false; return offset; } else if (option.equals("-useAllInvPostCall")) { useAllInvPostCall = true; return offset; } else if (option.equals("-useAllInvPostBody")) { useAllInvPostBody = true; return offset; } else if (option.equals("-useAllInvPreBody")) { useAllInvPreBody = true; return offset; } else if (option.equals("-filterInvariants")) { filterInvariants = true; return offset; } else if (option.equals("-printAssumers")) { printAssumers = true; return offset; } else if (option.equals("-printCompilationUnitsOnLoad")) { printCompilationUnitsOnLoad = true; return offset; } else if (option.equals("-guardedVC")) { if (offset >= args.length) { throw new UsageError("Option " + option + " requires one directory argument"); } guardedVC = true; guardedVCDir = args[offset]; return offset+1; } else if (option.equals("-ignoreAnnFile")) { if (offset >= args.length) { throw new UsageError("Option " + option + " requires one filename argument"); } ignoreAnnSet = new Set(readFile(args[offset]).elements()); // System.out.println("Ignore set: "+ignoreAnnSet+"\n"); return offset+1; } else if (option.equals("-routine")) { // the argument to "-routine" is either a simple routine name or a fully // qualified routine name with signature, but we won't ever parse these if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } String routine = args[offset].intern(); if (routinesToCheck == null) { routinesToCheck = new Set(); } routinesToCheck.add(routine); return offset+1; } else if (option.equals("-skip")) { // the argument to "-skip" is either a simple routine name or a fully // qualified routine name with signature, but we won't ever parse these if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } String routine = args[offset].intern(); if (routinesToSkip == null) { routinesToSkip = new Set(); } routinesToSkip.add(routine); return offset+1; } else if (option.equals("-routineIndirect")) { if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } if (routinesToCheck == null) { routinesToCheck = new Set(); } String routineIndirectionFilename = args[offset]; BufferedReader in = null; try { in = new BufferedReader( new FileReader(routineIndirectionFilename)); while (true) { String routine = in.readLine(); if (routine == null) { break; } routine = routine.intern(); routinesToCheck.add(routine); } } catch (IOException e) { throw new UsageError("error reading routine indirection file '" + routineIndirectionFilename + "': " + e.toString()); } finally { try { if (in != null) in.close(); } catch (IOException e) { throw new UsageError( "error closing routine indirection file '" + routineIndirectionFilename + "': " + e.toString()); } } return offset+1; } else if (option.equals("-loopSafe")) { loopTranslation = LOOP_SAFE; return offset; } else if (option.equals("-preciseTargets")) { preciseTargets = true; loopTranslation = LOOP_SAFE; return offset; } else if (option.equals("-loop")) { // syntax: -loop <N>[.0|.5] if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } String number = args[offset]; if (number.length() == 0 || option.charAt(0) == '.') { throw new UsageError("illegal argument to -loop: " + number); } // any other parsing error will be caught in the following loop int cnt = 0; boolean andAHalf = false; for (int i = 0; i < number.length(); i++) { char ch = number.charAt(i); if ('0' <= ch && ch <= '9') { if (10000 <= cnt) { throw new UsageError("-loop specifies too many iterations: " + number); } cnt = 10*cnt + ch - '0'; continue; } else if (ch == '.') { if (number.length() == i+2) { if (number.charAt(i+1) == '5') { andAHalf = true; break; } else if (number.charAt(i+1) == '0') { andAHalf = false; break; } } } throw new UsageError("illegal argument to -loop: " + number); } loopUnrollCount = cnt; loopUnrollHalf = andAHalf; return offset+1; } else if (option.equals("-loopFallThru")) { loopTranslation = LOOP_FALL_THRU; return offset; } else if (option.equals("-mapsUnrollCount")) { if (offset == args.length) { throw new UsageError("Option " + option + " requires one argument"); } mapsUnrollCount = Integer.parseInt(args[offset]); return offset+1; } else if (option.equals("-predAbstract")) { predAbstract = true; loopTranslation = LOOP_SAFE; lastVarUseOpt = false; return offset; } else if (option.equals("-inferPredicates")) { inferPredicates = true; predAbstract = true; loopTranslation = LOOP_SAFE; lastVarUseOpt = false; return offset; } else if (option.equals("-noDirectTargetsOpt")) { noDirectTargetsOpt = true; return offset; } else if (option.equals("-nestQuantifiers")) { nestQuantifiers = true; return offset; } else if (option.equals("-useIntQuantAntecedents")) { useIntQuantAntecedents = true; return offset; } else if (option.equals("-excuseNullInitializers")) { excuseNullInitializers = true; return offset; } else if (option.equals("-strongAssertPostNever")) { strongAssertPost = 0; return offset; } else if (option.equals("-strongAssertPostAtomic")) { strongAssertPost = 1; return offset; } else if (option.equals("-strongAssertPostAlways")) { strongAssertPost = 2; return offset; } else if (option.equals("-noLastVarUseOpt")) { lastVarUseOpt = false; return offset; } else if (option.equals("-noVarCheckDeclsAndUses")) { noVarCheckDeclsAndUses = true; return offset; } else if (option.equals("-hidecall")) { showCallDetails = false; return offset; } else if (option.equals("-showloop")) { showLoopDetails = true; return offset; } else if (option.equals("-plainwarning")) { plainWarning = true; return offset; } else if (option.equals("-noredundancy")) { checkRedundantSpecs = false; return offset; } else if (option.equals("-notrace")) { traceInfo = 0; return offset; } else if (option.equals("-verboseTrace")) { traceInfo = 2; return offset; } else if (option.equals("-counterexample")) { counterexample = true; return offset; } else if (option.equals("-bubbleNotDown")) { bubbleNotDown = true; return offset; } else if (option.equals("-noOutCalls")) { noOutCalls = true; return offset; } else if (option.equals("-backpredfile")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one argument"); } univBackPredFile = args[offset]; return offset+1; } else if (option.equals("-sxLog")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one argument"); } sxLog = args[offset]; return offset+1; } else if (option.equals("-pxLog")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one argument"); } sxLog = args[offset]; prettyPrintVC = true; return offset+1; } else if (option.equals("-nowarn")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one argument"); } if (args[offset].equals("All")) { NoWarn.setAllChkStatus(TagConstants.CHK_AS_ASSUME); } else { int tag = NoWarn.toNoWarnTag(args[offset]); if (tag==0) { throw new UsageError("'" + args[offset] + "' is not a legal warning category"); } NoWarn.setChkStatus(tag, TagConstants.CHK_AS_ASSUME); } return offset+1; } else if (option.equals("-warn")) { if (offset>=args.length) { throw new UsageError("Option " + option + " requires one argument"); } // Note: There's an intentional lack of symmetry with -nowarn // here, in that "-warn All" is not supported. This design // allows ESC/Java to include special checks, perhaps like the // Stale checks of the Higher-Level Races checker, that won't // be publicly advertised. int tag = NoWarn.toNoWarnTag(args[offset]); if (tag==0) { throw new UsageError("'" + args[offset] + "' is not a legal warning category"); } NoWarn.setChkStatus(tag, TagConstants.CHK_AS_ASSERT); return offset+1; } else if (option.equals("-parsePlus")) { parsePlus = true; return offset; } else if (option.equals("-noNotCheckedWarnings")) { noNotCheckedWarnings = true; return offset; } else if (option.equals("-testRef")) { testRef = true; return offset; } else if (option.equals("-checkPurity")) { checkPurity = true; return offset; } else if (option.equals("-ppvc") | option.equals("-prettyPrintVC")) { prettyPrintVC = true; return offset; } else if (option.equals("-showDesugaredSpecs")) { desugaredSpecs = true; return offset; } else if (option.equals("-javaAssertions") || option.equals("-eajava")) { assertionMode = JAVA_ASSERTIONS; assertionsEnabled = true; assertIsKeyword = true; return offset; } else if (option.equals("-jmlAssertions") || option.equals("-eajml")) { assertionMode = JML_ASSERTIONS; assertIsKeyword = true; assertionsEnabled = true; return offset; } else if (option.equals("-rewriteDepth")) { if (offset >= args.length) { throw new UsageError("Option " + option + " requires one integer argument"); } rewriteDepth = Integer.parseInt(args[offset]); return offset+1; } else if (option.equals("-noSemicolonWarnings")) { noSemicolonWarnings = true; return offset; } else if (option.equals("-useFcns")) { useFcnsForModelVars = true; useFcnsForMethods = true; useFcnsForAllocations = true; return offset; } else if (option.equals("-useVars")) { useFcnsForModelVars = false; useFcnsForMethods = false; useFcnsForAllocations = false; return offset; } else if (option.equals("-useFcnsForModelVars")) { useFcnsForModelVars = true; return offset; } else if (option.equals("-useVarsForModelVars")) { useFcnsForModelVars = false; return offset; } else if (option.equals("-useFcnsForMethods")) { useFcnsForMethods = true; return offset; } else if (option.equals("-useVarsForMethods")) { useFcnsForMethods = false; return offset; } else if (option.equals("-showFields")) { showFields = true; return offset; } else if (option.equals("-simplify")) { // FIXME - shcek for additional argument simplify = args[offset]; //System.setProperty("simplify",args[offset]); return offset+1; } else if (option.equals("-EscProjectFileV0")) { // Ignored, but also used to mark a project file. return offset; } // Pass on unrecognized options: return super.processOption(option, args, offset); }
46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/d40d404195ac9adaad8071578dbe4c37b1bddcf1/Options.java/clean/src/escjava/trunk/ESCTools/Escjava/java/escjava/Options.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 1207, 1895, 12, 780, 1456, 16, 514, 8526, 833, 16, 509, 1384, 13, 3196, 202, 15069, 10858, 668, 288, 3639, 309, 261, 3482, 18, 14963, 2932, 17, 2135, 1893, 6, 3719, 288, 5411, 20298, 273, 1381, 31, 3639, 368, 1086, 777, 1496, 1142, 6009, 5411, 327, 1384, 31, 3639, 289, 469, 309, 261, 3482, 18, 14963, 2932, 17, 723, 1893, 6, 3719, 288, 202, 565, 20298, 273, 404, 31, 202, 565, 327, 1384, 31, 3639, 289, 469, 309, 261, 3482, 18, 14963, 2932, 17, 334, 1023, 6, 3719, 288, 5411, 309, 261, 3348, 422, 833, 18, 2469, 13, 288, 7734, 604, 394, 10858, 668, 2932, 1895, 315, 397, 1456, 397, 19694, 315, 4991, 1245, 3571, 1237, 8863, 5411, 289, 5411, 775, 288, 7734, 20298, 273, 394, 2144, 12, 1968, 63, 3348, 65, 2934, 474, 620, 5621, 202, 202, 430, 261, 334, 1023, 32, 21, 13, 13491, 604, 394, 12100, 5621, 5411, 289, 1044, 261, 1854, 9291, 425, 13, 288, 7734, 604, 394, 10858, 668, 2932, 1895, 315, 397, 1456, 397, 1082, 377, 315, 4991, 1245, 6895, 3571, 1237, 30, 315, 397, 8227, 425, 18, 10492, 10663, 5411, 289, 5411, 327, 1384, 15, 21, 31, 3639, 289, 469, 309, 261, 3482, 18, 14963, 2932, 17, 1937, 6, 3719, 288, 5411, 309, 261, 3348, 34, 33, 1968, 18, 2469, 13, 288, 7734, 604, 394, 10858, 668, 2932, 1895, 315, 397, 1456, 397, 19694, 315, 4991, 1245, 3571, 1237, 8863, 5411, 289, 5411, 775, 288, 7734, 24636, 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, 1207, 1895, 12, 780, 1456, 16, 514, 8526, 833, 16, 509, 1384, 13, 3196, 202, 15069, 10858, 668, 288, 3639, 309, 261, 3482, 18, 14963, 2932, 17, 2135, 1893, 6, 3719, 288, 5411, 20298, 273, 1381, 31, 3639, 368, 1086, 777, 1496, 1142, 6009, 5411, 327, 1384, 31, 3639, 289, 469, 309, 261, 3482, 18, 14963, 2932, 17, 723, 1893, 6, 3719, 288, 202, 565, 20298, 273, 404, 31, 202, 565, 327, 1384, 31, 3639, 289, 469, 309, 261, 3482, 18, 14963, 2932, 17, 334, 1023, 6, 3719, 288, 5411, 309, 261, 3348, 422, 833, 18, 2469, 13, 288, 7734, 604, 394, 10858, 668, 2932, 1895, 315, 397, 1456, 397, 19694, 315, 4991, 1245, 3571, 1237, 2 ]
jiraRepo = new TaskRepository(MylarJiraPlugin.JIRA_REPOSITORY_KIND,
repository = new TaskRepository(MylarJiraPlugin.JIRA_REPOSITORY_KIND,
protected void setUp() throws Exception { super.setUp(); URL repoURL = new URL(SERVER_URL); jiraRepo = new TaskRepository(MylarJiraPlugin.JIRA_REPOSITORY_KIND, repoURL); jiraRepo.setAuthenticationCredentials(USER, PASSWORD); MylarTaskListPlugin.getRepositoryManager().addRepository(jiraRepo); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/3b43267cb3665e7443ff936b737b4470e4552092/JiraTaskExternalizationTest.java/buggy/org.eclipse.mylyn.jira.tests/src/org/eclipse/mylyn/jira/tests/JiraTaskExternalizationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 1785, 3538, 1785, 273, 394, 1976, 12, 4370, 67, 1785, 1769, 202, 202, 78, 11547, 8791, 273, 394, 3837, 3305, 12, 12062, 7901, 46, 11547, 3773, 18, 46, 45, 2849, 67, 862, 30986, 67, 47, 2356, 16, 9506, 202, 7422, 1785, 1769, 202, 202, 78, 11547, 8791, 18, 542, 6492, 6163, 12, 4714, 16, 23446, 1769, 202, 202, 12062, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 1289, 3305, 12, 78, 11547, 8791, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 24292, 1435, 1216, 1185, 288, 202, 202, 9565, 18, 542, 1211, 5621, 202, 202, 1785, 3538, 1785, 273, 394, 1976, 12, 4370, 67, 1785, 1769, 202, 202, 78, 11547, 8791, 273, 394, 3837, 3305, 12, 12062, 7901, 46, 11547, 3773, 18, 46, 45, 2849, 67, 862, 30986, 67, 47, 2356, 16, 9506, 202, 7422, 1785, 1769, 202, 202, 78, 11547, 8791, 18, 542, 6492, 6163, 12, 4714, 16, 23446, 1769, 202, 202, 12062, 7901, 2174, 682, 3773, 18, 588, 3305, 1318, 7675, 1289, 3305, 12, 78, 11547, 8791, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
sendErrorPage(ctx, 200, "FAiled to restart request", "Failed to restart "+identifier);
sendErrorPage(ctx, 200, "Failed to restart request", "Failed to restart "+identifier);
public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { HTTPRequest request = new HTTPRequest(uri, data, ctx); try { if (request.getPartAsString("insert-local", 128).length() > 0) { MultiValueTable responseHeaders = new MultiValueTable(); responseHeaders.put("Location", "/files/"); ctx.sendReplyHeaders(302, "Found", responseHeaders, null, 0); return; } if ((data.size() > 1024 * 1024) && (request.getPartAsString("insert", 128).length() == 0)) { this.writeReply(ctx, 400, "text/plain", "Too big", "Data exceeds 1MB limit"); return; } String pass = request.getParam("formPassword"); if (pass.length() == 0) { pass = request.getPartAsString("formPassword", 128); } if ((pass.length() == 0) || !pass.equals(core.formPassword)) { MultiValueTable headers = new MultiValueTable(); headers.put("Location", "/queue/"); ctx.sendReplyHeaders(302, "Found", headers, null, 0); return; } boolean logMINOR = Logger.shouldLog(Logger.MINOR, this); if(request.isParameterSet("remove_request") && (request.getParam("remove_request").length() > 0)) { String identifier = request.getParam("identifier"); if(logMINOR) Logger.minor(this, "Removing "+identifier); try { fcp.removeGlobalRequest(identifier); } catch (MessageInvalidException e) { this.sendErrorPage(ctx, 200, "Failed to remove request", "Failed to remove " + identifier + ": " + e.getMessage()); } writePermanentRedirect(ctx, "Done", "/queue/"); return; } else if(request.isParameterSet("restart_request") && (request.getParam("restart_request").length() > 0)) { String identifier = request.getParam("identifier"); if(logMINOR) Logger.minor(this, "Restarting "+identifier); ClientRequest[] clientRequests = fcp.getGlobalRequests(); for (int requestIndex = 0, requestCount = clientRequests.length; requestIndex < requestCount; requestIndex++) { ClientRequest clientRequest = clientRequests[requestIndex]; if (clientRequest.getIdentifier().equals(identifier)) { if(!clientRequest.restart()) { sendErrorPage(ctx, 200, "FAiled to restart request", "Failed to restart "+identifier); } } } writePermanentRedirect(ctx, "Done", "/queue/"); return; } else if(request.isParameterSet("remove_AllRequests") && (request.getParam("remove_AllRequests").length() > 0)) { ClientRequest[] reqs = fcp.getGlobalRequests(); if(logMINOR) Logger.minor(this, "Request count: "+reqs.length); for(int i=0; i<reqs.length ; i++){ String identifier = reqs[i].getIdentifier(); if(logMINOR) Logger.minor(this, "Removing "+identifier); try { fcp.removeGlobalRequest(identifier); } catch (MessageInvalidException e) { this.sendErrorPage(ctx, 200, "Failed to remove request", "Failed to remove " + identifier + ": " + e.getMessage()); } } writePermanentRedirect(ctx, "Done", "/queue/"); return; }else if(request.isParameterSet("download")) { // Queue a download if(!request.isParameterSet("key")) { writeError("No key specified to download", "You did not specify a key to download.", ctx); return; } String expectedMIMEType = null; if(request.isParameterSet("type")) { expectedMIMEType = request.getParam("type"); } FreenetURI fetchURI; try { fetchURI = new FreenetURI(request.getParam("key")); } catch (MalformedURLException e) { writeError("Invalid URI to download", "The URI is invalid and can not be downloaded.", ctx); return; } String persistence = request.getParam("persistence"); String returnType = request.getParam("return-type"); fcp.makePersistentGlobalRequest(fetchURI, expectedMIMEType, persistence, returnType); writePermanentRedirect(ctx, "Done", "/queue/"); return; } else if (request.isParameterSet("change_priority")) { String identifier = request.getParam("identifier"); short newPriority = Short.parseShort(request.getParam("priority")); ClientRequest[] clientRequests = fcp.getGlobalRequests(); for (int requestIndex = 0, requestCount = clientRequests.length; requestIndex < requestCount; requestIndex++) { ClientRequest clientRequest = clientRequests[requestIndex]; if (clientRequest.getIdentifier().equals(identifier)) { clientRequest.setPriorityClass(newPriority); } } writePermanentRedirect(ctx, "Done", "/queue/"); return; } else if (request.getPartAsString("insert", 128).length() > 0) { FreenetURI insertURI; String keyType = request.getPartAsString("keytype", 3); if ("chk".equals(keyType)) { insertURI = new FreenetURI("CHK@"); } else if ("ksk".equals(keyType)) { try { insertURI = new FreenetURI(request.getPartAsString("key", 128)); } catch (MalformedURLException mue1) { writeError("Invalid URI to insert", "You did not specify a valid URI to insert the file to.", ctx); return; } } else { writeError("Invalid URI to insert", "You fooled around with the POST request. Shame on you.", ctx); return; } HTTPRequest.File file = request.getUploadedFile("filename"); if (file.getFilename().trim().length() == 0) { writeError("No file selected", "You did not select a file to upload.", ctx); return; } boolean compress = request.getPartAsString("compress", 128).length() > 0; String identifier = file.getFilename() + "-fred-" + System.currentTimeMillis(); String fnam; if(insertURI.getKeyType().equals("CHK")) fnam = file.getFilename(); else fnam = null; /* copy bucket data */ Bucket copiedBucket = core.persistentEncryptedTempBucketFactory.makeBucket(file.getData().size()); BucketTools.copy(file.getData(), copiedBucket); try { ClientPut clientPut = new ClientPut(fcp.getGlobalClient(), insertURI, identifier, Integer.MAX_VALUE, RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS, ClientRequest.PERSIST_FOREVER, null, false, !compress, -1, ClientPutMessage.UPLOAD_FROM_DIRECT, null, file.getContentType(), copiedBucket, null, fnam); clientPut.start(); fcp.forceStorePersistentRequests(); } catch (IdentifierCollisionException e) { e.printStackTrace(); } writePermanentRedirect(ctx, "Done", "/queue/"); return; } else if (request.isParameterSet("insert-local")) { String filename = request.getParam("filename"); File file = new File(filename); String identifier = file.getName() + "-fred-" + System.currentTimeMillis(); String contentType = DefaultMIMETypes.guessMIMEType(filename, false); try { ClientPut clientPut = new ClientPut(fcp.getGlobalClient(), new FreenetURI("CHK@"), identifier, Integer.MAX_VALUE, RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS, ClientRequest.PERSIST_FOREVER, null, false, false, -1, ClientPutMessage.UPLOAD_FROM_DISK, file, contentType, new FileBucket(file, true, false, false, false), null, file.getName()); clientPut.start(); fcp.forceStorePersistentRequests(); } catch (IdentifierCollisionException e) { e.printStackTrace(); } writePermanentRedirect(ctx, "Done", "/queue/"); return; } else if (request.isParameterSet("get")) { String identifier = request.getParam("identifier"); ClientRequest[] clientRequests = fcp.getGlobalRequests(); for (int requestIndex = 0, requestCount = clientRequests.length; requestIndex < requestCount; requestIndex++) { ClientRequest clientRequest = clientRequests[requestIndex]; if (clientRequest.getIdentifier().equals(identifier)) { if (clientRequest instanceof ClientGet) { ClientGet clientGet = (ClientGet) clientRequest; if (clientGet.hasSucceeded()) { Bucket dataBucket = clientGet.getBucket(); if (dataBucket != null) { String forceDownload = request.getParam("forceDownload"); if (forceDownload.length() > 0) { long forceDownloadTime = Long.parseLong(forceDownload); if ((System.currentTimeMillis() - forceDownloadTime) > 60 * 1000) { break; } MultiValueTable responseHeaders = new MultiValueTable(); responseHeaders.put("Content-Disposition", "attachment; filename=\"" + clientGet.getURI().getPreferredFilename() + "\""); writeReply(ctx, 200, "application/x-msdownload", "OK", responseHeaders, dataBucket); return; } HTMLNode pageNode = ctx.getPageMaker().getPageNode("Potentially Unsafe Content"); HTMLNode contentNode = ctx.getPageMaker().getContentNode(pageNode); HTMLNode alertNode = contentNode.addChild(ctx.getPageMaker().getInfobox("infobox-alert", "Potentially Unsafe Content")); HTMLNode alertContent = ctx.getPageMaker().getContentNode(alertNode); alertContent.addChild("#", "The file you want to download is currently not filtered by Freenet\u2019s content filter! That means that your anonymity can be compromised by opening the file!"); HTMLNode optionListNode = alertContent.addChild("ul"); HTMLNode optionForm = optionListNode.addChild("li").addChild("form", new String[] { "action", "method" }, new String[] { "/queue/", "post" }); optionForm.addChild(ctx.getPageMaker().createFormPasswordInput(core.formPassword)); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "identifier", identifier }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "forceDownload", String.valueOf(System.currentTimeMillis()) }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "get", "Download anyway" }); optionForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "submit", "return", "Return to queue page" }); writeReply(ctx, 200, "text/html; charset=utf-8", "OK", pageNode.generate()); return; } } writeError("Download Not Completed", "The download has not yet completed.", ctx); return; } } } writeError("Download Not Found", "The download could not be found. Maybe it was already deleted?", ctx); return; } } finally { request.freeParts(); } this.handleGet(uri, ctx); }
8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/a1fecafae45632a0c1d78ee6f5a32f03ec2221ca/QueueToadlet.java/buggy/src/freenet/clients/http/QueueToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 3349, 12, 3098, 2003, 16, 7408, 501, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 23891, 590, 273, 394, 25238, 12, 1650, 16, 501, 16, 1103, 1769, 202, 202, 698, 288, 1082, 202, 430, 261, 2293, 18, 588, 1988, 8092, 2932, 6387, 17, 3729, 3113, 8038, 2934, 2469, 1435, 405, 374, 13, 288, 9506, 202, 5002, 620, 1388, 25488, 273, 394, 5991, 620, 1388, 5621, 9506, 202, 2740, 3121, 18, 458, 2932, 2735, 3113, 2206, 2354, 4898, 1769, 9506, 202, 5900, 18, 4661, 7817, 3121, 12, 23, 3103, 16, 315, 2043, 3113, 25488, 16, 446, 16, 374, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 6862, 1082, 202, 430, 14015, 892, 18, 1467, 1435, 405, 6250, 380, 6250, 13, 597, 261, 2293, 18, 588, 1988, 8092, 2932, 6387, 3113, 8038, 2934, 2469, 1435, 422, 374, 3719, 288, 9506, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 7409, 16, 315, 955, 19, 7446, 3113, 315, 10703, 5446, 3113, 315, 751, 14399, 404, 7969, 1800, 8863, 9506, 202, 2463, 31, 1082, 202, 97, 9506, 202, 780, 1342, 273, 590, 18, 588, 786, 2932, 687, 3913, 8863, 1082, 202, 430, 261, 5466, 18, 2469, 1435, 422, 374, 13, 288, 9506, 202, 5466, 273, 590, 18, 588, 1988, 8092, 2932, 687, 3913, 3113, 8038, 1769, 1082, 202, 97, 1082, 202, 430, 14015, 5466, 18, 2469, 1435, 422, 374, 13, 747, 401, 5466, 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, 1640, 3349, 12, 3098, 2003, 16, 7408, 501, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 202, 23891, 590, 273, 394, 25238, 12, 1650, 16, 501, 16, 1103, 1769, 202, 202, 698, 288, 1082, 202, 430, 261, 2293, 18, 588, 1988, 8092, 2932, 6387, 17, 3729, 3113, 8038, 2934, 2469, 1435, 405, 374, 13, 288, 9506, 202, 5002, 620, 1388, 25488, 273, 394, 5991, 620, 1388, 5621, 9506, 202, 2740, 3121, 18, 458, 2932, 2735, 3113, 2206, 2354, 4898, 1769, 9506, 202, 5900, 18, 4661, 7817, 3121, 12, 23, 3103, 16, 315, 2043, 3113, 25488, 16, 446, 16, 374, 1769, 9506, 202, 2 ]
public void run() { getGlassPane().setVisible(false); _currentDefPane.setEditable(true); setAllowKeyEvents(true); }
public void run() { getGlassPane().setVisible(true); _currentDefPane.setEditable(false); setAllowKeyEvents(false); }
public void run() { getGlassPane().setVisible(false); _currentDefPane.setEditable(true); setAllowKeyEvents(true); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/5096aaab648cea3686054749f4edbb0813185db1/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 7162, 459, 8485, 7675, 542, 6207, 12, 5743, 1769, 1850, 389, 2972, 3262, 8485, 18, 542, 15470, 12, 3767, 1769, 1850, 444, 7009, 653, 3783, 12, 3767, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 1850, 7162, 459, 8485, 7675, 542, 6207, 12, 5743, 1769, 1850, 389, 2972, 3262, 8485, 18, 542, 15470, 12, 3767, 1769, 1850, 444, 7009, 653, 3783, 12, 3767, 1769, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void reconcileDefaults() { if (defaults != null && lastDefaultsChanges != defaults.changes) { int n = 0; int d = 0; int nsize = nodes.size(); int dsize = defaults.nodes.size(); AttrImpl nnode = (nsize == 0) ? null : (AttrImpl) nodes.elementAt(0); AttrImpl dnode = (dsize == 0) ? null : (AttrImpl) defaults.nodes.elementAt(0); while (n < nsize && d < dsize) { nnode = (AttrImpl) nodes.elementAt(n); dnode = (AttrImpl) defaults.nodes.elementAt(d); //int test = nnode.getNodeName().compareTo(dnode.getNodeName()); int testNS; String nNSString = nnode.getNamespaceURI(); String dNSString = dnode.getNamespaceURI(); // REVISTNS: Are null namespace and "" namespace equal? if (nNSString == null) if (dNSString == null) testNS = 0; else //if (dNSString.equals("")) // testNS = 0; //else testNS = 1; else if (dNSString == null) //if (nNSString.equals("")) // testNS = 0; //else testNS = -1; else testNS = nNSString.compareTo(dNSString); System.out.println("n,d"+nnode.getLocalName()+","+dnode.getLocalName()); int testLocal = ( nnode.getLocalName() ).compareTo( dnode.getLocalName() ); //int test = nnode.getNodeName().compareTo(dnode.getNodeName()); int test = (testNS != 0) ? testNS : testLocal; // Same name and a default -- make sure same value if (test == 0 && !nnode.getSpecified()) { NodeImpl clone = (NodeImpl)dnode.cloneNode(true); clone.parentNode = element; nodes.setElementAt(clone, n); // Advance over both, since names in sync ++n; ++d; } // Different name, new default in table; add it else if (test > 0) { NodeImpl clone = (NodeImpl)dnode.cloneNode(true); clone.parentNode = element; nodes.insertElementAt(clone, n); // Now in sync, so advance over both ++n; ++d; } // Different name, old default here; remove it. else if (!nnode.getSpecified()) { // NOTE: We don't need to null out the parent // because this is a node that we're // throwing away (not returning). -Ac // REVISIT: [Q] Should we null it out anyway? -Ac nodes.removeElementAt(n); // n didn't advance but represents a different element } // Different name, specified; accept it else { ++n; } } // If we ran out of local before default, pick up defaults while (d < dsize) { dnode = (AttrImpl)defaults.nodes.elementAt(d++); NodeImpl clone = (NodeImpl)dnode.cloneNode(true); clone.parentNode = element; nodes.addElement(clone); } lastDefaultsChanges = defaults.changes; } } // reconcileDefaults()
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/807cfa1ca58b75cd86d5c980cc676ae3f777c328/NamedNodeMapImpl.java/buggy/src/org/apache/xerces/dom/NamedNodeMapImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 27163, 7019, 1435, 288, 377, 202, 430, 261, 7606, 480, 446, 597, 1142, 7019, 7173, 480, 3467, 18, 6329, 13, 288, 377, 202, 202, 474, 290, 273, 374, 31, 5411, 509, 302, 273, 374, 31, 5411, 509, 290, 1467, 273, 2199, 18, 1467, 5621, 5411, 509, 302, 1467, 273, 3467, 18, 4690, 18, 1467, 5621, 377, 202, 202, 3843, 2828, 290, 2159, 273, 261, 82, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 2199, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 3843, 2828, 302, 2159, 273, 261, 72, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 3467, 18, 4690, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 17523, 261, 82, 411, 290, 1467, 597, 302, 411, 302, 1467, 13, 288, 377, 1082, 202, 82, 2159, 273, 261, 3843, 2828, 13, 2199, 18, 2956, 861, 12, 82, 1769, 377, 1082, 202, 72, 2159, 273, 261, 3843, 2828, 13, 3467, 18, 4690, 18, 2956, 861, 12, 72, 1769, 377, 1082, 202, 759, 474, 1842, 273, 290, 2159, 18, 588, 18948, 7675, 9877, 774, 12, 72, 2159, 18, 588, 18948, 10663, 377, 1082, 202, 474, 1842, 3156, 31, 377, 1082, 202, 780, 290, 3156, 780, 273, 290, 2159, 18, 588, 3402, 3098, 5621, 377, 1082, 202, 780, 302, 3156, 780, 273, 302, 2159, 18, 588, 3402, 3098, 5621, 377, 1082, 202, 759, 2438, 4136, 882, 3156, 30, 12520, 446, 1981, 471, 1408, 1981, 3959, 35, 377, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 27163, 7019, 1435, 288, 377, 202, 430, 261, 7606, 480, 446, 597, 1142, 7019, 7173, 480, 3467, 18, 6329, 13, 288, 377, 202, 202, 474, 290, 273, 374, 31, 5411, 509, 302, 273, 374, 31, 5411, 509, 290, 1467, 273, 2199, 18, 1467, 5621, 5411, 509, 302, 1467, 273, 3467, 18, 4690, 18, 1467, 5621, 377, 202, 202, 3843, 2828, 290, 2159, 273, 261, 82, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 2199, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 3843, 2828, 302, 2159, 273, 261, 72, 1467, 422, 374, 13, 692, 446, 294, 261, 3843, 2828, 13, 3467, 18, 4690, 18, 2956, 861, 12, 20, 1769, 377, 202, 202, 2 ]
0, 492, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0,
0, 0, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 41, 0, 0, 0,
private static final short[] yyTable2() { return new short[] { 472, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 327, 472, 476, 476, 476, 472, 472, 0, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 0, 0, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 473, 472, 472, 472, 472, 472, 472, 472, 472, 0, 473, 0, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 473, 0, 0, 0, 473, 473, 0, 473, 473, 473, 473, 78, 473, 473, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 86, 473, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 473, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 473, 0, 0, 473, 0, 0, 0, 278, 278, 0, 473, 278, 278, 278, 79, 278, 278, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 278, 87, 278, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 278, 0, 0, 278, 0, 0, 0, 655, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 278, 473, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 327, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 278, 278, 278, 473, 473, 0, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 0, 0, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 0, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 0, 473, 473, 473, 473, 492, 473, 473, 473, 473, 473, 473, 473, 473, 0, 492, 0, 0, 473, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 251, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 251, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 469, 0, 0, 0, 0, 0, 412, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 412, 0, 0, 334, 329, 0, 0, 0, 332, 330, 0, 331, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 326, 0, 325, 324, 0, 0, 469, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 328, 0, 0, 0, 0, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 0, 492, 327, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 0, 251, 251, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 251, 0, 58, 251, 251, 251, 251, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 0, 0, 0, 251, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 469, 0, 0, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 0, 90, 90, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 412, 90, 0, 0, 90, 90, 90, 90, 0, 90, 91, 90, 90, 90, 90, 90, 90, 470, 0, 678, 0, 90, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 470, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 0, 0, 476, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 90, 90, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 476, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 476, 0, 0, 90, 207, 0, 0, 106, 47, 48, 49, 0, 619, 232, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 0, 0, 0, 0, 14, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 91, 14, 91, 91, 91, 91, 91, 91, 91, 0, 470, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 91, 14, 0, 91, 91, 91, 91, 0, 91, 0, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90, 90, 90, 90, 90, 0, 476, 0, 0, 90, 90, 90, 90, 90, 90, 90, 0, 0, 90, 0, 0, 0, 0, 0, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 90, 0, 90, 90, 0, 90, 90, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 753, 476, 90, 0, 0, 90, 90, 90, 90, 0, 90, 91, 90, 90, 90, 90, 90, 90, 473, 0, 0, 0, 90, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 91, 14, 14, 14, 0, 0, 0, 14, 14, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 14, 14, 14, 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 8, 91, 91, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 279, 0, 0, 0, 0, 101, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 0, 0, 0, 0, 323, 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 224, 0, 0, 46, 47, 48, 49, 323, 50, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 107, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 323, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 0, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 323, 278, 91, 0, 0, 91, 91, 91, 91, 0, 91, 492, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 492, 0, 91, 91, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 0, 0, 91, 492, 0, 0, 0, 0, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 91, 0, 91, 91, 0, 91, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 91, 0, 0, 91, 91, 91, 91, 0, 91, 52, 91, 91, 91, 91, 91, 91, 0, 0, 0, 52, 91, 0, 0, 0, 492, 0, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 52, 0, 0, 0, 323, 323, 323, 323, 323, 323, 323, 0, 0, 323, 0, 0, 0, 52, 52, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 323, 0, 323, 323, 0, 323, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 52, 0, 0, 0, 0, 323, 0, 0, 323, 323, 323, 323, 0, 323, 0, 323, 323, 323, 323, 323, 323, 0, 492, 0, 0, 323, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 216, 492, 492, 0, 492, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 492, 0, 0, 492, 492, 492, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 52, 0, 0, 52, 52, 52, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 0, 0, 0, 0, 0, 0, 52, 52, 0, 52, 52, 52, 52, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 492, 492, 0, 0, 0, 492, 0, 492, 492, 492, 492, 492, 492, 492, 41, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 0, 0, 0, 41, 41, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 492, 492, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 492, 492, 492, 492, 0, 492, 0, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 41, 0, 0, 4, 5, 6, 0, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 15, 16, 17, 18, 0, 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 0, 28, 0, 0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0, 43, 44, 0, 0, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 0, 0, 207, 0, 0, 106, 47, 48, 49, 0, 0, 0, 51, 52, 53, 54, 55, 56, 0, 0, 0, 0, 57, 350, 350, 0, 0, 350, 350, 350, 350, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 350, 350, 0, 0, 0, 0, 0, 0, 0, 41, 41, 41, 0, 0, 41, 41, 41, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 423, 41, 350, 0, 350, 350, 0, 0, 0, 0, 423, 0, 0, 41, 41, 41, 41, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 423, 423, 0, 0, 423, 423, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 82, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 423, 0, 423, 423, 0, 0, 0, 0, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 492, 492, 0, 0, 492, 492, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 492, 492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 0, 350, 350, 350, 492, 350, 492, 492, 0, 0, 0, 0, 0, 0, 350, 350, 350, 0, 0, 0, 0, 0, 0, 0, 350, 350, 0, 350, 350, 350, 350, 350, 0, 0, 32, 0, 492, 492, 492, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 0, 0, 350, 0, 0, 32, 0, 350, 261, 0, 0, 0, 0, 0, 0, 423, 423, 423, 0, 0, 423, 423, 423, 32, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 0, 0, 0, 0, 0, 0, 423, 423, 0, 423, 423, 423, 423, 423, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 423, 0, 0, 423, 423, 423, 32, 424, 423, 0, 0, 0, 0, 423, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 0, 492, 492, 492, 0, 492, 0, 0, 0, 0, 0, 0, 0, 0, 492, 492, 492, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 492, 492, 492, 492, 492, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 0, 0, 0, 0, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 0, 0, 492, 0, 273, 273, 0, 492, 273, 273, 273, 273, 273, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 89, 273, 273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 0, 0, 279, 32, 32, 0, 32, 0, 273, 0, 273, 273, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 279, 279, 273, 273, 279, 279, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 279, 88, 279, 279, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 0, 279, 279, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 280, 280, 280, 280, 280, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 83, 280, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 0, 0, 273, 273, 273, 0, 273, 280, 0, 280, 280, 0, 0, 0, 0, 0, 273, 273, 0, 0, 0, 0, 0, 0, 0, 273, 273, 0, 273, 273, 273, 273, 273, 0, 494, 0, 0, 0, 0, 0, 280, 280, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 0, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, 0, 0, 273, 273, 273, 0, 0, 273, 0, 494, 0, 0, 273, 0, 0, 0, 279, 279, 279, 0, 0, 279, 279, 279, 0, 279, 494, 494, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 0, 0, 0, 0, 0, 0, 279, 279, 0, 279, 279, 279, 279, 279, 0, 0, 0, 0, 0, 197, 0, 0, 0, 494, 0, 0, 0, 0, 0, 197, 0, 0, 0, 0, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 0, 0, 279, 279, 279, 0, 0, 279, 494, 0, 0, 0, 279, 197, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 280, 197, 197, 280, 280, 280, 197, 280, 0, 0, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 0, 0, 0, 0, 0, 0, 280, 280, 0, 280, 280, 280, 280, 280, 0, 0, 197, 0, 0, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 0, 0, 0, 0, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 0, 197, 280, 280, 280, 0, 0, 280, 0, 373, 373, 0, 280, 373, 373, 373, 373, 373, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 0, 373, 373, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 494, 494, 0, 0, 494, 494, 494, 216, 494, 0, 0, 0, 0, 373, 0, 373, 373, 216, 494, 494, 0, 0, 0, 0, 0, 0, 0, 494, 494, 0, 494, 494, 494, 494, 494, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 373, 373, 216, 216, 216, 216, 216, 322, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 216, 216, 216, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 494, 0, 0, 0, 0, 0, 0, 0, 197, 197, 197, 0, 0, 197, 197, 197, 0, 197, 322, 0, 216, 216, 0, 290, 0, 0, 0, 197, 197, 0, 0, 0, 0, 290, 0, 0, 197, 197, 0, 197, 197, 197, 197, 197, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 290, 290, 290, 290, 290, 290, 290, 197, 197, 0, 0, 197, 197, 0, 0, 0, 0, 290, 290, 290, 197, 290, 290, 0, 0, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 0, 0, 373, 373, 373, 0, 373, 290, 0, 290, 290, 0, 0, 0, 0, 0, 373, 373, 0, 0, 0, 0, 0, 0, 0, 373, 373, 0, 373, 373, 373, 373, 373, 0, 56, 0, 0, 0, 0, 0, 290, 290, 0, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 373, 0, 0, 373, 373, 373, 0, 0, 373, 0, 56, 0, 0, 373, 0, 0, 0, 216, 216, 216, 0, 0, 216, 216, 216, 0, 216, 56, 56, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 0, 0, 0, 0, 0, 0, 216, 216, 0, 216, 216, 216, 216, 216, 0, 0, 0, 0, 0, 202, 0, 0, 0, 56, 0, 0, 0, 0, 0, 202, 0, 0, 0, 0, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 0, 0, 216, 216, 322, 0, 0, 216, 56, 0, 0, 0, 216, 202, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 290, 202, 202, 290, 290, 290, 202, 290, 0, 0, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 0, 0, 0, 0, 0, 0, 290, 290, 0, 290, 290, 290, 290, 290, 0, 0, 202, 0, 0, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 0, 0, 0, 0, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 0, 202, 290, 290, 290, 0, 0, 290, 0, 286, 286, 0, 290, 286, 286, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 56, 56, 0, 0, 56, 56, 56, 410, 56, 0, 0, 0, 0, 286, 0, 286, 286, 410, 56, 56, 0, 0, 0, 0, 0, 0, 0, 56, 56, 0, 56, 56, 56, 56, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 286, 286, 410, 410, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 202, 202, 202, 0, 0, 202, 202, 202, 0, 202, 410, 0, 410, 410, 0, 411, 0, 0, 0, 202, 202, 0, 0, 0, 0, 411, 0, 0, 202, 202, 0, 202, 202, 202, 202, 202, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 411, 411, 411, 411, 411, 411, 411, 202, 202, 0, 0, 202, 202, 0, 0, 0, 0, 411, 411, 411, 202, 411, 411, 0, 0, 202, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 0, 0, 286, 286, 286, 0, 286, 411, 0, 411, 411, 0, 0, 0, 0, 0, 286, 286, 0, 0, 0, 0, 0, 0, 0, 286, 286, 0, 286, 286, 286, 286, 286, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 0, 0, 286, 0, 0, 0, 0, 286, 0, 0, 0, 410, 410, 410, 0, 0, 410, 410, 410, 0, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 0, 0, 0, 0, 0, 0, 410, 410, 0, 410, 410, 410, 410, 410, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, 0, 0, 410, 410, 410, 0, 0, 410, 0, 0, 0, 0, 410, 0, 0, 183, 178, 0, 0, 0, 181, 179, 0, 180, 0, 182, 0, 411, 411, 411, 0, 0, 411, 411, 411, 0, 411, 0, 175, 0, 174, 0, 0, 0, 0, 0, 411, 411, 0, 0, 0, 0, 0, 0, 0, 411, 411, 0, 411, 411, 411, 411, 411, 0, 0, 0, 0, 0, 193, 0, 0, 0, 177, 0, 185, 0, 0, 0, 193, 0, 0, 0, 0, 0, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 411, 0, 0, 411, 411, 411, 0, 176, 411, 184, 193, 193, 0, 411, 193, 193, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 0, 0, 189, 189, 189, 189, 189, 0, 189, 0, 0, 0, 193, 193, 0, 0, 0, 0, 0, 189, 189, 189, 0, 189, 189, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 0, 0, 0, 189, 189, 0, 0, 0, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 186, 186, 0, 0, 186, 186, 186, 186, 186, 0, 186, 0, 0, 0, 0, 508, 509, 0, 0, 510, 0, 186, 186, 186, 0, 186, 186, 160, 161, 162, 163, 164, 165, 0, 166, 167, 0, 0, 168, 0, 0, 0, 169, 170, 171, 172, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 186, 186, 0, 0, 0, 0, 0, 193, 193, 193, 0, 0, 193, 193, 193, 0, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 0, 0, 0, 186, 186, 0, 0, 193, 193, 0, 193, 193, 193, 193, 193, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 193, 0, 0, 193, 193, 189, 189, 189, 193, 0, 189, 189, 189, 193, 189, 0, 0, 0, 0, 0, 0, 334, 329, 0, 189, 189, 332, 330, 608, 331, 0, 333, 0, 189, 189, 0, 189, 189, 189, 189, 189, 0, 0, 0, 326, 0, 325, 324, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 189, 187, 0, 189, 189, 328, 0, 0, 189, 0, 0, 187, 0, 189, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 0, 0, 186, 186, 186, 0, 186, 0, 0, 0, 0, 327, 0, 0, 187, 187, 186, 186, 187, 187, 187, 187, 187, 0, 187, 186, 186, 0, 186, 186, 186, 186, 186, 0, 0, 187, 187, 187, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 188, 0, 186, 186, 187, 187, 0, 186, }; }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/buggy/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 1059, 9060, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 3847, 28, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 3847, 27, 16, 225, 1059, 9060, 16, 6647, 1059, 6669, 16, 225, 1059, 6669, 16, 225, 1059, 6669, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 565, 374, 16, 225, 1059, 6669, 16, 225, 1059, 6669, 16, 225, 1059, 9060, 16, 225, 1059, 6669, 16, 6647, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 565, 374, 16, 225, 1059, 6669, 16, 565, 374, 16, 2398, 374, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 16, 225, 1059, 9060, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 1059, 9060, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 225, 3847, 28, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 565, 374, 16, 2398, 374, 16, 565, 374, 16, 565, 374, 16, 565, 2 ]
TreeItem item = (TreeItem) doFindItem(element);
TreeItem item = (TreeItem) findItem(element);
public void setChildCount(Object element, int count) { Tree tree = (Tree) doFindInputItem(element); if (tree != null) { tree.setItemCount(count); return; } TreeItem item = (TreeItem) doFindItem(element); if (item != null) { item.setItemCount(count); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cbb1e8120b7c7f75516a32becc9cfb15ad452ddd/TreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 1763, 1380, 12, 921, 930, 16, 509, 1056, 13, 288, 202, 202, 2471, 2151, 273, 261, 2471, 13, 741, 3125, 1210, 1180, 12, 2956, 1769, 202, 202, 430, 261, 3413, 480, 446, 13, 288, 1082, 202, 3413, 18, 542, 30687, 12, 1883, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 741, 3125, 1180, 12, 2956, 1769, 202, 202, 430, 261, 1726, 480, 446, 13, 288, 1082, 202, 1726, 18, 542, 30687, 12, 1883, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 1763, 1380, 12, 921, 930, 16, 509, 1056, 13, 288, 202, 202, 2471, 2151, 273, 261, 2471, 13, 741, 3125, 1210, 1180, 12, 2956, 1769, 202, 202, 430, 261, 3413, 480, 446, 13, 288, 1082, 202, 3413, 18, 542, 30687, 12, 1883, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2471, 1180, 761, 273, 261, 2471, 1180, 13, 741, 3125, 1180, 12, 2956, 1769, 202, 202, 430, 261, 1726, 480, 446, 13, 288, 1082, 202, 1726, 18, 542, 30687, 12, 1883, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MailItem item = findWikiByNameTraverse(octxt, targetAccountId, targetFolderId, name);
MailItem item = findWikiByNameTraverse(ctxt, targetAccountId, targetFolderId, name);
public static MailItem findWikiByPathTraverse(OperationContext octxt, String accountId, int fid, String path) throws ServiceException { WikiUrl url = new WikiUrl(path, fid); Folder f = url.getFolder(octxt, accountId); String name = url.getFilename(); String targetAccountId = accountId; int targetFolderId = f.getId(); MailItem item = findWikiByNameTraverse(octxt, targetAccountId, targetFolderId, name); while (item == null) { Wiki w = getTemplateStore(targetAccountId); if (w == null) return null; targetAccountId = w.getWikiAccount(); targetFolderId = w.getWikiFolderId(); item = findWikiByNameTraverse(octxt, targetAccountId, targetFolderId, name); } return item; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/bc6c15214631a0208bca73138c6df92d9a96bb07/Wiki.java/clean/ZimbraServer/src/java/com/zimbra/cs/wiki/Wiki.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 11542, 1180, 1104, 25438, 16736, 29654, 12, 2988, 1042, 320, 20364, 16, 514, 17398, 16, 509, 13444, 16, 514, 589, 13, 1216, 16489, 288, 202, 202, 25438, 1489, 880, 273, 394, 28268, 1489, 12, 803, 16, 13444, 1769, 202, 202, 3899, 284, 273, 880, 18, 588, 3899, 12, 83, 20364, 16, 17398, 1769, 202, 202, 780, 508, 273, 880, 18, 588, 5359, 5621, 9506, 202, 780, 1018, 14594, 273, 17398, 31, 202, 202, 474, 1018, 3899, 548, 273, 284, 18, 26321, 5621, 202, 202, 6759, 1180, 761, 273, 1104, 25438, 5911, 29654, 12, 83, 20364, 16, 1018, 14594, 16, 1018, 3899, 548, 16, 508, 1769, 202, 202, 17523, 261, 1726, 422, 446, 13, 288, 1082, 202, 25438, 341, 273, 10646, 2257, 12, 3299, 14594, 1769, 1082, 202, 430, 261, 91, 422, 446, 13, 9506, 202, 2463, 446, 31, 1082, 202, 3299, 14594, 273, 341, 18, 588, 25438, 3032, 5621, 1082, 202, 3299, 3899, 548, 273, 341, 18, 588, 25438, 3899, 548, 5621, 1082, 202, 1726, 273, 1104, 25438, 5911, 29654, 12, 83, 20364, 16, 1018, 14594, 16, 1018, 3899, 548, 16, 508, 1769, 202, 202, 97, 202, 202, 2463, 761, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 11542, 1180, 1104, 25438, 16736, 29654, 12, 2988, 1042, 320, 20364, 16, 514, 17398, 16, 509, 13444, 16, 514, 589, 13, 1216, 16489, 288, 202, 202, 25438, 1489, 880, 273, 394, 28268, 1489, 12, 803, 16, 13444, 1769, 202, 202, 3899, 284, 273, 880, 18, 588, 3899, 12, 83, 20364, 16, 17398, 1769, 202, 202, 780, 508, 273, 880, 18, 588, 5359, 5621, 9506, 202, 780, 1018, 14594, 273, 17398, 31, 202, 202, 474, 1018, 3899, 548, 273, 284, 18, 26321, 5621, 202, 202, 6759, 1180, 761, 273, 1104, 25438, 5911, 29654, 12, 83, 20364, 16, 1018, 14594, 16, 1018, 3899, 548, 16, 508, 1769, 202, 202, 17523, 261, 1726, 422, 446, 13, 288, 1082, 2 ]
dep.setVersion( version );
if ( dependencies != null ) { for ( Iterator i = dependencies.iterator(); i.hasNext(); ) { Dependency dep = (Dependency) i.next(); if ( dep.getVersion() != null ) { String resolvedVersion = getVersionResolver().getResolvedVersion( dep.getGroupId(), dep.getArtifactId() ); if ( resolvedVersion != null ) { dep.setVersion( resolvedVersion ); } }
private void transformPomToReleaseVersionPom( MavenProject project ) throws MojoExecutionException { if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ) ) { if ( !isSnapshot( project.getVersion() ) ) { throw new MojoExecutionException( "The project " + project.getGroupId() + ":" + project.getArtifactId() + " isn't a snapshot (" + project.getVersion() + ")." ); } Model model = project.getOriginalModel(); //Rewrite parent version if ( project.hasParent() ) { Artifact parentArtifact = project.getParentArtifact(); if ( isSnapshot( parentArtifact.getBaseVersion() ) ) { String version = resolveVersion( parentArtifact, "parent", project ); model.getParent().setVersion( version ); } } //Rewrite dependencies section Map artifactMap = project.getArtifactMap(); List dependencies = model.getDependencies(); if ( dependencies != null ) { for ( Iterator i = dependencies.iterator(); i.hasNext(); ) { Dependency dep = (Dependency) i.next(); String conflictId = ArtifactUtils.artifactId( dep.getGroupId(), dep.getArtifactId(), dep.getType(), dep.getClassifier(), dep.getVersion() ); Artifact artifact = (Artifact) artifactMap.get( conflictId ); String version = resolveVersion( artifact, "dependency", project ); dep.setVersion( version ); } } Build build = model.getBuild(); if ( build != null ) { //Rewrite plugins section Map pluginArtifactMap = project.getPluginArtifactMap(); List plugins = build.getPlugins(); for ( Iterator i = plugins.iterator(); i.hasNext(); ) { Plugin plugin = (Plugin) i.next(); String pluginId = plugin.getKey(); Artifact artifact = (Artifact) pluginArtifactMap.get( pluginId ); String version = resolveVersion( artifact, "plugin", project ); plugin.setVersion( version ); } //Rewrite extensions section Map extensionArtifactMap = project.getExtensionArtifactMap(); List extensions = build.getExtensions(); for ( Iterator i = extensions.iterator(); i.hasNext(); ) { Extension ext = (Extension) i.next(); String pluginId = ArtifactUtils.versionlessKey( ext.getGroupId(), ext.getArtifactId() ); Artifact artifact = (Artifact) extensionArtifactMap.get( pluginId ); String version = resolveVersion( artifact, "extension", project ); ext.setVersion( version ); } } Reporting reporting = model.getReporting(); if ( reporting != null ) { //Rewrite reports section Map reportArtifactMap = project.getReportArtifactMap(); List reports = reporting.getPlugins(); for ( Iterator i = reports.iterator(); i.hasNext(); ) { ReportPlugin plugin = (ReportPlugin) i.next(); String pluginId = plugin.getKey(); Artifact artifact = (Artifact) reportArtifactMap.get( pluginId ); String version = resolveVersion( artifact, "report", project ); plugin.setVersion( version ); } } Writer writer = null; try { writer = new FileWriter( project.getFile() ); project.writeOriginalModel( writer ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot write released version of pom to: " + project.getFile(), e ); } finally { IOUtil.close( writer ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/8c97337f8b1e7590b5b50936679ff46b9845de63/PrepareReleaseMojo.java/clean/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2510, 52, 362, 774, 7391, 1444, 52, 362, 12, 17176, 4109, 1984, 262, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 52, 1872, 67, 16596, 7473, 25773, 67, 7473, 67, 30762, 262, 262, 3639, 288, 5411, 309, 261, 401, 291, 4568, 12, 1984, 18, 588, 1444, 1435, 262, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 1986, 1984, 315, 397, 1984, 18, 588, 8722, 1435, 397, 6153, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 5177, 1404, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 9369, 1199, 11272, 5411, 289, 5411, 3164, 938, 273, 1984, 18, 588, 8176, 1488, 5621, 5411, 368, 19618, 982, 1177, 5411, 309, 261, 1984, 18, 5332, 3054, 1435, 262, 5411, 288, 7734, 14022, 982, 7581, 273, 1984, 18, 588, 3054, 7581, 5621, 7734, 309, 261, 353, 4568, 12, 982, 7581, 18, 588, 2171, 1444, 1435, 262, 262, 7734, 288, 10792, 514, 1177, 273, 2245, 1444, 12, 982, 7581, 16, 315, 2938, 3113, 1984, 11272, 10792, 938, 18, 588, 3054, 7675, 542, 1444, 12, 1177, 11272, 7734, 289, 5411, 289, 5411, 368, 19618, 5030, 2442, 5411, 1635, 6462, 863, 273, 1984, 18, 588, 7581, 863, 5621, 5411, 987, 5030, 273, 938, 18, 588, 8053, 5621, 5411, 309, 261, 5030, 480, 446, 262, 5411, 288, 7734, 364, 261, 4498, 277, 273, 5030, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 7734, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2510, 52, 362, 774, 7391, 1444, 52, 362, 12, 17176, 4109, 1984, 262, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 52, 1872, 67, 16596, 7473, 25773, 67, 7473, 67, 30762, 262, 262, 3639, 288, 5411, 309, 261, 401, 291, 4568, 12, 1984, 18, 588, 1444, 1435, 262, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 1986, 1984, 315, 397, 1984, 18, 588, 8722, 1435, 397, 6153, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 5177, 1404, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 9369, 1199, 11272, 5411, 289, 5411, 3164, 938, 273, 1984, 18, 588, 8176, 2 ]
private void createComposite1() {
private void createComposite1(Composite composite) {
private void createComposite1() { GridLayout gridLayout2 = new GridLayout(); gridLayout2.numColumns = 7; gridLayout2.makeColumnsEqualWidth = true; GridData gridData1 = new org.eclipse.swt.layout.GridData(); gridData1.horizontalSpan = 3; gridData1.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL; gridData1.verticalAlignment = org.eclipse.swt.layout.GridData.FILL; gridData1.grabExcessVerticalSpace = true; gridData1.grabExcessHorizontalSpace = true; calendarComposite = new Composite(this, SWT.BORDER); calendarComposite.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE)); calendarComposite.setLayout(gridLayout2); calendarComposite.setLayoutData(gridData1); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/8a6a73cad5c9f714d5be443cd8a9bed7dffbd648/DatePickerPanel.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/DatePickerPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 9400, 21, 1435, 288, 202, 202, 6313, 3744, 3068, 3744, 22, 273, 394, 7145, 3744, 5621, 202, 202, 5222, 3744, 22, 18, 2107, 3380, 273, 2371, 31, 202, 202, 5222, 3744, 22, 18, 6540, 3380, 5812, 2384, 273, 638, 31, 202, 202, 6313, 751, 3068, 751, 21, 273, 394, 2358, 18, 20416, 18, 5328, 88, 18, 6741, 18, 6313, 751, 5621, 202, 202, 5222, 751, 21, 18, 18396, 6952, 273, 890, 31, 202, 202, 5222, 751, 21, 18, 18396, 11535, 273, 2358, 18, 20416, 18, 5328, 88, 18, 6741, 18, 6313, 751, 18, 29818, 31, 202, 202, 5222, 751, 21, 18, 17824, 11535, 273, 2358, 18, 20416, 18, 5328, 88, 18, 6741, 18, 6313, 751, 18, 29818, 31, 202, 202, 5222, 751, 21, 18, 2752, 70, 424, 614, 15704, 3819, 273, 638, 31, 202, 202, 5222, 751, 21, 18, 2752, 70, 424, 614, 14457, 3819, 273, 638, 31, 202, 202, 11650, 9400, 273, 394, 14728, 12, 2211, 16, 348, 8588, 18, 38, 7954, 1769, 202, 202, 11650, 9400, 18, 542, 8199, 12, 4236, 18, 588, 1868, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 16861, 10019, 202, 202, 11650, 9400, 18, 542, 3744, 12, 5222, 3744, 22, 1769, 202, 202, 11650, 9400, 18, 542, 3744, 751, 12, 5222, 751, 21, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 9400, 21, 1435, 288, 202, 202, 6313, 3744, 3068, 3744, 22, 273, 394, 7145, 3744, 5621, 202, 202, 5222, 3744, 22, 18, 2107, 3380, 273, 2371, 31, 202, 202, 5222, 3744, 22, 18, 6540, 3380, 5812, 2384, 273, 638, 31, 202, 202, 6313, 751, 3068, 751, 21, 273, 394, 2358, 18, 20416, 18, 5328, 88, 18, 6741, 18, 6313, 751, 5621, 202, 202, 5222, 751, 21, 18, 18396, 6952, 273, 890, 31, 202, 202, 5222, 751, 21, 18, 18396, 11535, 273, 2358, 18, 20416, 18, 5328, 88, 18, 6741, 18, 6313, 751, 18, 29818, 31, 202, 202, 5222, 751, 21, 18, 17824, 11535, 273, 2358, 18, 20416, 18, 5328, 88, 18, 6741, 18, 6313, 2 ]
int linesAfterChange = line - myDocument.getLineNumber(e.getOffset());
int linesAfterChange = line - myDocument.getLineNumber(e.getOffset());
public void documentChanged(DocumentEvent e) { int line = myDocument.getLineNumber(e.getOffset() + e.getNewLength()); int linesAfterChange = line - myDocument.getLineNumber(e.getOffset()); int linesShift = linesAfterChange - myLinesBeforeChange; List<Range> rangesAfterChange = getRangesAfter(myLastChangedLine); List<Range> rangesBeforeChange = getRangesBefore(myFirstChangedLine); List<Range> changedRanges = getChangedRanges(myFirstChangedLine, myLastChangedLine); int newSize = rangesBeforeChange.size() + changedRanges.size() + rangesAfterChange.size(); if (myRanges.size() != newSize) { LOG.info("Ranges: " + myRanges + "; first changed line: " + myFirstChangedLine + "; last changed line: " + myLastChangedLine); LOG.assertTrue(false); } myLastChangedLine += linesShift; List<Range> newChangedRanges = getNewChangedRanges(); shiftRanges(rangesAfterChange, linesShift); if (!changedRanges.equals(newChangedRanges)) { replaceRanges(changedRanges, newChangedRanges); myRanges = new ArrayList<Range>(); myRanges.addAll(rangesBeforeChange); myRanges.addAll(newChangedRanges); myRanges.addAll(rangesAfterChange); if (myHighlighterCount != myRanges.size()) { LOG.assertTrue(false, "Highlighters: " + myHighlighterCount + ", ranges: " + myRanges.size()); } myRanges = mergeRanges(myRanges); for (Range range : myRanges) { if (!range.hasHighlighter()) range.setHighlighter(createHighlighter(range)); } if (myHighlighterCount != myRanges.size()) { LOG.assertTrue(false, "Highlighters: " + myHighlighterCount + ", ranges: " + myRanges.size()); } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/a7795a37f1c8eebeea615883fffc7b0f9c34be31/LineStatusTracker.java/buggy/source/com/intellij/openapi/vcs/ex/LineStatusTracker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1668, 5033, 12, 2519, 1133, 425, 13, 288, 1377, 509, 980, 273, 3399, 2519, 18, 588, 31063, 12, 73, 18, 588, 2335, 1435, 397, 425, 18, 588, 1908, 1782, 10663, 1377, 509, 2362, 4436, 3043, 273, 980, 11794, 300, 3399, 2519, 18, 588, 31063, 12, 73, 18, 588, 2335, 10663, 1377, 509, 2362, 10544, 273, 2362, 4436, 3043, 300, 3399, 5763, 4649, 3043, 31, 1377, 987, 32, 2655, 34, 7322, 4436, 3043, 273, 4170, 2054, 4436, 12, 4811, 3024, 5033, 1670, 1769, 1377, 987, 32, 2655, 34, 7322, 4649, 3043, 273, 4170, 2054, 4649, 12, 4811, 3759, 5033, 1670, 1769, 1377, 987, 32, 2655, 34, 3550, 9932, 273, 336, 5033, 9932, 12, 4811, 3759, 5033, 1670, 16, 3399, 3024, 5033, 1670, 1769, 1377, 509, 21402, 273, 7322, 4649, 3043, 18, 1467, 1435, 397, 3550, 9932, 18, 1467, 1435, 397, 7322, 4436, 3043, 18, 1467, 5621, 1377, 309, 261, 4811, 9932, 18, 1467, 1435, 480, 21402, 13, 288, 3639, 2018, 18, 1376, 2932, 9932, 30, 315, 397, 3399, 9932, 397, 13636, 1122, 3550, 980, 30, 315, 397, 3399, 3759, 5033, 1670, 397, 1171, 13636, 1142, 3550, 980, 30, 315, 397, 3399, 3024, 5033, 1670, 1769, 3639, 2018, 18, 11231, 5510, 12, 5743, 1769, 1377, 289, 1377, 3399, 3024, 5033, 1670, 1011, 2362, 10544, 31, 1377, 987, 32, 2655, 34, 394, 5033, 9932, 273, 12654, 5033, 9932, 5621, 1377, 4654, 9932, 12, 14530, 4436, 3043, 16, 2362, 10544, 1769, 1377, 309, 16051, 6703, 9932, 18, 14963, 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, 1668, 5033, 12, 2519, 1133, 425, 13, 288, 1377, 509, 980, 273, 3399, 2519, 18, 588, 31063, 12, 73, 18, 588, 2335, 1435, 397, 425, 18, 588, 1908, 1782, 10663, 1377, 509, 2362, 4436, 3043, 273, 980, 11794, 300, 3399, 2519, 18, 588, 31063, 12, 73, 18, 588, 2335, 10663, 1377, 509, 2362, 10544, 273, 2362, 4436, 3043, 300, 3399, 5763, 4649, 3043, 31, 1377, 987, 32, 2655, 34, 7322, 4436, 3043, 273, 4170, 2054, 4436, 12, 4811, 3024, 5033, 1670, 1769, 1377, 987, 32, 2655, 34, 7322, 4649, 3043, 273, 4170, 2054, 4649, 12, 4811, 3759, 5033, 1670, 1769, 1377, 987, 32, 2655, 34, 3550, 9932, 273, 336, 5033, 9932, 12, 4811, 3759, 5033, 1670, 2 ]
soapHeaderBlock = new SOAP12HeaderBlockImpl(localName, ns, this);
soapHeaderBlock = new SOAP12HeaderBlockImpl(localName, ns, this, (SOAPFactory)this.factory);
public SOAPHeaderBlock addHeaderBlock(String localName, OMNamespace ns) throws OMException { if (ns == null || ns.getName() == null || "".equals(ns.getName())) { throw new OMException( "All the SOAP Header blocks should be namespace qualified"); } OMNamespace namespace = findNamespace(ns.getName(), ns.getPrefix()); if (namespace != null) { ns = namespace; } SOAPHeaderBlock soapHeaderBlock = null; try { soapHeaderBlock = new SOAP12HeaderBlockImpl(localName, ns, this); } catch (SOAPProcessingException e) { throw new OMException(e); } ((OMNodeEx)soapHeaderBlock).setComplete(true); return soapHeaderBlock; }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/46a014bae8b3bdea6efef1d984a295027545ce0c/SOAP12HeaderImpl.java/buggy/modules/doom/src/org/apache/axis2/soap/impl/dom/soap12/SOAP12HeaderImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16434, 1864, 1768, 13906, 1768, 12, 780, 11927, 16, 28839, 3402, 3153, 13, 1216, 28839, 503, 288, 3639, 309, 261, 2387, 422, 446, 747, 3153, 18, 17994, 1435, 422, 446, 747, 1408, 18, 14963, 12, 2387, 18, 17994, 1435, 3719, 288, 5411, 604, 394, 28839, 503, 12, 10792, 315, 1595, 326, 16434, 4304, 4398, 1410, 506, 1981, 9348, 8863, 3639, 289, 3639, 28839, 3402, 1981, 273, 1104, 3402, 12, 2387, 18, 17994, 9334, 3153, 18, 588, 2244, 10663, 3639, 309, 261, 4937, 480, 446, 13, 288, 5411, 3153, 273, 1981, 31, 3639, 289, 3639, 16434, 1864, 1768, 9930, 1864, 1768, 273, 446, 31, 3639, 775, 288, 5411, 9930, 1864, 1768, 273, 394, 16434, 2138, 1864, 1768, 2828, 12, 3729, 461, 16, 3153, 16, 333, 16, 261, 27952, 1733, 13, 2211, 18, 6848, 1769, 3639, 289, 1044, 261, 27952, 23684, 425, 13, 288, 5411, 604, 394, 28839, 503, 12, 73, 1769, 3639, 289, 3639, 14015, 1872, 907, 424, 13, 19215, 1864, 1768, 2934, 542, 6322, 12, 3767, 1769, 3639, 327, 9930, 1864, 1768, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16434, 1864, 1768, 13906, 1768, 12, 780, 11927, 16, 28839, 3402, 3153, 13, 1216, 28839, 503, 288, 3639, 309, 261, 2387, 422, 446, 747, 3153, 18, 17994, 1435, 422, 446, 747, 1408, 18, 14963, 12, 2387, 18, 17994, 1435, 3719, 288, 5411, 604, 394, 28839, 503, 12, 10792, 315, 1595, 326, 16434, 4304, 4398, 1410, 506, 1981, 9348, 8863, 3639, 289, 3639, 28839, 3402, 1981, 273, 1104, 3402, 12, 2387, 18, 17994, 9334, 3153, 18, 588, 2244, 10663, 3639, 309, 261, 4937, 480, 446, 13, 288, 5411, 3153, 273, 1981, 31, 3639, 289, 3639, 16434, 1864, 1768, 9930, 1864, 1768, 273, 446, 31, 3639, 775, 288, 5411, 9930, 1864, 1768, 273, 394, 16434, 2138, 1864, 1768, 2828, 2 ]
msg = mLocalizer.msg("buttons.nextPrevious", "Next / Previous"); prevNextCheck = new JCheckBox(msg);
public AppearanceSettingsTab() { String msg; setLayout(new BorderLayout()); JPanel content=new JPanel(); content.setLayout(new BoxLayout(content,BoxLayout.Y_AXIS)); content.setBorder(BorderFactory.createEmptyBorder(20,50,20,50)); JPanel lfPanel=new JPanel(new BorderLayout(10,0)); msg = mLocalizer.msg("lookAndFeel", "Aussehen"); JLabel lfLabel = new JLabel(msg); LookAndFeelObj[] obj=getLookAndFeelObjs(); lfComboBox=new JComboBox(obj); String lf=Settings.getLookAndFeel(); for (int i=0;i<obj.length;i++) { if (obj[i].getLFClassName().equals(lf)) { lfComboBox.setSelectedItem(obj[i]); } } lfPanel.add(lfLabel,BorderLayout.WEST); lfPanel.add(lfComboBox,BorderLayout.CENTER); lfLabel.setPreferredSize(new Dimension(200,(int)lfLabel.getPreferredSize().getHeight())); JPanel skinPanel=new JPanel(new BorderLayout(10,0)); msg = mLocalizer.msg("skin", "Background"); skinCheckBox = new JCheckBox(msg); skinTextField = new JTextField(Settings.getApplicationSkin()); msg = mLocalizer.msg("change", "Change"); final JButton skinChooseBtn = new JButton(msg); skinPanel.add(skinCheckBox,BorderLayout.WEST); skinPanel.add(skinTextField,BorderLayout.CENTER); skinPanel.add(skinChooseBtn,BorderLayout.EAST); skinCheckBox.setPreferredSize(new Dimension(200,(int)skinCheckBox.getPreferredSize().getHeight())); skinCheckBox.setSelected(Settings.useApplicationSkin()); skinChooseBtn.setEnabled(Settings.useApplicationSkin()); skinTextField.setEnabled(Settings.useApplicationSkin()); skinCheckBox.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { skinChooseBtn.setEnabled(skinCheckBox.isSelected()); skinTextField.setEnabled(skinCheckBox.isSelected()); } } ); final Component parent=this; skinChooseBtn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { JFileChooser fileChooser=new JFileChooser(); fileChooser.showOpenDialog(parent); File f=fileChooser.getSelectedFile(); if (f!=null) { skinTextField.setText(f.getAbsolutePath()); } } } ); JPanel tablePanel=new JPanel(); JPanel panel1=new JPanel(new BorderLayout()); JPanel panel2=new JPanel(); panel2.setLayout(new BoxLayout(panel2,BoxLayout.Y_AXIS)); tablePanel.setLayout(new BoxLayout(tablePanel,BoxLayout.Y_AXIS)); msg = mLocalizer.msg("tableBackground", "Table background"); tablePanel.setBorder(BorderFactory.createTitledBorder(msg)); ButtonGroup tablePanelBtnGroup = new ButtonGroup(); blankRadio = new JRadioButton(mLocalizer.msg("blank", "Blank")); wallpaperRadio = new JRadioButton(mLocalizer.msg("wallpaper", "Wallpaper")); columnsRadio = new JRadioButton(mLocalizer.msg("columns", "Columns")); tablePanelBtnGroup.add(blankRadio); tablePanelBtnGroup.add(wallpaperRadio); tablePanelBtnGroup.add(columnsRadio); int mode=Settings.getTableBGMode(); if (mode==Settings.NONE) { blankRadio.setSelected(true); }else if (mode==Settings.WALLPAPER) { wallpaperRadio.setSelected(true); }else if (mode==Settings.COLUMNS) { columnsRadio.setSelected(true); } blankRadio.addActionListener(this); wallpaperRadio.addActionListener(this); columnsRadio.addActionListener(this); JPanel tableBGPanel=new JPanel(new BorderLayout(10,0)); skinTableBGLabel=new JLabel(mLocalizer.msg("skin", "Background")); skinTableBGTextField=new JTextField(Settings.getTableSkin()); skinTableBGBtn=new JButton(mLocalizer.msg("change", "Change")); tableBGPanel.add(skinTableBGLabel,BorderLayout.WEST); tableBGPanel.add(skinTableBGTextField,BorderLayout.CENTER); tableBGPanel.add(skinTableBGBtn,BorderLayout.EAST); skinTableBGBtn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { JFileChooser fileChooser=new JFileChooser(); fileChooser.showOpenDialog(parent); File selection = fileChooser.getSelectedFile(); if (selection != null) { skinTableBGTextField.setText(selection.getAbsolutePath()); } } } ); panel2.add(blankRadio); panel2.add(Box.createRigidArea(new Dimension(0,5))); panel2.add(wallpaperRadio); panel2.add(Box.createRigidArea(new Dimension(0,5))); panel2.add(columnsRadio); panel2.add(Box.createRigidArea(new Dimension(0,5))); panel1.add(panel2,BorderLayout.WEST); tablePanel.add(panel1); tablePanel.add(tableBGPanel); JPanel buttonPanel=new JPanel(new GridLayout(1,0)); msg = mLocalizer.msg("buttons", "Buttons"); buttonPanel.setBorder(BorderFactory.createTitledBorder(msg)); JPanel visibleBtnsPanel=new JPanel(new BorderLayout()); JPanel panel3=new JPanel(new BorderLayout()); msg = mLocalizer.msg("showButtons", "Show buttons"); panel3.setBorder(BorderFactory.createTitledBorder(msg)); panel3.setLayout(new BoxLayout(panel3,BoxLayout.Y_AXIS)); mTimeCheck = new JCheckBox(mLocalizer.msg("buttons.time", "Time buttons")); msg = mLocalizer.msg("buttons.nextPrevious", "Next / Previous"); prevNextCheck = new JCheckBox(msg); updateCheck = new JCheckBox(mLocalizer.msg("buttons.update", "Update")); settingsCheck = new JCheckBox(mLocalizer.msg("buttons.settings", "Settings")); searchCheck = new JCheckBox(mLocalizer.msg("buttons.search", "Search")); panel3.add(mTimeCheck); panel3.add(prevNextCheck); panel3.add(updateCheck); panel3.add(settingsCheck); panel3.add(searchCheck); mTimeCheck.setSelected(Settings.isTimeBtnVisible()); updateCheck.setSelected(Settings.isUpdateBtnVisible()); settingsCheck.setSelected(Settings.isPreferencesBtnVisible()); visibleBtnsPanel.add(panel3,BorderLayout.NORTH); JPanel labelBtnsPanel=new JPanel(new BorderLayout()); JPanel panel4=new JPanel(new BorderLayout()); msg = mLocalizer.msg("label", "Label"); panel4.setBorder(BorderFactory.createTitledBorder(msg)); panel4.setLayout(new BoxLayout(panel4,BoxLayout.Y_AXIS)); textOnlyRadio = new JRadioButton(mLocalizer.msg("textOnly", "Text only")); picOnlyRadio = new JRadioButton(mLocalizer.msg("imagesOnly", "Images only")); textAndPicRadio = new JRadioButton(mLocalizer.msg("textAndImages", "Text and images")); ButtonGroup labelBtnsGroup=new ButtonGroup(); labelBtnsGroup.add(textOnlyRadio); labelBtnsGroup.add(picOnlyRadio); labelBtnsGroup.add(textAndPicRadio); if (Settings.getButtonSettings()==Settings.TEXT_ONLY) { textOnlyRadio.setSelected(true); }else if (Settings.getButtonSettings()==Settings.ICON_ONLY) { picOnlyRadio.setSelected(true); }else { textAndPicRadio.setSelected(true); } panel4.add(textOnlyRadio); panel4.add(picOnlyRadio); panel4.add(textAndPicRadio); labelBtnsPanel.add(panel4,BorderLayout.NORTH); buttonPanel.add(visibleBtnsPanel); buttonPanel.add(labelBtnsPanel); content.add(lfPanel); content.add(Box.createRigidArea(new Dimension(0,10))); content.add(skinPanel); content.add(Box.createRigidArea(new Dimension(0,10))); content.add(tablePanel); content.add(Box.createRigidArea(new Dimension(0,10))); content.add(buttonPanel); add(content,BorderLayout.NORTH); }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/c022ff385856283d917ef05a14980d721108d044/AppearanceSettingsTab.java/clean/tvbrowser/src/tvbrowser/ui/settings/AppearanceSettingsTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1716, 27668, 2628, 5661, 1435, 225, 288, 565, 514, 1234, 31, 565, 18479, 12, 2704, 30814, 10663, 565, 24048, 913, 33, 2704, 24048, 5621, 565, 913, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 1745, 16, 3514, 3744, 18, 61, 67, 25614, 10019, 565, 913, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 12, 3462, 16, 3361, 16, 3462, 16, 3361, 10019, 565, 24048, 18594, 5537, 33, 2704, 24048, 12, 2704, 30814, 12, 2163, 16, 20, 10019, 565, 1234, 273, 312, 2042, 1824, 18, 3576, 2932, 7330, 1876, 2954, 292, 3113, 315, 37, 407, 307, 76, 275, 8863, 565, 21403, 18594, 2224, 273, 394, 21403, 12, 3576, 1769, 565, 10176, 1876, 2954, 292, 2675, 8526, 1081, 33, 588, 9794, 1876, 2954, 292, 2675, 87, 5621, 565, 18594, 22199, 33, 2704, 804, 22199, 12, 2603, 1769, 565, 514, 18594, 33, 2628, 18, 588, 9794, 1876, 2954, 292, 5621, 565, 364, 261, 474, 277, 33, 20, 31, 77, 32, 2603, 18, 2469, 31, 77, 27245, 288, 1377, 309, 261, 2603, 63, 77, 8009, 588, 9105, 3834, 7675, 14963, 12, 20850, 3719, 288, 3639, 18594, 22199, 18, 542, 7416, 1180, 12, 2603, 63, 77, 19226, 1377, 289, 565, 289, 565, 18594, 5537, 18, 1289, 12, 20850, 2224, 16, 8107, 3744, 18, 31285, 1769, 565, 18594, 5537, 18, 1289, 12, 20850, 22199, 16, 8107, 3744, 18, 19835, 1769, 565, 18594, 2224, 18, 542, 16028, 1225, 12, 2704, 13037, 12, 6976, 16, 12, 474, 13, 20850, 2224, 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, 282, 1071, 1716, 27668, 2628, 5661, 1435, 225, 288, 565, 514, 1234, 31, 565, 18479, 12, 2704, 30814, 10663, 565, 24048, 913, 33, 2704, 24048, 5621, 565, 913, 18, 542, 3744, 12, 2704, 8549, 3744, 12, 1745, 16, 3514, 3744, 18, 61, 67, 25614, 10019, 565, 913, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 1921, 8107, 12, 3462, 16, 3361, 16, 3462, 16, 3361, 10019, 565, 24048, 18594, 5537, 33, 2704, 24048, 12, 2704, 30814, 12, 2163, 16, 20, 10019, 565, 1234, 273, 312, 2042, 1824, 18, 3576, 2932, 7330, 1876, 2954, 292, 3113, 315, 37, 407, 307, 76, 275, 8863, 565, 21403, 18594, 2224, 273, 394, 21403, 12, 3576, 1769, 565, 10176, 1876, 2954, 292, 2675, 8526, 2 ]
public void addLocal(String vName) {
public void addLocal(String vName) {
public void addLocal(String vName) { Integer vIndex = (Integer)(itsVariableNames.get(vName)); if (vIndex != null) { LocalVariable v = (LocalVariable) (itsVariables.elementAt(vIndex.intValue())); if (v.isParameter()) { // this is o.k. the parameter subsumes the variable def. } else { return; } } int index = itsVariables.size(); LocalVariable lVar = createLocalVariable(vName, false); itsVariables.addElement(lVar); itsVariableNames.put(vName, new Integer(index)); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/13c17e9f4326e4e47b5e45bd238e7e6dc3c09063/VariableTable.java/buggy/js/rhino/org/mozilla/javascript/VariableTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2042, 12, 780, 331, 461, 13, 565, 288, 3639, 2144, 331, 1016, 273, 261, 4522, 21433, 1282, 3092, 1557, 18, 588, 12, 90, 461, 10019, 3639, 309, 261, 90, 1016, 480, 446, 13, 288, 5411, 3566, 3092, 331, 273, 261, 2042, 3092, 13, 18701, 261, 1282, 6158, 18, 2956, 861, 12, 90, 1016, 18, 474, 620, 1435, 10019, 5411, 309, 261, 90, 18, 291, 1662, 10756, 288, 7734, 368, 333, 353, 320, 18, 79, 18, 326, 1569, 720, 1364, 281, 326, 2190, 1652, 18, 5411, 289, 5411, 469, 288, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 509, 770, 273, 2097, 6158, 18, 1467, 5621, 3639, 3566, 3092, 328, 1537, 273, 752, 2042, 3092, 12, 90, 461, 16, 629, 1769, 3639, 2097, 6158, 18, 1289, 1046, 12, 80, 1537, 1769, 3639, 2097, 3092, 1557, 18, 458, 12, 90, 461, 16, 394, 2144, 12, 1615, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2042, 12, 780, 331, 461, 13, 565, 288, 3639, 2144, 331, 1016, 273, 261, 4522, 21433, 1282, 3092, 1557, 18, 588, 12, 90, 461, 10019, 3639, 309, 261, 90, 1016, 480, 446, 13, 288, 5411, 3566, 3092, 331, 273, 261, 2042, 3092, 13, 18701, 261, 1282, 6158, 18, 2956, 861, 12, 90, 1016, 18, 474, 620, 1435, 10019, 5411, 309, 261, 90, 18, 291, 1662, 10756, 288, 7734, 368, 333, 353, 320, 18, 79, 18, 326, 1569, 720, 1364, 281, 326, 2190, 1652, 18, 5411, 289, 5411, 469, 288, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 509, 770, 273, 2097, 6158, 18, 1467, 5621, 3639, 3566, 3092, 328, 1537, 273, 752, 2042, 3092, 12, 2 ]
System.out.println("removing from address.");
public void removeFromAddress(Message m) { System.out.println("removing from address."); try { Address[] toRecs = m.getRecipients(Message.RecipientType.TO); Address[] ccRecs = m.getRecipients(Message.RecipientType.CC); Address[] bccRecs = m.getRecipients(Message.RecipientType.BCC); toRecs = filterAddressArray(toRecs); ccRecs = filterAddressArray(ccRecs); bccRecs = filterAddressArray(bccRecs); m.setRecipients(Message.RecipientType.TO, toRecs); m.setRecipients(Message.RecipientType.CC, ccRecs); m.setRecipients(Message.RecipientType.BCC, bccRecs); } catch (MessagingException me) { } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/68498619907f4e5f0b9b6e7fe4d623905b9eba22/UserProfile.java/buggy/net/suberic/pooka/UserProfile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22386, 1887, 12, 1079, 312, 13, 288, 202, 3163, 18, 659, 18, 8222, 2932, 2764, 13767, 628, 1758, 1199, 1769, 202, 698, 288, 202, 565, 5267, 8526, 358, 19589, 273, 312, 18, 588, 22740, 12, 1079, 18, 18241, 559, 18, 4296, 1769, 202, 565, 5267, 8526, 4946, 19589, 273, 312, 18, 588, 22740, 12, 1079, 18, 18241, 559, 18, 6743, 1769, 202, 565, 5267, 8526, 16915, 19589, 273, 312, 18, 588, 22740, 12, 1079, 18, 18241, 559, 18, 38, 6743, 1769, 202, 565, 358, 19589, 273, 1034, 1887, 1076, 12, 869, 19589, 1769, 202, 565, 4946, 19589, 273, 1034, 1887, 1076, 12, 952, 19589, 1769, 202, 565, 16915, 19589, 273, 1034, 1887, 1076, 12, 31345, 19589, 1769, 202, 377, 202, 565, 312, 18, 542, 22740, 12, 1079, 18, 18241, 559, 18, 4296, 16, 358, 19589, 1769, 202, 565, 312, 18, 542, 22740, 12, 1079, 18, 18241, 559, 18, 6743, 16, 4946, 19589, 1769, 202, 565, 312, 18, 542, 22740, 12, 1079, 18, 18241, 559, 18, 38, 6743, 16, 16915, 19589, 1769, 202, 97, 1044, 261, 23389, 503, 1791, 13, 288, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 22386, 1887, 12, 1079, 312, 13, 288, 202, 3163, 18, 659, 18, 8222, 2932, 2764, 13767, 628, 1758, 1199, 1769, 202, 698, 288, 202, 565, 5267, 8526, 358, 19589, 273, 312, 18, 588, 22740, 12, 1079, 18, 18241, 559, 18, 4296, 1769, 202, 565, 5267, 8526, 4946, 19589, 273, 312, 18, 588, 22740, 12, 1079, 18, 18241, 559, 18, 6743, 1769, 202, 565, 5267, 8526, 16915, 19589, 273, 312, 18, 588, 22740, 12, 1079, 18, 18241, 559, 18, 38, 6743, 1769, 202, 565, 358, 19589, 273, 1034, 1887, 1076, 12, 869, 19589, 1769, 202, 565, 4946, 19589, 273, 1034, 1887, 1076, 12, 952, 19589, 1769, 202, 565, 16915, 19589, 273, 1034, 1887, 1076, 12, 31345, 19589, 2 ]
tmp56_AST = astFactory.create(LT(1));
if (inputState.guessing==0) { tmp56_AST = astFactory.create(LT(1)); }
public final void declarationStart() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST declarationStart_AST = null; switch ( LA(1)) { case LITERAL_def: { match(LITERAL_def); break; } case FINAL: case ABSTRACT: case STRICTFP: case LITERAL_static: case LITERAL_private: case LITERAL_public: case LITERAL_protected: case LITERAL_transient: case LITERAL_native: case LITERAL_threadsafe: case LITERAL_synchronized: case LITERAL_volatile: { modifier(); break; } case AT: { AST tmp53_AST = null; tmp53_AST = astFactory.create(LT(1)); match(AT); AST tmp54_AST = null; tmp54_AST = astFactory.create(LT(1)); match(IDENT); break; } case IDENT: case LITERAL_void: case LITERAL_boolean: case LITERAL_byte: case LITERAL_char: case LITERAL_short: case LITERAL_int: case LITERAL_float: case LITERAL_long: case LITERAL_double: case LITERAL_any: { { switch ( LA(1)) { case IDENT: { upperCaseIdent(); break; } case LITERAL_void: case LITERAL_boolean: case LITERAL_byte: case LITERAL_char: case LITERAL_short: case LITERAL_int: case LITERAL_float: case LITERAL_long: case LITERAL_double: case LITERAL_any: { builtInType(); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } { _loop24: do { if ((LA(1)==LBRACK)) { AST tmp55_AST = null; tmp55_AST = astFactory.create(LT(1)); match(LBRACK); balancedTokens(); AST tmp56_AST = null; tmp56_AST = astFactory.create(LT(1)); match(RBRACK); } else { break _loop24; } } while (true); } AST tmp57_AST = null; tmp57_AST = astFactory.create(LT(1)); match(IDENT); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = declarationStart_AST; }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/27957314a380e54096257a6753ad9d316ee78892/GroovyRecognizer.java/buggy/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 8266, 1685, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 8266, 1685, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 536, 30, 202, 202, 95, 1082, 202, 1916, 12, 23225, 67, 536, 1769, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 17563, 1013, 30, 202, 202, 3593, 10336, 21398, 30, 202, 202, 3593, 2347, 2259, 1268, 30246, 30, 202, 202, 3593, 511, 18454, 67, 3845, 30, 202, 202, 3593, 511, 18454, 67, 1152, 30, 202, 202, 3593, 511, 18454, 67, 482, 30, 202, 202, 3593, 511, 18454, 67, 1117, 30, 202, 202, 3593, 511, 18454, 67, 22670, 30, 202, 202, 3593, 511, 18454, 67, 13635, 30, 202, 202, 3593, 511, 18454, 67, 5930, 4626, 30, 202, 202, 3593, 511, 18454, 67, 22043, 30, 202, 202, 3593, 511, 18454, 67, 15416, 20295, 30, 202, 202, 95, 1082, 202, 20597, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 14464, 30, 202, 202, 95, 1082, 202, 9053, 1853, 8643, 67, 9053, 273, 446, 31, 1082, 202, 5645, 8643, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 1916, 12, 789, 1769, 1082, 202, 9053, 1853, 6564, 67, 9053, 273, 446, 31, 1082, 202, 5645, 6564, 67, 9053, 273, 3364, 1733, 18, 2640, 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, 727, 918, 8266, 1685, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 8266, 1685, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 536, 30, 202, 202, 95, 1082, 202, 1916, 12, 23225, 67, 536, 1769, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 17563, 1013, 30, 202, 202, 3593, 10336, 21398, 30, 202, 202, 3593, 2347, 2259, 1268, 30246, 30, 202, 202, 3593, 511, 18454, 67, 3845, 30, 202, 202, 3593, 511, 18454, 67, 1152, 30, 202, 202, 3593, 511, 18454, 2 ]
public static void ensureConfigFolderExists(boolean userInteractionAllowed) {
public static void ensureConfigFolderExists(boolean userInteractionAllowed, final boolean createIfNotExists) {
public static void ensureConfigFolderExists(boolean userInteractionAllowed) { getConfigPathWithoutDialog(); File file = new File(ourConfigPath); if (!file.exists()) { file.mkdirs(); if (userInteractionAllowed) { ConfigImportHelper.importConfigsTo(ourConfigPath); } } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/aa7ac2e629ca83a4a4884834d94abba107fcb578/PathManager.java/clean/openapi/src/com/intellij/openapi/application/PathManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 3387, 809, 3899, 4002, 12, 6494, 729, 17419, 5042, 16, 727, 1250, 752, 25027, 13, 288, 565, 4367, 743, 8073, 6353, 5621, 565, 1387, 585, 273, 394, 1387, 12, 477, 22341, 1769, 565, 309, 16051, 768, 18, 1808, 10756, 288, 1377, 585, 18, 24816, 8291, 5621, 1377, 309, 261, 1355, 17419, 5042, 13, 288, 3639, 1903, 5010, 2276, 18, 5666, 8062, 774, 12, 477, 22341, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 3387, 809, 3899, 4002, 12, 6494, 729, 17419, 5042, 16, 727, 1250, 752, 25027, 13, 288, 565, 4367, 743, 8073, 6353, 5621, 565, 1387, 585, 273, 394, 1387, 12, 477, 22341, 1769, 565, 309, 16051, 768, 18, 1808, 10756, 288, 1377, 585, 18, 24816, 8291, 5621, 1377, 309, 261, 1355, 17419, 5042, 13, 288, 3639, 1903, 5010, 2276, 18, 5666, 8062, 774, 12, 477, 22341, 1769, 1377, 289, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int tabWidth= CodeFormatterUtil.getTabWidth();
private void addEnclosingInstanceDeclaration(TextChangeManager manager) throws CoreException { int tabWidth= CodeFormatterUtil.getTabWidth(); String[] fieldSource= new String[]{createEnclosingInstanceAccessModifierStrings() + createDeclarationForEnclosingInstance() + ';'}; MemberEdit memberEdit= new MemberEdit(fType, MemberEdit.ADD_AT_BEGINNING, fieldSource, tabWidth); manager.get(getInputTypeCu()).addTextEdit(RefactoringCoreMessages.getString("MoveInnerToTopRefactoring.add_enclosing_instance_declaration"), memberEdit); //$NON-NLS-1$ }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/bce534a8d8f7bc70706ee725f7ea6b7724989ac4/MoveInnerToTopRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 21594, 1442, 6094, 12, 1528, 3043, 1318, 3301, 13, 1216, 30015, 288, 202, 202, 474, 3246, 2384, 33, 3356, 5074, 1304, 18, 588, 5661, 2384, 5621, 9506, 202, 780, 8526, 652, 1830, 33, 394, 514, 63, 7073, 2640, 21594, 1442, 1862, 9829, 7957, 1435, 397, 752, 6094, 1290, 21594, 1442, 1435, 397, 7554, 20451, 202, 202, 4419, 4666, 3140, 4666, 33, 394, 8596, 4666, 12, 74, 559, 16, 8596, 4666, 18, 8355, 67, 789, 67, 16061, 15870, 16, 652, 1830, 16, 3246, 2384, 1769, 202, 202, 4181, 18, 588, 12, 588, 1210, 559, 39, 89, 1435, 2934, 1289, 1528, 4666, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 7607, 2857, 774, 3401, 426, 3493, 6053, 18, 1289, 67, 1331, 10910, 67, 1336, 67, 22448, 6, 3631, 3140, 4666, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 21594, 1442, 6094, 12, 1528, 3043, 1318, 3301, 13, 1216, 30015, 288, 202, 202, 474, 3246, 2384, 33, 3356, 5074, 1304, 18, 588, 5661, 2384, 5621, 9506, 202, 780, 8526, 652, 1830, 33, 394, 514, 63, 7073, 2640, 21594, 1442, 1862, 9829, 7957, 1435, 397, 752, 6094, 1290, 21594, 1442, 1435, 397, 7554, 20451, 202, 202, 4419, 4666, 3140, 4666, 33, 394, 8596, 4666, 12, 74, 559, 16, 8596, 4666, 18, 8355, 67, 789, 67, 16061, 15870, 16, 652, 1830, 16, 3246, 2384, 1769, 202, 202, 4181, 18, 588, 12, 588, 1210, 559, 39, 89, 1435, 2934, 1289, 1528, 4666, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 7607, 2857, 774, 3401, 2 ]
tableViewerImpl.cancelEditing(); }
tableEditorImpl.cancelEditing(); }
public void cancelEditing() { tableViewerImpl.cancelEditing(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/98f48f47b2fd4c2b264a8e2e689bcbe9c594c5d2/TableTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3755, 28029, 1435, 288, 3639, 1014, 18415, 2828, 18, 10996, 28029, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3755, 28029, 1435, 288, 3639, 1014, 18415, 2828, 18, 10996, 28029, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
{ return false; }
return false;
public boolean matches(Node context) { short nodeType = context.getNodeType(); switch (axis) { case CHILD: if (nodeType == Node.ATTRIBUTE_NODE) { return false; } break; case ATTRIBUTE: case NAMESPACE: if (nodeType != Node.ATTRIBUTE_NODE) { return false; } break; case DESCENDANT_OR_SELF: return true; default: return false; } int tlen = tests.length; if (tlen > 0) { int pos = getContextPosition(context); int len = getContextSize(context); for (int j = 0; j < tlen && len > 0; j++) { Test test = tests[j]; if (!test.matches(context, pos, len)) { return false; } } } return true; }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/27affa71c21beb8d5c7c9e981bf5fce0576c08f5/Selector.java/buggy/gnu/xml/xpath/Selector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1885, 12, 907, 819, 13, 225, 288, 565, 3025, 9507, 273, 819, 18, 588, 15101, 5621, 565, 1620, 261, 4890, 13, 1377, 288, 1377, 648, 6469, 11382, 30, 3639, 309, 261, 2159, 559, 422, 2029, 18, 11616, 67, 8744, 13, 1850, 288, 5411, 327, 629, 31, 1850, 289, 3639, 898, 31, 1377, 648, 15941, 30, 1377, 648, 18494, 30, 3639, 309, 261, 2159, 559, 480, 2029, 18, 11616, 67, 8744, 13, 1850, 288, 5411, 327, 629, 31, 1850, 289, 3639, 898, 31, 1377, 648, 14326, 4415, 6856, 67, 916, 67, 26280, 30, 3639, 327, 638, 31, 1377, 805, 30, 3639, 327, 629, 31, 1377, 289, 565, 509, 268, 1897, 273, 7434, 18, 2469, 31, 565, 309, 261, 27560, 405, 374, 13, 1377, 288, 3639, 509, 949, 273, 6474, 2555, 12, 2472, 1769, 3639, 509, 562, 273, 6474, 1225, 12, 2472, 1769, 3639, 364, 261, 474, 525, 273, 374, 31, 525, 411, 268, 1897, 597, 562, 405, 374, 31, 525, 27245, 1850, 288, 5411, 7766, 1842, 273, 7434, 63, 78, 15533, 5411, 309, 16051, 3813, 18, 8436, 12, 2472, 16, 949, 16, 562, 3719, 2868, 288, 7734, 327, 629, 31, 2868, 289, 1850, 289, 1377, 289, 565, 327, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1885, 12, 907, 819, 13, 225, 288, 565, 3025, 9507, 273, 819, 18, 588, 15101, 5621, 565, 1620, 261, 4890, 13, 1377, 288, 1377, 648, 6469, 11382, 30, 3639, 309, 261, 2159, 559, 422, 2029, 18, 11616, 67, 8744, 13, 1850, 288, 5411, 327, 629, 31, 1850, 289, 3639, 898, 31, 1377, 648, 15941, 30, 1377, 648, 18494, 30, 3639, 309, 261, 2159, 559, 480, 2029, 18, 11616, 67, 8744, 13, 1850, 288, 5411, 327, 629, 31, 1850, 289, 3639, 898, 31, 1377, 648, 14326, 4415, 6856, 67, 916, 67, 26280, 30, 3639, 327, 638, 31, 1377, 805, 30, 3639, 327, 629, 31, 1377, 289, 565, 509, 268, 1897, 273, 7434, 18, 2469, 31, 565, 309, 2 ]
return getElement().getNamespace();
return getElement().getContributor().getName();
public String getPluginId() { return getElement().getNamespace(); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/301c98d0bb1cfed74f269ec752f1111df6936f9b/ContributionItemService.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.common.ui.services.action/src/org/eclipse/gmf/runtime/common/ui/services/action/contributionitem/ContributionItemService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 15106, 202, 482, 514, 16319, 548, 1435, 288, 6862, 9506, 202, 2463, 7426, 7675, 588, 3402, 5621, 6862, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15106, 202, 482, 514, 16319, 548, 1435, 288, 6862, 9506, 202, 2463, 7426, 7675, 588, 3402, 5621, 6862, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
returnObject(streamer);
try { returnObject(streamer); } catch (Exception e) { throw new RuntimeException(e); }
public void returnDOMStreamer(DOMStreamer streamer) throws Exception { if(streamer == null) return; returnObject(streamer); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/b97968ea5c7509390e358e4f2e731907b80df01b/DOMStreamerPool.java/clean/src/org/exist/util/serializer/DOMStreamerPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 327, 8168, 1228, 264, 12, 8168, 1228, 264, 27320, 13, 1216, 1185, 288, 202, 202, 430, 12, 3256, 264, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 2463, 921, 12, 3256, 264, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 327, 8168, 1228, 264, 12, 8168, 1228, 264, 27320, 13, 1216, 1185, 288, 202, 202, 430, 12, 3256, 264, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 2463, 921, 12, 3256, 264, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i=0; i<fgPreprocessor.length; i++) { preprocessorRule.addWord(fgPreprocessor[i], token); }
i = ParserFactory.getKeywordSet( KeywordSetKey.PP_DIRECTIVE, ParserLanguage.C ).iterator(); while( i.hasNext() ) preprocessorRule.addWord((String) i.next(), token);
protected List createRules() { List rules= new ArrayList(); // Add rule for strings Token token= getToken(ICColorConstants.C_STRING); // Add rule for strings and character constants. rules.add(new SingleLineRule("'", "'", token, '\\')); //$NON-NLS-1$ //$NON-NLS-2$ // Add generic whitespace rule. //rules.add(new WhitespaceRule(new CWhitespaceDetector())); // Add word rule for keywords, types, and constants. token= getToken(ICColorConstants.C_DEFAULT); WordRule wordRule= new WordRule(new CWordDetector(), token); token= getToken(ICColorConstants.C_KEYWORD); for (int i=0; i<fgKeywords.length; i++) wordRule.addWord(fgKeywords[i], token); token= getToken(ICColorConstants.C_TYPE); for (int i=0; i<fgTypes.length; i++) wordRule.addWord(fgTypes[i], token); for (int i=0; i<fgConstants.length; i++) wordRule.addWord(fgConstants[i], token); rules.add(wordRule); token = getToken(ICColorConstants.C_TYPE); PreprocessorRule preprocessorRule = new PreprocessorRule(new CWordDetector(), token); for (int i=0; i<fgPreprocessor.length; i++) { preprocessorRule.addWord(fgPreprocessor[i], token); } rules.add(preprocessorRule); setDefaultReturnToken(getToken(ICColorConstants.C_DEFAULT)); return rules; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8b2e0e8b4dbd8f4921c28bfb30f50bc98ba2a37d/CCodeScanner.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CCodeScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 987, 752, 4478, 1435, 288, 25083, 202, 682, 2931, 33, 394, 2407, 5621, 25083, 202, 759, 1436, 1720, 364, 2064, 202, 202, 1345, 1147, 33, 9162, 12, 2871, 2957, 2918, 18, 39, 67, 5804, 1769, 202, 202, 759, 1436, 1720, 364, 2064, 471, 3351, 6810, 18, 202, 202, 7482, 18, 1289, 12, 2704, 10326, 1670, 2175, 29823, 3113, 2491, 3113, 1147, 16, 5282, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 6862, 9506, 202, 759, 1436, 5210, 7983, 1720, 18, 202, 202, 759, 7482, 18, 1289, 12, 2704, 3497, 5211, 2175, 12, 2704, 385, 9431, 12594, 1435, 10019, 9506, 202, 759, 1436, 2076, 1720, 364, 7093, 16, 1953, 16, 471, 6810, 18, 202, 202, 2316, 33, 9162, 12, 2871, 2957, 2918, 18, 39, 67, 5280, 1769, 202, 202, 3944, 2175, 2076, 2175, 33, 394, 9926, 2175, 12, 2704, 385, 3944, 12594, 9334, 1147, 1769, 9506, 202, 2316, 33, 9162, 12, 2871, 2957, 2918, 18, 39, 67, 28813, 1769, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2137, 14149, 18, 2469, 31, 277, 27245, 1082, 202, 1095, 2175, 18, 1289, 3944, 12, 2137, 14149, 63, 77, 6487, 1147, 1769, 202, 202, 2316, 33, 9162, 12, 2871, 2957, 2918, 18, 39, 67, 2399, 1769, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 2137, 2016, 18, 2469, 31, 277, 27245, 1082, 202, 1095, 2175, 18, 1289, 3944, 12, 2137, 2016, 63, 77, 6487, 1147, 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, 987, 752, 4478, 1435, 288, 25083, 202, 682, 2931, 33, 394, 2407, 5621, 25083, 202, 759, 1436, 1720, 364, 2064, 202, 202, 1345, 1147, 33, 9162, 12, 2871, 2957, 2918, 18, 39, 67, 5804, 1769, 202, 202, 759, 1436, 1720, 364, 2064, 471, 3351, 6810, 18, 202, 202, 7482, 18, 1289, 12, 2704, 10326, 1670, 2175, 29823, 3113, 2491, 3113, 1147, 16, 5282, 10019, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 6862, 9506, 202, 759, 1436, 5210, 7983, 1720, 18, 202, 202, 759, 7482, 18, 1289, 12, 2704, 3497, 5211, 2175, 12, 2704, 385, 9431, 12594, 1435, 10019, 9506, 202, 759, 1436, 2076, 1720, 364, 7093, 16, 1953, 16, 2 ]
case 201: break;
case 204: break;
public Symbol next_token() throws java.io.IOException { int yyFlexInput; int yyFlexAction; int [] yyFlexTransL = YY_TRANS; int [] yyFlexRowMapL = YY_ROWMAP; int [] yyFlexAttrL = YY_ATTRIBUTE; int yyFlexPushbackPos_l = yyFlexPushbackPos = -1; boolean yy_was_pushback; while (true) { // cached fields: int yyFlexCurrentPosL; int yyFlexMarkedPosL = yyFlexMarkedPos; int yyFlexEndReadL = yyFlexEndRead; char [] yyFlexBufferL = yyFlexBuffer; char [] yyCMapL = YY_CMAP; boolean yyFlexR = false; for (yyFlexCurrentPosL = yyFlexStartRead; yyFlexCurrentPosL < yyFlexMarkedPosL; yyFlexCurrentPosL++) { switch (yyFlexBufferL[yyFlexCurrentPosL]) { case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyline++; yycolumn = 0; yyFlexR = false; break; case '\r': yyline++; yycolumn = 0; yyFlexR = true; break; case '\n': if (yyFlexR) yyFlexR = false; else { yyline++; yycolumn = 0; } break; default: yyFlexR = false; yycolumn++; } } if (yyFlexR) { // peek one character ahead if it is \n (if we have counted one line too much) boolean yyFlexPeek; if (yyFlexMarkedPosL < yyFlexEndReadL) yyFlexPeek = yyFlexBufferL[yyFlexMarkedPosL] == '\n'; else if (yyFlexAtEOF) yyFlexPeek = false; else { boolean eof = yyFlexRefill(); yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; if (eof) yyFlexPeek = false; else yyFlexPeek = yyFlexBufferL[yyFlexMarkedPosL] == '\n'; } if (yyFlexPeek) yyline--; } if (yyFlexMarkedPosL > yyFlexStartRead) { switch (yyFlexBufferL[yyFlexMarkedPosL-1]) { case '\n': case '\u000B': case '\u000C': case '\u0085': case '\u2028': case '\u2029': yyFlexAtBOL = true; break; case '\r': if (yyFlexMarkedPosL < yyFlexEndReadL) yyFlexAtBOL = yyFlexBufferL[yyFlexMarkedPosL] != '\n'; else if (yyFlexAtEOF) yyFlexAtBOL = false; else { boolean eof = yyFlexRefill(); yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; if (eof) yyFlexAtBOL = false; else yyFlexAtBOL = yyFlexBufferL[yyFlexMarkedPosL] != '\n'; } break; default: yyFlexAtBOL = false; } } yyFlexAction = -1; yyFlexCurrentPosL = yyFlexCurrentPos = yyFlexStartRead = yyFlexMarkedPosL; if (yyFlexAtBOL) yyFlexState = YY_LEXSTATE[yyFlexLexicalState+1]; else yyFlexState = YY_LEXSTATE[yyFlexLexicalState]; yy_was_pushback = false; yy_forAction: { while (true) { if (yyFlexCurrentPosL < yyFlexEndReadL) yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; else if (yyFlexAtEOF) { yyFlexInput = YYEOF; break yy_forAction; } else { // store back cached positions yyFlexCurrentPos = yyFlexCurrentPosL; yyFlexMarkedPos = yyFlexMarkedPosL; yyFlexPushbackPos = yyFlexPushbackPos_l; boolean eof = yyFlexRefill(); // get translated positions and possibly new buffer yyFlexCurrentPosL = yyFlexCurrentPos; yyFlexMarkedPosL = yyFlexMarkedPos; yyFlexBufferL = yyFlexBuffer; yyFlexEndReadL = yyFlexEndRead; yyFlexPushbackPos_l = yyFlexPushbackPos; if (eof) { yyFlexInput = YYEOF; break yy_forAction; } else { yyFlexInput = yyFlexBufferL[yyFlexCurrentPosL++]; } } int yyFlexNext = yyFlexTransL[ yyFlexRowMapL[yyFlexState] + yyCMapL[yyFlexInput] ]; if (yyFlexNext == -1) break yy_forAction; yyFlexState = yyFlexNext; int yyFlexAttributes = yyFlexAttrL[yyFlexState]; if ( (yyFlexAttributes & 2) == 2 ) yyFlexPushbackPos_l = yyFlexCurrentPosL; if ( (yyFlexAttributes & 1) == 1 ) { yy_was_pushback = (yyFlexAttributes & 4) == 4; yyFlexAction = yyFlexState; yyFlexMarkedPosL = yyFlexCurrentPosL; if ( (yyFlexAttributes & 8) == 8 ) break yy_forAction; } } } // store back cached position yyFlexMarkedPos = yyFlexMarkedPosL; if (yy_was_pushback) yyFlexMarkedPos = yyFlexPushbackPos_l; switch (yyFlexAction < 0 ? yyFlexAction : YY_ACTION[yyFlexAction]) { case 85: { return symbol(FULL); } case 141: break; case 92: { debugOption = true; } case 142: break; case 57: { return symbol(CHAR,new Character('\t')); } case 143: break; case 107: { throw new ScannerException(file,ErrorMessages.NO_BUFFER_SIZE, yyline); } case 144: break; case 91: { isYYEOF = true; } case 145: break; case 54: { return symbol(CHAR, new Character(yytext().charAt(1))); } case 146: break; case 11: { yybegin(REGEXP); } case 147: break; case 112: { isAbstract = true; } case 148: break; case 101: { initCode = conc(initCode,string); yybegin(MACROS); } case 149: break; case 45: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_NL, yyline, yycolumn); } case 150: break; case 12: { return symbol_countUpdate(RBRACE, null); } case 151: break; case 74: { return symbol(REPEAT, new Integer(yytext().substring(1).trim())); } case 152: break; case 55: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8))); } case 153: break; case 97: { columnCount = true; } case 154: break; case 122: { return symbol(LETTERCLASS); } case 155: break; case 15: { if (macroDefinition) { yybegin(MACROS); } return symbol(REGEXPEND); } case 156: break; case 77: { inclusive_states = true; yybegin(STATELIST); } case 157: break; case 56: { return symbol(CHAR,new Character('\n')); } case 158: break; case 81: { return symbol(MACROUSE, yytext().substring(1,yytext().length()-1)); } case 159: break; case 25: { return symbol(OPENBRACKET); } case 160: break; case 123: { throw new ScannerException(file,ErrorMessages.QUIL_INITTHROW, yyline); } case 161: break; case 126: { visibility = "private"; Skeleton.makePrivate(); } case 162: break; case 49: { commentbalance++; } case 163: break; case 9: { throw new ScannerException(file,ErrorMessages.UNKNOWN_OPTION, yyline, yycolumn); } case 164: break; case 68: { string.append('\n'); } case 165: break; case 33: { balance++; actionText.append('{'); } case 166: break; case 48: { if (commentbalance > 0) commentbalance--; else yybegin(nextState); } case 167: break; case 67: { string.append('\"'); } case 168: break; case 95: { tokenType = yytext().substring(6).trim(); } case 169: break; case 79: { return symbol_countUpdate(MACROUSE, makeMacroIdent()); } case 170: break; case 14: { return symbol(CHAR, new Character(yytext().charAt(0))); } case 171: break; case 32: { if (balance > 0) { balance--; actionText.append('}'); } else { yybegin(REGEXPSTART); Action a = new Action(actionText.toString(), action_line); actions.addElement(a); return symbol(ACTION, a); } } case 172: break; case 108: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol_countUpdate(EOFRULE, null); } case 173: break; case 120: { isExtending = yytext().substring(9).trim(); } case 174: break; case 113: { cupSymbol = yytext().substring(8).trim(); if (cupCompatible) Out.warning(ErrorMessages.CUPSYM_AFTER_CUP, yyline); } case 175: break; case 63: { yybegin(REPEATEXP); return symbol(REPEAT, new Integer(yytext().trim().substring(1).trim())); } case 176: break; case 88: { packed = true; useRowMap = true; } case 177: break; case 27: { return symbol(PLUS); } case 178: break; case 99: { isPublic = true; } case 179: break; case 70: { string.append('\r'); } case 180: break; case 76: { inclusive_states = false; yybegin(STATELIST); } case 181: break; case 3: { userCode.append(yytext()); } case 182: break; case 19: { lookAheadUsed = true; return symbol(LOOKAHEAD); } case 183: break; case 110: { lexThrow = concExc(lexThrow,yytext().substring(8).trim()); } case 184: break; case 26: { return symbol(CLOSEBRACKET); } case 185: break; case 80: { string.append( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16)); } case 186: break; case 37: { throw new ScannerException(file,ErrorMessages.UNTERMINATED_STR, yyline, yycolumn); } case 187: break; case 111: { eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 188: break; case 69: { string.append('\t'); } case 189: break; case 23: { return symbol(BANG); } case 190: break; case 17: { yybegin(CHARCLASS); return symbol(OPENCLASS); } case 191: break; case 114: { cupDebug = true; } case 192: break; case 87: { charCount = true; } case 193: break; case 58: { return symbol(CHAR,new Character('\r')); } case 194: break; case 66: { string.append( (char) Integer.parseInt(yytext().substring(1,yytext().length()), 8)); } case 195: break; case 134: { scanErrorException = yytext().substring(11).trim(); } case 196: break; case 60: { return symbol(CHAR,new Character('\b')); } case 197: break; case 35: { yybegin(REGEXP); return symbol(MORETHAN); } case 198: break; case 132: { isImplementing = concExc(isImplementing, yytext().substring(12).trim()); } case 199: break; case 78: { return symbol(CHAR, new Character( (char) Integer.parseInt(yytext().substring(2,yytext().length()), 16))); } case 200: break; case 90: { isFinal = true; } case 201: break; case 137: { return symbol(UPPERCLASS); } case 202: break; case 46: { yybegin(REGEXP); return symbol(RBRACE); } case 203: break; case 51: { Out.warning(ErrorMessages.NOT_AT_BOL, yyline); yypushback(1); } case 204: break; case 28: { return symbol(QUESTION); } case 205: break; case 36: { string.append(yytext()); } case 206: break; case 135: { initThrow = concExc(initThrow,string); yybegin(MACROS); } case 207: break; case 140: { return symbol(JLETTERDIGITCLASS); } case 208: break; case 53: { nextState = REGEXPSTART; yybegin(COMMENT); } case 209: break; case 130: { eofThrow = concExc(eofThrow,string); yybegin(MACROS); } case 210: break; case 61: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(REGEXPEND); } case 211: break; case 138: { return symbol(LOWERCLASS); } case 212: break; case 38: { yybegin(nextState); return symbol(STRING, string.toString()); } case 213: break; case 82: { classCode = conc(classCode,string); yybegin(MACROS); } case 214: break; case 8: { return symbol(IDENT, yytext()); } case 215: break; case 43: { return symbol(HAT); } case 216: break; case 29: { lookAheadUsed = true; return symbol(DOLLAR); } case 217: break; case 124: { eofThrow = concExc(eofThrow,yytext().substring(10).trim()); } case 218: break; case 5: { states.insert(yytext(),inclusive_states); } case 219: break; case 84: { cupCompatible = true; isImplementing = concExc(isImplementing, "java_cup.runtime.Scanner"); if (functionName == null) functionName = "next_token"; if (tokenType == null) tokenType = "java_cup.runtime.Symbol"; if (eofVal == null) eofVal = "return new java_cup.runtime.Symbol("+cupSymbol+".EOF);"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 220: break; case 127: { standalone = true; isInteger = true; } case 221: break; case 4: { throw new ScannerException(file,ErrorMessages.UNEXPECTED_CHAR, yyline, yycolumn); } case 222: break; case 47: { t.start(); yybegin(MACROS); macroDefinition = true; return symbol(USERCODE,userCode); } case 223: break; case 59: { return symbol(CHAR,new Character('\f')); } case 224: break; case 94: { eofCode = conc(eofCode,string); yybegin(MACROS); } case 225: break; case 65: { string.append(yytext().charAt(1)); } case 226: break; case 115: { caseless = true; } case 227: break; case 39: { throw new ScannerException(file,ErrorMessages.EOL_IN_CHARCLASS,yyline,yycolumn); } case 228: break; case 117: { return symbol(DIGITCLASS); } case 229: break; case 64: { if (macroDefinition) { yybegin(EATWSPNL); return symbol(BAR); } else { yybegin(REGEXPSTART); return symbol(NOACTION); } } case 230: break; case 30: { bolUsed = true; return symbol(HAT); } case 231: break; case 105: { throw new ScannerException(file,ErrorMessages.QUIL_CUPSYM, yyline); } case 232: break; case 102: { isIntWrap = true; } case 233: break; case 41: { if (balance > 0) balance--; else yybegin(REGEXP); return symbol(CLOSECLASS); } case 234: break; case 116: { bufferSize = Integer.parseInt(yytext().substring(8).trim()); } case 235: break; case 31: { actionText.append(yytext()); } case 236: break; case 86: { lineCount = true; } case 237: break; case 128: { throw new ScannerException(file,ErrorMessages.QUIL_SCANERROR, yyline); } case 238: break; case 104: { throw new ScannerException(file,ErrorMessages.QUIL_THROW, yyline); } case 239: break; case 83: { isInteger = true; } case 240: break; case 129: { return symbol(JLETTERCLASS); } case 241: break; case 98: { isInteger = true; if (eofVal == null) eofVal = "return 0;"; eofCode = conc(eofCode, " yyclose();"); eofThrow = concExc(eofThrow, "java.io.IOException"); } case 242: break; case 18: { return symbol(STAR); } case 243: break; case 121: { throw new ScannerException(file,ErrorMessages.QUIL_EOFTHROW, yyline); } case 244: break; case 44: { return symbol(DASH); } case 245: break; case 106: { className = yytext().substring(7).trim(); } case 246: break; case 62: { nextState = REGEXP; yybegin(COMMENT); } case 247: break; case 136: { lexThrow = concExc(lexThrow,yytext().substring(12).trim()); } case 248: break; case 22: { return symbol(BAR); } case 249: break; case 125: { functionName = yytext().substring(10).trim(); } case 250: break; case 13: { yybegin(STATES); return symbol_countUpdate(LESSTHAN, null); } case 251: break; case 119: { eofVal = string.toString(); yybegin(MACROS); } case 252: break; case 73: { yypushback(1); yycolumn--; return symbol(CHAR, new Character(yytext().charAt(0))); } case 253: break; case 24: { return symbol(TILDE); } case 254: break; case 139: { lexThrow = concExc(lexThrow,string); yybegin(MACROS); } case 255: break; case 103: { notUnix = true; } case 256: break; case 89: { packed = false; useRowMap = true; } case 257: break; case 20: { string.setLength(0); nextState = REGEXP; yybegin(STRING_CONTENT); } case 258: break; case 2: { /* ignore */ } case 259: break; case 93: { return symbol(UNICODE); } case 260: break; case 16: { return symbol(POINT); } case 261: break; case 72: { string.append('\b'); } case 262: break; case 21: { yybegin(REGEXPSTART); return symbol(LBRACE); } case 263: break; case 131: { initThrow = concExc(initThrow,yytext().substring(11).trim()); } case 264: break; case 96: { packed = false; useRowMap = false; } case 265: break; case 7: { yybegin(MACROS); } case 266: break; case 75: { string.setLength(0); yybegin(COPY); } case 267: break; case 42: { string.setLength(0); nextState = CHARCLASS; yybegin(STRING_CONTENT); } case 268: break; case 118: { actionText.setLength(0); yybegin(JAVA_CODE); action_line = yyline+1; return symbol(EOFRULE); } case 269: break; case 52: { macroDefinition = false; yybegin(REGEXPSTART); return symbol(DELIMITER); } case 270: break; case 50: { nextState = MACROS; yybegin(COMMENT); } case 271: break; case 10: { yybegin(REGEXP); return symbol(EQUALS); } case 272: break; case 34: { return symbol(COMMA); } case 273: break; case 1: { return symbol(EOF); } case 274: break; case 100: { throw new ScannerException(file,ErrorMessages.EOF_WO_ACTION); } case 275: break; case 71: { string.append('\f'); } case 276: break; case 40: { balance++; return symbol(OPENCLASS); } case 277: break; case 133: { throw new ScannerException(file,ErrorMessages.QUIL_YYLEXTHROW, yyline); } case 278: break; case 109: { File f = new File(yytext().substring(9).trim()); if ( !f.canRead() ) throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); // check for cycle if (files.search(f) > 0) throw new ScannerException(file,ErrorMessages.FILE_CYCLE, yyline); try { yypushStream( new FileReader(f) ); files.push(file); file = f; Out.println("Including \""+file+"\""); } catch (FileNotFoundException e) { throw new ScannerException(file,ErrorMessages.NOT_READABLE, yyline); } } case 279: break; case 6: { } case 280: break; default: if (yyFlexInput == YYEOF && yyFlexStartRead == yyFlexCurrentPos) { yyFlexAtEOF = true; yyFlexDoEOF(); switch (yyFlexLexicalState) { case STRING_CONTENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_STRING); } case 745: break; case MACROS: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 746: break; case STATELIST: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 747: break; case CHARCLASS: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 748: break; case JAVA_CODE: { throw new ScannerException(file,ErrorMessages.EOF_IN_ACTION, action_line-1); } case 749: break; case REPEATEXP: { throw new ScannerException(file,ErrorMessages.EOF_IN_REGEXP); } case 750: break; case COMMENT: { throw new ScannerException(file,ErrorMessages.EOF_IN_COMMENT); } case 751: break; case STATES: { throw new ScannerException(file,ErrorMessages.EOF_IN_STATES); } case 752: break; case COPY: { throw new ScannerException(file,ErrorMessages.EOF_IN_MACROS); } case 753: break; default: { if ( yymoreStreams() ) { file = (File) files.pop(); yypopStream(); } else return symbol(EOF); } } } else { yyFlexScanError(YY_NO_MATCH); } } } }
45285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45285/7127ef36c07cc747ba55753a94d44dca753c5c62/LexScan.java/buggy/src/JFlex/LexScan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 19667, 1210, 31, 565, 509, 9016, 19667, 1803, 31, 565, 509, 5378, 9016, 19667, 1429, 48, 273, 1624, 61, 67, 16596, 31, 565, 509, 5378, 9016, 19667, 1999, 863, 48, 273, 1624, 61, 67, 11226, 8352, 31, 565, 509, 5378, 9016, 19667, 3843, 48, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 19667, 7621, 823, 1616, 67, 80, 273, 9016, 19667, 7621, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 19667, 3935, 1616, 48, 31, 1377, 509, 9016, 19667, 21486, 1616, 48, 273, 9016, 19667, 21486, 1616, 31, 1377, 509, 9016, 19667, 1638, 1994, 48, 273, 9016, 19667, 1638, 1994, 31, 1377, 1149, 5378, 9016, 19667, 1892, 48, 273, 9016, 19667, 1892, 31, 1377, 1149, 5378, 9016, 39, 863, 48, 273, 1624, 61, 67, 39, 8352, 31, 1377, 1250, 9016, 19667, 54, 273, 629, 31, 1377, 364, 261, 6795, 19667, 3935, 1616, 48, 273, 9016, 19667, 1685, 1994, 31, 9016, 19667, 3935, 1616, 48, 411, 9016, 19667, 21486, 1616, 48, 31, 4766, 11794, 9016, 19667, 3935, 1616, 48, 27245, 288, 3639, 1620, 261, 6795, 19667, 1892, 48, 63, 6795, 19667, 3935, 1616, 48, 5717, 288, 3639, 648, 2337, 89, 3784, 38, 4278, 3639, 648, 2337, 89, 3784, 39, 4278, 3639, 648, 2337, 89, 713, 7140, 4278, 3639, 648, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8565, 1024, 67, 2316, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 9016, 19667, 1210, 31, 565, 509, 9016, 19667, 1803, 31, 565, 509, 5378, 9016, 19667, 1429, 48, 273, 1624, 61, 67, 16596, 31, 565, 509, 5378, 9016, 19667, 1999, 863, 48, 273, 1624, 61, 67, 11226, 8352, 31, 565, 509, 5378, 9016, 19667, 3843, 48, 273, 1624, 61, 67, 11616, 31, 565, 509, 9016, 19667, 7621, 823, 1616, 67, 80, 273, 9016, 19667, 7621, 823, 1616, 273, 300, 21, 31, 565, 1250, 9016, 67, 17416, 67, 6206, 823, 31, 565, 1323, 261, 3767, 13, 288, 1377, 368, 3472, 1466, 30, 1377, 509, 9016, 19667, 3935, 1616, 48, 31, 1377, 509, 9016, 19667, 21486, 2 ]
public synchronized static BugzillaRepository getInstance() { if (instance == null) { // if the instance hasn't been created yet, create one instance = new BugzillaRepository( BugzillaPlugin.getDefault().getServerName()); } // fix bug 58 by updating url if it changes if(! BugzillaRepository.bugzillaUrl.equals(BugzillaPlugin.getDefault().getServerName())) { BugzillaRepository.bugzillaUrl = BugzillaPlugin.getDefault().getServerName(); } return instance; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7dcfd671c09bb0bddf39851fb6f84201fc98cdfe/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 760, 16907, 15990, 3305, 3694, 1435, 225, 202, 95, 202, 202, 430, 261, 1336, 422, 446, 13, 3196, 202, 95, 1082, 202, 759, 309, 326, 791, 13342, 1404, 2118, 2522, 4671, 16, 752, 1245, 1082, 202, 1336, 273, 394, 16907, 15990, 3305, 12, 6862, 1082, 202, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 10663, 202, 202, 97, 9506, 202, 759, 2917, 7934, 17066, 635, 9702, 880, 309, 518, 3478, 202, 202, 430, 12, 5, 16907, 15990, 3305, 18, 925, 15990, 1489, 18, 14963, 12, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 1435, 3719, 202, 202, 95, 1082, 202, 19865, 15990, 3305, 18, 925, 15990, 1489, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 5621, 202, 202, 97, 9506, 202, 2463, 791, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 760, 16907, 15990, 3305, 3694, 1435, 225, 202, 95, 202, 202, 430, 261, 1336, 422, 446, 13, 3196, 202, 95, 1082, 202, 759, 309, 326, 791, 13342, 1404, 2118, 2522, 4671, 16, 752, 1245, 1082, 202, 1336, 273, 394, 16907, 15990, 3305, 12, 6862, 1082, 202, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 10663, 202, 202, 97, 9506, 202, 759, 2917, 7934, 17066, 635, 9702, 880, 309, 518, 3478, 202, 202, 430, 12, 5, 16907, 15990, 3305, 18, 925, 15990, 1489, 18, 14963, 12, 19865, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 1435, 3719, 202, 202, 95, 1082, 202, 19865, 15990, 3305, 18, 925, 15990, 1489, 273, 16907, 15990, 3773, 18, 588, 2 ]
}
} else if (logger.isInfoEnabled()) { logger.info(getAgentIdentifier() + ".addConsumerPGs did not add any PGs to " + a); } } else { if (logger.isInfoEnabled()) logger.info(getAgentIdentifier() + ".addConsumerPGs had non Class7MEI: " + a);
protected void addConsumerPGs(Collection meiConsumers) { Iterator meis = meiConsumers.iterator(); Asset a, anAsset; boolean addedPG = false; while (meis.hasNext()) { a = (Asset)meis.next(); if (a instanceof AggregateAsset) { anAsset = ((AggregateAsset)a).getAsset(); } else { anAsset = a; } if (anAsset instanceof ClassVIIMajorEndItem) { if (anAsset instanceof Level2MEIAsset) { //This cargo category code means, "do not transport me." setNoTransportCargoCode(anAsset); } boolean[] consumed = checkMeiConsumption(anAsset); if (consumes(consumed, FUEL) && anAsset.searchForPropertyGroup(FuelConsumerPG.class) == null) { logger.debug("addConsumerPGs() CREATING FuelConsumerPG for "+anAsset+" in "+ getAgentIdentifier()); NewFuelConsumerPG fuelpg = (NewFuelConsumerPG)getLDM().getFactory().createPropertyGroup(FuelConsumerPG.class); fuelpg.setMei(a); fuelpg.setService(service); fuelpg.setTheater(THEATER); if (anAsset instanceof Level2MEIAsset) { fuelpg.setFuelBG(new Level2FuelConsumerBG(fuelpg)); } else { fuelpg.setFuelBG(new FuelConsumerBG(fuelpg)); } fuelpg.initialize(this); anAsset.setPropertyGroup(fuelpg); addedPG = true; } if (consumes(consumed, AMMO) && anAsset.searchForPropertyGroup(AmmoConsumerPG.class) == null) { logger.debug("addConsumerPGs() CREATING AmmoConsumerPG for "+anAsset+" in "+ getAgentIdentifier()); NewAmmoConsumerPG ammopg = (NewAmmoConsumerPG)getLDM().getFactory().createPropertyGroup(AmmoConsumerPG.class); ammopg.setMei(a); ammopg.setService(service); ammopg.setTheater(THEATER); if (anAsset instanceof Level2MEIAsset) { ammopg.setAmmoBG(new Level2AmmoConsumerBG(ammopg)); } else { ammopg.setAmmoBG(new AmmoConsumerBG(ammopg)); } ammopg.initialize(this); anAsset.setPropertyGroup(ammopg); addedPG = true; } if (consumes(consumed, PKG_POL) && anAsset.searchForPropertyGroup(PackagedPOLConsumerPG.class) == null) { logger.debug("addConsumerPGs() CREATING PackagedPOLConsumerPG for "+anAsset+" in "+ getAgentIdentifier()); NewPackagedPOLConsumerPG packagedpg = (NewPackagedPOLConsumerPG)getLDM().getFactory().createPropertyGroup(PackagedPOLConsumerPG.class); packagedpg.setMei(a); packagedpg.setService(service); packagedpg.setTheater(THEATER); packagedpg.setPackagedPOLBG(new PackagedPOLConsumerBG(packagedpg)); packagedpg.initialize(this); anAsset.setPropertyGroup(packagedpg); addedPG = true; } if (consumes(consumed, SPARES) && anAsset.searchForPropertyGroup(RepairPartConsumerPG.class) == null) { logger.debug("addConsumerPGs() CREATING RepairPartConsumerPG for "+anAsset+" in "+ getAgentIdentifier()); NewRepairPartConsumerPG partpg = (NewRepairPartConsumerPG)getLDM().getFactory().createPropertyGroup(RepairPartConsumerPG.class); partpg.setMei(a); partpg.setService(service); partpg.setTheater(THEATER); partpg.setRepairPartBG(new RepairPartConsumerBG(partpg)); partpg.initialize(this); anAsset.setPropertyGroup(partpg); addedPG = true; } if (addedPG) { publishChange(a); } } } }
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/ba7ac6390e550f4c0b2729063237f04f3450b222/MEIPrototypeProvider.java/clean/bbn/src/org/cougaar/logistics/ldm/MEIPrototypeProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 527, 5869, 18679, 87, 12, 2532, 1791, 77, 23538, 13, 288, 565, 4498, 1791, 291, 273, 1791, 77, 23538, 18, 9838, 5621, 565, 10494, 279, 16, 392, 6672, 31, 565, 1250, 3096, 18679, 273, 629, 31, 565, 1323, 261, 3501, 291, 18, 5332, 2134, 10756, 288, 1377, 279, 273, 261, 6672, 13, 3501, 291, 18, 4285, 5621, 1377, 309, 261, 69, 1276, 18059, 6672, 13, 288, 3639, 392, 6672, 273, 14015, 11490, 6672, 13, 69, 2934, 588, 6672, 5621, 1377, 289, 469, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 1194, 18, 1376, 12, 588, 3630, 3004, 1435, 397, 3552, 1289, 5869, 18679, 87, 5061, 486, 527, 1281, 22116, 87, 358, 315, 397, 279, 1769, 289, 289, 469, 288, 225, 309, 261, 4901, 18, 291, 966, 1526, 10756, 1194, 18, 1376, 12, 588, 3630, 3004, 1435, 397, 3552, 1289, 5869, 18679, 87, 9323, 1661, 1659, 27, 958, 45, 30, 315, 397, 279, 1769, 469, 288, 3639, 392, 6672, 273, 279, 31, 1377, 289, 469, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 1194, 18, 1376, 12, 588, 3630, 3004, 1435, 397, 3552, 1289, 5869, 18679, 87, 5061, 486, 527, 1281, 22116, 87, 358, 315, 397, 279, 1769, 289, 289, 469, 288, 225, 309, 261, 4901, 18, 291, 966, 1526, 10756, 1194, 18, 1376, 12, 588, 3630, 3004, 1435, 397, 3552, 1289, 5869, 18679, 87, 9323, 1661, 1659, 27, 958, 45, 30, 315, 397, 279, 1769, 1377, 309, 261, 304, 6672, 1276, 1659, 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, 527, 5869, 18679, 87, 12, 2532, 1791, 77, 23538, 13, 288, 565, 4498, 1791, 291, 273, 1791, 77, 23538, 18, 9838, 5621, 565, 10494, 279, 16, 392, 6672, 31, 565, 1250, 3096, 18679, 273, 629, 31, 565, 1323, 261, 3501, 291, 18, 5332, 2134, 10756, 288, 1377, 279, 273, 261, 6672, 13, 3501, 291, 18, 4285, 5621, 1377, 309, 261, 69, 1276, 18059, 6672, 13, 288, 3639, 392, 6672, 273, 14015, 11490, 6672, 13, 69, 2934, 588, 6672, 5621, 1377, 289, 469, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 1194, 18, 1376, 12, 588, 3630, 3004, 1435, 397, 3552, 1289, 5869, 18679, 87, 5061, 486, 527, 1281, 22116, 87, 358, 315, 397, 279, 1769, 2 ]
new StringBuffer().append(next).toString();
String.valueOf(next);
public Token match(int tok) throws ParseException { if (Debug.parserDebug) { Debug.println("match " + tok); } if (tok > START && tok < END) { if (tok == ID) { // Generic ID sought. if (!startsId()) throw new ParseException(buffer + "\nID expected", ptr); String id = getNextId(); this.currentMatch = new Token(); this.currentMatch.tokenValue = id; this.currentMatch.tokenType = ID; } else if (tok == SAFE) { if (!startsSafeToken()) throw new ParseException(buffer + "\nID expected", ptr); String id = ttokenSafe(); this.currentMatch = new Token(); this.currentMatch.tokenValue = id; this.currentMatch.tokenType = SAFE; } else { String nexttok = getNextId(); Integer cur = (Integer) currentLexer.get(nexttok.toUpperCase()); if (cur == null || cur.intValue() != tok) throw new ParseException( buffer + "\nUnexpected Token : " + nexttok, ptr); this.currentMatch = new Token(); this.currentMatch.tokenValue = nexttok; this.currentMatch.tokenType = tok; } } else if (tok > END) { // Character classes. char next = lookAhead(0); if (tok == DIGIT) { if (!isDigit(next)) throw new ParseException(buffer + "\nExpecting DIGIT", ptr); this.currentMatch = new Token(); this.currentMatch.tokenValue = new StringBuffer().append(next).toString(); this.currentMatch.tokenType = tok; consume(1); } else if (tok == ALPHA) { if (!isAlpha(next)) throw new ParseException(buffer + "\nExpecting ALPHA", ptr); this.currentMatch = new Token(); this.currentMatch.tokenValue = new StringBuffer().append(next).toString(); this.currentMatch.tokenType = tok; consume(1); } } else { // This is a direct character spec. Character ch = new Character((char) tok); char next = lookAhead(0); if (next == ch.charValue()) { this.currentMatch = new Token(); this.currentMatch.tokenValue = new StringBuffer().append(ch.charValue()).toString(); this.currentMatch.tokenType = tok; consume(1); } else throw new ParseException( buffer + "\nExpecting >>>" + ch.charValue() + "<<< got >>>" + next + "<<<", ptr); } return this.currentMatch; }
7607 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7607/d3bce65e49e71ee7df15bd72fd338535d4501bc1/LexerCore.java/buggy/trunk/src/gov/nist/core/LexerCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3155, 845, 12, 474, 946, 13, 1216, 10616, 288, 202, 202, 430, 261, 2829, 18, 4288, 2829, 13, 288, 1082, 202, 2829, 18, 8222, 2932, 1916, 315, 397, 946, 1769, 202, 202, 97, 202, 202, 430, 261, 17692, 405, 10485, 597, 946, 411, 7273, 13, 288, 1082, 202, 430, 261, 17692, 422, 1599, 13, 288, 9506, 202, 759, 7928, 1599, 1427, 9540, 18, 9506, 202, 430, 16051, 17514, 548, 10756, 6862, 202, 12849, 394, 10616, 12, 4106, 397, 1548, 82, 734, 2665, 3113, 6571, 1769, 9506, 202, 780, 612, 273, 6927, 548, 5621, 9506, 202, 2211, 18, 2972, 2060, 273, 394, 3155, 5621, 9506, 202, 2211, 18, 2972, 2060, 18, 2316, 620, 273, 612, 31, 9506, 202, 2211, 18, 2972, 2060, 18, 2316, 559, 273, 1599, 31, 1082, 202, 97, 469, 309, 261, 17692, 422, 348, 6799, 41, 13, 288, 9506, 202, 430, 16051, 17514, 9890, 1345, 10756, 6862, 202, 12849, 394, 10616, 12, 4106, 397, 1548, 82, 734, 2665, 3113, 6571, 1769, 9506, 202, 780, 612, 273, 268, 2316, 9890, 5621, 9506, 202, 2211, 18, 2972, 2060, 273, 394, 3155, 5621, 9506, 202, 2211, 18, 2972, 2060, 18, 2316, 620, 273, 612, 31, 9506, 202, 2211, 18, 2972, 2060, 18, 2316, 559, 273, 348, 6799, 41, 31, 1082, 202, 97, 469, 288, 9506, 202, 780, 1024, 17692, 273, 6927, 548, 5621, 9506, 202, 4522, 662, 273, 261, 4522, 13, 783, 13356, 18, 588, 12, 4285, 17692, 18, 869, 8915, 10663, 9506, 202, 430, 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, 3155, 845, 12, 474, 946, 13, 1216, 10616, 288, 202, 202, 430, 261, 2829, 18, 4288, 2829, 13, 288, 1082, 202, 2829, 18, 8222, 2932, 1916, 315, 397, 946, 1769, 202, 202, 97, 202, 202, 430, 261, 17692, 405, 10485, 597, 946, 411, 7273, 13, 288, 1082, 202, 430, 261, 17692, 422, 1599, 13, 288, 9506, 202, 759, 7928, 1599, 1427, 9540, 18, 9506, 202, 430, 16051, 17514, 548, 10756, 6862, 202, 12849, 394, 10616, 12, 4106, 397, 1548, 82, 734, 2665, 3113, 6571, 1769, 9506, 202, 780, 612, 273, 6927, 548, 5621, 9506, 202, 2211, 18, 2972, 2060, 273, 394, 3155, 5621, 9506, 202, 2211, 18, 2972, 2060, 18, 2316, 620, 273, 612, 31, 9506, 2 ]
fireContentsChanged(this, index, index);
fireIntervalAdded(this, index, index);
public void add(int index, Object element) { elements.add(index, element); fireContentsChanged(this, index, index); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/0c95e71ccd71fcc45b4d3edcb1e9b3f146ddfd19/DefaultListModel.java/clean/libraries/javalib/javax/swing/DefaultListModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 12, 474, 770, 16, 1033, 930, 13, 225, 288, 565, 2186, 18, 1289, 12, 1615, 16, 930, 1769, 565, 4452, 4006, 8602, 12, 2211, 16, 770, 16, 770, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 918, 527, 12, 474, 770, 16, 1033, 930, 13, 225, 288, 565, 2186, 18, 1289, 12, 1615, 16, 930, 1769, 565, 4452, 4006, 8602, 12, 2211, 16, 770, 16, 770, 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 ]
assertEquals("expected same:<hello> was not:<good-bye>", exception .getMessage());
assertEquals("expected same:<hello> was not:<good-bye>", exception.getMessage());
@Test public void sameNullMessage() { try { assertSame("hello", "good-bye"); } catch (AssertionError exception) { assertEquals("expected same:<hello> was not:<good-bye>", exception .getMessage()); } }
50133 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50133/b0c0b79ae5e0dcfc1670cf950d31a14f1c9c630c/AssertionTest.java/clean/org/junit/tests/AssertionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 4709, 1071, 918, 1967, 2041, 1079, 1435, 288, 202, 202, 698, 288, 1082, 202, 11231, 8650, 2932, 23711, 3113, 315, 19747, 17, 1637, 73, 8863, 202, 202, 97, 1044, 261, 14979, 668, 1520, 13, 288, 1082, 202, 11231, 8867, 2932, 3825, 1967, 22292, 23711, 34, 1703, 486, 22292, 19747, 17, 1637, 73, 2984, 16, 1520, 6862, 202, 18, 24906, 10663, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 36, 4709, 1071, 918, 1967, 2041, 1079, 1435, 288, 202, 202, 698, 288, 1082, 202, 11231, 8650, 2932, 23711, 3113, 315, 19747, 17, 1637, 73, 8863, 202, 202, 97, 1044, 261, 14979, 668, 1520, 13, 288, 1082, 202, 11231, 8867, 2932, 3825, 1967, 22292, 23711, 34, 1703, 486, 22292, 19747, 17, 1637, 73, 2984, 16, 1520, 6862, 202, 18, 24906, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
RubyClass type = (RubyClass) runtime.getRubyClass(className.toId());
RubyClass type = (RubyClass) runtime.getClasses().getClassFromPath(className.toId()); Asserts.assertNotNull(type, "type shouldn't be null.");
private IRubyObject defaultObjectUnmarshal() throws IOException { RubySymbol className = (RubySymbol) unmarshalObject(); // ... FIXME: handle if class doesn't exist ... RubyClass type = (RubyClass) runtime.getRubyClass(className.toId()); IRubyObject result = runtime.getFactory().newObject(type); for (int i = 0, count = unmarshalInt(); i < count; i++) { result.setInstanceVariable(unmarshalObject().toId(), unmarshalObject()); } return result; }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/76d37f709db398798e5b6a889937559a9e75e062/UnmarshalStream.java/clean/org/jruby/runtime/marshal/UnmarshalStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 805, 921, 9593, 1435, 1216, 1860, 288, 3639, 19817, 5335, 2658, 273, 261, 54, 10340, 5335, 13, 11401, 921, 5621, 3639, 368, 1372, 9852, 30, 1640, 309, 667, 3302, 1404, 1005, 1372, 3639, 19817, 797, 618, 273, 261, 54, 10340, 797, 13, 3099, 18, 588, 4818, 7675, 588, 797, 23064, 12, 12434, 18, 869, 548, 10663, 225, 5452, 87, 18, 11231, 5962, 12, 723, 16, 315, 723, 12044, 1404, 506, 446, 1199, 1769, 7734, 15908, 10340, 921, 563, 273, 3099, 18, 588, 1733, 7675, 2704, 921, 12, 723, 1769, 3639, 364, 261, 474, 277, 273, 374, 16, 1056, 273, 11401, 1702, 5621, 277, 411, 1056, 31, 277, 27245, 288, 5411, 563, 18, 542, 1442, 3092, 12, 318, 3108, 921, 7675, 869, 548, 9334, 11401, 921, 10663, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 805, 921, 9593, 1435, 1216, 1860, 288, 3639, 19817, 5335, 2658, 273, 261, 54, 10340, 5335, 13, 11401, 921, 5621, 3639, 368, 1372, 9852, 30, 1640, 309, 667, 3302, 1404, 1005, 1372, 3639, 19817, 797, 618, 273, 261, 54, 10340, 797, 13, 3099, 18, 588, 4818, 7675, 588, 797, 23064, 12, 12434, 18, 869, 548, 10663, 225, 5452, 87, 18, 11231, 5962, 12, 723, 16, 315, 723, 12044, 1404, 506, 446, 1199, 1769, 7734, 15908, 10340, 921, 563, 273, 3099, 18, 588, 1733, 7675, 2704, 921, 12, 723, 1769, 3639, 364, 261, 474, 277, 273, 374, 16, 1056, 273, 11401, 1702, 5621, 277, 411, 1056, 31, 277, 27245, 288, 5411, 563, 18, 542, 1442, 2 ]
MemoryCache( IResultObject[] resultObjects, IResultClass rsMeta,
public MemoryCache( IResultObject[] resultObjects, IResultClass rsMeta,
MemoryCache( IResultObject[] resultObjects, IResultClass rsMeta, Comparator comparator ) { this.resultObjects = resultObjects; this.rsMeta = rsMeta; this.countOfResult = resultObjects.length; if ( comparator != null ) Arrays.sort( this.resultObjects, comparator ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/00244bb436ab578cc2a1fa2282a283e816d4c3d0/MemoryCache.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/MemoryCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6031, 1649, 12, 467, 1253, 921, 8526, 563, 4710, 16, 467, 1253, 797, 3597, 2781, 16, 1082, 202, 5559, 8862, 262, 202, 95, 202, 202, 2211, 18, 2088, 4710, 273, 563, 4710, 31, 202, 202, 2211, 18, 5453, 2781, 273, 3597, 2781, 31, 202, 202, 2211, 18, 1883, 951, 1253, 273, 563, 4710, 18, 2469, 31, 202, 202, 430, 261, 8862, 480, 446, 262, 1082, 202, 12726, 18, 3804, 12, 333, 18, 2088, 4710, 16, 8862, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6031, 1649, 12, 467, 1253, 921, 8526, 563, 4710, 16, 467, 1253, 797, 3597, 2781, 16, 1082, 202, 5559, 8862, 262, 202, 95, 202, 202, 2211, 18, 2088, 4710, 273, 563, 4710, 31, 202, 202, 2211, 18, 5453, 2781, 273, 3597, 2781, 31, 202, 202, 2211, 18, 1883, 951, 1253, 273, 563, 4710, 18, 2469, 31, 202, 202, 430, 261, 8862, 480, 446, 262, 1082, 202, 12726, 18, 3804, 12, 333, 18, 2088, 4710, 16, 8862, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Hashtable attrValues = fGeneralAttrCheck.checkAttributes(groupDecl, scope);
Hashtable attrValues = generalCheck(groupDecl, scope);
private GroupInfo traverseGroupDecl( Element groupDecl ) throws Exception { // General Attribute Checking int scope = isTopLevel(groupDecl)? GeneralAttrCheck.ELE_CONTEXT_GLOBAL: GeneralAttrCheck.ELE_CONTEXT_LOCAL; Hashtable attrValues = fGeneralAttrCheck.checkAttributes(groupDecl, scope); String groupName = groupDecl.getAttribute(SchemaSymbols.ATT_NAME); String ref = groupDecl.getAttribute(SchemaSymbols.ATT_REF); GroupInfo gInfo = null; Element child = checkContent( groupDecl, XUtil.getFirstChildElement(groupDecl), true ); if (ref.length() != 0) { if (isTopLevel(groupDecl)) // REVISIT: localize reportGenericSchemaError ( "A group with \"ref\" present must not have <schema> or <redefine> as its parent"); if (groupName.length() != 0) // REVISIT: localize reportGenericSchemaError ( "group " + groupName + " cannot refer to another group, but it refers to " + ref); // there should be no children for <group ref="..."> if (XUtil.getFirstChildElement(groupDecl)!=null) reportGenericSchemaError ( "A group with \"ref\" present must not have children"); String prefix = ""; String localpart = ref; int colonptr = ref.indexOf(":"); if ( colonptr > 0) { prefix = ref.substring(0,colonptr); localpart = ref.substring(colonptr+1); } int localpartIndex = fStringPool.addSymbol(localpart); String uriStr = resolvePrefixToURI(prefix); if (!uriStr.equals(fTargetNSURIString)) { gInfo = traverseGroupDeclFromAnotherSchema(localpart, uriStr); if (DEBUG_NEW_GROUP) findAndCreateElements(gInfo.contentSpecIndex,gInfo.scope); return gInfo; } try { gInfo = (GroupInfo) fGroupNameRegistry.get(uriStr + "," + localpart); if (gInfo != null) { // Ensure any LEAF elements are created at the // scope of the referencing type if (DEBUG_NEW_GROUP) findAndCreateElements(gInfo.contentSpecIndex,gInfo.scope); return gInfo; } } catch (ClassCastException c) { } // Check if we are in the middle of traversing this group (i.e. circular references) if (fCurrentGroupNameStack.search((Object)localpart) > - 1) { reportGenericSchemaError("mg-props-correct: Circular definition for group " + localpart); return null; } int contentSpecIndex = -1; Element referredGroup = getTopLevelComponentByName(SchemaSymbols.ELT_GROUP,localpart); if (referredGroup == null) { // REVISIT: Localize reportGenericSchemaError("Group " + localpart + " not found in the Schema"); //REVISIT, this should be some custom Exception //throw new RuntimeException("Group " + localpart + " not found in the Schema"); } else { gInfo = traverseGroupDecl(referredGroup); } // Now that we have a tree, ensure any LEAF elements are created at the // scope of the referencing type if (gInfo != null) { if (DEBUG_NEW_GROUP) findAndCreateElements(gInfo.contentSpecIndex,gInfo.scope); } return gInfo; } else if (groupName.length() == 0) // REVISIT: Localize reportGenericSchemaError("a <group> must have a name or a ref present"); String qualifiedGroupName = fTargetNSURIString + "," + groupName; try { gInfo = (GroupInfo) fGroupNameRegistry.get(qualifiedGroupName); if (gInfo != null) { // Ensure any LEAF elements are created at the // scope of the referencing type if (DEBUG_NEW_GROUP) findAndCreateElements(gInfo.contentSpecIndex,gInfo.scope); return gInfo; } } catch (ClassCastException c) { } // if we're here then we're traversing a top-level group that we've never seen before. // Push the group name onto a stack, so that we can check for circular groups fCurrentGroupNameStack.push(groupName); // Save the scope and set the current scope to -1 int savedScope = fCurrentScope; if (DEBUG_NEW_GROUP) fCurrentScope = fScopeCount++; else fCurrentScope = -1; int index = -2; boolean illegalChild = false; String childName = (child != null) ? child.getLocalName() : ""; if (childName.equals(SchemaSymbols.ELT_ALL)) { index = traverseAll(child); } else if (childName.equals(SchemaSymbols.ELT_CHOICE)) { index = traverseChoice(child); } else if (childName.equals(SchemaSymbols.ELT_SEQUENCE)) { index = traverseSequence(child); } else if (childName.length() != 0 || (child != null && XUtil.getNextSiblingElement(child) != null)) { illegalChild = true; reportSchemaError(SchemaMessageProvider.GroupContentRestricted, new Object [] { "group", childName }); } //Must have all or choice or sequence child. if (child == null) { reportGenericSchemaError("Named group must contain an 'all', 'choice' or 'sequence' child"); } else if (XUtil.getNextSiblingElement(child) != null) { illegalChild = true; reportSchemaError(SchemaMessageProvider.GroupContentRestricted, new Object [] { "group", childName }); } if ( ! illegalChild && child != null) { index = handleOccurrences(index, child, CHILD_OF_GROUP); } gInfo = new GroupInfo(); gInfo.contentSpecIndex = index; gInfo.scope = fCurrentScope; fCurrentScope = savedScope; fCurrentGroupNameStack.pop(); fGroupNameRegistry.put(qualifiedGroupName, gInfo); return gInfo; }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/62d5766e63fa48f62e4ef5d6f05d8f2d363f7cd4/TraverseSchema.java/clean/src/org/apache/xerces/validators/schema/TraverseSchema.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3756, 966, 10080, 1114, 3456, 12, 3010, 1041, 3456, 262, 1216, 1185, 288, 3639, 368, 9544, 3601, 24471, 3639, 509, 2146, 273, 353, 27046, 12, 1655, 3456, 9945, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 20402, 30, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 14922, 31, 3639, 18559, 1604, 1972, 273, 7470, 1564, 12, 1655, 3456, 16, 2146, 1769, 3639, 514, 11619, 273, 1041, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 514, 1278, 273, 1041, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 10771, 1769, 3639, 3756, 966, 314, 966, 273, 446, 31, 202, 1046, 1151, 273, 866, 1350, 12, 1041, 3456, 16, 1139, 1304, 18, 588, 3759, 1763, 1046, 12, 1655, 3456, 3631, 638, 11272, 3639, 309, 261, 1734, 18, 2469, 1435, 480, 374, 13, 288, 5411, 309, 261, 291, 27046, 12, 1655, 3456, 3719, 7734, 368, 2438, 26780, 1285, 30, 225, 26407, 7734, 2605, 7014, 3078, 668, 261, 315, 37, 1041, 598, 1239, 1734, 2412, 3430, 1297, 486, 1240, 411, 4821, 34, 578, 411, 266, 11255, 34, 487, 2097, 982, 8863, 5411, 309, 261, 1655, 461, 18, 2469, 1435, 480, 374, 13, 7734, 368, 2438, 26780, 1285, 30, 225, 26407, 7734, 2605, 7014, 3078, 668, 261, 315, 1655, 315, 397, 11619, 397, 315, 2780, 8884, 358, 4042, 1041, 16, 1496, 518, 21368, 358, 315, 397, 1278, 1769, 5411, 368, 1915, 1410, 506, 1158, 2325, 364, 411, 1655, 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, 3756, 966, 10080, 1114, 3456, 12, 3010, 1041, 3456, 262, 1216, 1185, 288, 3639, 368, 9544, 3601, 24471, 3639, 509, 2146, 273, 353, 27046, 12, 1655, 3456, 9945, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 20402, 30, 10792, 9544, 3843, 1564, 18, 41, 900, 67, 13181, 67, 14922, 31, 3639, 18559, 1604, 1972, 273, 7470, 1564, 12, 1655, 3456, 16, 2146, 1769, 3639, 514, 11619, 273, 1041, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 1985, 1769, 3639, 514, 1278, 273, 1041, 3456, 18, 588, 1499, 12, 3078, 14821, 18, 789, 56, 67, 10771, 1769, 3639, 3756, 966, 314, 966, 273, 446, 31, 202, 1046, 1151, 273, 866, 1350, 12, 1041, 2 ]
interfaceBoundsList.add(interf);
interfaceBoundsList.add(interf);
final public TypeParameter TypeParameter() throws ParseException { List<IdentifierToken> name; Type bound = new ReferenceType("Object"); Token first = getToken(1); List<ReferenceType> interfaceBoundsList = new LinkedList<ReferenceType>(); ReferenceType interf; name = name(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXTENDS: jj_consume_token(EXTENDS); bound = type(); label_71: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BITWISE_AND: ; break; default: jj_la1[203] = jj_gen; break label_71; } jj_consume_token(BITWISE_AND); interf = ReferenceTypeName(); interfaceBoundsList.add(interf); } break; default: jj_la1[204] = jj_gen; ; } if(bound instanceof ReferenceType){ {if (true) return new TypeParameter(_loc(first), name, (ReferenceType)bound, interfaceBoundsList);} } else { {if (true) throw new ParseException("Primitives are not allowed as bound"+ "types, and array types are temporarily disabled due to a "+ "DynamicJava AST hierarchy bug!");} } throw new Error("Missing return statement in function"); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/b153c43e59717c98f32c67f14d61a00a81016991/Parser.java/buggy/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 1412, 1662, 1412, 1662, 1435, 1216, 10616, 288, 565, 987, 32, 3004, 1345, 34, 508, 31, 565, 1412, 2489, 273, 394, 6268, 559, 2932, 921, 8863, 565, 3155, 1122, 273, 9162, 12, 21, 1769, 565, 987, 32, 2404, 559, 34, 1560, 5694, 682, 273, 394, 10688, 32, 2404, 559, 34, 5621, 565, 6268, 559, 1554, 74, 31, 565, 508, 273, 508, 5621, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 11112, 1157, 3948, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 4142, 1157, 3948, 1769, 1377, 2489, 273, 618, 5621, 1377, 1433, 67, 11212, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 20469, 23109, 1090, 67, 4307, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 3462, 23, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 11212, 31, 3639, 289, 3639, 10684, 67, 21224, 67, 2316, 12, 15650, 23109, 1090, 67, 4307, 1769, 3639, 1554, 74, 273, 6268, 7947, 5621, 2398, 1560, 5694, 682, 18, 1289, 12, 2761, 74, 1769, 1377, 289, 1377, 898, 31, 565, 805, 30, 1377, 10684, 67, 11821, 21, 63, 21573, 65, 273, 10684, 67, 4507, 31, 1377, 274, 565, 289, 1377, 309, 12, 3653, 1276, 6268, 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, 727, 1071, 1412, 1662, 1412, 1662, 1435, 1216, 10616, 288, 565, 987, 32, 3004, 1345, 34, 508, 31, 565, 1412, 2489, 273, 394, 6268, 559, 2932, 921, 8863, 565, 3155, 1122, 273, 9162, 12, 21, 1769, 565, 987, 32, 2404, 559, 34, 1560, 5694, 682, 273, 394, 10688, 32, 2404, 559, 34, 5621, 565, 6268, 559, 1554, 74, 31, 565, 508, 273, 508, 5621, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 11112, 1157, 3948, 30, 1377, 10684, 67, 21224, 67, 2316, 12, 4142, 1157, 3948, 1769, 1377, 2489, 273, 618, 5621, 1377, 1433, 67, 11212, 30, 1377, 1323, 2 ]
BeanInfo[] infos = info.getAdditionalBeanInfo(); if(infos != null) { for(int i = 0; i < infos.length; ++i) {
if (infos != null) { for (int i = 0; i < infos.length; ++i) {
public MethodDescriptor[] getMethodDescriptors() { MethodDescriptor[] result = null; MethodDescriptor[] infoResult = null; if(info != null) { infoResult = info.getMethodDescriptors(); BeanInfo[] infos = info.getAdditionalBeanInfo(); if(infos != null) { for(int i = 0; i < infos.length; ++i) { BeanInfo additionalInfo = infos[i]; if(infoResult == null) { infoResult = additionalInfo.getMethodDescriptors(); } else { infoResult = concatArraysToOneArray(infoResult, additionalInfo.getMethodDescriptors()); } } } } if(info == null || infoResult == null) { MethodDescriptor[] implResult = impl.getMethodDescriptors(); // merge with parent info if(parentBeanInfoWrapper != null) { MethodDescriptor[] parentResult = parentBeanInfoWrapper.getMethodDescriptors(); result = concatArraysToOneArray(implResult, parentResult); } else { result = implResult; } } else { result = infoResult; } if(result != null) { Arrays.sort(result, new Comparator<MethodDescriptor>() { public int compare(MethodDescriptor md1, MethodDescriptor md2) { return md1.getName().compareTo(md2.getName()); } public boolean equals(Object o) { return false; } }); } return result; }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/40effaf129249b2248e897d030f9998321d4020f/BeanInfoWrapper.java/clean/modules/beans/src/main/java/java/beans/BeanInfoWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2985, 3187, 8526, 6272, 12705, 1435, 288, 3639, 2985, 3187, 8526, 563, 273, 446, 31, 3639, 2985, 3187, 8526, 1123, 1253, 273, 446, 31, 7734, 309, 12, 1376, 480, 446, 13, 288, 5411, 1123, 1253, 273, 1123, 18, 588, 1305, 12705, 5621, 13491, 7704, 966, 8526, 10626, 273, 1123, 18, 588, 10552, 3381, 966, 5621, 5411, 309, 12, 18227, 480, 446, 13, 288, 7734, 364, 12, 474, 277, 273, 374, 31, 277, 411, 10626, 18, 2469, 31, 965, 77, 13, 288, 10792, 7704, 966, 3312, 966, 273, 10626, 63, 77, 15533, 4766, 3639, 309, 12, 1376, 1253, 422, 446, 13, 288, 13491, 1123, 1253, 273, 3312, 966, 18, 588, 1305, 12705, 5621, 10792, 289, 469, 288, 13491, 1123, 1253, 273, 3835, 1076, 11634, 3335, 1076, 12, 1376, 1253, 16, 27573, 3312, 966, 18, 588, 1305, 12705, 10663, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 7734, 309, 12, 1376, 422, 446, 747, 1123, 1253, 422, 446, 13, 288, 5411, 2985, 3187, 8526, 9380, 1253, 273, 9380, 18, 588, 1305, 12705, 5621, 13491, 368, 2691, 598, 982, 1123, 5411, 309, 12, 2938, 3381, 966, 3611, 480, 446, 13, 288, 7734, 2985, 3187, 8526, 982, 1253, 273, 13491, 982, 3381, 966, 3611, 18, 588, 1305, 12705, 5621, 7734, 563, 273, 3835, 1076, 11634, 3335, 1076, 12, 11299, 1253, 16, 982, 1253, 1769, 5411, 289, 469, 288, 7734, 563, 273, 9380, 1253, 31, 5411, 289, 3639, 289, 469, 288, 5411, 563, 273, 1123, 1253, 31, 3639, 289, 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, 1071, 2985, 3187, 8526, 6272, 12705, 1435, 288, 3639, 2985, 3187, 8526, 563, 273, 446, 31, 3639, 2985, 3187, 8526, 1123, 1253, 273, 446, 31, 7734, 309, 12, 1376, 480, 446, 13, 288, 5411, 1123, 1253, 273, 1123, 18, 588, 1305, 12705, 5621, 13491, 7704, 966, 8526, 10626, 273, 1123, 18, 588, 10552, 3381, 966, 5621, 5411, 309, 12, 18227, 480, 446, 13, 288, 7734, 364, 12, 474, 277, 273, 374, 31, 277, 411, 10626, 18, 2469, 31, 965, 77, 13, 288, 10792, 7704, 966, 3312, 966, 273, 10626, 63, 77, 15533, 4766, 3639, 309, 12, 1376, 1253, 422, 446, 13, 288, 13491, 1123, 1253, 273, 3312, 966, 18, 588, 1305, 12705, 5621, 10792, 289, 469, 288, 13491, 2 ]
public void expandToLevel(Object element, int level) { Widget w = internalExpand(element, true); if (w != null) internalExpandToLevel(w, level);
public void expandToLevel(int level) { expandToLevel(getRoot(), level);
public void expandToLevel(Object element, int level) { Widget w = internalExpand(element, true); if (w != null) internalExpandToLevel(w, level);}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2df9b0e8c5105515a29f9ba1471dd3ade9d1b4ee/AbstractTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 4542, 774, 2355, 12, 921, 930, 16, 509, 1801, 13, 288, 202, 4609, 341, 273, 2713, 12271, 12, 2956, 16, 638, 1769, 202, 430, 261, 91, 480, 446, 13, 202, 202, 7236, 12271, 774, 2355, 12, 91, 16, 1801, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 4542, 774, 2355, 12, 921, 930, 16, 509, 1801, 13, 288, 202, 4609, 341, 273, 2713, 12271, 12, 2956, 16, 638, 1769, 202, 430, 261, 91, 480, 446, 13, 202, 202, 7236, 12271, 774, 2355, 12, 91, 16, 1801, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 mouseClicked(java.awt.event.MouseEvent e) { versionsContentJListMouseClicked(e);
public void mouseClicked(java.awt.event.MouseEvent evt) { versionsContentJListMouseClicked(evt);
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new javax.swing.JList(); versionsContentJScrollPane = new javax.swing.JScrollPane(); versionsContentJList = new javax.swing.JList(); setOpaque(false); addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent e) { formMouseClicked(e); } public void mouseReleased(java.awt.event.MouseEvent e) { formMouseReleased(e); } }); versionsJScrollPane.setBorder(null); versionsJList.setModel(versionsModel); versionsJList.setCellRenderer(new VersionCellRenderer()); versionsJList.setVisibleRowCount(5); versionsJList.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent e) { versionsJListMouseClicked(e); } public void mouseReleased(java.awt.event.MouseEvent e) { versionsJListMouseReleased(e); } }); versionsJList.addMouseWheelListener(new java.awt.event.MouseWheelListener() { public void mouseWheelMoved(java.awt.event.MouseWheelEvent e) { versionsJListMouseWheelMoved(e); } }); versionsJScrollPane.setViewportView(versionsJList); versionsContentJScrollPane.setBorder(null); versionsContentJList.setModel(versionsContentModel); versionsContentJList.setCellRenderer(new VersionContentCellRenderer()); versionsContentJList.setVisibleRowCount(5); versionsContentJList.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent e) { versionsContentJListMouseClicked(e); } public void mouseReleased(java.awt.event.MouseEvent e) { versionsContentJListMouseReleased(e); } }); versionsContentJList.addMouseWheelListener(new java.awt.event.MouseWheelListener() { public void mouseWheelMoved(java.awt.event.MouseWheelEvent e) { versionsContentJListMouseWheelMoved(e); } }); versionsContentJScrollPane.setViewportView(versionsContentJList); org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(layout.createSequentialGroup() .addContainerGap() .add(versionsJScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 326, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED) .add(versionsContentJScrollPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE) .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING) .add(versionsContentJScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) .add(versionsJScrollPane, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE) ); }// </editor-fold>//GEN-END:initComponents
53635 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53635/17ab82b200739feb3b03a39b4be20f360e8c2290/ContainerVersionsPanel.java/clean/client-ui/src/main/java/com/thinkparity/ophelia/browser/application/browser/display/renderer/tab/container/ContainerVersionsPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 3639, 6863, 18, 5328, 310, 18, 46, 682, 5244, 1350, 46, 682, 31, 3639, 6863, 18, 5328, 310, 18, 46, 26360, 5244, 1350, 46, 26360, 31, 3639, 6863, 18, 5328, 310, 18, 46, 682, 5244, 46, 682, 31, 3639, 6863, 18, 5328, 310, 18, 46, 26360, 5244, 46, 26360, 31, 3639, 5244, 46, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 5244, 46, 682, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 5244, 1350, 46, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 5244, 1350, 46, 682, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 444, 3817, 14886, 12, 5743, 1769, 3639, 527, 9186, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 9186, 4216, 1435, 288, 5411, 1071, 918, 7644, 27633, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 425, 13, 288, 7734, 646, 9186, 27633, 12, 73, 1769, 5411, 289, 5411, 1071, 918, 7644, 26363, 12, 6290, 18, 2219, 88, 18, 2575, 18, 9186, 1133, 425, 13, 288, 7734, 646, 9186, 26363, 12, 73, 1769, 5411, 289, 3639, 15549, 3639, 5244, 46, 26360, 18, 542, 8107, 12, 2011, 1769, 3639, 5244, 46, 682, 18, 542, 1488, 12, 10169, 1488, 1769, 3639, 5244, 46, 682, 18, 542, 4020, 6747, 12, 2704, 4049, 4020, 6747, 10663, 3639, 5244, 46, 682, 18, 542, 6207, 26359, 12, 25, 1769, 3639, 5244, 46, 682, 18, 1289, 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, 6863, 18, 5328, 310, 18, 46, 682, 5244, 1350, 46, 682, 31, 3639, 6863, 18, 5328, 310, 18, 46, 26360, 5244, 1350, 46, 26360, 31, 3639, 6863, 18, 5328, 310, 18, 46, 682, 5244, 46, 682, 31, 3639, 6863, 18, 5328, 310, 18, 46, 26360, 5244, 46, 26360, 31, 3639, 5244, 46, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 5244, 46, 682, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 5244, 1350, 46, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 5244, 1350, 46, 682, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 444, 3817, 14886, 2 ]
out.print(status);
out.print(status);
protected void doEachMethod(String in) { String var = (String) attributes.get(ATTRIBUTE_VAR); String status = (String)attributes.get(ATTRIBUTES_STATUS); String methodName = StringUtils.isBlank(status) ? "each" : "eachWithIndex"; var = StringUtils.isBlank(var) ? "it" : var; if(var.startsWith("\"") && var.endsWith("\"") && var.length() > 1) { var = var.substring(1,var.length()-1); } if(var.equals(status)) throw new GrailsTagException("Attribute ["+ATTRIBUTE_VAR+"] cannot have the same value as attribute ["+ATTRIBUTES_STATUS+"]"); out.print(in); // object out.print('.'); // dot de-reference out.print(methodName); // method name out.print(" { "); // start closure out.print(var); // var name, normally it if(!StringUtils.isBlank(status)) { // if eachWithIndex add status out.print(","); out.print(status); } out.println(" ->"); // start closure body }
50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/ee3c3f64f1638ecc791cf2140382100edf8028cf/GroovySyntaxTag.java/clean/src/web/org/codehaus/groovy/grails/web/taglib/GroovySyntaxTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 741, 3442, 1305, 12, 780, 316, 13, 288, 202, 202, 780, 569, 273, 261, 780, 13, 1677, 18, 588, 12, 11616, 67, 7716, 1769, 202, 565, 514, 1267, 273, 261, 780, 13, 4350, 18, 588, 12, 22308, 67, 8608, 1769, 9506, 565, 514, 4918, 273, 5778, 18, 291, 7796, 12, 2327, 13, 692, 315, 13798, 6, 294, 315, 13798, 1190, 1016, 14432, 202, 565, 569, 273, 5778, 18, 291, 7796, 12, 1401, 13, 692, 315, 305, 6, 294, 569, 31, 202, 565, 309, 12, 1401, 18, 17514, 1190, 2932, 2412, 7923, 597, 569, 18, 5839, 1190, 2932, 2412, 7923, 597, 569, 18, 2469, 1435, 405, 404, 13, 288, 202, 377, 202, 1401, 273, 569, 18, 28023, 12, 21, 16, 1401, 18, 2469, 1435, 17, 21, 1769, 202, 565, 289, 202, 565, 309, 12, 1401, 18, 14963, 12, 2327, 3719, 202, 377, 202, 12849, 394, 10812, 14573, 1805, 503, 2932, 1499, 8247, 15, 11616, 67, 7716, 9078, 65, 2780, 1240, 326, 1967, 460, 487, 1566, 8247, 15, 22308, 67, 8608, 9078, 4279, 1769, 202, 565, 596, 18, 1188, 12, 267, 1769, 225, 368, 733, 202, 565, 596, 18, 1188, 2668, 1093, 1769, 368, 3928, 443, 17, 6180, 202, 565, 596, 18, 1188, 12, 2039, 461, 1769, 368, 707, 508, 15604, 202, 202, 659, 18, 1188, 2932, 288, 315, 1769, 368, 787, 7213, 202, 202, 659, 18, 1188, 12, 1401, 1769, 368, 569, 508, 16, 15849, 518, 202, 202, 430, 12, 5, 780, 1989, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 741, 3442, 1305, 12, 780, 316, 13, 288, 202, 202, 780, 569, 273, 261, 780, 13, 1677, 18, 588, 12, 11616, 67, 7716, 1769, 202, 565, 514, 1267, 273, 261, 780, 13, 4350, 18, 588, 12, 22308, 67, 8608, 1769, 9506, 565, 514, 4918, 273, 5778, 18, 291, 7796, 12, 2327, 13, 692, 315, 13798, 6, 294, 315, 13798, 1190, 1016, 14432, 202, 565, 569, 273, 5778, 18, 291, 7796, 12, 1401, 13, 692, 315, 305, 6, 294, 569, 31, 202, 565, 309, 12, 1401, 18, 17514, 1190, 2932, 2412, 7923, 597, 569, 18, 5839, 1190, 2932, 2412, 7923, 597, 569, 18, 2469, 1435, 405, 404, 13, 288, 202, 377, 202, 1401, 273, 569, 18, 2 ]
OPC_getstatic,
Opcodes.OPC_getstatic,
public void getTYPE(int baseTypeID) { countLabels = 0; switch (baseTypeID) { case T_byte : // getstatic: java.lang.Byte.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Byte.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangByteConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_short : // getstatic: java.lang.Short.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Short.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangShortConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_char : // getstatic: java.lang.Character.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Character.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangCharacterConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_int : // getstatic: java.lang.Integer.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Integer.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangIntegerConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_long : // getstatic: java.lang.Long.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Long.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangLongConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_float : // getstatic: java.lang.Float.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Float.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangFloatConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_double : // getstatic: java.lang.Double.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Double.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangDoubleConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_boolean : // getstatic: java.lang.Boolean.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Boolean.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangBooleanConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; case T_void : // getstatic: java.lang.Void.TYPE if (DEBUG) System.out.println(position + "\t\tgetstatic: java.lang.Void.TYPE"); //$NON-NLS-1$ generateFieldAccess( OPC_getstatic, 1, ConstantPool.JavaLangVoidConstantPoolName, ConstantPool.TYPE, ConstantPool.JavaLangClassSignature); break; }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 336, 2399, 12, 474, 23937, 734, 13, 288, 202, 1883, 5888, 273, 374, 31, 202, 9610, 261, 1969, 559, 734, 13, 288, 202, 202, 3593, 399, 67, 7229, 294, 1082, 202, 759, 336, 3845, 30, 2252, 18, 4936, 18, 3216, 18, 2399, 25083, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 88, 588, 3845, 30, 2252, 18, 4936, 18, 3216, 18, 2399, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 7163, 974, 1862, 12, 6862, 202, 51, 3513, 67, 588, 3845, 16, 6862, 202, 21, 16, 6862, 202, 6902, 2864, 18, 5852, 7275, 3216, 6902, 2864, 461, 16, 6862, 202, 6902, 2864, 18, 2399, 16, 6862, 202, 6902, 2864, 18, 5852, 7275, 797, 5374, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 399, 67, 6620, 294, 1082, 202, 759, 336, 3845, 30, 2252, 18, 4936, 18, 4897, 18, 2399, 25083, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 88, 588, 3845, 30, 2252, 18, 4936, 18, 4897, 18, 2399, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 7163, 974, 1862, 12, 6862, 202, 51, 3513, 67, 588, 3845, 16, 6862, 202, 21, 16, 6862, 202, 6902, 2864, 18, 5852, 7275, 4897, 6902, 2864, 461, 16, 6862, 202, 6902, 2864, 18, 2399, 16, 6862, 202, 6902, 2864, 18, 5852, 7275, 797, 5374, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 399, 67, 3001, 294, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 336, 2399, 12, 474, 23937, 734, 13, 288, 202, 1883, 5888, 273, 374, 31, 202, 9610, 261, 1969, 559, 734, 13, 288, 202, 202, 3593, 399, 67, 7229, 294, 1082, 202, 759, 336, 3845, 30, 2252, 18, 4936, 18, 3216, 18, 2399, 25083, 202, 430, 261, 9394, 13, 2332, 18, 659, 18, 8222, 12, 3276, 397, 1548, 88, 64, 88, 588, 3845, 30, 2252, 18, 4936, 18, 3216, 18, 2399, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 7163, 974, 1862, 12, 6862, 202, 51, 3513, 67, 588, 3845, 16, 6862, 202, 21, 16, 6862, 202, 6902, 2864, 18, 5852, 7275, 3216, 6902, 2864, 461, 16, 6862, 202, 6902, 2864, 18, 2399, 16, 6862, 202, 2 ]
int MAX_LEN= 52;
public void TestDevanagariLatinRT(){ int MAX_LEN= 52; String[] source = { "bh\u0101rata", "kra", "k\u1E63a", "khra", "gra", "\u1E45ra", "cra", "chra", "j\u00F1a", "jhra", "\u00F1ra", "\u1E6Dya", "\u1E6Dhra", "\u1E0Dya", //"r\u0323ya", // \u095c is not valid in Devanagari "\u1E0Dhya", "\u1E5Bhra", "\u1E47ra", "tta", "thra", "dda", "dhra", "nna", "pra", "phra", "bra", "bhra", "mra", "\u1E49ra", //"l\u0331ra", "yra", "\u1E8Fra", //"l-", "vra", "\u015Bra", "\u1E63ra", "sra", "hma", "\u1E6D\u1E6Da", "\u1E6D\u1E6Dha", "\u1E6Dh\u1E6Dha", "\u1E0D\u1E0Da", "\u1E0D\u1E0Dha", "\u1E6Dya", "\u1E6Dhya", "\u1E0Dya", "\u1E0Dhya", // Not roundtrippable -- // \u0939\u094d\u094d\u092E - hma // \u0939\u094d\u092E - hma // CharsToUnicodeString("hma"), "hya", "\u015Br\u0325a", "\u015Bca", "\u0115", "san\u0304j\u012Bb s\u0113nagupta", "\u0101nand vaddir\u0101ju", "\u0101", "a" }; String[] expected = { "\u092D\u093E\u0930\u0924", /* bha\u0304rata */ "\u0915\u094D\u0930", /* kra */ "\u0915\u094D\u0937", /* ks\u0323a */ "\u0916\u094D\u0930", /* khra */ "\u0917\u094D\u0930", /* gra */ "\u0919\u094D\u0930", /* n\u0307ra */ "\u091A\u094D\u0930", /* cra */ "\u091B\u094D\u0930", /* chra */ "\u091C\u094D\u091E", /* jn\u0303a */ "\u091D\u094D\u0930", /* jhra */ "\u091E\u094D\u0930", /* n\u0303ra */ "\u091F\u094D\u092F", /* t\u0323ya */ "\u0920\u094D\u0930", /* t\u0323hra */ "\u0921\u094D\u092F", /* d\u0323ya */ //"\u095C\u094D\u092F", /* r\u0323ya */ // \u095c is not valid in Devanagari "\u0922\u094D\u092F", /* d\u0323hya */ "\u0922\u093C\u094D\u0930", /* r\u0323hra */ "\u0923\u094D\u0930", /* n\u0323ra */ "\u0924\u094D\u0924", /* tta */ "\u0925\u094D\u0930", /* thra */ "\u0926\u094D\u0926", /* dda */ "\u0927\u094D\u0930", /* dhra */ "\u0928\u094D\u0928", /* nna */ "\u092A\u094D\u0930", /* pra */ "\u092B\u094D\u0930", /* phra */ "\u092C\u094D\u0930", /* bra */ "\u092D\u094D\u0930", /* bhra */ "\u092E\u094D\u0930", /* mra */ "\u0929\u094D\u0930", /* n\u0331ra */ //"\u0934\u094D\u0930", /* l\u0331ra */ "\u092F\u094D\u0930", /* yra */ "\u092F\u093C\u094D\u0930", /* y\u0307ra */ //"l-", "\u0935\u094D\u0930", /* vra */ "\u0936\u094D\u0930", /* s\u0301ra */ "\u0937\u094D\u0930", /* s\u0323ra */ "\u0938\u094D\u0930", /* sra */ "\u0939\u094d\u092E", /* hma */ "\u091F\u094D\u091F", /* t\u0323t\u0323a */ "\u091F\u094D\u0920", /* t\u0323t\u0323ha */ "\u0920\u094D\u0920", /* t\u0323ht\u0323ha*/ "\u0921\u094D\u0921", /* d\u0323d\u0323a */ "\u0921\u094D\u0922", /* d\u0323d\u0323ha */ "\u091F\u094D\u092F", /* t\u0323ya */ "\u0920\u094D\u092F", /* t\u0323hya */ "\u0921\u094D\u092F", /* d\u0323ya */ "\u0922\u094D\u092F", /* d\u0323hya */ // "hma", /* hma */ "\u0939\u094D\u092F", /* hya */ "\u0936\u0943", /* s\u0301r\u0325a */ "\u0936\u094D\u091A", /* s\u0301ca */ "\u090d", /* e\u0306 */ "\u0938\u0902\u091C\u0940\u092C\u094D \u0938\u0947\u0928\u0917\u0941\u092A\u094D\u0924", "\u0906\u0928\u0902\u0926\u094D \u0935\u0926\u094D\u0926\u093F\u0930\u093E\u091C\u0941", "\u0906", "\u0905", }; Transliterator latinToDev=Transliterator.getInstance("Latin-Devanagari", Transliterator.FORWARD ); Transliterator devToLatin=Transliterator.getInstance("Devanagari-Latin", Transliterator.FORWARD); String gotResult; for(int i= 0; i<MAX_LEN; i++){ gotResult = source[i]; expect(latinToDev,(source[i]),(expected[i])); expect(devToLatin,(expected[i]),(source[i])); } }
5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/405c5e9c91a6e62deeb0498997f8c5669efe5f0a/TransliteratorTest.java/buggy/icu4j/src/com/ibm/test/translit/TransliteratorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 225, 7766, 8870, 940, 12954, 6607, 267, 12185, 1435, 95, 9079, 514, 8526, 225, 1084, 273, 288, 5411, 315, 70, 76, 64, 89, 1611, 1611, 86, 396, 3113, 5411, 315, 79, 354, 3113, 5411, 315, 79, 64, 89, 21, 41, 4449, 69, 3113, 5411, 315, 79, 76, 354, 3113, 5411, 315, 2752, 3113, 5411, 1548, 89, 21, 41, 7950, 354, 3113, 5411, 315, 71, 354, 3113, 5411, 315, 343, 354, 3113, 5411, 315, 78, 64, 89, 713, 42, 21, 69, 3113, 5411, 315, 78, 76, 354, 3113, 5411, 1548, 89, 713, 42, 21, 354, 3113, 5411, 1548, 89, 21, 41, 26, 40, 93, 69, 3113, 5411, 1548, 89, 21, 41, 26, 40, 76, 354, 3113, 5411, 1548, 89, 21, 41, 20, 40, 93, 69, 3113, 3639, 368, 6, 86, 64, 89, 20, 1578, 23, 93, 69, 3113, 368, 521, 89, 5908, 25, 71, 353, 486, 923, 316, 9562, 940, 12954, 5411, 1548, 89, 21, 41, 20, 40, 18112, 69, 3113, 5411, 1548, 89, 21, 41, 25, 38, 76, 354, 3113, 5411, 1548, 89, 21, 41, 9462, 354, 3113, 5411, 315, 748, 69, 3113, 5411, 315, 451, 354, 3113, 5411, 315, 449, 69, 3113, 5411, 315, 19153, 354, 3113, 5411, 315, 82, 6582, 3113, 5411, 315, 84, 354, 3113, 5411, 315, 844, 354, 3113, 5411, 315, 15397, 3113, 5411, 315, 70, 76, 354, 3113, 5411, 315, 81, 354, 3113, 5411, 1548, 89, 21, 41, 7616, 354, 3113, 3639, 368, 6, 80, 64, 89, 15265, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 225, 7766, 8870, 940, 12954, 6607, 267, 12185, 1435, 95, 9079, 514, 8526, 225, 1084, 273, 288, 5411, 315, 70, 76, 64, 89, 1611, 1611, 86, 396, 3113, 5411, 315, 79, 354, 3113, 5411, 315, 79, 64, 89, 21, 41, 4449, 69, 3113, 5411, 315, 79, 76, 354, 3113, 5411, 315, 2752, 3113, 5411, 1548, 89, 21, 41, 7950, 354, 3113, 5411, 315, 71, 354, 3113, 5411, 315, 343, 354, 3113, 5411, 315, 78, 64, 89, 713, 42, 21, 69, 3113, 5411, 315, 78, 76, 354, 3113, 5411, 1548, 89, 713, 42, 21, 354, 3113, 5411, 1548, 89, 21, 41, 26, 40, 93, 69, 3113, 5411, 1548, 89, 21, 41, 26, 40, 76, 354, 3113, 5411, 2 ]
FileSystem localFS = FileSystem.getNamed("local", fsConfig);
FileSystem localFS = FileSystem.getLocal(fsConfig);
public Object doIO( Reporter reporter, String name, long totalSize ) throws IOException { totalSize *= MEGA; // create instance of local filesystem FileSystem localFS = FileSystem.getNamed("local", fsConfig); try { // native runtime Runtime runTime = Runtime.getRuntime(); // copy the dso and executable from dfs synchronized (this) { localFS.delete(HDFS_TEST_DIR); if (!(localFS.mkdirs(HDFS_TEST_DIR))) { throw new IOException("Failed to create " + HDFS_TEST_DIR + " on local filesystem"); } } synchronized (this) { if (!localFS.exists(HDFS_SHLIB)) { if (!FileUtil.copy(fs, HDFS_SHLIB, localFS, HDFS_SHLIB, false, fsConfig)) { throw new IOException("Failed to copy " + HDFS_SHLIB + " to local filesystem"); } String chmodCmd = new String(CHMOD + " a+x " + HDFS_SHLIB); Process process = runTime.exec(chmodCmd); int exitStatus = process.waitFor(); if (exitStatus != 0) { throw new IOException( chmodCmd + ": Failed with exitStatus: " + exitStatus ); } } } synchronized (this) { if (!localFS.exists(HDFS_READ)) { if (!FileUtil.copy(fs, HDFS_READ, localFS, HDFS_READ, false, fsConfig)) { throw new IOException("Failed to copy " + HDFS_READ + " to local filesystem"); } String chmodCmd = new String(CHMOD + " a+x " + HDFS_READ); Process process = runTime.exec(chmodCmd); int exitStatus = process.waitFor(); if (exitStatus != 0) { throw new IOException(chmodCmd + ": Failed with exitStatus: " + exitStatus); } } } // exec the C program Path inFile = new Path(DATA_DIR, name); String readCmd = new String(HDFS_READ + " " + inFile + " " + totalSize + " " + bufferSize); Process process = runTime.exec(readCmd, null, new File(HDFS_TEST_DIR.toString())); int exitStatus = process.waitFor(); if (exitStatus != 0) { throw new IOException(HDFS_READ + ": Failed with exitStatus: " + exitStatus); } } catch (InterruptedException interruptedException) { reporter.setStatus(interruptedException.toString()); } finally { localFS.close(); } return new Long(totalSize); }
48130 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48130/ed2da6b550c672b8d6867b05791a98214d3f9c30/DFSCIOTest.java/clean/src/test/org/apache/hadoop/fs/DFSCIOTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 741, 4294, 12, 25585, 11528, 16, 7682, 514, 508, 16, 7682, 1525, 24611, 7682, 262, 1216, 1860, 288, 377, 202, 225, 24611, 6413, 7733, 25043, 31, 5411, 368, 752, 791, 434, 1191, 6496, 4202, 10931, 1191, 4931, 273, 10931, 18, 588, 2042, 12, 2556, 809, 1769, 5411, 775, 288, 21114, 282, 202, 759, 6448, 3099, 21114, 282, 202, 5576, 1086, 950, 273, 2509, 18, 588, 5576, 5621, 7734, 368, 1610, 326, 302, 2048, 471, 9070, 628, 13868, 3639, 3852, 261, 2211, 13, 288, 540, 202, 202, 3729, 4931, 18, 3733, 12, 44, 31999, 67, 16961, 67, 4537, 1769, 540, 202, 202, 430, 16051, 12, 3729, 4931, 18, 24816, 8291, 12, 44, 31999, 67, 16961, 67, 4537, 20349, 288, 540, 1082, 202, 12849, 394, 1860, 2932, 2925, 358, 752, 315, 397, 202, 44, 31999, 67, 16961, 67, 4537, 397, 315, 603, 1191, 6496, 8863, 540, 202, 202, 97, 377, 202, 202, 97, 7734, 3852, 261, 2211, 13, 288, 1850, 309, 16051, 3729, 4931, 18, 1808, 12, 44, 31999, 67, 2664, 14484, 3719, 288, 540, 202, 202, 430, 16051, 812, 1304, 18, 3530, 12, 2556, 16, 21673, 55, 67, 2664, 14484, 16, 1191, 4931, 16, 21673, 55, 67, 2664, 14484, 16, 629, 16, 2662, 809, 3719, 288, 540, 202, 377, 202, 225, 604, 394, 1860, 2932, 2925, 358, 1610, 315, 397, 21673, 55, 67, 2664, 14484, 397, 315, 358, 1191, 6496, 8863, 2398, 289, 2398, 514, 13413, 5931, 273, 394, 514, 12, 1792, 6720, 397, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 741, 4294, 12, 25585, 11528, 16, 7682, 514, 508, 16, 7682, 1525, 24611, 7682, 262, 1216, 1860, 288, 377, 202, 225, 24611, 6413, 7733, 25043, 31, 5411, 368, 752, 791, 434, 1191, 6496, 4202, 10931, 1191, 4931, 273, 10931, 18, 588, 2042, 12, 2556, 809, 1769, 5411, 775, 288, 21114, 282, 202, 759, 6448, 3099, 21114, 282, 202, 5576, 1086, 950, 273, 2509, 18, 588, 5576, 5621, 7734, 368, 1610, 326, 302, 2048, 471, 9070, 628, 13868, 3639, 3852, 261, 2211, 13, 288, 540, 202, 202, 3729, 4931, 18, 3733, 12, 44, 31999, 67, 16961, 67, 4537, 1769, 540, 202, 202, 430, 16051, 12, 3729, 4931, 18, 24816, 8291, 12, 44, 31999, 67, 16961, 67, 4537, 2 ]
this.fPluginBase = model; this.wizardCollection = element; this.templateCollection = templates; this.wizard= wizard; this.project=project; fAvailableImports = PluginSelectionDialog.getExistingImports(model);
this.fModel = model; this.fWizardCollection = element; this.fTemplateCollection = templates; this.fWizard= wizard; this.fProject=project; fAvailableImports = PluginSelectionDialog.getExistingImports(model.getPluginBase());
public PointSelectionPage(IProject project, IPluginBase model, WizardCollectionElement element, WizardCollectionElement templates, NewExtensionWizard wizard) { super("pointSelectionPage", PDEUIMessages.NewExtensionWizard_PointSelectionPage_title); //$NON-NLS-1$ //$NON-NLS-2$ this.fPluginBase = model; this.wizardCollection = element; this.templateCollection = templates; this.wizard= wizard; this.project=project; fAvailableImports = PluginSelectionDialog.getExistingImports(model); setTitle(PDEUIMessages.NewExtensionWizard_PointSelectionPage_title); //$NON-NLS-1$ setDescription(PDEUIMessages.NewExtensionWizard_PointSelectionPage_desc); //$NON-NLS-1$ PDEPlugin.getDefault().getLabelProvider().connect(this); makeActions(); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/b0a48946ca8b1d86007cf735bf96689a689a2dea/PointSelectionPage.java/clean/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/extension/PointSelectionPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4686, 6233, 1964, 12, 45, 4109, 1984, 16, 467, 3773, 2171, 938, 16, 678, 13412, 2532, 1046, 930, 16, 678, 13412, 2532, 1046, 5539, 16, 1166, 3625, 27130, 24204, 13, 288, 202, 202, 9565, 2932, 1153, 6233, 1964, 3113, 453, 1639, 57, 3445, 1753, 18, 1908, 3625, 27130, 67, 2148, 6233, 1964, 67, 2649, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 2211, 18, 74, 3773, 2171, 273, 938, 31, 202, 202, 2211, 18, 31837, 2532, 273, 930, 31, 202, 202, 2211, 18, 3202, 2532, 273, 5539, 31, 202, 202, 2211, 18, 31837, 33, 24204, 31, 202, 202, 2211, 18, 4406, 33, 4406, 31, 202, 202, 74, 5268, 13347, 273, 6258, 6233, 6353, 18, 588, 9895, 13347, 12, 2284, 1769, 202, 202, 542, 4247, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 3625, 27130, 67, 2148, 6233, 1964, 67, 2649, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 542, 3291, 12, 52, 1639, 57, 3445, 1753, 18, 1908, 3625, 27130, 67, 2148, 6233, 1964, 67, 5569, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 52, 1639, 3773, 18, 588, 1868, 7675, 588, 2224, 2249, 7675, 3612, 12, 2211, 1769, 202, 202, 6540, 6100, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4686, 6233, 1964, 12, 45, 4109, 1984, 16, 467, 3773, 2171, 938, 16, 678, 13412, 2532, 1046, 930, 16, 678, 13412, 2532, 1046, 5539, 16, 1166, 3625, 27130, 24204, 13, 288, 202, 202, 9565, 2932, 1153, 6233, 1964, 3113, 453, 1639, 57, 3445, 1753, 18, 1908, 3625, 27130, 67, 2148, 6233, 1964, 67, 2649, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 202, 202, 2211, 18, 74, 3773, 2171, 273, 938, 31, 202, 202, 2211, 18, 31837, 2532, 273, 930, 31, 202, 202, 2211, 18, 3202, 2532, 273, 5539, 31, 202, 202, 2211, 18, 31837, 33, 24204, 31, 202, 202, 2211, 18, 4406, 33, 4406, 31, 202, 202, 74, 2 ]
" select rdef from RenderingDef rdef where " + " rdef.pixels.id = :pixid and rdef.details.owner.id = :ownerid",
"select rdef from RenderingDef as rdef " + "left outer join fetch rdef.quantization " + "left outer join fetch rdef.model " + "left outer join fetch rdef.waveRendering as cb " + "left outer join fetch cb.color " + "left outer join fetch cb.family " + "left outer join fetch rdef.spatialDomainEnhancement where " + "rdef.pixels.id = :pixid and rdef.details.owner.id = :ownerid",
public RenderingDef retrieveRndSettings(final long pixId) { final Long userId = getSecuritySystem() .getEventContext() .getCurrentUserId(); return (RenderingDef) iQuery.findByQuery( " select rdef from RenderingDef rdef where " + " rdef.pixels.id = :pixid and rdef.details.owner.id = :ownerid", new Parameters().addLong("pixid",pixId).addLong("ownerid",userId)); }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/64e6d912272b039f986c1a36d1ca930cc5578578/PixelsImpl.java/clean/components/server/src/ome/logic/PixelsImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18018, 3262, 4614, 54, 4880, 2628, 12, 6385, 1525, 11871, 548, 13, 288, 7734, 727, 3407, 6249, 273, 19288, 3163, 1435, 540, 202, 18, 588, 1133, 1042, 1435, 540, 202, 18, 588, 3935, 10502, 5621, 7734, 327, 261, 14261, 3262, 13, 277, 1138, 18, 4720, 26749, 12, 7734, 315, 2027, 436, 536, 628, 18018, 3262, 436, 536, 1625, 315, 397, 7734, 315, 436, 536, 18, 21084, 18, 350, 273, 294, 14861, 350, 471, 436, 536, 18, 6395, 18, 8443, 18, 350, 273, 294, 8443, 350, 3113, 7734, 394, 7012, 7675, 1289, 3708, 2932, 14861, 350, 3113, 14861, 548, 2934, 1289, 3708, 2932, 8443, 350, 3113, 18991, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 18018, 3262, 4614, 54, 4880, 2628, 12, 6385, 1525, 11871, 548, 13, 288, 7734, 727, 3407, 6249, 273, 19288, 3163, 1435, 540, 202, 18, 588, 1133, 1042, 1435, 540, 202, 18, 588, 3935, 10502, 5621, 7734, 327, 261, 14261, 3262, 13, 277, 1138, 18, 4720, 26749, 12, 7734, 315, 2027, 436, 536, 628, 18018, 3262, 436, 536, 1625, 315, 397, 7734, 315, 436, 536, 18, 21084, 18, 350, 273, 294, 14861, 350, 471, 436, 536, 18, 6395, 18, 8443, 18, 350, 273, 294, 8443, 350, 3113, 7734, 394, 7012, 7675, 1289, 3708, 2932, 14861, 350, 3113, 14861, 548, 2934, 1289, 3708, 2932, 8443, 350, 3113, 18991, 10019, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Object execMethod (int methodId, IdFunction function, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case Id_abs: return wrap_double (js_abs(ScriptRuntime.toNumber(args, 0))); case Id_acos: return wrap_double (js_acos(ScriptRuntime.toNumber(args, 0))); case Id_asin: return wrap_double (js_asin(ScriptRuntime.toNumber(args, 0))); case Id_atan: return wrap_double (js_atan(ScriptRuntime.toNumber(args, 0))); case Id_atan2: return wrap_double (js_atan2(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_ceil: return wrap_double (js_ceil(ScriptRuntime.toNumber(args, 0))); case Id_cos: return wrap_double (js_cos(ScriptRuntime.toNumber(args, 0))); case Id_exp: return wrap_double (js_exp(ScriptRuntime.toNumber(args, 0))); case Id_floor: return wrap_double (js_floor(ScriptRuntime.toNumber(args, 0))); case Id_log: return wrap_double (js_log(ScriptRuntime.toNumber(args, 0))); case Id_max: return wrap_double (js_max(args)); case Id_min: return wrap_double (js_min(args)); case Id_pow: return wrap_double (js_pow(ScriptRuntime.toNumber(args, 0), ScriptRuntime.toNumber(args, 1))); case Id_random: return wrap_double (js_random()); case Id_round: return wrap_double (js_round(ScriptRuntime.toNumber(args, 0))); case Id_sin: return wrap_double (js_sin(ScriptRuntime.toNumber(args, 0))); case Id_sqrt: return wrap_double (js_sqrt(ScriptRuntime.toNumber(args, 0))); case Id_tan: return wrap_double (js_tan(ScriptRuntime.toNumber(args, 0))); } return null; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/clean/js/rhino/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 445, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 10792, 648, 3124, 67, 5113, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 5113, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 1077, 538, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 1077, 538, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 345, 267, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 345, 267, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 270, 304, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 270, 304, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 270, 304, 22, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 270, 304, 22, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3631, 12900, 7739, 5576, 18, 869, 1854, 12, 1968, 16, 404, 3719, 1769, 13491, 648, 3124, 67, 311, 330, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 311, 330, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 14445, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 14445, 12, 3651, 5576, 18, 869, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 445, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 10792, 648, 3124, 67, 5113, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 5113, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 1077, 538, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 1077, 538, 12, 3651, 5576, 18, 869, 1854, 12, 1968, 16, 374, 3719, 1769, 13491, 648, 3124, 67, 345, 267, 30, 327, 2193, 67, 9056, 7734, 261, 2924, 67, 345, 267, 12, 3651, 5576, 18, 2 ]
m_manager.terminate( this );
m_componentController.terminate( this );
public void terminate() { getLogger().debug( "terminating" ); m_manager.terminate( this ); }
10984 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10984/206d625e9a3f91a8ae3e2355295846f7f0bd52a1/ComponentHandler.java/buggy/trunk/main/metro/composition/control/src/main/net/dpml/composition/runtime/ComponentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10850, 1435, 565, 288, 3639, 7156, 7675, 4148, 12, 315, 9505, 1776, 6, 11272, 3639, 312, 67, 4652, 2933, 18, 30017, 12, 333, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 10850, 1435, 565, 288, 3639, 7156, 7675, 4148, 12, 315, 9505, 1776, 6, 11272, 3639, 312, 67, 4652, 2933, 18, 30017, 12, 333, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
static private final int jjStartNfaWithStates_0(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1); }
static private final int jjStartNfaWithStates_0(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch (java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1); }
static private final int jjStartNfaWithStates_0(int pos, int kind, int state){ jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1);}
7955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7955/4d419924ba8165f1116f4a5eb47273815aff44c0/AnnotationParserTokenManager.java/clean/backport175/src/main/org/codehaus/backport175/compiler/parser/ast/AnnotationParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 760, 3238, 727, 509, 10684, 1685, 50, 507, 1190, 7629, 67, 20, 12, 474, 949, 16, 509, 3846, 16, 509, 919, 15329, 282, 10684, 11073, 5677, 273, 3846, 31, 282, 10684, 11073, 1616, 273, 949, 31, 282, 775, 288, 662, 2156, 273, 810, 67, 3256, 18, 896, 2156, 5621, 289, 282, 1044, 12, 6290, 18, 1594, 18, 14106, 425, 13, 288, 327, 949, 397, 404, 31, 289, 282, 327, 10684, 7607, 50, 507, 67, 20, 12, 2019, 16, 949, 397, 404, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 3238, 727, 509, 10684, 1685, 50, 507, 1190, 7629, 67, 20, 12, 474, 949, 16, 509, 3846, 16, 509, 919, 15329, 282, 10684, 11073, 5677, 273, 3846, 31, 282, 10684, 11073, 1616, 273, 949, 31, 282, 775, 288, 662, 2156, 273, 810, 67, 3256, 18, 896, 2156, 5621, 289, 282, 1044, 12, 6290, 18, 1594, 18, 14106, 425, 13, 288, 327, 949, 397, 404, 31, 289, 282, 327, 10684, 7607, 50, 507, 67, 20, 12, 2019, 16, 949, 397, 404, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
m_securityManager.writeTaskLog(m_context, taskId, comment, taskType);
m_securityManager.writeTaskLog(m_context, taskid, comment);
public void writeTaskLog(int taskId, String comment, int taskType) throws CmsException { m_securityManager.writeTaskLog(m_context, taskId, comment, taskType); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0abaf9e2cd7b40be6257fbe506683783295516ca/CmsTaskService.java/clean/src/org/opencms/workflow/CmsTaskService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 2174, 1343, 12, 474, 15321, 16, 514, 2879, 16, 509, 1562, 559, 13, 1216, 11228, 288, 3639, 312, 67, 7462, 1318, 18, 2626, 2174, 1343, 12, 81, 67, 2472, 16, 29035, 16, 2879, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 2174, 1343, 12, 474, 15321, 16, 514, 2879, 16, 509, 1562, 559, 13, 1216, 11228, 288, 3639, 312, 67, 7462, 1318, 18, 2626, 2174, 1343, 12, 81, 67, 2472, 16, 29035, 16, 2879, 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 ]
job.schedule(); do { Thread.sleep(100); } while (!job.isTitleRetrieved());
job.run(new NullProgressMonitor());
public void testRetrieve() throws InterruptedException, InvocationTargetException { // XXX broken due to hang that causes the scheduled job to never complete final String url = "http://eclipse.org/mylar/index.php"; final String knownTitle = "Mylar Technology Project"; RetrieveTitleFromUrlJob job = new RetrieveTitleFromUrlJob(url) { public void setTitle(String title) { assertEquals(knownTitle, title); } }; job.schedule(); do { Thread.sleep(100); } while (!job.isTitleRetrieved()); assertTrue(job.isTitleRetrieved()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/e7670b6aef1aa0c8a24be5b277f41db77524bd2e/RetrieveTitleFromUrlTest.java/buggy/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/RetrieveTitleFromUrlTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5767, 1435, 1216, 7558, 16, 15342, 288, 202, 202, 759, 11329, 12933, 6541, 358, 25733, 716, 14119, 326, 9755, 1719, 358, 5903, 3912, 9506, 202, 6385, 514, 880, 273, 315, 2505, 2207, 20416, 18, 3341, 19, 4811, 7901, 19, 1615, 18, 2684, 14432, 202, 202, 6385, 514, 4846, 4247, 273, 315, 12062, 7901, 30960, 4676, 5420, 14432, 9506, 202, 5767, 4247, 28488, 2278, 1719, 273, 394, 10708, 4247, 28488, 2278, 12, 718, 13, 288, 1082, 202, 482, 918, 14109, 12, 780, 2077, 13, 288, 9506, 202, 11231, 8867, 12, 2994, 4247, 16, 2077, 1769, 1082, 202, 97, 202, 202, 20451, 202, 202, 4688, 18, 10676, 5621, 6862, 202, 2896, 288, 1082, 202, 3830, 18, 19607, 12, 6625, 1769, 3196, 202, 97, 1323, 16051, 4688, 18, 291, 4247, 3848, 2155, 10663, 202, 202, 11231, 5510, 12, 4688, 18, 291, 4247, 3848, 2155, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 5767, 1435, 1216, 7558, 16, 15342, 288, 202, 202, 759, 11329, 12933, 6541, 358, 25733, 716, 14119, 326, 9755, 1719, 358, 5903, 3912, 9506, 202, 6385, 514, 880, 273, 315, 2505, 2207, 20416, 18, 3341, 19, 4811, 7901, 19, 1615, 18, 2684, 14432, 202, 202, 6385, 514, 4846, 4247, 273, 315, 12062, 7901, 30960, 4676, 5420, 14432, 9506, 202, 5767, 4247, 28488, 2278, 1719, 273, 394, 10708, 4247, 28488, 2278, 12, 718, 13, 288, 1082, 202, 482, 918, 14109, 12, 780, 2077, 13, 288, 9506, 202, 11231, 8867, 12, 2994, 4247, 16, 2077, 1769, 1082, 202, 97, 202, 202, 20451, 202, 202, 4688, 18, 10676, 5621, 6862, 202, 2896, 288, 1082, 202, 3830, 18, 2 ]
public void visitCALOAD(CALOAD obj);
void visitCALOAD(CALOAD obj);
public void visitCALOAD(CALOAD obj);
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/6f181de4aafbe2a9534fc417eee9f0b8d8ae805d/Bytecodes.java/clean/joeq_core/joeq/Compiler/BytecodeAnalysis/Bytecodes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7913, 51, 1880, 12, 7913, 51, 1880, 1081, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 7913, 51, 1880, 12, 7913, 51, 1880, 1081, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private static int do_sheq(Object[] stack, double[] sDbl, int stackTop, int op)
private static void do_sheq(State state, int i, int op)
private static int do_sheq(Object[] stack, double[] sDbl, int stackTop, int op) { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean result; double_compare: { double rdbl, ldbl; if (rhs == DBL_MRK) { rdbl = sDbl[stackTop + 1]; if (lhs == DBL_MRK) { ldbl = sDbl[stackTop]; } else if (lhs instanceof Number) { ldbl = ((Number)lhs).doubleValue(); } else { result = false; break double_compare; } } else if (lhs == DBL_MRK) { ldbl = sDbl[stackTop]; if (rhs == DBL_MRK) { rdbl = sDbl[stackTop + 1]; } else if (rhs instanceof Number) { rdbl = ((Number)rhs).doubleValue(); } else { result = false; break double_compare; } } else { result = ScriptRuntime.shallowEq(lhs, rhs); break double_compare; } result = ldbl == rdbl; } result ^= (op == Token.SHNE); stack[stackTop] = (result) ? Boolean.TRUE : Boolean.FALSE; return stackTop; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/199b043221701f9744538a048390c041bd370c5f/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 509, 741, 67, 87, 580, 85, 12, 921, 8526, 2110, 16, 1645, 8526, 272, 40, 3083, 16, 509, 2110, 3401, 16, 1171, 9079, 509, 1061, 13, 565, 288, 3639, 1493, 3772, 3401, 31, 3639, 1033, 7711, 273, 2110, 63, 3772, 3401, 397, 404, 15533, 3639, 1033, 8499, 273, 2110, 63, 3772, 3401, 15533, 3639, 1250, 563, 31, 1377, 1645, 67, 9877, 30, 288, 5411, 1645, 436, 1966, 80, 16, 328, 1966, 80, 31, 5411, 309, 261, 86, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 7734, 436, 1966, 80, 273, 272, 40, 3083, 63, 3772, 3401, 397, 404, 15533, 7734, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 10792, 328, 1966, 80, 273, 272, 40, 3083, 63, 3772, 3401, 15533, 7734, 289, 469, 309, 261, 80, 4487, 1276, 3588, 13, 288, 10792, 328, 1966, 80, 273, 14015, 1854, 13, 80, 4487, 2934, 9056, 620, 5621, 7734, 289, 469, 288, 10792, 563, 273, 629, 31, 10792, 898, 1645, 67, 9877, 31, 7734, 289, 5411, 289, 469, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 7734, 328, 1966, 80, 273, 272, 40, 3083, 63, 3772, 3401, 15533, 7734, 309, 261, 86, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 10792, 436, 1966, 80, 273, 272, 40, 3083, 63, 3772, 3401, 397, 404, 15533, 7734, 289, 469, 309, 261, 86, 4487, 1276, 3588, 13, 288, 10792, 436, 1966, 80, 273, 14015, 1854, 13, 86, 4487, 2934, 9056, 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, 741, 67, 87, 580, 85, 12, 921, 8526, 2110, 16, 1645, 8526, 272, 40, 3083, 16, 509, 2110, 3401, 16, 1171, 9079, 509, 1061, 13, 565, 288, 3639, 1493, 3772, 3401, 31, 3639, 1033, 7711, 273, 2110, 63, 3772, 3401, 397, 404, 15533, 3639, 1033, 8499, 273, 2110, 63, 3772, 3401, 15533, 3639, 1250, 563, 31, 1377, 1645, 67, 9877, 30, 288, 5411, 1645, 436, 1966, 80, 16, 328, 1966, 80, 31, 5411, 309, 261, 86, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 7734, 436, 1966, 80, 273, 272, 40, 3083, 63, 3772, 3401, 397, 404, 15533, 7734, 309, 261, 80, 4487, 422, 2383, 48, 67, 23464, 47, 13, 288, 10792, 328, 1966, 2 ]
if (currentSourceUnit == null)
if (fCurrentSourceUnit == null)
public ICCompletionProposal[] evalProposals(IDocument document, int documentOffset, IWorkingCopy unit, ITextViewer viewer) { currentOffset = documentOffset; currentSourceUnit = unit; ArrayList completions = new ArrayList(); if (currentSourceUnit == null) return null; // clear the completion list at the result collector resultCollector.reset(); IASTCompletionNode completionNode = addProposalsFromModel(completions); addProposalsFromSearch(completionNode, completions); addProposalsFromCompletionContributors(completionNode, completions); addProposalsFromTemplates(viewer, completionNode, completions); return order ( (ICCompletionProposal[]) completions.toArray(new ICCompletionProposal[0]) ); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/4ae8242ff673e5e222aea96ddc39c8a8d141254e/CCompletionProcessor.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CCompletionProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 26899, 11238, 14592, 8526, 5302, 626, 22536, 12, 734, 504, 650, 1668, 16, 509, 1668, 2335, 16, 467, 14836, 2951, 2836, 16, 467, 1528, 18415, 14157, 13, 288, 9506, 202, 2972, 2335, 273, 1668, 2335, 31, 9506, 202, 2972, 1830, 2802, 273, 2836, 31, 202, 202, 19558, 23738, 273, 394, 2407, 5621, 9506, 202, 430, 261, 2972, 1830, 2802, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 759, 2424, 326, 8364, 666, 622, 326, 563, 8543, 202, 202, 2088, 7134, 18, 6208, 5621, 9506, 202, 45, 9053, 11238, 907, 8364, 907, 273, 527, 626, 22536, 1265, 1488, 12, 7806, 1115, 1769, 202, 202, 1289, 626, 22536, 1265, 2979, 12, 11469, 907, 16, 23738, 1769, 202, 202, 1289, 626, 22536, 1265, 11238, 442, 665, 13595, 12, 11469, 907, 16, 23738, 1769, 202, 202, 1289, 626, 22536, 1265, 8218, 12, 25256, 16, 8364, 907, 16, 23738, 1769, 9506, 202, 2463, 1353, 261, 261, 2871, 11238, 14592, 63, 5717, 23738, 18, 31447, 12, 2704, 26899, 11238, 14592, 63, 20, 5717, 11272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 26899, 11238, 14592, 8526, 5302, 626, 22536, 12, 734, 504, 650, 1668, 16, 509, 1668, 2335, 16, 467, 14836, 2951, 2836, 16, 467, 1528, 18415, 14157, 13, 288, 9506, 202, 2972, 2335, 273, 1668, 2335, 31, 9506, 202, 2972, 1830, 2802, 273, 2836, 31, 202, 202, 19558, 23738, 273, 394, 2407, 5621, 9506, 202, 430, 261, 2972, 1830, 2802, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 759, 2424, 326, 8364, 666, 622, 326, 563, 8543, 202, 202, 2088, 7134, 18, 6208, 5621, 9506, 202, 45, 9053, 11238, 907, 8364, 907, 273, 527, 626, 22536, 1265, 1488, 12, 7806, 1115, 1769, 202, 202, 1289, 626, 22536, 1265, 2979, 12, 11469, 907, 16, 23738, 1769, 2 ]
hash = ParametredHttpServlet.computeHash(buffer); etag = ParametredHttpServlet.computeETag(buffer);
hash = ConfiguredHttpServlet.computeHash(buffer); etag = ConfiguredHttpServlet.computeETag(buffer);
public void initialize(IImageLoader imageDownloader, String externalContentType, RenderedImage renderedImage, ImageWriter imageWriter, int destImageType) throws IOException { if (LOG.isTraceEnabled()) { LOG.trace("Initialize fileRenderedImage '" + imageName + "' imageType=" + ((BufferedImage) renderedImage).getType() + "."); } this.contentType = externalContentType; try { file = File.createTempFile(TEMP_FILE_PREFIX, TEMP_FILE_SUFFIX); } catch (IOException ex) { LOG.error( "Can not create temp file for filtered image ! (imageName=" + imageName + ")", ex); throw ex; } if (LOG.isTraceEnabled()) { LOG.trace("Temp file associated to url '" + imageName + "' is " + file.getAbsolutePath()); } try { file.deleteOnExit(); } catch (SecurityException ex) { if (securityError == false) { securityError = true; LOG.error(ex); } } int size = 8000; long originalSize = imageDownloader.getContentLength(); if (originalSize > 0 && originalSize < 8000) { size = (int) originalSize + 256; } ByteArrayOutputStream bous = new ByteArrayOutputStream(size); ImageOutputStream out = ImageIO.createImageOutputStream(bous); imageWriter.setOutput(out); RenderedImage image = renderedImage; if (destImageType == BufferedImage.TYPE_BYTE_INDEXED) { if ((renderedImage.getColorModel() instanceof IndexColorModel) == false) { if (LOG.isTraceEnabled()) { LOG.trace("Dither imageName '" + imageName + "' ..."); } image = ditherImage(image); } } else if (destImageType != ((BufferedImage) renderedImage).getType()) { if (LOG.isTraceEnabled()) { LOG.trace("Convert imageName '" + imageName + "' from type " + ((BufferedImage) renderedImage).getType() + " to type " + destImageType); } BufferedImage bimage = new BufferedImage(image.getWidth(), image .getHeight(), destImageType); Graphics2D g = bimage.createGraphics(); try { g.drawImage((Image) image, 0, 0, null); } finally { g.dispose(); } image = bimage; } try { imageWriter.write(image); } catch (IOException ex) { LOG.error("Can not encode image into temp file ! (imageName=" + imageName + ")", ex); throw ex; } imageWriter.dispose(); out.close(); byte buffer[] = bous.toByteArray(); hash = ParametredHttpServlet.computeHash(buffer); etag = ParametredHttpServlet.computeETag(buffer); this.size = buffer.length; FileOutputStream fileOutputStream = new FileOutputStream(file); try { fileOutputStream.write(buffer); } catch (IOException ex) { LOG.error( "Can not write temp file for filtered image ! (imageName=" + imageName + ")", ex); throw ex; } finally { fileOutputStream.close(); } lastModified = imageDownloader.getLastModified(); LOG.debug("Store filtered image '" + imageName + "' into " + size + " bytes. (disk location='" + file.getAbsolutePath() + "')"); }
6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/FileRenderedImage.java/buggy/org.rcfaces.core/src/org/rcfaces/core/internal/images/FileRenderedImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4046, 12, 45, 2040, 2886, 1316, 4164, 6714, 16, 5411, 514, 3903, 8046, 16, 6987, 329, 2040, 7935, 2040, 16, 5411, 3421, 2289, 1316, 2289, 16, 509, 1570, 2040, 559, 13, 1216, 1860, 288, 3639, 309, 261, 4842, 18, 291, 3448, 1526, 10756, 288, 5411, 2018, 18, 5129, 2932, 7520, 585, 19222, 2040, 2119, 397, 29842, 10792, 397, 2491, 21754, 1546, 10792, 397, 14015, 17947, 2040, 13, 7935, 2040, 2934, 588, 559, 1435, 397, 4585, 1769, 3639, 289, 3639, 333, 18, 22194, 273, 3903, 8046, 31, 3639, 775, 288, 5411, 585, 273, 1387, 18, 2640, 20181, 12, 10258, 67, 3776, 67, 6307, 16, 24401, 67, 3776, 67, 14964, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 288, 5411, 2018, 18, 1636, 12, 10792, 315, 2568, 486, 752, 1906, 585, 364, 5105, 1316, 401, 261, 2730, 461, 1546, 18701, 397, 29842, 397, 7310, 16, 431, 1769, 5411, 604, 431, 31, 3639, 289, 3639, 309, 261, 4842, 18, 291, 3448, 1526, 10756, 288, 5411, 2018, 18, 5129, 2932, 7185, 585, 3627, 358, 880, 2119, 397, 29842, 397, 2491, 353, 315, 10792, 397, 585, 18, 588, 10368, 743, 10663, 3639, 289, 3639, 775, 288, 5411, 585, 18, 3733, 1398, 6767, 5621, 3639, 289, 1044, 261, 24918, 431, 13, 288, 5411, 309, 261, 7462, 668, 422, 629, 13, 288, 7734, 4373, 668, 273, 638, 31, 7734, 2018, 18, 1636, 12, 338, 1769, 5411, 289, 3639, 289, 3639, 509, 963, 273, 1725, 3784, 31, 3639, 1525, 2282, 1225, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4046, 12, 45, 2040, 2886, 1316, 4164, 6714, 16, 5411, 514, 3903, 8046, 16, 6987, 329, 2040, 7935, 2040, 16, 5411, 3421, 2289, 1316, 2289, 16, 509, 1570, 2040, 559, 13, 1216, 1860, 288, 3639, 309, 261, 4842, 18, 291, 3448, 1526, 10756, 288, 5411, 2018, 18, 5129, 2932, 7520, 585, 19222, 2040, 2119, 397, 29842, 10792, 397, 2491, 21754, 1546, 10792, 397, 14015, 17947, 2040, 13, 7935, 2040, 2934, 588, 559, 1435, 397, 4585, 1769, 3639, 289, 3639, 333, 18, 22194, 273, 3903, 8046, 31, 3639, 775, 288, 5411, 585, 273, 1387, 18, 2640, 20181, 12, 10258, 67, 3776, 67, 6307, 16, 24401, 67, 3776, 67, 14964, 1769, 3639, 289, 1044, 261, 14106, 431, 13, 2 ]
JavaGenerationParameters params = getJavaGenerationParameters(); println(" public " + className + "(" + FactoryGenerator.qualifiedClassName(params) + " factory) {"); println(" super(factory);"); println(" }"); println(); }
JavaGenerationParameters params = getJavaGenerationParameters(); println( " public " + className + "(" + FactoryGenerator.qualifiedClassName(params) + " factory) {"); println(" super(factory);"); println(" }"); println(); }
private void genAltConstructor() { JavaGenerationParameters params = getJavaGenerationParameters(); println(" public " + className + "(" + FactoryGenerator.qualifiedClassName(params) + " factory) {"); println(" super(factory);"); println(" }"); println(); }
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/76875cdfe2af0d6de4ab58a245cce8bd703a86ab/AlternativeGenerator.java/clean/apigen/src/apigen/gen/java/AlternativeGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3157, 10655, 6293, 1435, 288, 202, 202, 5852, 13842, 2402, 859, 273, 18911, 13842, 2402, 5621, 202, 202, 8222, 2932, 225, 1071, 315, 397, 2658, 397, 12452, 397, 7822, 3908, 18, 19724, 3834, 12, 2010, 13, 397, 315, 3272, 13, 288, 8863, 202, 202, 8222, 2932, 565, 2240, 12, 6848, 1769, 8863, 202, 202, 8222, 2932, 225, 289, 8863, 202, 202, 8222, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3157, 10655, 6293, 1435, 288, 202, 202, 5852, 13842, 2402, 859, 273, 18911, 13842, 2402, 5621, 202, 202, 8222, 2932, 225, 1071, 315, 397, 2658, 397, 12452, 397, 7822, 3908, 18, 19724, 3834, 12, 2010, 13, 397, 315, 3272, 13, 288, 8863, 202, 202, 8222, 2932, 565, 2240, 12, 6848, 1769, 8863, 202, 202, 8222, 2932, 225, 289, 8863, 202, 202, 8222, 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 ]
private void markNotPlaced(RingSet rs) { for (int f = 0; f < rs.size(); f++) {
private void markNotPlaced(RingSet rs) { for (int f = 0; f < rs.size(); f++) {
private void markNotPlaced(RingSet rs) { for (int f = 0; f < rs.size(); f++) { ((Ring)rs.elementAt(f)).flags[CDKConstants.ISPLACED] = false; } }
45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/0207507cbcff0172e0dc48407a71dcf4d56c8695/StructureDiagramGenerator.java/buggy/src/org/openscience/cdk/layout/StructureDiagramGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2267, 1248, 6029, 72, 12, 10369, 694, 3597, 13, 202, 95, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 3597, 18, 1467, 5621, 284, 27245, 202, 202, 95, 1082, 202, 12443, 10369, 13, 5453, 18, 2956, 861, 12, 74, 13, 2934, 7133, 63, 39, 3398, 2918, 18, 45, 3118, 2534, 23552, 65, 273, 629, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2267, 1248, 6029, 72, 12, 10369, 694, 3597, 13, 202, 95, 202, 202, 1884, 261, 474, 284, 273, 374, 31, 284, 411, 3597, 18, 1467, 5621, 284, 27245, 202, 202, 95, 1082, 202, 12443, 10369, 13, 5453, 18, 2956, 861, 12, 74, 13, 2934, 7133, 63, 39, 3398, 2918, 18, 45, 3118, 2534, 23552, 65, 273, 629, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (type.equals("LargeBagConstraintUsingTable")) {
if (type.matches("LargeBag.*UsingTable")) {
public void executeTest(String type) throws Exception { Query q = (Query) queries.get(type); Object expected = results.get(type); if (expected instanceof Failure) { try { SqlGenerator.generate(q, 0, Integer.MAX_VALUE, getSchema(), db, new HashMap()); fail(type + " was expected to fail"); } catch (Exception e) { assertEquals(type + " was expected to produce a particular exception", expected, new Failure(e)); } } else { Map bagTableNames = new HashMap(); if (type.equals("LargeBagConstraintUsingTable")) { // special case - the Map will tell generate() what table to use to find the values // of large bags Query largeBagQuery = (Query) queries.get("LargeBagConstraintUsingTable"); BagConstraint largeBagConstraint = (BagConstraint) largeBagQuery.getConstraint(); bagTableNames.put(largeBagConstraint, "large_string_bag_table"); } String generated = SqlGenerator.generate(q, 0, Integer.MAX_VALUE, getSchema(), db, bagTableNames); if (expected instanceof String) { assertEquals("", results.get(type), generated); } else if (expected instanceof Collection) { boolean hasEqual = false; Iterator expectedIter = ((Collection) expected).iterator(); while ((!hasEqual) && expectedIter.hasNext()) { String expectedString = (String) expectedIter.next(); hasEqual = expectedString.equals(generated); } assertTrue(generated, hasEqual); } else { assertTrue("No result found for " + type, false); } assertEquals(results2.get(type), SqlGenerator.findTableNames(q, getSchema())); // TODO: extend sql so that it can represent these if (!("TypeCast".equals(type) || "IndexOf".equals(type) || "Substring".equals(type) || "Substring2".equals(type) || type.startsWith("Empty") || type.startsWith("BagConstraint") || "LargeBagConstraint".equals(type))) { // And check that the SQL generated is high enough quality to be parsed by the optimiser. org.intermine.sql.query.Query sql = new org.intermine.sql.query.Query(generated); } } }
29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/99e47abc97af33936f43fd0178ca5ce56b19bd6d/SqlGeneratorTest.java/buggy/intermine/src/test/org/intermine/objectstore/intermine/SqlGeneratorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 4709, 12, 780, 618, 13, 1216, 1185, 288, 3639, 2770, 1043, 273, 261, 1138, 13, 6218, 18, 588, 12, 723, 1769, 3639, 1033, 2665, 273, 1686, 18, 588, 12, 723, 1769, 3639, 309, 261, 3825, 1276, 13436, 13, 288, 5411, 775, 288, 7734, 8855, 3908, 18, 7163, 12, 85, 16, 374, 16, 2144, 18, 6694, 67, 4051, 16, 11088, 9334, 1319, 16, 394, 4317, 10663, 7734, 2321, 12, 723, 397, 315, 1703, 2665, 358, 2321, 8863, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 1815, 8867, 12, 723, 397, 315, 1703, 2665, 358, 11402, 279, 6826, 1520, 3113, 2665, 16, 394, 13436, 12, 73, 10019, 5411, 289, 3639, 289, 469, 288, 5411, 1635, 13189, 1388, 1557, 273, 394, 4317, 5621, 5411, 309, 261, 723, 18, 8436, 2932, 20020, 5013, 4509, 7736, 1388, 6, 3719, 288, 7734, 368, 4582, 648, 300, 326, 1635, 903, 9276, 2103, 1435, 4121, 1014, 358, 999, 358, 1104, 326, 924, 7734, 368, 434, 7876, 324, 1341, 7734, 2770, 7876, 5013, 1138, 273, 261, 1138, 13, 6218, 18, 588, 2932, 20020, 5013, 5806, 7736, 1388, 8863, 7734, 31711, 5806, 7876, 5013, 5806, 273, 261, 5013, 5806, 13, 7876, 5013, 1138, 18, 588, 5806, 5621, 7734, 13189, 1388, 1557, 18, 458, 12, 14095, 5013, 5806, 16, 315, 14095, 67, 1080, 67, 22551, 67, 2121, 8863, 5411, 289, 5411, 514, 4374, 273, 8855, 3908, 18, 7163, 12, 85, 16, 374, 16, 2144, 18, 6694, 67, 4051, 16, 11088, 9334, 1319, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 4709, 12, 780, 618, 13, 1216, 1185, 288, 3639, 2770, 1043, 273, 261, 1138, 13, 6218, 18, 588, 12, 723, 1769, 3639, 1033, 2665, 273, 1686, 18, 588, 12, 723, 1769, 3639, 309, 261, 3825, 1276, 13436, 13, 288, 5411, 775, 288, 7734, 8855, 3908, 18, 7163, 12, 85, 16, 374, 16, 2144, 18, 6694, 67, 4051, 16, 11088, 9334, 1319, 16, 394, 4317, 10663, 7734, 2321, 12, 723, 397, 315, 1703, 2665, 358, 2321, 8863, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 1815, 8867, 12, 723, 397, 315, 1703, 2665, 358, 11402, 279, 6826, 1520, 3113, 2665, 16, 394, 13436, 12, 73, 10019, 5411, 289, 3639, 289, 469, 288, 5411, 1635, 13189, 2 ]
return internalFile.getId() ;
return dataSource.getFile().getId();
public String getId() { return internalFile.getId() ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/dd74ae8b971ca95e5d45d6aadbd7c17595ab3828/FileDocument.java/buggy/server/src/com/imcode/imcms/api/FileDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 2634, 1435, 288, 5411, 327, 10233, 18, 29925, 7675, 26321, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 2634, 1435, 288, 5411, 327, 10233, 18, 29925, 7675, 26321, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
constraints.gridy = 4;
constraints.gridy = 5;
private void buildUI(File groups)//, boolean currentUserList) { itsProgramFolder = groups; //listLabel.setFont( listLabel.getFont().getSize() ); constraints.gridx = 0; constraints.gridy = 0; constraints.gridwidth = 3; constraints.gridheight = 1; constraints.weightx = 1.0; constraints.weighty = 1.0; /*constraints.insets = new Insets(5, 5, 5, 5);*/ constraints.fill = GridBagConstraints.NONE; constraints.anchor = GridBagConstraints.WEST; /*layout.addLayoutComponent(listLabel, constraints); add(listLabel);*/ // Add a CheckBox which enables the user to entirely supress shortcut creation. String menuKind = parent.langpack.getString("ShortcutPanel.regular.StartMenu:Start-Menu"); if( OsVersion.IS_UNIX && UnixHelper.kdeIsInstalled() ) menuKind = parent.langpack.getString("ShortcutPanel.regular.StartMenu:K-Menu"); createShortcuts = new JCheckBox( StringTool.replace( parent.langpack.getString("ShortcutPanel.regular.create"), "StartMenu", menuKind ), true); createShortcuts.addActionListener(this); constraints.gridx = 0; constraints.gridy = 1; constraints.gridwidth = 2; constraints.gridheight = 1; constraints.weighty = 0.2; layout.addLayoutComponent(createShortcuts, constraints); add(createShortcuts); // ---------------------------------------------------- // check box to allow the user to decide if a desktop // shortcut should be created. // this should only be created if needed and requested // in the definition file. // ---------------------------------------------------- String initialAllowedValue = idata.getVariable( "DesktopShortcutCheckboxEnabled" ); boolean initialAllowedFlag = false; if( initialAllowedValue==null) initialAllowedFlag= false; else if( Boolean.TRUE.toString().equals(initialAllowedValue) ) initialAllowedFlag=true; allowDesktopShortcut = new JCheckBox(parent.langpack .getString("ShortcutPanel.regular.desktop"), initialAllowedFlag); constraints.gridx = 0; constraints.gridy = 2; constraints.gridwidth = 3; constraints.gridheight = 1; constraints.weighty = 0.2; if (hasDesktopShortcuts) { layout.addLayoutComponent(allowDesktopShortcut, constraints); add(allowDesktopShortcut); } // ---------------------------------------------------- // list box to list all of already existing folders as program groups // at the intended destination // ---------------------------------------------------- addSelectionList( groups, 0, 3, 2, 1, GridBagConstraints.BOTH ); // ---------------------------------------------------- // radio buttons to select current user or all users. // ---------------------------------------------------- if (shortcut.multipleUsers()) { JPanel usersPanel = new JPanel(new GridLayout(2, 1)); ButtonGroup usersGroup = new ButtonGroup(); currentUser = new JRadioButton(parent.langpack .getString("ShortcutPanel.regular.currentUser"), !isRootUser); currentUser.addActionListener(this); usersGroup.add(currentUser); usersPanel.add(currentUser); allUsers = new JRadioButton( parent.langpack.getString("ShortcutPanel.regular.allUsers"), isRootUser); if (!isRootUser) allUsers.setEnabled(false); allUsers.addActionListener(this); usersGroup.add(allUsers); usersPanel.add(allUsers); TitledBorder border = new TitledBorder(new EmptyBorder(2, 2, 2, 2), parent.langpack .getString("ShortcutPanel.regular.userIntro")); usersPanel.setBorder(border); constraints.gridx = 2; constraints.gridy = 3; constraints.gridwidth = 1; constraints.gridheight = 1; constraints.weighty = 1.0; constraints.weightx = 1.0; constraints.fill = GridBagConstraints.NONE; layout.addLayoutComponent(usersPanel, constraints); add(usersPanel); } // ---------------------------------------------------- // edit box that contains the suggested program group // name, which can be modfied or substituted from the // list by the user // ---------------------------------------------------- programGroup = new JTextField(suggestedProgramGroup, 40); // 40? constraints.gridx = 0; constraints.gridy = 4; constraints.gridwidth = 2; constraints.gridheight = 1; constraints.weighty = 1.0; constraints.weightx = 10.0; constraints.fill = GridBagConstraints.HORIZONTAL; layout.addLayoutComponent(programGroup, constraints); add(programGroup); // ---------------------------------------------------- // reset button that allows the user to revert to the // original suggestion for the program group // ---------------------------------------------------- defaultButton = ButtonFactory.createButton(parent.langpack .getString("ShortcutPanel.regular.default"), idata.buttonsHColor); defaultButton.addActionListener(this); constraints.gridx = 2; constraints.gridy = 4; constraints.gridwidth = 1; constraints.gridheight = 1; constraints.fill = GridBagConstraints.NONE; layout.addLayoutComponent(defaultButton, constraints); add(defaultButton); }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/0037f02b9e191b9fd43fd4ecd516cc9745b3307d/ShortcutPanel.java/buggy/src/lib/com/izforge/izpack/panels/ShortcutPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 5370, 12, 812, 3252, 13, 759, 16, 1250, 13970, 682, 13, 565, 288, 3639, 2097, 9459, 3899, 273, 3252, 31, 7734, 368, 1098, 2224, 18, 542, 5711, 12, 666, 2224, 18, 588, 5711, 7675, 588, 1225, 1435, 225, 11272, 540, 6237, 18, 5222, 92, 273, 374, 31, 3639, 6237, 18, 5222, 93, 273, 374, 31, 3639, 6237, 18, 5222, 2819, 273, 890, 31, 3639, 6237, 18, 5222, 4210, 273, 404, 31, 3639, 6237, 18, 4865, 92, 273, 404, 18, 20, 31, 3639, 6237, 18, 4865, 93, 273, 404, 18, 20, 31, 3639, 1748, 11967, 18, 267, 4424, 273, 394, 22300, 12, 25, 16, 1381, 16, 1381, 16, 1381, 1769, 5549, 3639, 6237, 18, 5935, 273, 13075, 18, 9826, 31, 3639, 6237, 18, 16215, 273, 13075, 18, 31285, 31, 3639, 1748, 6741, 18, 1289, 3744, 1841, 12, 1098, 2224, 16, 6237, 1769, 3639, 527, 12, 1098, 2224, 1769, 5549, 7734, 368, 1436, 279, 2073, 3514, 1492, 19808, 326, 729, 358, 21658, 1169, 663, 10995, 6710, 18, 1850, 514, 3824, 5677, 273, 982, 18, 4936, 2920, 18, 588, 780, 2932, 15576, 5537, 18, 16819, 18, 1685, 4599, 30, 1685, 17, 4599, 8863, 3639, 309, 12, 31799, 1444, 18, 5127, 67, 10377, 60, 597, 9480, 2276, 18, 79, 323, 2520, 16747, 1435, 262, 5411, 3824, 5677, 273, 982, 18, 4936, 2920, 18, 588, 780, 2932, 15576, 5537, 18, 16819, 18, 1685, 4599, 30, 47, 17, 4599, 8863, 7734, 752, 15576, 87, 273, 394, 804, 19174, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1361, 5370, 12, 812, 3252, 13, 759, 16, 1250, 13970, 682, 13, 565, 288, 3639, 2097, 9459, 3899, 273, 3252, 31, 7734, 368, 1098, 2224, 18, 542, 5711, 12, 666, 2224, 18, 588, 5711, 7675, 588, 1225, 1435, 225, 11272, 540, 6237, 18, 5222, 92, 273, 374, 31, 3639, 6237, 18, 5222, 93, 273, 374, 31, 3639, 6237, 18, 5222, 2819, 273, 890, 31, 3639, 6237, 18, 5222, 4210, 273, 404, 31, 3639, 6237, 18, 4865, 92, 273, 404, 18, 20, 31, 3639, 6237, 18, 4865, 93, 273, 404, 18, 20, 31, 3639, 1748, 11967, 18, 267, 4424, 273, 394, 22300, 12, 25, 16, 1381, 16, 1381, 16, 1381, 1769, 5549, 3639, 6237, 18, 5935, 273, 2 ]
public char readChar() throws IOException { Object obj = vec.elementAt(ptr++); return (((Character)obj).charValue()); }
public char readChar() throws IOException { Object obj = vec.elementAt(ptr++); return ((Character) obj).charValue(); }
public char readChar() throws IOException { Object obj = vec.elementAt(ptr++); return (((Character)obj).charValue());}
1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/84d120cc49d42a79bfbc68fe36429395bdef90fd/UnicastRemoteCall.java/clean/libjava/gnu/java/rmi/server/UnicastRemoteCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1149, 855, 2156, 1435, 1216, 1860, 288, 202, 921, 1081, 273, 7062, 18, 2956, 861, 12, 6723, 9904, 1769, 202, 2463, 261, 12443, 7069, 13, 2603, 2934, 3001, 620, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1149, 855, 2156, 1435, 1216, 1860, 288, 202, 921, 1081, 273, 7062, 18, 2956, 861, 12, 6723, 9904, 1769, 202, 2463, 261, 12443, 7069, 13, 2603, 2934, 3001, 620, 10663, 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 ]
} else if (swapRoles && ModelFacade.getMessages4(mes).size() > 0 && ModelFacade.getSender(mes) != ModelFacade.getReceiver(mes) ) {
} else if (swapRoles && ModelFacade.getMessages4(mes).size() > 0 && (ModelFacade.getSender(mes) != ModelFacade.getReceiver(mes))) {
public void parseMessage(Object mes, String s) throws ParseException { String fname = null; String guard = null; String paramExpr = null; String token; String varname = null; Vector predecessors = new Vector(); Vector seqno = null; Vector currentseq = new Vector(); Vector args = null; boolean mustBePre = false; boolean mustBeSeq = false; boolean parallell = false; boolean iterative = false; boolean mayDeleteExpr = false; boolean refindOperation = false; boolean hasPredecessors = false; int i; currentseq.add(null); currentseq.add(null); try { MyTokenizer st = new MyTokenizer(s, " ,\t,*,[,],.,:,=,/,\\,", MyTokenizer.PAREN_EXPR_STRING_SEPARATOR); while (st.hasMoreTokens()) { token = st.nextToken(); if (" ".equals(token) || "\t".equals(token)) { if (currentseq == null) { if (varname != null && fname == null) { varname += token; } } } else if ("[".equals(token)) { if (mustBePre) throw new ParseException("Predecessors cannot be " + "qualified", st.getTokenIndex()); mustBeSeq = true; if (guard != null) throw new ParseException("Messages cannot have several" + " guard or iteration specifications", st.getTokenIndex()); guard = ""; while (true) { token = st.nextToken(); if ("]".equals(token)) break; guard += token; } } else if ("*".equals(token)) { if (mustBePre) throw new ParseException("Predecessors cannot be " + "iterated", st.getTokenIndex()); mustBeSeq = true; if (currentseq != null) iterative = true; } else if (".".equals(token)) { if (currentseq == null) throw new ParseException("Unexpected dot ('.')", st.getTokenIndex()); if (currentseq.get(currentseq.size() - 2) != null || currentseq.get(currentseq.size() - 1) != null) { currentseq.add(null); currentseq.add(null); } } else if (":".equals(token)) { if (st.hasMoreTokens()) { String t = st.nextToken(); if ("=".equals(t)) { st.putToken(":="); continue; } st.putToken(t); } if (mustBePre) throw new ParseException("Predecessors must be " + "terminated with \'/\' and not with \':\'", st.getTokenIndex()); if (currentseq != null) { if (currentseq.size() > 2 && currentseq.get(currentseq.size() - 2) == null && currentseq.get(currentseq.size() - 1) == null) { currentseq.remove(currentseq.size() - 1); currentseq.remove(currentseq.size() - 1); } seqno = currentseq; currentseq = null; mayDeleteExpr = true; } } else if ("/".equals(token)) { if (st.hasMoreTokens()) { String t = st.nextToken(); if ("/".equals(t)) { st.putToken("//"); continue; } st.putToken(t); } if (mustBeSeq) { throw new ParseException("The sequence number must be " + "terminated with \':\' and not with \'/\'", st.getTokenIndex()); } mustBePre = false; mustBeSeq = true; if (currentseq.size() > 2 && currentseq.get(currentseq.size() - 2) == null && currentseq.get(currentseq.size() - 1) == null) { currentseq.remove(currentseq.size() - 1); currentseq.remove(currentseq.size() - 1); } if (currentseq.get(currentseq.size() - 2) != null || currentseq.get(currentseq.size() - 1) != null) { predecessors.add(currentseq); currentseq = new Vector(); currentseq.add(null); currentseq.add(null); } hasPredecessors = true; } else if ("//".equals(token)) { if (mustBePre) throw new ParseException("Predecessors cannot be " + "parallellized", st.getTokenIndex()); mustBeSeq = true; if (currentseq != null) parallell = true; } else if (",".equals(token)) { if (currentseq != null) { if (mustBeSeq) throw new ParseException("Messages cannot have " + "many sequence numbers", st.getTokenIndex()); mustBePre = true; if (currentseq.size() > 2 && currentseq.get(currentseq.size() - 2) == null && currentseq.get(currentseq.size() - 1) == null) { currentseq.remove(currentseq.size() - 1); currentseq.remove(currentseq.size() - 1); } if (currentseq.get(currentseq.size() - 2) != null || currentseq.get(currentseq.size() - 1) != null) { predecessors.add(currentseq); currentseq = new Vector(); currentseq.add(null); currentseq.add(null); } hasPredecessors = true; } else { if (varname == null && fname != null) { varname = fname + token; fname = null; } else if (varname != null && fname == null) { varname += token; } else { throw new ParseException("Unexpected character (,)", st.getTokenIndex()); } } } else if ("=".equals(token) || ":=".equals(token)) { if (currentseq == null) { if (varname == null) { varname = fname; fname = ""; } else { fname = ""; } } } else if (currentseq == null) { if (paramExpr == null && token.charAt(0) == '(') { if (token.charAt(token.length() - 1) != ')') throw new ParseException("Malformed parameters", st.getTokenIndex()); if (fname == null || "".equals(fname)) throw new ParseException("Must be a function name " + "before the parameters", st.getTokenIndex()); if (varname == null) varname = ""; paramExpr = token.substring(1, token.length() - 1); } else if (varname != null && fname == null) { varname += token; } else if (fname == null || fname.length() == 0) { fname = token; } else { throw new ParseException("Unexpected token (" + token + ")", st.getTokenIndex()); } } else { boolean hasVal = currentseq.get(currentseq.size() - 2) != null; boolean hasOrd = currentseq.get(currentseq.size() - 1) != null; boolean assigned = false; int bp = findMsgOrderBreak(token); if (!hasVal && !assigned && bp == token.length()) { try { currentseq.set(currentseq.size() - 2, new Integer(token)); assigned = true; } catch (NumberFormatException nfe) { } } if (!hasOrd && !assigned && bp == 0) { try { currentseq.set(currentseq.size() - 1, new Integer(parseMsgOrder(token))); assigned = true; } catch (NumberFormatException nfe) { } } if (!hasVal && !hasOrd && !assigned && bp > 0 && bp < token.length()) { Integer nbr, ord; try { nbr = new Integer(token.substring(0, bp)); ord = new Integer(parseMsgOrder(token.substring(bp))); currentseq.set(currentseq.size() - 2, nbr); currentseq.set(currentseq.size() - 1, ord); assigned = true; } catch (NumberFormatException nfe) { } } if (!assigned) { throw new ParseException("Unexpected token (" + token + ")", st.getTokenIndex()); } } } } catch (NoSuchElementException nsee) { throw new ParseException("Unexpected end of message", s.length()); } catch (ParseException pre) { throw pre; } if (paramExpr != null) { MyTokenizer st = new MyTokenizer(paramExpr, "\\,", _parameterCustomSep); args = new Vector(); while (st.hasMoreTokens()) { token = st.nextToken(); if (",".equals(token)) { if (args.size() == 0) args.add(null); args.add(null); } else { if (args.size() == 0) { if (token.trim().length() == 0) continue; args.add(null); } String arg = (String) args.get(args.size() - 1); if (arg != null) arg = arg + token; else arg = token; args.set(args.size() - 1, arg); } } } else if (mayDeleteExpr) { args = new Vector(); } if (LOG.isDebugEnabled()) { StringBuffer buf = new StringBuffer(); buf.append("ParseMessage: " + s + "\n"); buf.append("Message: "); for (i = 0; seqno != null && i + 1 < seqno.size(); i += 2) { if (i > 0) buf.append(", "); buf.append(seqno.get(i) + " (" + seqno.get(i + 1) + ")"); } buf.append("\n"); buf.append("predecessors: " + predecessors.size() + "\n"); for (i = 0; i < predecessors.size(); i++) { int j; Vector v = (Vector) predecessors.get(i); buf.append(" Predecessor: "); for (j = 0; v != null && j + 1 < v.size(); j += 2) { if (j > 0) buf.append(", "); buf.append(v.get(j) + " (" + v.get(j + 1) + ")"); } } buf.append("guard: " + guard + " it: " + iterative + " pl: " + parallell + "\n"); buf.append(varname + " := " + fname + " ( " + paramExpr + " )" + "\n"); LOG.debug(buf); } if (ModelFacade.getAction(mes) == null) { Object a = UmlFactory.getFactory().getCommonBehavior() .createCallAction(); ModelFacade.addOwnedElement(ModelFacade.getContext(ModelFacade .getInteraction(mes)), a); ModelFacade.setAction(mes, a); } if (guard != null) { guard = "[" + guard.trim() + "]"; if (iterative) { if (parallell) guard = "*//" + guard; else guard = "*" + guard; } Object/*MIterationExpression*/ expr = UmlFactory.getFactory().getDataTypes().createIterationExpression( Notation.getDefaultNotation().toString(), guard); ModelFacade.setRecurrence(ModelFacade.getAction(mes), expr); } if (fname == null) { if (!mayDeleteExpr && ModelFacade.getScript(ModelFacade.getAction(mes)) != null) { String body = (String) ModelFacade.getBody(ModelFacade .getScript(ModelFacade.getAction(mes))); int idx = body.indexOf(":="); if (idx >= 0) idx++; else idx = body.indexOf("="); if (idx >= 0) fname = body.substring(idx + 1); else fname = body; } else fname = ""; } if (varname == null) { if (!mayDeleteExpr && ModelFacade.getScript(ModelFacade.getAction(mes)) != null) { String body = (String) ModelFacade.getBody(ModelFacade .getScript(ModelFacade.getAction(mes))); int idx = body.indexOf(":="); if (idx < 0) idx = body.indexOf("="); if (idx >= 0) varname = body.substring(0, idx); else varname = ""; } else varname = ""; } if (fname != null) { String expr = fname.trim(); if (varname != null && varname.length() > 0) expr = varname.trim() + " := " + expr; if (ModelFacade.getScript(ModelFacade.getAction(mes)) == null || !expr.equals(ModelFacade.getBody(ModelFacade .getScript(ModelFacade.getAction(mes))))) { Object e = UmlFactory.getFactory().getDataTypes() .createActionExpression( Notation.getDefaultNotation().toString(), expr.trim()); ModelFacade.setScript(ModelFacade.getAction(mes), e); refindOperation = true; } } if (args != null) { Collection c = ModelFacade.getActualArguments(ModelFacade.getAction(mes)); Iterator it = c.iterator(); int pos; for (i = 0; i < args.size(); i++) { Object arg = (it.hasNext() ? /*(MArgument)*/ it.next() : null); if (arg == null) { arg = UmlFactory.getFactory().getCommonBehavior() .createArgument(); ModelFacade.addActualArgument(ModelFacade.getAction(mes), arg); refindOperation = true; } if (ModelFacade.getValue(arg) == null || !args.get(i).equals(ModelFacade .getBody(ModelFacade.getValue(arg)))) { String value = (args.get(i) != null ? (String) args.get(i) : ""); Object e = UmlFactory.getFactory().getDataTypes() .createExpression( Notation.getDefaultNotation().toString(), value.trim()); ModelFacade.setValue(arg, e); } } while (it.hasNext()) { ModelFacade.removeActualArgument(ModelFacade.getAction(mes), /*(MArgument)*/ it.next()); refindOperation = true; } } if (seqno != null) { Object/*MMessage*/ root; // Find the preceding message, if any, on either end of the // association. String pname = ""; String mname = ""; String gname = GeneratorDisplay.getInstance() .generateMessageNumber(mes); boolean swapRoles = false; int majval = (seqno.get(seqno.size() - 2) != null ? Math.max( ((Integer) seqno.get(seqno.size() - 2)).intValue() - 1, 0) : 0); int minval = (seqno.get(seqno.size() - 1) != null ? Math.max(((Integer) seqno.get(seqno.size() - 1)).intValue(), 0) : 0); for (i = 0; i + 1 < seqno.size(); i += 2) { int bv = (seqno.get(i) != null ? Math.max(((Integer) seqno.get(i)).intValue(), 1) : 1); int sv = (seqno.get(i + 1) != null ? Math.max(((Integer) seqno.get(i + 1)).intValue(), 0) : 0); if (i > 0) mname += "."; mname += Integer.toString(bv) + (char) ('a' + sv); if (i + 3 < seqno.size()) { if (i > 0) pname += "."; pname += Integer.toString(bv) + (char) ('a' + sv); } } root = null; if (pname.length() > 0) { root = findMsg(ModelFacade.getSender(mes), pname); if (root == null) { root = findMsg(ModelFacade.getReceiver(mes), pname); if (root != null) { swapRoles = true; } } } else if (!hasMsgWithActivator(ModelFacade.getSender(mes), null) && hasMsgWithActivator(ModelFacade.getReceiver(mes), null)) swapRoles = true; if (compareMsgNumbers(mname, gname)) { ;// Do nothing } else if (isMsgNumberStartOf(gname, mname)) { throw new ParseException("Cannot move a message into the " + "subtree rooted at self", 0); } else if (ModelFacade.getPredecessors(mes).size() > 1 && ModelFacade.getMessages3(mes).size() > 1) { throw new ParseException("Cannot move a message which is " + "both start and end of several threads", 0); } else if (root == null && pname.length() > 0) { throw new ParseException("Cannot find the activator for the " + "message", 0); } else if (swapRoles && ModelFacade.getMessages4(mes).size() > 0 && ModelFacade.getSender(mes) != ModelFacade.getReceiver(mes) ) { throw new ParseException("Cannot reverse the direction of a " + "message that is an activator", 0); } else { // Disconnect the message from the call graph Collection c = ModelFacade.getPredecessors(mes); Collection c2 = ModelFacade.getMessages3(mes); Iterator it; it = c2.iterator(); while (it.hasNext()) { ModelFacade.removeMessage3(mes, /*(MMessage)*/ it.next()); } it = c.iterator(); while (it.hasNext()) { Iterator it2 = c2.iterator(); Object pre = /*(MMessage)*/ it.next(); ModelFacade.removePredecessor(mes, pre); while (it2.hasNext()) { ModelFacade.addPredecessor(it2.next(), pre); } } // Connect the message at a new spot ModelFacade.setActivator(mes, root); if (swapRoles) { Object/*MClassifierRole*/ r = ModelFacade.getSender(mes); ModelFacade.setSender(mes, ModelFacade.getReceiver(mes)); ModelFacade.setReceiver(mes, r); } if (root == null) { c = filterWithActivator(ModelFacade .getMessages2(ModelFacade.getSender(mes)), null ); } else { c = ModelFacade.getMessages4(root); } c2 = findCandidateRoots(c, root, mes); it = c2.iterator(); // If c2 is empty, then we're done (or there is a // cycle in the message graph, which would be bad) If // c2 has more than one element, then the model is // crappy, but we'll just use one of them anyway if (majval <= 0) { while (it.hasNext()) ModelFacade.addMessage3(mes, /*(MMessage)*/ it.next()); } else if (it.hasNext()) { Object/*MMessage*/ pre = walk(/*(MMessage)*/ it.next(), majval - 1, false); Object/*MMessage*/ post = successor(pre, minval); if (post != null) { ModelFacade.removePredecessor(post, pre); ModelFacade.addPredecessor(post, mes); } insertSuccessor(pre, mes, minval); } refindOperation = true; } } if (fname != null && refindOperation) { Object role = ModelFacade.getReceiver(mes); Vector ops = getOperation(ModelFacade.getBases(role), fname.trim(), ModelFacade.getActualArguments( ModelFacade.getAction(mes)).size() ); // TODO: Should someone choose one, if there are more // than one? if (ModelFacade.isACallAction(ModelFacade.getAction(mes))) { Object a = /*(MCallAction)*/ ModelFacade.getAction(mes); if (ops.size() > 0) ModelFacade.setOperation(a, /*(MOperation)*/ ops.get(0)); else ModelFacade.setOperation(a, null); } } // TODO: Predecessors is not implemented, because it // causes some problems that I've not found an easy way to handle yet, // d00mst. The specific problem is that the notation currently is // ambiguous on second message after a thread split. // Why not implement it anyway? d00mst if (hasPredecessors) { Collection roots = findCandidateRoots(ModelFacade .getMessages(ModelFacade.getInteraction(mes)), null, null); Vector pre = new Vector(); Iterator it; predfor: for (i = 0; i < predecessors.size(); i++) { it = roots.iterator(); while (it.hasNext()) { Object/*MMessage*/ msg = walkTree(/*(MMessage)*/ it.next(), (Vector) predecessors.get(i)); if (msg != null && msg != mes) { if (isBadPreMsg(mes, msg)) { throw new ParseException( "One predecessor cannot be a predecessor " + "to this message", 0); } pre.add(msg); continue predfor; } } throw new ParseException("Could not find predecessor", 0); } GeneratorDisplay.MsgPtr ptr = GeneratorDisplay.getInstance().new MsgPtr(); GeneratorDisplay.getInstance().recCountPredecessors(mes, ptr); if (ptr.message != null && !pre.contains(ptr.message)) pre.add(ptr.message); ModelFacade.setPredecessors(mes, pre); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/bd2bc14bd41d6e4018fc6ac64fd5de3812c4e21f/ParserDisplay.java/buggy/src_new/org/argouml/uml/generator/ParserDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 1079, 12, 921, 15216, 16, 514, 272, 13, 1216, 10616, 288, 202, 780, 5299, 273, 446, 31, 202, 780, 11026, 273, 446, 31, 202, 780, 579, 4742, 273, 446, 31, 202, 780, 1147, 31, 202, 780, 15434, 273, 446, 31, 202, 5018, 18522, 1383, 273, 394, 5589, 5621, 202, 5018, 30734, 273, 446, 31, 202, 5018, 783, 5436, 273, 394, 5589, 5621, 202, 5018, 833, 273, 446, 31, 202, 6494, 1297, 1919, 1386, 273, 629, 31, 202, 6494, 1297, 1919, 6926, 273, 629, 31, 202, 6494, 779, 454, 1165, 273, 629, 31, 202, 6494, 1400, 1535, 273, 629, 31, 202, 6494, 2026, 2613, 4742, 273, 629, 31, 202, 6494, 1278, 728, 2988, 273, 629, 31, 202, 6494, 711, 1386, 14258, 1383, 273, 629, 31, 202, 474, 277, 31, 202, 2972, 5436, 18, 1289, 12, 2011, 1769, 202, 2972, 5436, 18, 1289, 12, 2011, 1769, 202, 698, 288, 202, 565, 8005, 10524, 384, 273, 202, 202, 2704, 8005, 10524, 12, 87, 16, 315, 269, 64, 88, 16, 14, 16, 63, 16, 6487, 12990, 30, 16, 33, 16, 19, 16, 1695, 16, 3113, 9506, 202, 12062, 10524, 18, 15111, 67, 2294, 8025, 67, 5804, 67, 4550, 1769, 202, 565, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 202, 202, 2316, 273, 384, 18, 4285, 1345, 5621, 202, 202, 430, 7566, 3552, 14963, 12, 2316, 13, 747, 1548, 88, 9654, 14963, 12, 2316, 3719, 288, 1082, 565, 309, 261, 2972, 5436, 422, 446, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 1079, 12, 921, 15216, 16, 514, 272, 13, 1216, 10616, 288, 202, 780, 5299, 273, 446, 31, 202, 780, 11026, 273, 446, 31, 202, 780, 579, 4742, 273, 446, 31, 202, 780, 1147, 31, 202, 780, 15434, 273, 446, 31, 202, 5018, 18522, 1383, 273, 394, 5589, 5621, 202, 5018, 30734, 273, 446, 31, 202, 5018, 783, 5436, 273, 394, 5589, 5621, 202, 5018, 833, 273, 446, 31, 202, 6494, 1297, 1919, 1386, 273, 629, 31, 202, 6494, 1297, 1919, 6926, 273, 629, 31, 202, 6494, 779, 454, 1165, 273, 629, 31, 202, 6494, 1400, 1535, 273, 629, 31, 202, 6494, 2026, 2613, 4742, 273, 629, 31, 202, 6494, 1278, 728, 2988, 273, 629, 31, 2 ]
return Array.getLength(o1) == Array.getLength(o2); }
return Array.getLength(o1) == Array.getLength(o2); }
private static boolean areArrayLengthsEqual( Object o1, Object o2 ) { return Array.getLength(o1) == Array.getLength(o2); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/IsEqual.java/clean/jmock/core/src/org/jmock/core/constraint/IsEqual.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 854, 1076, 22406, 5812, 12, 1033, 320, 21, 16, 1033, 320, 22, 262, 288, 202, 202, 2463, 1510, 18, 588, 1782, 12, 83, 21, 13, 422, 1510, 18, 588, 1782, 12, 83, 22, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1250, 854, 1076, 22406, 5812, 12, 1033, 320, 21, 16, 1033, 320, 22, 262, 288, 202, 202, 2463, 1510, 18, 588, 1782, 12, 83, 21, 13, 422, 1510, 18, 588, 1782, 12, 83, 22, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (Iterator it = m_pointcutDefs.entrySet().iterator(); it.hasNext();) { Map.Entry entry = (Map.Entry)it.next(); String name = (String)entry.getKey(); PointcutPatternTuple pointcutPattern = (PointcutPatternTuple)entry.getValue();
try { matchPointcutPatterns(jexlContext, classMetaData, fieldMetaData);
public boolean matches(final String className, final FieldMetaData fieldMetaData) { JexlContext jexlContext = JexlHelper.createContext(); for (Iterator it = m_pointcutDefs.entrySet().iterator(); it.hasNext();) { Map.Entry entry = (Map.Entry)it.next(); String name = (String)entry.getKey(); PointcutPatternTuple pointcutPattern = (PointcutPatternTuple)entry.getValue(); if (pointcutPattern.getClassPattern().matches(className) && ((FieldPattern)pointcutPattern.getPattern()).matches(fieldMetaData)) { jexlContext.getVars().put(name, Boolean.TRUE); } else { jexlContext.getVars().put(name, Boolean.FALSE); } } try { Boolean result = (Boolean)m_jexlExpr.evaluate(jexlContext); if (result == null) { return false; } if (result.booleanValue()) { return true; } else { return false; } } catch (Exception e) { throw new WrappedRuntimeException(e); } }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/797e662bcd4bca47d6ac84f41fbf32bf15013a33/FieldPointcut.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/pointcut/FieldPointcut.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1885, 12, 6385, 514, 2658, 16, 21821, 727, 2286, 6998, 652, 6998, 13, 288, 3639, 804, 338, 80, 1042, 525, 338, 80, 1042, 273, 804, 338, 80, 2276, 18, 2640, 1042, 5621, 3639, 364, 261, 3198, 518, 273, 312, 67, 1153, 5150, 14554, 18, 4099, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 305, 18, 4285, 5621, 5411, 514, 508, 273, 261, 780, 13, 4099, 18, 588, 653, 5621, 5411, 4686, 5150, 3234, 9038, 29774, 3234, 273, 261, 2148, 5150, 3234, 9038, 13, 4099, 18, 24805, 5621, 5411, 309, 261, 1153, 5150, 3234, 18, 588, 797, 3234, 7675, 8436, 12, 12434, 13, 597, 10792, 14015, 974, 3234, 13, 1153, 5150, 3234, 18, 588, 3234, 1435, 2934, 8436, 12, 1518, 6998, 3719, 288, 7734, 525, 338, 80, 1042, 18, 588, 5555, 7675, 458, 12, 529, 16, 3411, 18, 18724, 1769, 5411, 289, 5411, 469, 288, 7734, 525, 338, 80, 1042, 18, 588, 5555, 7675, 458, 12, 529, 16, 3411, 18, 21053, 1769, 5411, 289, 3639, 289, 3639, 775, 288, 5411, 3411, 563, 273, 261, 5507, 13, 81, 67, 78, 338, 80, 4742, 18, 21024, 12, 78, 338, 80, 1042, 1769, 5411, 309, 261, 2088, 422, 446, 13, 288, 7734, 327, 629, 31, 5411, 289, 5411, 309, 261, 2088, 18, 6494, 620, 10756, 288, 7734, 327, 638, 31, 5411, 289, 5411, 469, 288, 7734, 327, 629, 31, 5411, 289, 3639, 289, 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, 1071, 1250, 1885, 12, 6385, 514, 2658, 16, 21821, 727, 2286, 6998, 652, 6998, 13, 288, 3639, 804, 338, 80, 1042, 525, 338, 80, 1042, 273, 804, 338, 80, 2276, 18, 2640, 1042, 5621, 3639, 364, 261, 3198, 518, 273, 312, 67, 1153, 5150, 14554, 18, 4099, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 305, 18, 4285, 5621, 5411, 514, 508, 273, 261, 780, 13, 4099, 18, 588, 653, 5621, 5411, 4686, 5150, 3234, 9038, 29774, 3234, 273, 261, 2148, 5150, 3234, 9038, 13, 4099, 18, 24805, 5621, 5411, 309, 261, 1153, 5150, 3234, 18, 588, 797, 3234, 7675, 8436, 12, 12434, 13, 2 ]
return endpointEncoding;
return endpointEncoding;
public String getEncoding() { return endpointEncoding; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/fc9a3211b2e515690ae1759049f2ed1c8765cba1/ImmutableMuleEndpoint.java/clean/src/java/org/mule/impl/ImmutableMuleEndpoint.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 29505, 1435, 565, 288, 377, 202, 2463, 2494, 4705, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 29505, 1435, 565, 288, 377, 202, 2463, 2494, 4705, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( bFound )
if ( !bFound )
private final Series findDesignTimeSeries( Series seRT ) throws ChartException { final ChartWithAxes cwaRT = (ChartWithAxes) _iun.getRunTimeModel( ); final ChartWithAxes cwaDT = (ChartWithAxes) _iun.getDesignTimeModel( ); Series seDT = null; Axis[] axaBase = cwaRT.getPrimaryBaseAxes( ); Axis axBase = axaBase[0]; Axis[] axaOrthogonal = cwaRT.getOrthogonalAxes( axBase, true ); EList elSD, elSE; SeriesDefinition sd; Series se = null; int i, j = 0, k = 0; boolean bFound = false; // LOCATE INDEXES FOR AXIS/SERIESDEFINITION/SERIES IN RUN TIME MODEL for ( i = 0; i < axaOrthogonal.length; i++ ) { elSD = axaOrthogonal[i].getSeriesDefinitions( ); for ( j = 0; j < elSD.size( ); j++ ) { sd = (SeriesDefinition) elSD.get( j ); elSE = sd.getSeries( ); for ( k = 0; k < elSE.size( ); k++ ) { se = (Series) elSE.get( k ); if ( seRT == se ) { bFound = true; break; } } if ( bFound ) { break; } } if ( bFound ) { break; } } if ( !bFound ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.OUT_OF_SYNC, "info.cannot.find.series", //$NON-NLS-1$ new Object[]{ seRT }, ResourceBundle.getBundle( Messages.DEVICE_EXTENSION, getLocale() ) ); } // MAP TO INDEXES FOR AXIS/SERIESDEFINITION/SERIES IN DESIGN TIME MODEL axaBase = cwaDT.getPrimaryBaseAxes( ); axBase = axaBase[0]; axaOrthogonal = cwaDT.getOrthogonalAxes( axBase, true ); elSD = axaOrthogonal[i].getSeriesDefinitions( ); sd = (SeriesDefinition) elSD.get( j ); elSE = sd.getSeries( ); seDT = (Series) elSE.get( k ); return seDT; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/6b25c8467786900718c009e844482ef0389c4568/SVGRendererImpl.java/clean/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 9225, 1104, 15478, 28486, 12, 9225, 695, 12185, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 6385, 14804, 1190, 26494, 14098, 69, 12185, 273, 261, 7984, 1190, 26494, 13, 389, 77, 318, 18, 588, 1997, 950, 1488, 12, 11272, 202, 202, 6385, 14804, 1190, 26494, 14098, 69, 9081, 273, 261, 7984, 1190, 26494, 13, 389, 77, 318, 18, 588, 15478, 950, 1488, 12, 11272, 202, 202, 6485, 695, 9081, 273, 446, 31, 202, 202, 6558, 8526, 1740, 69, 2171, 273, 14098, 69, 12185, 18, 588, 6793, 2171, 26494, 12, 11272, 202, 202, 6558, 1740, 2171, 273, 1740, 69, 2171, 63, 20, 15533, 202, 202, 6558, 8526, 1740, 69, 1162, 451, 28396, 273, 14098, 69, 12185, 18, 588, 1162, 451, 28396, 26494, 12, 1740, 2171, 16, 638, 11272, 202, 202, 41, 682, 415, 9903, 16, 415, 1090, 31, 202, 202, 6485, 1852, 8349, 31, 202, 202, 6485, 695, 273, 446, 31, 202, 202, 474, 277, 16, 525, 273, 374, 16, 417, 273, 374, 31, 202, 202, 6494, 324, 2043, 273, 629, 31, 202, 202, 759, 1806, 13000, 12425, 3991, 12108, 29539, 5127, 19, 2123, 8805, 25312, 19, 2123, 8805, 2120, 15484, 8721, 21700, 202, 202, 1884, 261, 277, 273, 374, 31, 277, 411, 1740, 69, 1162, 451, 28396, 18, 2469, 31, 277, 9904, 262, 202, 202, 95, 1082, 202, 292, 9903, 273, 1740, 69, 1162, 451, 28396, 63, 77, 8009, 588, 6485, 7130, 12, 11272, 1082, 202, 1884, 261, 525, 273, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 9225, 1104, 15478, 28486, 12, 9225, 695, 12185, 262, 1082, 202, 15069, 14804, 503, 202, 95, 202, 202, 6385, 14804, 1190, 26494, 14098, 69, 12185, 273, 261, 7984, 1190, 26494, 13, 389, 77, 318, 18, 588, 1997, 950, 1488, 12, 11272, 202, 202, 6385, 14804, 1190, 26494, 14098, 69, 9081, 273, 261, 7984, 1190, 26494, 13, 389, 77, 318, 18, 588, 15478, 950, 1488, 12, 11272, 202, 202, 6485, 695, 9081, 273, 446, 31, 202, 202, 6558, 8526, 1740, 69, 2171, 273, 14098, 69, 12185, 18, 588, 6793, 2171, 26494, 12, 11272, 202, 202, 6558, 1740, 2171, 273, 1740, 69, 2171, 63, 20, 15533, 202, 202, 6558, 8526, 1740, 69, 1162, 451, 28396, 273, 14098, 2 ]