rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
if ( part == this ) { SessionHandleAdapter.getInstance( ).clear( getModel( ) ); }
if ( part == this ) { SessionHandleAdapter.getInstance( ).clear( getModel( ) ); }
public void partClosed( IWorkbenchPart part ) { if ( part == this ) { SessionHandleAdapter.getInstance( ).clear( getModel( ) ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/604ce5391dbc451664ffe72c0eb2da50e51bc4ed/MultiPageReportEditor.java/clean/UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/ui/editors/MultiPageReportEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1087, 7395, 12, 467, 2421, 22144, 1988, 1087, 262, 202, 95, 202, 202, 430, 261, 1087, 422, 333, 262, 202, 202, 95, 1082, 202, 2157, 3259, 4216, 18, 588, 1442, 12, 262, 18, 8507, 12, 7454, 12, 262, 11272, 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,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157, 3259, 4216, 18, 588, 1442, 12, 262, 18, 8507, 12, 7454, 12, 262, 11272, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void setRuntimeData(ChannelRuntimeData rd, String uid) throws PortalException { ChannelState channelState = (ChannelState)channelStateMap.get(uid); channelState.setRuntimeData(rd); ChannelStaticData sd = channelState.getStaticData(); ChannelData cd = channelState.getChannelData(); if (!cd.isPortletWindowInitialized()) { this.initPortletWindow(uid); } try { PortletContainerServices.prepare(uniqueContainerName); PortalControlStructures pcs = channelState.getPortalControlStructures(); HttpServletRequest wrappedRequest = new ServletRequestImpl(pcs.getHttpServletRequest(), sd.getPerson(), cd.getPortletWindow().getPortletEntity().getPortletDefinition().getInitSecurityRoleRefSet()); //Set up request attributes (user info, portal session, etc...) setupRequestAttributes(wrappedRequest, uid); // Put the current runtime data and wrapped request into the portlet window PortletWindowImpl portletWindow = (PortletWindowImpl)cd.getPortletWindow(); portletWindow.setChannelRuntimeData(rd); portletWindow.setHttpServletRequest(wrappedRequest); // Get the portlet url manager which will analyze the request parameters DynamicInformationProvider dip = InformationProviderAccess.getDynamicProvider(wrappedRequest); PortletStateManager psm = ((DynamicInformationProviderImpl)dip).getPortletStateManager(portletWindow); PortletActionProvider pap = dip.getPortletActionProvider(portletWindow); //If portlet is rendering as root, change mode to maximized, otherwise minimized WindowState newWindowState = cd.getNewWindowState(); if (!psm.isAction() && rd.isRenderingAsRoot()) { if (WindowState.MINIMIZED.equals(newWindowState)) { pap.changePortletWindowState(WindowState.MINIMIZED); } else { pap.changePortletWindowState(WindowState.MAXIMIZED); } } else if (newWindowState != null) { pap.changePortletWindowState(newWindowState); } else if (!psm.isAction()) { pap.changePortletWindowState(WindowState.NORMAL); } cd.setNewWindowState(null); PortletMode newMode = cd.getNewPortletMode(); if (newMode != null) { pap.changePortletMode(newMode); } cd.setNewPortletMode(null); // Process action if this is the targeted channel and the URL is an action URL if (rd.isTargeted() && psm.isAction() && !cd.hasProcessedAction()) { try { //Create a sink to throw out and output (portlets can't output content during an action) PrintWriter pw = new PrintWriter(new NullOutputStream()); HttpServletResponse wrappedResponse = ServletObjectAccess.getStoredServletResponse(pcs.getHttpServletResponse(), pw); //See if a WindowState change was requested for an ActionURL final String newWindowStateName = wrappedRequest.getParameter(PortletStateManager.UP_WINDOW_STATE); if (newWindowStateName != null) { pap.changePortletWindowState(new WindowState(newWindowStateName)); } HttpServletRequest wrappedPortletRequest = new PortletParameterRequestWrapper(wrappedRequest); // record a portlet action portletContainer.processPortletAction(portletWindow, wrappedPortletRequest, wrappedResponse); InternalActionResponse actionResponse = (InternalActionResponse)PortletObjectAccess.getActionResponse(cd.getPortletWindow(), pcs.getHttpServletRequest(), pcs.getHttpServletResponse()); cd.setProcessedAction(true); } catch (Exception e) { throw new PortalException(e); } } } finally { PortletContainerServices.release(); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/367199d1607d8a6cfa99e68e99203fa3451ebf25/CPortletAdapter.java/buggy/source/org/jasig/portal/channels/portlet/CPortletAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 542, 5576, 751, 12, 2909, 5576, 5139, 1060, 16, 780, 1911, 13, 15069, 24395, 503, 95, 2909, 1119, 4327, 1119, 28657, 2909, 1119, 13, 4327, 1119, 863, 18, 588, 12, 1911, 1769, 4327, 1119, 18, 542, 5576, 751, 12, 13623, 1769, 2909, 5788, 14305, 72, 33, 4327, 1119, 18, 588, 5788, 751, 5621, 2909, 751, 4315, 33, 4327, 1119, 18, 588, 2909, 751, 5621, 430, 12, 5, 4315, 18, 291, 18566, 3829, 11459, 10756, 95, 2211, 18, 2738, 18566, 3829, 12, 1911, 1769, 97, 698, 95, 18566, 2170, 5676, 18, 9366, 12, 6270, 2170, 461, 1769, 24395, 3367, 3823, 1823, 84, 2143, 33, 4327, 1119, 18, 588, 24395, 3367, 3823, 1823, 5621, 2940, 18572, 18704, 691, 33, 2704, 18572, 2828, 12, 84, 2143, 18, 588, 2940, 18572, 9334, 6427, 18, 588, 8346, 9334, 4315, 18, 588, 18566, 3829, 7675, 588, 18566, 1943, 7675, 588, 18566, 1852, 7675, 588, 2570, 4368, 2996, 1957, 694, 10663, 759, 7365, 2293, 4350, 12, 31271, 16, 655, 1031, 893, 16, 14175, 21846, 8401, 691, 2498, 12, 18704, 691, 16, 1911, 1769, 759, 6426, 451, 557, 295, 1187, 313, 318, 20905, 396, 464, 18704, 2293, 474, 352, 580, 655, 1810, 5668, 18566, 3829, 2828, 655, 1810, 3829, 28657, 18566, 3829, 2828, 13, 4315, 18, 588, 18566, 3829, 5621, 655, 1810, 3829, 18, 542, 2909, 5576, 751, 12, 13623, 1769, 655, 1810, 3829, 18, 542, 2940, 18572, 12, 18704, 691, 1769, 759, 967, 5787, 655, 1810, 718, 4181, 12784, 20194, 304, 4647, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 542, 5576, 751, 12, 2909, 5576, 5139, 1060, 16, 780, 1911, 13, 15069, 24395, 503, 95, 2909, 1119, 4327, 1119, 28657, 2909, 1119, 13, 4327, 1119, 863, 18, 588, 12, 1911, 1769, 4327, 1119, 18, 542, 5576, 751, 12, 13623, 1769, 2909, 5788, 14305, 72, 33, 4327, 1119, 18, 588, 5788, 751, 5621, 2909, 751, 4315, 33, 4327, 1119, 18, 588, 2909, 751, 5621, 430, 12, 5, 4315, 18, 291, 18566, 3829, 11459, 10756, 95, 2211, 18, 2738, 18566, 3829, 12, 1911, 1769, 97, 698, 95, 18566, 2170, 5676, 18, 9366, 12, 6270, 2170, 461, 1769, 24395, 3367, 3823, 1823, 84, 2143, 33, 4327, 1119, 18, 588, 24395, 3367, 3823, 1823, 5621, 2940, 18572, 18704, 691, 33, 2 ]
log.debug("!!!!!!!!!!!!!!!!!!!! Recreating crl from byte data before updating LDAP !!!!!!!!!!!!!!!!!!!!!!!!!!!!"); log.debug(""); log.debug(""); log.debug(""); log.debug(""); X509CRL crl1=null; CertificateFactory cf = CertificateFactory.getInstance("X.509"); ByteArrayInputStream bais=null ; bais = new ByteArrayInputStream(crldata); Collection crls =cf.generateCRLs(bais); Iterator i = crls.iterator(); if (i.hasNext()) { crl1 = (X509CRL) i.next(); } log.debug(" recreated cRL is :"+crl1.toString()); log.debug("!!!!!!!!!!!!!!!!!!!! Recreation of crl from byte data before updating LDAP over !!!!!!!!!!!!!!!!!!!!!!!!!!!!"); log.debug(""); log.debug(""); log.debug(""); log.debug("");
log.debug("Recreating crl from byte data before updating LDAP"); } X509CRL crl1=null; CertificateFactory cf = CertificateFactory.getInstance("X.509"); ByteArrayInputStream bais=null ; bais = new ByteArrayInputStream(crldata); Collection crls =cf.generateCRLs(bais); Iterator i = crls.iterator(); if (i.hasNext()) { crl1 = (X509CRL) i.next(); } if(log.isDebugEnabled()) { log.debug("Recreation of crl from byte data before updating LDAP over: " + crl1.toString());
public void updateCRLinLdap(String bindingname,X509CRL crl, String bindingname_revokedcert) throws CRLException,CertificateException, NamingException { String newstatus=revoked; Attribute attr1=new BasicAttribute(STATUS_ATTRIBUTE,newstatus); ModificationItem mit[]=new ModificationItem[1]; ModificationItem miti=new ModificationItem(DirContext.REPLACE_ATTRIBUTE,attr1); mit[0]=miti; if(log.isDebugEnabled()) log.debug("going to modify attribute in OpenLdap for user binding name :"+ bindingname_revokedcert); context.modifyAttributes(bindingname_revokedcert,mit); byte[] crldata=crl.getEncoded(); if(log.isDebugEnabled()) { log.debug("!!!!!!!!!!!!!!!!!!!! Recreating crl from byte data before updating LDAP !!!!!!!!!!!!!!!!!!!!!!!!!!!!"); log.debug(""); log.debug(""); log.debug(""); log.debug(""); X509CRL crl1=null; CertificateFactory cf = CertificateFactory.getInstance("X.509"); ByteArrayInputStream bais=null ; // byte []cacert=(byte [])objectclassattribute.get(); bais = new ByteArrayInputStream(crldata); Collection crls =cf.generateCRLs(bais); Iterator i = crls.iterator(); if (i.hasNext()) { crl1 = (X509CRL) i.next(); } log.debug(" recreated cRL is :"+crl1.toString()); log.debug("!!!!!!!!!!!!!!!!!!!! Recreation of crl from byte data before updating LDAP over !!!!!!!!!!!!!!!!!!!!!!!!!!!!"); log.debug(""); log.debug(""); log.debug(""); log.debug(""); } attr1=new BasicAttribute( CERTIFICATEREVOCATIONLIST_ATTRIBUTE,crldata); mit=new ModificationItem[1]; miti=new ModificationItem(DirContext.REPLACE_ATTRIBUTE,attr1); mit[0]=miti; if(log.isDebugEnabled()) { log.debug("going to modify attribute in OpenLdap for CA "+bindingname ); log.debug("$$$$$ new crl is :"+crl.toString()); } context.modifyAttributes(bindingname,mit); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/a51df5f1eb38a22f66b24c8f4cba9da639b96ff5/OpenLdapCertDirectoryService.java/buggy/securityservices/src/org/cougaar/core/security/crypto/ldap/OpenLdapCertDirectoryService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 29524, 267, 18437, 12, 780, 5085, 529, 16, 60, 5995, 29524, 18789, 16, 514, 5085, 529, 67, 9083, 14276, 7593, 13, 1216, 26526, 503, 16, 4719, 503, 16, 26890, 288, 565, 514, 394, 2327, 33, 9083, 14276, 31, 565, 3601, 1604, 21, 33, 2704, 7651, 1499, 12, 8608, 67, 11616, 16, 2704, 2327, 1769, 565, 3431, 1480, 1180, 20310, 8526, 33, 2704, 3431, 1480, 1180, 63, 21, 15533, 565, 3431, 1480, 1180, 20310, 77, 33, 2704, 3431, 1480, 1180, 12, 1621, 1042, 18, 21726, 67, 11616, 16, 1747, 21, 1769, 565, 20310, 63, 20, 65, 33, 1938, 77, 31, 565, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 1377, 613, 18, 4148, 2932, 8162, 358, 5612, 1566, 316, 3502, 18437, 364, 729, 5085, 508, 20514, 15, 5085, 529, 67, 9083, 14276, 7593, 1769, 565, 819, 18, 17042, 2498, 12, 7374, 529, 67, 9083, 14276, 7593, 16, 1938, 1769, 565, 1160, 8526, 18789, 892, 33, 71, 1321, 18, 588, 10397, 5621, 565, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 288, 1377, 613, 18, 4148, 2932, 23045, 23045, 23045, 23045, 23045, 868, 23799, 18789, 628, 1160, 501, 1865, 9702, 11916, 401, 23045, 23045, 23045, 23045, 23045, 23045, 8548, 4442, 1769, 1377, 613, 18, 4148, 2932, 8863, 4202, 613, 18, 4148, 2932, 8863, 3639, 613, 18, 4148, 2932, 8863, 202, 613, 18, 4148, 2932, 8863, 1377, 1139, 5995, 29524, 18789, 21, 33, 2011, 31, 4202, 6660, 1733, 6080, 273, 6660, 1733, 18, 588, 1442, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1089, 29524, 267, 18437, 12, 780, 5085, 529, 16, 60, 5995, 29524, 18789, 16, 514, 5085, 529, 67, 9083, 14276, 7593, 13, 1216, 26526, 503, 16, 4719, 503, 16, 26890, 288, 565, 514, 394, 2327, 33, 9083, 14276, 31, 565, 3601, 1604, 21, 33, 2704, 7651, 1499, 12, 8608, 67, 11616, 16, 2704, 2327, 1769, 565, 3431, 1480, 1180, 20310, 8526, 33, 2704, 3431, 1480, 1180, 63, 21, 15533, 565, 3431, 1480, 1180, 20310, 77, 33, 2704, 3431, 1480, 1180, 12, 1621, 1042, 18, 21726, 67, 11616, 16, 1747, 21, 1769, 565, 20310, 63, 20, 65, 33, 1938, 77, 31, 565, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 1377, 613, 18, 4148, 2932, 8162, 358, 2 ]
if (node instanceof MInterface && (((MInterface) node).getName() != null)) _name.setText(((MModelElement) node).getName());
setBounds(10, 10, 60, 21 + ROWHEIGHT);
public FigInterface(GraphModel gm, Object node) { this(); setOwner(node); enableSizeChecking(true); if (node instanceof MInterface && (((MInterface) node).getName() != null)) _name.setText(((MModelElement) node).getName()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1ebb17ac06205415cc8d51f57abdfb1e5ec54d76/FigInterface.java/buggy/src_new/org/argouml/uml/diagram/static_structure/ui/FigInterface.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 478, 360, 1358, 12, 4137, 1488, 14125, 16, 1033, 756, 13, 288, 3639, 333, 5621, 3639, 31309, 12, 2159, 1769, 3639, 4237, 1225, 14294, 12, 3767, 1769, 3639, 309, 261, 2159, 1276, 490, 1358, 597, 261, 12443, 49, 1358, 13, 756, 2934, 17994, 1435, 480, 446, 3719, 5411, 389, 529, 18, 542, 1528, 12443, 12, 49, 1488, 1046, 13, 756, 2934, 17994, 10663, 565, 289, 2, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 478, 360, 1358, 12, 4137, 1488, 14125, 16, 1033, 756, 13, 288, 3639, 333, 5621, 3639, 31309, 12, 2159, 1769, 3639, 4237, 1225, 14294, 12, 3767, 1769, 3639, 309, 261, 2159, 1276, 490, 1358, 597, 261, 12443, 49, 1358, 13, 756, 2934, 17994, 1435, 480, 446, 3719, 5411, 389, 529, 18, 542, 1528, 12443, 12, 49, 1488, 1046, 13, 756, 2934, 17994, 10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void visitIADD(IADD obj) { handleNormalInstruction(obj); }
public void visitIADD(IADD obj) { handleNormalInstruction(obj); }
public void visitIADD(IADD obj) { handleNormalInstruction(obj); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/AbstractFrameModelingVisitor.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 45, 8355, 12, 45, 8355, 1081, 13, 288, 1640, 5506, 11983, 12, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3757, 45, 8355, 12, 45, 8355, 1081, 13, 288, 1640, 5506, 11983, 12, 2603, 1769, 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 ]
switch ( type ) { case IResourceLocator.MESSAGE_FILE : u = getMessageFile( moduleHandle, fileName ); break; default : u = getResource( moduleHandle, fileName ); break; } return u;
public URL findResource( ModuleHandle moduleHandle, String fileName, int type ) { if ( fileName == null ) return null; // try absolute path search try { File f = new File( fileName ); if ( f.isAbsolute( ) ) return f.exists( ) && f.isFile( ) ? f.getCanonicalFile( ) .toURL( ) : null; } catch ( IOException e ) { return null; } // try url search try { URL objURI = new URL( fileName ); if ( isGlobalResource( objURI ) ) return objURI; return tryLocalResourceSearch( objURI ); } catch ( MalformedURLException e ) { // ignore the error } // if module is null, then can not search the resource path or systemId if ( moduleHandle == null ) return tryFragmentSearch( fileName ); // try file search based on resource path, value set on the session // takes the higher priority than that in the module itself String resourcePath = moduleHandle.getModule( ).getSession( ) .getResourceFolder( ); if ( resourcePath == null ) resourcePath = moduleHandle.getResourceFolder( ); if ( resourcePath != null ) { File f = new File( resourcePath, fileName ); try { if ( f.exists( ) && f.isFile( ) ) return f.getCanonicalFile( ).toURL( ); } catch ( IOException e ) { // ignore the error } } // try fragment search URL url = tryFragmentSearch( fileName ); if ( url != null ) return url; // try file search based on path of the input module URL systemId = moduleHandle.getModule( ).getSystemId( ); if ( systemId == null ) return null; try { url = new URL( systemId, URIUtil .convertFileNameToURLString( fileName ) ); if ( isGlobalResource( url ) ) return url; return tryLocalResourceSearch( url ); } catch ( MalformedURLException e ) { // ignore the error } return null; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/489076d625efe0a418663d032003f3a3fd87f8a2/DefaultResourceLocator.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DefaultResourceLocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 1976, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 1104, 1420, 12, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 5924, 8788, 30390, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 1605, 3259, 16, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 514, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 1976, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 805, 294, 582, 273, 5070, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 289, 327, 582, 31, 1104, 1420, 12, 9610, 261, 618, 262, 288, 648, 467, 1420, 5786, 18, 8723, 67, 3776, 294, 582, 273, 2381, 812, 12, 1605, 3259, 16, 3968, 11272, 898, 31, 2 ]
public void actionPerformed(ActionEvent e) { Thread newTh = new Thread(this);
public void actionPerformed(final ActionEvent e) { final Thread newTh = new Thread(this);
public void actionPerformed(ActionEvent e) { Thread newTh = new Thread(this); newTh.run(); }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/IndexManagementHelper.java/clean/src/thaw/plugins/index/IndexManagementHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1082, 202, 3830, 394, 1315, 273, 394, 4884, 12, 2211, 1769,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1082, 202, 3830, 394, 1315, 273, 394, 4884, 12, 2211, 1769, 1082, 202, 2704, 1315, 18, 2681, 5621, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int conversionRequired = 1;
int requiredConversion = Cost.IDENTITY_RANK;
static private void qualificationConversion( Cost cost ) throws DOMException{ boolean canConvert = true; int conversionRequired = 1; //1 means it will work without a conversion, 2 means conversion was needed IPointerType op1, op2; IType s = cost.source, t = cost.target; boolean constInEveryCV2k = true; while( true ){ op1 = null; op2 = null; while( true ){ if( s instanceof ITypedef ) s = ((ITypedef)s).getType(); else { if( s instanceof IPointerType ) op1 = (IPointerType) s; break; } } while( true ){ if( t instanceof ITypedef ) t = ((ITypedef)t).getType(); else { if( t instanceof IPointerType ) op2 = (IPointerType) t; break; } } if( op1 == null && op2 == null ) break; else if( op1 == null ^ op2 == null) { canConvert = false; break; } else if( op1 instanceof ICPPPointerToMemberType ^ op2 instanceof ICPPPointerToMemberType ){ canConvert = false; break; } //if const is in cv1,j then const is in cv2,j. Similary for volatile if( ( op1.isConst() && !op2.isConst() ) || ( op1.isVolatile() && !op2.isVolatile() ) ) { canConvert = false; break; } //if cv1,j and cv2,j are different then const is in every cv2,k for 0<k<j if( !constInEveryCV2k && ( op1.isConst() != op2.isConst() || op1.isVolatile() != op2.isVolatile() ) ) { canConvert = false; break; } constInEveryCV2k &= op2.isConst(); s = op1.getType(); t = op2.getType(); } if( s instanceof IQualifierType ^ t instanceof IQualifierType ){ if( t instanceof IQualifierType ){ canConvert = true; conversionRequired = 2; } else { //4.2-2 a string literal can be converted to pointer to char if( t instanceof IBasicType && ((IBasicType)t).getType() == IBasicType.t_char && s instanceof IQualifierType ) { IType qt = ((IQualifierType)s).getType(); if( qt instanceof IBasicType ){ IASTExpression val = ((IBasicType)qt).getValue(); canConvert = (val != null && val instanceof IASTLiteralExpression && ((IASTLiteralExpression)val).getKind() == IASTLiteralExpression.lk_string_literal ); } else { canConvert = false; } } else canConvert = false; } } else if( s instanceof IQualifierType && t instanceof IQualifierType ){ IQualifierType qs = (IQualifierType) s, qt = (IQualifierType) t; if( qs.isConst() && !qt.isConst() || qs.isVolatile() && !qt.isVolatile() ) canConvert = false; else if( qs.isConst() == qt.isConst() && qs.isVolatile() == qt.isVolatile() ) conversionRequired = 1; else conversionRequired = 2; } else if( constInEveryCV2k && !canConvert ){ canConvert = true; conversionRequired = 2; int i = 1; for( IType type = s; canConvert == true && i == 1; type = t, i++ ){ while( type instanceof ITypeContainer ){ if( type instanceof IQualifierType ) canConvert = false; else if( type instanceof IPointerType ){ canConvert = !((IPointerType)type).isConst() && !((IPointerType)type).isVolatile(); } if( !canConvert ) break; type = ((ITypeContainer)type).getType(); } } } if( canConvert == true ){ cost.qualification = conversionRequired; cost.rank = Cost.LVALUE_OR_QUALIFICATION_RANK; } else { cost.qualification = 0; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a857f476415405a2b7dcdff53867416683d7ec6d/CPPSemantics.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPSemantics.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 3238, 918, 4544, 1480, 6814, 12, 28108, 6991, 262, 1216, 4703, 503, 95, 202, 202, 6494, 848, 2723, 273, 638, 31, 202, 202, 474, 1931, 6814, 273, 28108, 18, 29413, 67, 54, 20201, 31, 225, 368, 21, 4696, 518, 903, 1440, 2887, 279, 4105, 16, 576, 4696, 4105, 1703, 3577, 202, 202, 2579, 2480, 559, 1061, 21, 16, 1061, 22, 31, 202, 202, 45, 559, 272, 273, 6991, 18, 3168, 16, 268, 273, 6991, 18, 3299, 31, 202, 202, 6494, 1866, 382, 21465, 22007, 22, 79, 273, 638, 31, 202, 202, 17523, 12, 638, 262, 95, 9506, 1061, 21, 273, 446, 31, 9506, 1061, 22, 273, 446, 31, 9506, 1323, 12, 638, 262, 95, 9506, 225, 202, 430, 12, 272, 1276, 467, 559, 536, 262, 6862, 3196, 202, 87, 273, 14015, 45, 559, 536, 13, 87, 2934, 588, 559, 5621, 9506, 225, 202, 12107, 288, 9506, 3196, 202, 430, 12, 272, 1276, 2971, 2480, 559, 262, 25083, 1875, 202, 556, 21, 273, 261, 2579, 2480, 559, 13, 272, 31, 6862, 3196, 202, 8820, 31, 9506, 225, 202, 97, 9506, 289, 9506, 1323, 12, 638, 262, 95, 9506, 225, 202, 430, 12, 268, 1276, 467, 559, 536, 262, 6862, 3196, 202, 88, 273, 14015, 45, 559, 536, 13, 88, 2934, 588, 559, 5621, 9506, 225, 202, 12107, 288, 9506, 3196, 202, 430, 12, 268, 1276, 2971, 2480, 559, 262, 25083, 1875, 202, 556, 22, 273, 261, 2579, 2480, 559, 13, 268, 31, 6862, 3196, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 3238, 918, 4544, 1480, 6814, 12, 28108, 6991, 262, 1216, 4703, 503, 95, 202, 202, 6494, 848, 2723, 273, 638, 31, 202, 202, 474, 1931, 6814, 273, 28108, 18, 29413, 67, 54, 20201, 31, 225, 368, 21, 4696, 518, 903, 1440, 2887, 279, 4105, 16, 576, 4696, 4105, 1703, 3577, 202, 202, 2579, 2480, 559, 1061, 21, 16, 1061, 22, 31, 202, 202, 45, 559, 272, 273, 6991, 18, 3168, 16, 268, 273, 6991, 18, 3299, 31, 202, 202, 6494, 1866, 382, 21465, 22007, 22, 79, 273, 638, 31, 202, 202, 17523, 12, 638, 262, 95, 9506, 1061, 21, 273, 446, 31, 9506, 1061, 22, 273, 446, 31, 9506, 1323, 12, 638, 262, 95, 9506, 225, 2 ]
result /= 5; if (result / 2 <= tics)
tics /= 5; if (tics / 2 <= range / maxNumberTics)
private double getTics(double range, int maxNumberTics) { maxNumberTics = Math.max(2, maxNumberTics); double tics = range / maxNumberTics; if (tics < 0.5) { double result = 0.5; while (result / 5 > tics) { result /= 5; if (result / 2 <= tics) break; result /= 2; } return result; } double result = 0.5; while (result < tics) { result *= 2; if (result >= tics) break; result *= 5; } return result; }
48906 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48906/99f2a2d420b7e944c0c7157045301715eec3e927/Plot.java/clean/src/net/sf/gogui/gtpstatistics/Plot.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3181, 2102, 12, 9056, 1048, 16, 509, 943, 1854, 56, 2102, 13, 565, 288, 3639, 943, 1854, 56, 2102, 273, 2361, 18, 1896, 12, 22, 16, 943, 1854, 56, 2102, 1769, 3639, 1645, 268, 2102, 273, 1048, 342, 943, 1854, 56, 2102, 31, 3639, 309, 261, 88, 2102, 411, 374, 18, 25, 13, 3639, 288, 5411, 1645, 563, 273, 374, 18, 25, 31, 5411, 1323, 261, 2088, 342, 1381, 405, 268, 2102, 13, 5411, 288, 7734, 563, 9531, 1381, 31, 7734, 309, 261, 2088, 342, 576, 1648, 268, 2102, 13, 10792, 898, 31, 7734, 563, 9531, 576, 31, 5411, 289, 5411, 327, 563, 31, 3639, 289, 3639, 1645, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3181, 2102, 12, 9056, 1048, 16, 509, 943, 1854, 56, 2102, 13, 565, 288, 3639, 943, 1854, 56, 2102, 273, 2361, 18, 1896, 12, 22, 16, 943, 1854, 56, 2102, 1769, 3639, 1645, 268, 2102, 273, 1048, 342, 943, 1854, 56, 2102, 31, 3639, 309, 261, 88, 2102, 411, 374, 18, 25, 13, 3639, 288, 5411, 1645, 563, 273, 374, 18, 25, 31, 5411, 1323, 261, 2088, 342, 1381, 405, 268, 2102, 13, 5411, 288, 7734, 563, 9531, 1381, 31, 7734, 309, 261, 2088, 342, 576, 1648, 268, 2102, 13, 10792, 898, 31, 7734, 563, 9531, 576, 31, 5411, 289, 5411, 327, 563, 31, 3639, 289, 3639, 1645, 563, 273, 374, 18, 25, 31, 3639, 1323, 2 ]
scaffoldViewResolver.resolveViewForUriAndAction(request.getRequestURI(), actionName),
scaffoldViewResolver.resolveViewForUriAndAction(uri, actionName),
public ModelAndView handleResponse(HttpServletRequest request, HttpServletResponse response, String actionName, Map model) { if(scaffoldViewResolver == null) throw new IllegalStateException("Property [viewResolver] is required to be set, but is null"); return new ModelAndView( scaffoldViewResolver.resolveViewForUriAndAction(request.getRequestURI(), actionName), model ); }
55385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55385/8f437ade5e2fd07aeb51b071528e08fc29c1a205/ViewDelegatingScaffoldResponseHandler.java/clean/src/scaffolding/org/codehaus/groovy/grails/scaffolding/ViewDelegatingScaffoldResponseHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 1876, 1767, 1640, 1064, 12, 2940, 18572, 590, 16, 1082, 202, 2940, 29910, 766, 16, 514, 15451, 16, 1635, 938, 13, 288, 202, 202, 430, 12, 31105, 1767, 4301, 422, 446, 13, 1082, 202, 12849, 394, 5477, 2932, 1396, 306, 1945, 4301, 65, 353, 1931, 358, 506, 444, 16, 1496, 353, 446, 8863, 25083, 202, 2463, 394, 3164, 1876, 1767, 12, 9506, 202, 31105, 1767, 4301, 18, 10828, 1767, 1290, 3006, 1876, 1803, 12, 1650, 16, 15451, 3631, 4405, 202, 2284, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 1876, 1767, 1640, 1064, 12, 2940, 18572, 590, 16, 1082, 202, 2940, 29910, 766, 16, 514, 15451, 16, 1635, 938, 13, 288, 202, 202, 430, 12, 31105, 1767, 4301, 422, 446, 13, 1082, 202, 12849, 394, 5477, 2932, 1396, 306, 1945, 4301, 65, 353, 1931, 358, 506, 444, 16, 1496, 353, 446, 8863, 25083, 202, 2463, 394, 3164, 1876, 1767, 12, 9506, 202, 31105, 1767, 4301, 18, 10828, 1767, 1290, 3006, 1876, 1803, 12, 1650, 16, 15451, 3631, 4405, 202, 2284, 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 ]
IViewPart view= activePage.findView(VIEW_ID);
IViewPart view= activePage.findView(ID);
public static ActiveSearchView getFromActivePerspective() { if (Workbench.getInstance() == null) return null; IWorkbenchPage activePage= Workbench.getInstance().getActiveWorkbenchWindow().getActivePage(); if (activePage == null) return null; IViewPart view= activePage.findView(VIEW_ID); if (view instanceof ActiveSearchView) return (ActiveSearchView)view; return null; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/e40ee170df5b0b246911e0d6c664dc75ba57db2f/ActiveSearchView.java/clean/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/ui/views/ActiveSearchView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 8857, 2979, 1767, 11859, 3896, 14781, 16772, 1435, 288, 377, 202, 430, 261, 2421, 22144, 18, 588, 1442, 1435, 422, 446, 13, 327, 446, 31, 377, 202, 45, 2421, 22144, 1964, 2695, 1964, 33, 4147, 22144, 18, 588, 1442, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 3639, 309, 261, 3535, 1964, 422, 446, 13, 5411, 327, 446, 31, 3639, 467, 1767, 1988, 1476, 33, 2695, 1964, 18, 4720, 1767, 12, 734, 1769, 3639, 309, 261, 1945, 1276, 8857, 2979, 1767, 13, 5411, 327, 261, 3896, 2979, 1767, 13, 1945, 31, 3639, 327, 446, 31, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 22144, 3829, 7675, 588, 3896, 1964, 5621, 3639, 309, 261, 3535, 1964, 422, 446, 13, 5411, 327, 446, 31, 3639, 467, 1767, 1988, 1476, 33, 2695, 1964, 18, 4720, 1767, 12, 734, 1769, 3639, 309, 261, 1945, 1276, 8857, 2979, 1767, 13, 5411, 327, 261, 3896, 2979, 1767, 13, 1945, 31, 3639, 327, 446, 31, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static RubyClass createHashClass(Ruby ruby) { RubyClass hashClass = ruby.defineClass("Hash", ruby.getClasses().getObjectClass());// rb_include_module(rb_cHash, rb_mEnumerable); hashClass.defineSingletonMethod("new", CallbackFactory.getOptSingletonMethod(RubyHash.class, "newInstance")); hashClass.defineSingletonMethod("[]", CallbackFactory.getOptSingletonMethod(RubyHash.class, "create")); hashClass.defineMethod("initialize", CallbackFactory.getOptMethod(RubyHash.class, "initialize")); // rb_define_method(rb_cHash,"clone", rb_hash_clone, 0);// rb_define_method(rb_cHash,"rehash", rb_hash_rehash, 0); hashClass.defineMethod("to_hash", CallbackFactory.getMethod(RubyHash.class, "to_hash")); hashClass.defineMethod("to_a", CallbackFactory.getMethod(RubyHash.class, "to_a")); hashClass.defineMethod("to_s", CallbackFactory.getMethod(RubyHash.class, "to_s")); hashClass.defineMethod("inspect", CallbackFactory.getMethod(RubyHash.class, "inspect"));// rb_define_method(rb_cHash,"==", rb_hash_equal, 1); hashClass.defineMethod("[]", CallbackFactory.getMethod(RubyHash.class, "aref", RubyObject.class));// rb_define_method(rb_cHash,"fetch", rb_hash_fetch, -1); hashClass.defineMethod("[]=", CallbackFactory.getMethod(RubyHash.class, "aset", RubyObject.class, RubyObject.class)); hashClass.defineMethod("store", CallbackFactory.getMethod(RubyHash.class, "aset", RubyObject.class, RubyObject.class));// rb_define_method(rb_cHash,"default", rb_hash_default, 0);// rb_define_method(rb_cHash,"default=", rb_hash_set_default, 1);// rb_define_method(rb_cHash,"index", rb_hash_index, 1);// rb_define_method(rb_cHash,"indexes", rb_hash_indexes, -1);// rb_define_method(rb_cHash,"indices", rb_hash_indexes, -1); hashClass.defineMethod("size", CallbackFactory.getMethod(RubyHash.class, "size")); hashClass.defineMethod("length", CallbackFactory.getMethod(RubyHash.class, "size")); hashClass.defineMethod("empty?", CallbackFactory.getMethod(RubyHash.class, "empty_p"));// rb_define_method(rb_cHash,"each", rb_hash_each_pair, 0);// rb_define_method(rb_cHash,"each_value", rb_hash_each_value, 0);// rb_define_method(rb_cHash,"each_key", rb_hash_each_key, 0);// rb_define_method(rb_cHash,"each_pair", rb_hash_each_pair, 0);// rb_define_method(rb_cHash,"sort", rb_hash_sort, 0);// rb_define_method(rb_cHash,"keys", rb_hash_keys, 0);// rb_define_method(rb_cHash,"values", rb_hash_values, 0);// rb_define_method(rb_cHash,"shift", rb_hash_shift, 0);// rb_define_method(rb_cHash,"delete", rb_hash_delete, 1);// rb_define_method(rb_cHash,"delete_if", rb_hash_delete_if, 0);// rb_define_method(rb_cHash,"reject", rb_hash_reject, 0);// rb_define_method(rb_cHash,"reject!", rb_hash_reject_bang, 0);// rb_define_method(rb_cHash,"clear", rb_hash_clear, 0);// rb_define_method(rb_cHash,"invert", rb_hash_invert, 0);// rb_define_method(rb_cHash,"update", rb_hash_update, 1);// rb_define_method(rb_cHash,"replace", rb_hash_replace, 1);// rb_define_method(rb_cHash,"include?", rb_hash_has_key, 1);// rb_define_method(rb_cHash,"member?", rb_hash_has_key, 1);// rb_define_method(rb_cHash,"has_key?", rb_hash_has_key, 1);// rb_define_method(rb_cHash,"has_value?", rb_hash_has_value, 1);// rb_define_method(rb_cHash,"key?", rb_hash_has_key, 1);// rb_define_method(rb_cHash,"value?", rb_hash_has_value, 1); return hashClass; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/6f48980923c4b06bac2890165c858310895f9a14/RubyHash.java/clean/org/jruby/RubyHash.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19817, 797, 752, 2310, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 1651, 797, 273, 22155, 18, 11255, 797, 2932, 2310, 3113, 22155, 18, 588, 4818, 7675, 588, 921, 797, 10663, 759, 565, 7138, 67, 6702, 67, 2978, 12, 6731, 67, 71, 2310, 16, 7138, 67, 81, 3572, 25121, 1769, 3639, 1651, 797, 18, 11255, 19571, 1305, 2932, 2704, 3113, 8444, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 2704, 1442, 7923, 1769, 3639, 1651, 797, 18, 11255, 19571, 1305, 2932, 8526, 3113, 8444, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 2640, 7923, 1769, 3639, 1651, 797, 18, 11255, 1305, 2932, 11160, 3113, 8444, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 11160, 7923, 1769, 377, 368, 565, 7138, 67, 11255, 67, 2039, 12, 6731, 67, 71, 2310, 10837, 14056, 3113, 7138, 67, 2816, 67, 14056, 16, 374, 1769, 759, 565, 7138, 67, 11255, 67, 2039, 12, 6731, 67, 71, 2310, 10837, 266, 2816, 3113, 7138, 67, 2816, 67, 266, 2816, 16, 374, 1769, 3639, 1651, 797, 18, 11255, 1305, 2932, 869, 67, 2816, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 869, 67, 2816, 7923, 1769, 3639, 1651, 797, 18, 11255, 1305, 2932, 869, 67, 69, 3113, 8444, 1733, 18, 588, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 869, 67, 69, 7923, 1769, 3639, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19817, 797, 752, 2310, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 1651, 797, 273, 22155, 18, 11255, 797, 2932, 2310, 3113, 22155, 18, 588, 4818, 7675, 588, 921, 797, 10663, 759, 565, 7138, 67, 6702, 67, 2978, 12, 6731, 67, 71, 2310, 16, 7138, 67, 81, 3572, 25121, 1769, 3639, 1651, 797, 18, 11255, 19571, 1305, 2932, 2704, 3113, 8444, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 2704, 1442, 7923, 1769, 3639, 1651, 797, 18, 11255, 19571, 1305, 2932, 8526, 3113, 8444, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 2310, 18, 1106, 16, 315, 2640, 7923, 1769, 3639, 1651, 797, 18, 11255, 1305, 2 ]
setSize(((Float)newValue).floatValue());
setSize(((Float) newValue).floatValue());
public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case AttributePackage.FONT_DEFINITION__NAME: setName((String)newValue); return; case AttributePackage.FONT_DEFINITION__SIZE: setSize(((Float)newValue).floatValue()); return; case AttributePackage.FONT_DEFINITION__BOLD: setBold(((Boolean)newValue).booleanValue()); return; case AttributePackage.FONT_DEFINITION__ITALIC: setItalic(((Boolean)newValue).booleanValue()); return; case AttributePackage.FONT_DEFINITION__STRIKETHROUGH: setStrikethrough(((Boolean)newValue).booleanValue()); return; case AttributePackage.FONT_DEFINITION__UNDERLINE: setUnderline(((Boolean)newValue).booleanValue()); return; case AttributePackage.FONT_DEFINITION__WORD_WRAP: setWordWrap(((Boolean)newValue).booleanValue()); return; case AttributePackage.FONT_DEFINITION__ALIGNMENT: setAlignment((TextAlignment)newValue); return; case AttributePackage.FONT_DEFINITION__ROTATION: setRotation(((Double)newValue).doubleValue()); return; } eDynamicSet(eFeature, newValue); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/FontDefinitionImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/FontDefinitionImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 1985, 30, 7734, 6788, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 4574, 30, 7734, 19106, 12443, 12, 4723, 13, 6129, 2934, 5659, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 38, 11846, 30, 7734, 15268, 1673, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 1285, 1013, 2871, 30, 7734, 444, 7193, 21466, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 15765, 47, 1584, 44, 1457, 57, 16715, 30, 7734, 444, 1585, 1766, 546, 2642, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 31625, 5997, 30, 7734, 444, 14655, 1369, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 7952, 67, 27664, 30, 7734, 444, 3944, 2964, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 26439, 3212, 30, 7734, 444, 11535, 12443, 1528, 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, 20199, 12, 41, 14372, 4595, 425, 4595, 16, 1033, 6129, 13, 565, 288, 3639, 1620, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 3639, 288, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 1985, 30, 7734, 6788, 12443, 780, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 4574, 30, 7734, 19106, 12443, 12, 4723, 13, 6129, 2934, 5659, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 38, 11846, 30, 7734, 15268, 1673, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 3601, 2261, 18, 25221, 67, 25312, 972, 1285, 1013, 2871, 30, 7734, 2 ]
public NodeIterator getNodeValueIterator(NodeIterator iterator,
public NodeIterator getNodeValueIterator(NodeIterator iterator, int type,
public NodeIterator getNodeValueIterator(NodeIterator iterator, String value, boolean op) { return(new NodeValueIterator(iterator, value, op)); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/3b76ccf0fb42918c762d62aa3697cbd60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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 3198, 28587, 3198, 12, 907, 3198, 2775, 16, 25083, 377, 514, 460, 16, 1250, 1061, 13, 288, 202, 2463, 12, 2704, 2029, 620, 3198, 12, 9838, 16, 460, 16, 1061, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return Collections.EMPTY_LIST;
return EMPTY_LIST;
public List childNodes() { return Collections.EMPTY_LIST; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/b1293eda8454686e846e2a9837b348e2983bb423/DVarNode.java/clean/src/org/jruby/ast/DVarNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 10582, 1435, 288, 3639, 327, 8984, 67, 7085, 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, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 987, 10582, 1435, 288, 3639, 327, 8984, 67, 7085, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private void createResourcesSection(Composite parent, FormToolkit toolkit) { Section section = toolkit.createSection(parent, ExpandableComposite.TITLE_BAR | Section.TWISTIE); section.setText("Resources"); section.setLayout(new GridLayout()); section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); section.addExpansionListener(new IExpansionListener() { public void expansionStateChanging(ExpansionEvent e) { form.reflow(true); } public void expansionStateChanged(ExpansionEvent e) { form.reflow(true); } }); Composite container = toolkit.createComposite(section); section.setClient(container); GridLayout layout = new GridLayout(); layout.numColumns = 2; container.setLayout(layout); container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Label l2 = toolkit.createLabel(container, "Task context file:"); l2.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); File contextFile = ContextCorePlugin.getContextManager().getFileForContext(task.getHandleIdentifier()); // String contextPath = ContextCorePlugin.getDefault().getDataDirectory() // + '/' + task.getContextPath() + // MylarContextManager.CONTEXT_FILE_EXTENSION; if (contextFile != null) { pathText = toolkit.createText(container, contextFile.getAbsolutePath(), SWT.NONE); pathText.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); pathText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); pathText.setEditable(false); pathText.setEnabled(false); } toolkit.paintBordersFor(container); // browse = toolkit.createButton(container, "Change", SWT.PUSH | // SWT.CENTER); // if (task.isActive()) { // browse.setEnabled(false); // } else { // browse.setEnabled(true); // } // browse.addSelectionListener(new SelectionAdapter() { // @Override // public void widgetSelected(SelectionEvent e) { // // if (task.isActive()) { // MessageDialog.openInformation(Display.getDefault().getActiveShell(), // "Task Message", // "Task can not be active when changing taskscape"); // } else { // FileDialog dialog = new // FileDialog(Display.getDefault().getActiveShell(), SWT.OPEN); // String[] ext = { "*.xml" }; // dialog.setFilterExtensions(ext); // // String mylarDir = ContextCorePlugin.getDefault().getDataDirectory() + "/"; // mylarDir = mylarDir.replaceAll("\\\\", "/"); // dialog.setFilterPath(mylarDir); // // String res = dialog.open(); // if (res != null) { // res = res.replaceAll("\\\\", "/"); // pathText.setText("<MylarDir>/" + res + ".xml"); // markDirty(true); // } // } // } // }); // toolkit.createLabel(container, ""); // l = toolkit.createLabel(container, "Go to Task List Preferences to // change task context directory"); // l.setForeground(toolkit.getColors().getColor(FormColors.TITLE)); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/d3993ba876d0097975ecf17bfe92bae050bccc25/TaskPlanningEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 225, 918, 225, 752, 3805, 5285, 12, 9400, 225, 982, 16, 225, 2748, 6364, 8691, 225, 5226, 8691, 13, 225, 288, 202, 202, 5285, 225, 2442, 225, 273, 225, 5226, 8691, 18, 2640, 5285, 12, 2938, 16, 225, 16429, 429, 9400, 18, 14123, 67, 21908, 225, 571, 225, 10092, 18, 18869, 5511, 8732, 1769, 202, 202, 3464, 18, 542, 1528, 2932, 3805, 8863, 202, 202, 3464, 18, 542, 3744, 12, 2704, 225, 7145, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 225, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 3464, 18, 1289, 2966, 12162, 2223, 12, 2704, 225, 467, 2966, 12162, 2223, 1435, 225, 288, 1082, 202, 482, 225, 918, 225, 17965, 1119, 782, 18183, 12, 2966, 12162, 1133, 225, 425, 13, 225, 288, 9506, 202, 687, 18, 1734, 821, 12, 3767, 1769, 1082, 202, 97, 1082, 202, 482, 225, 918, 225, 17965, 1119, 5033, 12, 2966, 12162, 1133, 225, 425, 13, 225, 288, 9506, 202, 687, 18, 1734, 821, 12, 3767, 1769, 1082, 202, 97, 202, 202, 22938, 202, 202, 9400, 225, 1478, 225, 273, 225, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 202, 202, 3464, 18, 542, 1227, 12, 3782, 1769, 202, 202, 6313, 3744, 225, 3511, 225, 273, 225, 394, 225, 7145, 3744, 5621, 202, 202, 6741, 18, 2107, 3380, 225, 273, 225, 576, 31, 202, 202, 3782, 18, 542, 3744, 12, 6741, 1769, 202, 202, 3782, 18, 542, 3744, 751, 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, 225, 918, 225, 752, 3805, 5285, 12, 9400, 225, 982, 16, 225, 2748, 6364, 8691, 225, 5226, 8691, 13, 225, 288, 202, 202, 5285, 225, 2442, 225, 273, 225, 5226, 8691, 18, 2640, 5285, 12, 2938, 16, 225, 16429, 429, 9400, 18, 14123, 67, 21908, 225, 571, 225, 10092, 18, 18869, 5511, 8732, 1769, 202, 202, 3464, 18, 542, 1528, 2932, 3805, 8863, 202, 202, 3464, 18, 542, 3744, 12, 2704, 225, 7145, 3744, 10663, 202, 202, 3464, 18, 542, 3744, 751, 12, 2704, 225, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 10019, 202, 202, 3464, 18, 1289, 2966, 12162, 2223, 12, 2704, 225, 467, 2966, 12162, 2223, 1435, 225, 288, 1082, 202, 2 ]
public void setFrequency(long l) { if (l <= 0) {
public void setFrequency(long l) { if (l <= 0) {
public void setFrequency(long l) { if (l <= 0) { frequency = DEFAULT_POLL_FREQUENCY; } else { frequency = l; } }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/5469dd005aa4f69700fdbd3782117cce20e16533/PollingMessageReceiver.java/buggy/mule/src/java/org/mule/providers/PollingMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 13865, 12, 5748, 328, 13, 565, 288, 3639, 309, 261, 80, 1648, 374, 13, 3639, 288, 5411, 8670, 273, 3331, 67, 14232, 48, 67, 42, 862, 3500, 26325, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 8670, 273, 328, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 13865, 12, 5748, 328, 13, 565, 288, 3639, 309, 261, 80, 1648, 374, 13, 3639, 288, 5411, 8670, 273, 3331, 67, 14232, 48, 67, 42, 862, 3500, 26325, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 8670, 273, 328, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 StringBuffer describeTo(StringBuffer buffer) {
public StringBuffer describeTo( StringBuffer buffer ) {
public StringBuffer describeTo(StringBuffer buffer) { describeToBuffer.setActual(buffer); buffer.append(describeToOutput); return buffer; }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/MockInvocationMatcher.java/clean/jmock/core/src/test/jmock/core/testsupport/MockInvocationMatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6674, 6401, 774, 12, 780, 1892, 1613, 13, 288, 202, 202, 22748, 774, 1892, 18, 542, 11266, 12, 4106, 1769, 202, 202, 4106, 18, 6923, 12, 22748, 774, 1447, 1769, 202, 202, 2463, 1613, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6674, 6401, 774, 12, 780, 1892, 1613, 13, 288, 202, 202, 22748, 774, 1892, 18, 542, 11266, 12, 4106, 1769, 202, 202, 4106, 18, 6923, 12, 22748, 774, 1447, 1769, 202, 202, 2463, 1613, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
handler.xmlDecl(version, encodingName, docIsStandalone, inputEncoding);
private String parseXMLDecl(boolean ignoreEncoding) throws SAXException, IOException { String version; String encodingName = null; String standalone = null; int flags = LIT_DISABLE_CREF | LIT_DISABLE_PE | LIT_DISABLE_EREF; String inputEncoding = null; switch (this.encoding) { case ENCODING_EXTERNAL: case ENCODING_UTF_8: inputEncoding = "UTF-8"; break; case ENCODING_ISO_8859_1: inputEncoding = "ISO-8859-1"; break; case ENCODING_UCS_2_12: inputEncoding = "UTF-16BE"; break; case ENCODING_UCS_2_21: inputEncoding = "UTF-16LE"; break; } // Read the version. require("version"); parseEq(); checkLegalVersion(version = readLiteral(flags)); if (!version.equals("1.0")) { if (version.equals("1.1")) { handler.warn("expected XML version 1.0, not: " + version); xmlVersion = XML_11; } else { error("illegal XML version", version, "1.0 or 1.1"); } } else { xmlVersion = XML_10; } // Try reading an encoding declaration. boolean white = tryWhitespace(); if (tryRead("encoding")) { if (!white) { error("whitespace required before 'encoding='"); } parseEq(); encodingName = readLiteral(flags); if (!ignoreEncoding) { setupDecoding(encodingName); } } // Try reading a standalone declaration if (encodingName != null) { white = tryWhitespace(); } if (tryRead("standalone")) { if (!white) { error("whitespace required before 'standalone='"); } parseEq(); standalone = readLiteral(flags); if ("yes".equals(standalone)) { docIsStandalone = true; } else if (!"no".equals(standalone)) { error("standalone flag must be 'yes' or 'no'"); } } skipWhitespace(); require("?>"); if (inputEncoding == null) { inputEncoding = encodingName; } handler.xmlDecl(version, encodingName, docIsStandalone, inputEncoding); return encodingName; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/XmlParser.java/clean/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 1109, 4201, 3456, 12, 6494, 2305, 4705, 13, 565, 1216, 14366, 16, 1860, 565, 288, 202, 780, 202, 1589, 31, 202, 780, 202, 5999, 461, 273, 446, 31, 202, 780, 202, 10145, 12451, 273, 446, 31, 202, 474, 202, 7133, 273, 511, 1285, 67, 13498, 2782, 67, 5458, 42, 571, 511, 1285, 67, 13498, 2782, 67, 1423, 571, 511, 1285, 67, 13498, 2782, 67, 654, 26897, 31, 3639, 514, 810, 4705, 273, 446, 31, 7734, 1620, 261, 2211, 18, 5999, 13, 1850, 288, 1850, 648, 22810, 67, 2294, 11702, 30, 1850, 648, 22810, 67, 5159, 67, 28, 30, 5411, 810, 4705, 273, 315, 5159, 17, 28, 14432, 5411, 898, 31, 1850, 648, 22810, 67, 12609, 67, 17258, 67, 21, 30, 5411, 810, 4705, 273, 315, 12609, 17, 17258, 17, 21, 14432, 5411, 898, 31, 1850, 648, 22810, 67, 57, 4596, 67, 22, 67, 2138, 30, 5411, 810, 4705, 273, 315, 5159, 17, 2313, 5948, 14432, 5411, 898, 31, 1850, 648, 22810, 67, 57, 4596, 67, 22, 67, 5340, 30, 5411, 810, 4705, 273, 315, 5159, 17, 2313, 900, 14432, 5411, 898, 31, 1850, 289, 202, 759, 2720, 326, 1177, 18, 565, 2583, 2932, 1589, 8863, 565, 1109, 19508, 5621, 565, 866, 30697, 1444, 12, 1589, 273, 855, 6177, 12, 7133, 10019, 565, 309, 16051, 1589, 18, 14963, 2932, 21, 18, 20, 6, 3719, 1377, 288, 3639, 309, 261, 1589, 18, 14963, 2932, 21, 18, 21, 6, 3719, 1850, 288, 5411, 1838, 18, 8935, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 514, 1109, 4201, 3456, 12, 6494, 2305, 4705, 13, 565, 1216, 14366, 16, 1860, 565, 288, 202, 780, 202, 1589, 31, 202, 780, 202, 5999, 461, 273, 446, 31, 202, 780, 202, 10145, 12451, 273, 446, 31, 202, 474, 202, 7133, 273, 511, 1285, 67, 13498, 2782, 67, 5458, 42, 571, 511, 1285, 67, 13498, 2782, 67, 1423, 571, 511, 1285, 67, 13498, 2782, 67, 654, 26897, 31, 3639, 514, 810, 4705, 273, 446, 31, 7734, 1620, 261, 2211, 18, 5999, 13, 1850, 288, 1850, 648, 22810, 67, 2294, 11702, 30, 1850, 648, 22810, 67, 5159, 67, 28, 30, 5411, 810, 4705, 273, 315, 5159, 17, 28, 14432, 5411, 898, 31, 1850, 648, 22810, 67, 12609, 67, 2 ]
if ( DesignChoiceConstants.FONT_SIZE_MEDIUM .equals( DesignerConstants.fontSizes[i][0] ) )
if ( DesignChoiceConstants.FONT_SIZE_MEDIUM.equals( DesignerConstants.fontSizes[i][0] ) )
private static String getLargerFontSize( DesignElementHandle handle ) { if ( !( handle instanceof ReportItemHandle ) ) { if ( handle instanceof ModuleHandle ) { for ( int i = 0; i < DesignerConstants.fontSizes.length - 1; i++ ) { if ( DesignChoiceConstants.FONT_SIZE_MEDIUM .equals( DesignerConstants.fontSizes[i][0] ) ) { return DesignerConstants.fontSizes[i + 1][0]; } } } if ( handle instanceof GroupHandle ) { handle = handle.getContainer( ); } } Object fontSizeValue = getModelFontSize( handle ); if ( fontSizeValue instanceof DimensionValue ) { int parentSize = getFontSizeIntValue( handle.getContainer( ) ); int size = (int) CSSUtil.convertToPoint( fontSizeValue, parentSize ) + 1; DimensionValue dm = new DimensionValue( size, "pt" ); //$NON-NLS-1$ return dm.toString( ); } else if ( fontSizeValue instanceof String ) { String fontSize = (String) fontSizeValue; if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_LARGER ) ) { return getLargerFontSize( handle.getContainer( ) ); } else if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_SMALLER ) ) { return getSmallerFontSize( handle.getContainer( ) ); } else { for ( int i = 0; i < DesignerConstants.fontSizes.length - 1; i++ ) { if ( fontSize.equals( DesignerConstants.fontSizes[i][0] ) ) { return DesignerConstants.fontSizes[i + 1][0]; } } return DesignerConstants.fontSizes[DesignerConstants.fontSizes.length - 1][0]; } } else { return DesignChoiceConstants.FONT_SIZE_MEDIUM; } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/65c31b53af468bafee3d7b3a9d5249824989932a/DEUtil.java/clean/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 9014, 297, 693, 22688, 12, 29703, 1046, 3259, 1640, 262, 202, 95, 202, 202, 430, 261, 401, 12, 1640, 1276, 8706, 1180, 3259, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 1640, 1276, 5924, 3259, 262, 1082, 202, 95, 9506, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 29703, 264, 2918, 18, 5776, 11923, 18, 2469, 300, 404, 31, 277, 9904, 262, 9506, 202, 95, 6862, 202, 430, 261, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 6862, 1082, 202, 18, 14963, 12, 29703, 264, 2918, 18, 5776, 11923, 63, 77, 6362, 20, 65, 262, 262, 6862, 202, 95, 25083, 202, 2463, 29703, 264, 2918, 18, 5776, 11923, 63, 77, 397, 404, 6362, 20, 15533, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 1640, 1276, 3756, 3259, 262, 1082, 202, 95, 9506, 202, 4110, 273, 1640, 18, 588, 2170, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 921, 16746, 620, 273, 7454, 22688, 12, 1640, 11272, 202, 202, 430, 261, 16746, 620, 1276, 13037, 620, 262, 202, 202, 95, 1082, 202, 474, 982, 1225, 273, 18776, 1225, 1702, 620, 12, 1640, 18, 588, 2170, 12, 262, 11272, 1082, 202, 474, 963, 273, 261, 474, 13, 6765, 1304, 18, 6283, 774, 2148, 12, 16746, 620, 16, 982, 1225, 262, 397, 404, 31, 1082, 202, 8611, 620, 9113, 273, 394, 13037, 620, 12, 963, 16, 315, 337, 6, 11272, 4329, 3993, 17, 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, 760, 514, 9014, 297, 693, 22688, 12, 29703, 1046, 3259, 1640, 262, 202, 95, 202, 202, 430, 261, 401, 12, 1640, 1276, 8706, 1180, 3259, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 1640, 1276, 5924, 3259, 262, 1082, 202, 95, 9506, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 29703, 264, 2918, 18, 5776, 11923, 18, 2469, 300, 404, 31, 277, 9904, 262, 9506, 202, 95, 6862, 202, 430, 261, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 6862, 1082, 202, 18, 14963, 12, 29703, 264, 2918, 18, 5776, 11923, 63, 77, 6362, 20, 65, 262, 262, 6862, 202, 95, 25083, 202, 2463, 29703, 264, 2918, 18, 5776, 11923, 63, 2 ]
qPos.add(approved); qPos.add(approved); qPos.add(expired); qPos.add(expired);
if (approved != null) { qPos.add(approved); } if (expired != null) { qPos.add(expired); }
public static int countByC_A_V_G_T_C_T_S_T_D_A_E_R( String companyId, String articleId, Double version, String groupId, String title, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, Boolean approved, Boolean expired, Date reviewDate, boolean andOperator) throws SystemException { articleId = StringUtil.upperCase(articleId); title = StringUtil.lowerCase(title); content = StringUtil.lowerCase(content); Timestamp displayDateGT_TS = CalendarUtil.getTimestamp(displayDateGT); Timestamp displayDateLT_TS = CalendarUtil.getTimestamp(displayDateLT); Timestamp reviewDate_TS = CalendarUtil.getTimestamp(reviewDate); Session session = null; try { session = HibernateUtil.openSession(); String sql = CustomSQLUtil.get(COUNT_BY_C_A_V_G_T_C_T_S_T_D_A_E_R); if (version == null) { sql = StringUtil.replace( sql, "(version = ?) [$AND_OR_CONNECTOR$]", ""); } sql = CustomSQLUtil.replaceAndOperator(sql, andOperator); SQLQuery q = session.createSQLQuery(sql); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.INTEGER); QueryPos qPos = QueryPos.getInstance(q); qPos.add(companyId); qPos.add(articleId); qPos.add(articleId); if (version != null) { qPos.add(version); } qPos.add(groupId); qPos.add(groupId); qPos.add(title); qPos.add(title); qPos.add(content); qPos.add(content); qPos.add(type); qPos.add(type); qPos.add(structureId); qPos.add(structureId); qPos.add(templateId); qPos.add(templateId); qPos.add(displayDateGT_TS); qPos.add(displayDateGT_TS); qPos.add(displayDateLT_TS); qPos.add(displayDateLT_TS); qPos.add(approved); qPos.add(approved); qPos.add(expired); qPos.add(expired); qPos.add(reviewDate_TS); qPos.add(reviewDate_TS); Iterator itr = q.list().iterator(); if (itr.hasNext()) { Integer count = (Integer)itr.next(); if (count != null) { return count.intValue(); } } return 0; } catch (Exception e) { throw new SystemException(e); } finally { HibernateUtil.closeSession(session); } }
53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/8b54d1e130703a869baafb5d2a4550e3d5d4c3c0/JournalArticleFinder.java/buggy/portal-ejb/src/com/liferay/portlet/journal/service/persistence/JournalArticleFinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 1056, 858, 39, 67, 37, 67, 58, 67, 43, 67, 56, 67, 39, 67, 56, 67, 55, 67, 56, 67, 40, 67, 37, 67, 41, 67, 54, 12, 1082, 202, 780, 14346, 16, 514, 7559, 548, 16, 3698, 1177, 16, 514, 6612, 16, 1082, 202, 780, 2077, 16, 514, 913, 16, 514, 618, 16, 514, 30621, 16, 1082, 202, 780, 1542, 548, 16, 2167, 2562, 1626, 16506, 16, 2167, 2562, 1626, 12050, 16, 1082, 202, 5507, 20412, 16, 3411, 7708, 16, 2167, 10725, 1626, 16, 1082, 202, 6494, 471, 5592, 13, 202, 202, 15069, 26731, 288, 202, 202, 11480, 548, 273, 14205, 18, 5797, 2449, 12, 11480, 548, 1769, 202, 202, 2649, 273, 14205, 18, 8167, 2449, 12, 2649, 1769, 202, 202, 1745, 273, 14205, 18, 8167, 2449, 12, 1745, 1769, 202, 202, 4921, 2562, 1626, 16506, 67, 8047, 273, 5542, 1304, 18, 588, 4921, 12, 5417, 1626, 16506, 1769, 202, 202, 4921, 2562, 1626, 12050, 67, 8047, 273, 5542, 1304, 18, 588, 4921, 12, 5417, 1626, 12050, 1769, 202, 202, 4921, 10725, 1626, 67, 8047, 273, 5542, 1304, 18, 588, 4921, 12, 16041, 1626, 1769, 202, 202, 2157, 1339, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 3184, 273, 670, 24360, 1304, 18, 3190, 2157, 5621, 1082, 202, 780, 1847, 273, 6082, 3997, 1304, 18, 588, 12, 7240, 67, 6486, 67, 39, 67, 37, 67, 58, 67, 43, 67, 56, 67, 39, 67, 56, 67, 55, 67, 56, 67, 40, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 509, 1056, 858, 39, 67, 37, 67, 58, 67, 43, 67, 56, 67, 39, 67, 56, 67, 55, 67, 56, 67, 40, 67, 37, 67, 41, 67, 54, 12, 1082, 202, 780, 14346, 16, 514, 7559, 548, 16, 3698, 1177, 16, 514, 6612, 16, 1082, 202, 780, 2077, 16, 514, 913, 16, 514, 618, 16, 514, 30621, 16, 1082, 202, 780, 1542, 548, 16, 2167, 2562, 1626, 16506, 16, 2167, 2562, 1626, 12050, 16, 1082, 202, 5507, 20412, 16, 3411, 7708, 16, 2167, 10725, 1626, 16, 1082, 202, 6494, 471, 5592, 13, 202, 202, 15069, 26731, 288, 202, 202, 11480, 548, 273, 14205, 18, 5797, 2449, 12, 11480, 548, 1769, 202, 202, 2649, 273, 14205, 2 ]
return;
return false;
protected void searchForDuplicates() { String stackTrace = getStackTraceFromDescription(); if (stackTrace == null) { MessageDialog.openWarning(null, "No Stack Trace Found", NO_STACK_MESSAGE); return; } String queryUrl = ""; try { queryUrl = repository.getUrl() + "/buglist.cgi?long_desc_type=allwordssubstr&long_desc=" + URLEncoder.encode("Stack Trace:\n" + stackTrace, BugzillaPlugin.ENCODING_UTF_8); } catch (UnsupportedEncodingException e) { // This should never happen } queryUrl += "&product=" + getRepositoryTaskData().getProduct(); IBugzillaSearchResultCollector resultCollector = new BugzillaSearchResultCollector(); IBugzillaSearchOperation operation = new BugzillaSearchOperation(repository, queryUrl, TasksUiPlugin .getDefault().getProxySettings(), resultCollector, "100"); BugzillaSearchQuery query = new BugzillaSearchQuery(operation); NewSearchUI.runQueryInBackground(query); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d72a80e26b6f9db0cb9d28deac68988fe1075e8c/NewBugEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/NewBugEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1623, 1290, 23897, 1435, 288, 202, 202, 780, 22327, 273, 22798, 1265, 3291, 5621, 202, 202, 430, 261, 3772, 3448, 422, 446, 13, 288, 1082, 202, 1079, 6353, 18, 3190, 6210, 12, 2011, 16, 315, 2279, 7283, 2677, 10750, 3113, 3741, 67, 21971, 67, 8723, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 843, 1489, 273, 1408, 31, 202, 202, 698, 288, 1082, 202, 2271, 1489, 273, 3352, 18, 588, 1489, 1435, 397, 2206, 925, 1098, 18, 19062, 35, 5748, 67, 5569, 67, 723, 33, 454, 1095, 1049, 373, 701, 10, 5748, 67, 5569, 1546, 6862, 202, 15, 1976, 7204, 18, 3015, 2932, 2624, 2677, 5581, 82, 6, 397, 22327, 16, 16907, 15990, 3773, 18, 14672, 67, 5159, 67, 28, 1769, 202, 202, 97, 1044, 261, 8544, 13836, 425, 13, 288, 1082, 202, 759, 1220, 1410, 5903, 5865, 202, 202, 97, 202, 202, 2271, 1489, 1011, 7830, 5896, 1546, 397, 8261, 2174, 751, 7675, 588, 4133, 5621, 202, 202, 13450, 637, 15990, 24916, 7134, 563, 7134, 273, 394, 16907, 15990, 24916, 7134, 5621, 202, 202, 13450, 637, 15990, 2979, 2988, 1674, 273, 394, 16907, 15990, 2979, 2988, 12, 9071, 16, 843, 1489, 16, 20350, 13943, 3773, 9506, 202, 18, 588, 1868, 7675, 588, 3886, 2628, 9334, 563, 7134, 16, 315, 6625, 8863, 202, 202, 19865, 15990, 2979, 1138, 843, 273, 394, 16907, 15990, 2979, 1138, 12, 7624, 1769, 202, 202, 1908, 2979, 5370, 18, 2681, 1138, 382, 8199, 12, 2271, 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, 1623, 1290, 23897, 1435, 288, 202, 202, 780, 22327, 273, 22798, 1265, 3291, 5621, 202, 202, 430, 261, 3772, 3448, 422, 446, 13, 288, 1082, 202, 1079, 6353, 18, 3190, 6210, 12, 2011, 16, 315, 2279, 7283, 2677, 10750, 3113, 3741, 67, 21971, 67, 8723, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 843, 1489, 273, 1408, 31, 202, 202, 698, 288, 1082, 202, 2271, 1489, 273, 3352, 18, 588, 1489, 1435, 397, 2206, 925, 1098, 18, 19062, 35, 5748, 67, 5569, 67, 723, 33, 454, 1095, 1049, 373, 701, 10, 5748, 67, 5569, 1546, 6862, 202, 15, 1976, 7204, 18, 3015, 2932, 2624, 2677, 5581, 82, 6, 397, 22327, 16, 16907, 2 ]
throws ProxoolException{
throws ProxoolException {
public static void equalsCompleteAlternativeProperties(ConnectionPoolDefinitionIF connectionPoolDefinition) throws ProxoolException{ checkProperty("user", "sa", connectionPoolDefinition.getProperties().getProperty("user")); checkProperty(ProxoolConstants.HOUSE_KEEPING_SLEEP_TIME, 40000, connectionPoolDefinition.getHouseKeepingSleepTime()); checkProperty(ProxoolConstants.HOUSE_KEEPING_TEST_SQL, "select CURRENT_DATE", connectionPoolDefinition.getHouseKeepingTestSql()); checkProperty(ProxoolConstants.MAXIMUM_CONNECTION_COUNT, 10, connectionPoolDefinition.getMaximumConnectionCount()); checkProperty(ProxoolConstants.MINIMUM_CONNECTION_COUNT, 3, connectionPoolDefinition.getMinimumConnectionCount()); checkProperty(ProxoolConstants.MAXIMUM_CONNECTION_LIFETIME, 18000000, connectionPoolDefinition.getMaximumConnectionLifetime()); checkProperty(ProxoolConstants.MAXIMUM_NEW_CONNECTIONS, 5, connectionPoolDefinition.getMaximumNewConnections()); checkProperty(ProxoolConstants.RECENTLY_STARTED_THRESHOLD, 40000, connectionPoolDefinition.getRecentlyStartedThreshold()); checkProperty(ProxoolConstants.OVERLOAD_WITHOUT_REFUSAL_LIFETIME, 50000, connectionPoolDefinition.getOverloadWithoutRefusalLifetime()); checkProperty(ProxoolConstants.MAXIMUM_ACTIVE_TIME, 60000, connectionPoolDefinition.getMaximumActiveTime()); checkProperty(ProxoolConstants.VERBOSE, "true", new Boolean(connectionPoolDefinition.isVerbose()).toString()); checkProperty(ProxoolConstants.TRACE, "true", new Boolean(connectionPoolDefinition.isTrace() == true).toString()); checkProperty(ProxoolConstants.FATAL_SQL_EXCEPTION, "Fatal error", connectionPoolDefinition.getFatalSqlExceptions().iterator().next().toString()); checkProperty(ProxoolConstants.PROTOTYPE_COUNT, 2, connectionPoolDefinition.getPrototypeCount()); }
4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/4987965bb7b5527778558692a69c9981644b5be6/TestHelper.java/buggy/src/java-test/org/logicalcobwebs/proxool/TestHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1606, 6322, 21144, 2297, 12, 1952, 2864, 1852, 5501, 1459, 2864, 1852, 13, 3639, 1216, 1186, 92, 1371, 503, 288, 3639, 866, 1396, 2932, 1355, 3113, 315, 13098, 3113, 1459, 2864, 1852, 18, 588, 2297, 7675, 588, 1396, 2932, 1355, 7923, 1769, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 7995, 8001, 67, 6859, 10541, 1360, 67, 55, 900, 10541, 67, 4684, 16, 1059, 2787, 16, 5411, 1459, 2864, 1852, 18, 588, 44, 3793, 11523, 310, 20768, 950, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 7995, 8001, 67, 6859, 10541, 1360, 67, 16961, 67, 3997, 16, 315, 4025, 18484, 67, 4594, 3113, 5411, 1459, 2864, 1852, 18, 588, 44, 3793, 11523, 310, 4709, 5101, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 6694, 18605, 67, 15461, 67, 7240, 16, 1728, 16, 5411, 1459, 2864, 1852, 18, 588, 13528, 1952, 1380, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 6236, 18605, 67, 15461, 67, 7240, 16, 890, 16, 5411, 1459, 2864, 1852, 18, 588, 13042, 1952, 1380, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 6694, 18605, 67, 15461, 67, 2053, 42, 15537, 16, 6549, 9449, 16, 5411, 1459, 2864, 1852, 18, 588, 13528, 1952, 19259, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 6694, 18605, 67, 12917, 67, 15461, 55, 16, 1381, 16, 5411, 1459, 2864, 1852, 18, 588, 13528, 1908, 9314, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 862, 19666, 7076, 67, 20943, 6404, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1606, 6322, 21144, 2297, 12, 1952, 2864, 1852, 5501, 1459, 2864, 1852, 13, 3639, 1216, 1186, 92, 1371, 503, 288, 3639, 866, 1396, 2932, 1355, 3113, 315, 13098, 3113, 1459, 2864, 1852, 18, 588, 2297, 7675, 588, 1396, 2932, 1355, 7923, 1769, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 7995, 8001, 67, 6859, 10541, 1360, 67, 55, 900, 10541, 67, 4684, 16, 1059, 2787, 16, 5411, 1459, 2864, 1852, 18, 588, 44, 3793, 11523, 310, 20768, 950, 10663, 3639, 866, 1396, 12, 16155, 1371, 2918, 18, 7995, 8001, 67, 6859, 10541, 1360, 67, 16961, 67, 3997, 16, 315, 4025, 18484, 67, 4594, 3113, 5411, 1459, 2864, 1852, 18, 588, 44, 3793, 11523, 310, 4709, 2 ]
return RubyFixnum.newFixnum(getRuntime(), (long) val);
return getRuntime().newFixnum((long) val);
public RubyInteger ceil() { double val = Math.ceil(getDoubleValue()); if (val < RubyFixnum.MIN || val > RubyFixnum.MAX) { return RubyBignum.newBignum(getRuntime(), val); } return RubyFixnum.newFixnum(getRuntime(), (long) val); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyFloat.java/clean/src/org/jruby/RubyFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 8416, 1435, 288, 3639, 1645, 1244, 273, 2361, 18, 311, 330, 12, 588, 5265, 620, 10663, 3639, 309, 261, 1125, 411, 19817, 8585, 2107, 18, 6236, 747, 1244, 405, 19817, 8585, 2107, 18, 6694, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 5576, 9334, 1244, 1769, 3639, 289, 202, 202, 2463, 18814, 7675, 2704, 8585, 2107, 12443, 5748, 13, 1244, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 4522, 8416, 1435, 288, 3639, 1645, 1244, 273, 2361, 18, 311, 330, 12, 588, 5265, 620, 10663, 3639, 309, 261, 1125, 411, 19817, 8585, 2107, 18, 6236, 747, 1244, 405, 19817, 8585, 2107, 18, 6694, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 5576, 9334, 1244, 1769, 3639, 289, 202, 202, 2463, 18814, 7675, 2704, 8585, 2107, 12443, 5748, 13, 1244, 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 ]
((IFragment) getPluginBase()).setPluginVersion(entry .getValue());
((IFragment) getPluginBase()).setPluginVersion(entry.getValue());
private void createPluginVersionEntry(Composite client, FormToolkit toolkit, IActionBars actionBars) { fPluginVersionEntry = new FormEntry(client, toolkit, "Plug-in Version:", null, false); fPluginVersionEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars) { public void textValueChanged(FormEntry entry) { try { ((IFragment) getPluginBase()).setPluginVersion(entry .getValue()); } catch (CoreException e) { PDEPlugin.logException(e); } } }); fPluginVersionEntry.setEditable(isEditable()); }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/1dbb0b54c530f703f5b13713faab970d4b145c96/GeneralInfoSection.java/clean/ui/org.eclipse.pde.ui/src_Forms/org/eclipse/pde/internal/ui/neweditor/plugin/GeneralInfoSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 3773, 1444, 1622, 12, 9400, 1004, 16, 1082, 202, 1204, 6364, 8691, 5226, 8691, 16, 467, 1803, 5190, 87, 1301, 5190, 87, 13, 288, 202, 202, 74, 3773, 1444, 1622, 273, 394, 2748, 1622, 12, 2625, 16, 5226, 8691, 16, 9506, 202, 6, 1749, 637, 17, 267, 4049, 2773, 16, 446, 16, 629, 1769, 202, 202, 74, 3773, 1444, 1622, 18, 542, 1204, 1622, 2223, 12, 2704, 2748, 1622, 4216, 12, 2211, 16, 9506, 202, 1128, 5190, 87, 13, 288, 1082, 202, 482, 918, 977, 620, 5033, 12, 1204, 1622, 1241, 13, 288, 9506, 202, 698, 288, 6862, 202, 12443, 5501, 3520, 13, 16319, 2171, 1435, 2934, 542, 3773, 1444, 12, 4099, 6862, 1082, 202, 18, 24805, 10663, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 52, 1639, 3773, 18, 1330, 503, 12, 73, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 22938, 202, 202, 74, 3773, 1444, 1622, 18, 542, 15470, 12, 291, 15470, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 3773, 1444, 1622, 12, 9400, 1004, 16, 1082, 202, 1204, 6364, 8691, 5226, 8691, 16, 467, 1803, 5190, 87, 1301, 5190, 87, 13, 288, 202, 202, 74, 3773, 1444, 1622, 273, 394, 2748, 1622, 12, 2625, 16, 5226, 8691, 16, 9506, 202, 6, 1749, 637, 17, 267, 4049, 2773, 16, 446, 16, 629, 1769, 202, 202, 74, 3773, 1444, 1622, 18, 542, 1204, 1622, 2223, 12, 2704, 2748, 1622, 4216, 12, 2211, 16, 9506, 202, 1128, 5190, 87, 13, 288, 1082, 202, 482, 918, 977, 620, 5033, 12, 1204, 1622, 1241, 13, 288, 9506, 202, 698, 288, 6862, 202, 12443, 5501, 3520, 13, 16319, 2171, 1435, 2934, 542, 3773, 1444, 12, 4099, 6862, 1082, 2 ]
newArgs[0] = RubySymbol.newSymbol(runtime, name);
newArgs[0] = RubySymbol.newSymbol(getRuntime(), name);
private IRubyObject callMethodMissing(IRubyObject receiver, String name, IRubyObject[] args) { if (name == "method_missing") { runtime.getFrameStack().push(); try { return receiver.method_missing(args); } finally { runtime.getFrameStack().pop(); } } IRubyObject[] newArgs = new IRubyObject[args.length + 1]; System.arraycopy(args, 0, newArgs, 1, args.length); newArgs[0] = RubySymbol.newSymbol(runtime, name); return receiver.callMethod("method_missing", newArgs); }
52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyModule.java/clean/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 745, 1305, 4841, 12, 7937, 10340, 921, 5971, 16, 514, 508, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 529, 422, 315, 2039, 67, 7337, 7923, 288, 5411, 3099, 18, 588, 3219, 2624, 7675, 6206, 5621, 5411, 775, 288, 7734, 327, 5971, 18, 2039, 67, 7337, 12, 1968, 1769, 5411, 289, 3095, 288, 7734, 3099, 18, 588, 3219, 2624, 7675, 5120, 5621, 5411, 289, 3639, 289, 3639, 15908, 10340, 921, 8526, 394, 2615, 273, 394, 15908, 10340, 921, 63, 1968, 18, 2469, 397, 404, 15533, 3639, 2332, 18, 1126, 3530, 12, 1968, 16, 374, 16, 394, 2615, 16, 404, 16, 833, 18, 2469, 1769, 3639, 394, 2615, 63, 20, 65, 273, 19817, 5335, 18, 2704, 5335, 12, 588, 5576, 9334, 508, 1769, 3639, 327, 5971, 18, 1991, 1305, 2932, 2039, 67, 7337, 3113, 394, 2615, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 15908, 10340, 921, 745, 1305, 4841, 12, 7937, 10340, 921, 5971, 16, 514, 508, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 529, 422, 315, 2039, 67, 7337, 7923, 288, 5411, 3099, 18, 588, 3219, 2624, 7675, 6206, 5621, 5411, 775, 288, 7734, 327, 5971, 18, 2039, 67, 7337, 12, 1968, 1769, 5411, 289, 3095, 288, 7734, 3099, 18, 588, 3219, 2624, 7675, 5120, 5621, 5411, 289, 3639, 289, 3639, 15908, 10340, 921, 8526, 394, 2615, 273, 394, 15908, 10340, 921, 63, 1968, 18, 2469, 397, 404, 15533, 3639, 2332, 18, 1126, 3530, 12, 1968, 16, 374, 16, 394, 2615, 16, 404, 16, 833, 18, 2469, 1769, 3639, 394, 2615, 63, 20, 65, 273, 2 ]
StringTokenizer eTokens = null;
StringTokenizer eTokens = null;
protected void checkContentEnum( String content, ValidationContext state, Vector enumeration ) throws InvalidDatatypeValueException { //REVISIT: attemt to make enumeration to be validated against value space. //a redesign of Datatypes might help to reduce complexity of this validation StringTokenizer parsedList = new StringTokenizer( content ); int numberOfTokens = parsedList.countTokens(); if (fBaseValidator instanceof ListDatatypeValidator) { //<simpleType name="fRestriction"><restriction base="fList">...</restriction></simpleType> try { if ((fFacetsDefined & DatatypeValidator.FACET_MAXLENGTH) != 0) { if (numberOfTokens > fMaxLength) { throw new InvalidDatatypeValueException("Value '"+content+ "' with length ='"+ numberOfTokens + "' tokens"+ "' exceeds maximum length facet of '"+fMaxLength+"' tokens."); } } if ((fFacetsDefined & DatatypeValidator.FACET_MINLENGTH) != 0) { if (numberOfTokens < fMinLength) { throw new InvalidDatatypeValueException("Value '"+content+ "' with length ='"+ numberOfTokens+ "' tokens" + "' is less than minimum length facet of '"+fMinLength+"' tokens." ); } } if ((fFacetsDefined & DatatypeValidator.FACET_LENGTH) != 0) { if (numberOfTokens != fLength) { throw new InvalidDatatypeValueException("Value '"+content+ "' with length ='"+ numberOfTokens+ "' tokens" + "' is not equal to length facet of '"+fLength+"' tokens."); } } if (enumeration!=null) { if (!verifyEnum(enumeration)) { String msg = getErrorString( DatatypeMessageProvider.fgMessageKeys[DatatypeMessageProvider.NOT_ENUM_VALUE], new Object [] { enumeration}); throw new InvalidDatatypeValueException(msg); } } else { enumeration = (fEnumeration!=null) ? fEnumeration : null; } // enumeration must be passed till we know what "itemType" is // to be able to validate against value space ((ListDatatypeValidator)this.fBaseValidator).checkContentEnum( content, state, enumeration ); } catch (NoSuchElementException e) { e.printStackTrace(); } } else { //the case: //<simpleType name="fList"><list itemType="float"/></simpleType> if (enumeration !=null) { StringTokenizer eTokens = null; //temporary list of enumeration tokens StringTokenizer cTokens = null; //list of content tokens String token= null; //content token String eToken= null; //enumeration token boolean valid = true; int eSize = enumeration.size(); Vector enumTemp = new Vector(); //temporary vector to store enumeration token enumTemp.setSize(1); String currentEnumeration = null; //enum value: <enumeration value="1 2 3"/> for (int i=0;i<eSize;i++) { //loop through each enumeration currentEnumeration = (String)enumeration.elementAt(i); eTokens = new StringTokenizer (currentEnumeration); valid = true; cTokens = (i==0)?parsedList:new StringTokenizer( content ); if (numberOfTokens == eTokens.countTokens()) { try { //try string comparison first if (currentEnumeration.equals(content)) { for (int k=0; k<numberOfTokens;k++) { //validate against base type each token if (this.fBaseValidator != null) { this.fBaseValidator.validate( cTokens.nextToken(), state ); } } } else { //content="1.0 2" ; enumeration = "1 2" for (int j=0;j<numberOfTokens;j++) { token = cTokens.nextToken(); eToken = eTokens.nextToken(); enumTemp.setElementAt(eToken,0); //REVISIT: date/time enumeration support if (fBaseValidator instanceof AbstractNumericValidator) { ((AbstractNumericValidator)fBaseValidator).checkContentEnum(token, state, enumTemp); } else { if (!token.equals(eToken)) { //validate enumeration for all other types throw new InvalidDatatypeValueException("Value '"+content+ "' must be one of "+enumeration); } this.fBaseValidator.validate( token, state ); } } } } catch (InvalidDatatypeValueException e) { valid = false; } } else //numOfTokens in enumeration != numOfTokens in content valid = false; if (valid) break; } //end for loop if (!valid) { throw new InvalidDatatypeValueException("Value '"+content+ "' does not match list type"); } }//enumeration != null else { //no enumeration for (int k=0; k<numberOfTokens;k++) { if (this.fBaseValidator != null) {//validate against parent type if any this.fBaseValidator.validate( parsedList.nextToken(), state ); } } } } //end native list type } //end checkContentEnum
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/64f8cd8c5af52cced145b95ab9eba69cc1c37c0b/ListDatatypeValidator.java/clean/src/org/apache/xerces/impl/dv/xs/ListDatatypeValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 1350, 3572, 12, 514, 913, 16, 225, 5684, 1042, 919, 16, 5589, 16836, 262, 565, 1216, 1962, 20228, 9738, 288, 3639, 368, 862, 26780, 1285, 30, 3547, 88, 358, 1221, 16836, 358, 506, 10266, 5314, 460, 3476, 18, 3639, 368, 69, 1755, 281, 724, 434, 6168, 13373, 4825, 2809, 358, 5459, 21610, 434, 333, 3379, 3639, 16370, 2707, 682, 273, 394, 16370, 12, 913, 11272, 3639, 509, 7922, 5157, 273, 2707, 682, 18, 1883, 5157, 5621, 1171, 309, 261, 74, 2171, 5126, 1276, 987, 20228, 5126, 13, 288, 5411, 368, 32, 9647, 559, 508, 1546, 74, 11670, 14050, 23954, 1026, 1546, 74, 682, 6441, 2777, 1757, 23954, 4695, 9647, 559, 34, 5411, 775, 288, 7734, 309, 14015, 74, 6645, 2413, 8116, 473, 21168, 5126, 18, 11300, 56, 67, 6694, 7096, 13, 480, 374, 13, 288, 10792, 309, 261, 2696, 951, 5157, 405, 284, 29346, 13, 288, 13491, 604, 394, 1962, 20228, 9738, 2932, 620, 2119, 15, 1745, 15, 4766, 27573, 2491, 598, 769, 273, 4970, 15, 225, 7922, 5157, 397, 2491, 2430, 6, 15, 4766, 27573, 2491, 14399, 4207, 769, 11082, 434, 2119, 15, 74, 29346, 15, 5187, 2430, 1199, 1769, 10792, 289, 7734, 289, 7734, 309, 14015, 74, 6645, 2413, 8116, 473, 21168, 5126, 18, 11300, 56, 67, 6236, 7096, 13, 480, 374, 13, 288, 10792, 309, 261, 2696, 951, 5157, 411, 284, 2930, 1782, 13, 288, 13491, 604, 394, 1962, 20228, 9738, 2932, 620, 2119, 15, 1745, 15, 4766, 27573, 2491, 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, 866, 1350, 3572, 12, 514, 913, 16, 225, 5684, 1042, 919, 16, 5589, 16836, 262, 565, 1216, 1962, 20228, 9738, 288, 3639, 368, 862, 26780, 1285, 30, 3547, 88, 358, 1221, 16836, 358, 506, 10266, 5314, 460, 3476, 18, 3639, 368, 69, 1755, 281, 724, 434, 6168, 13373, 4825, 2809, 358, 5459, 21610, 434, 333, 3379, 3639, 16370, 2707, 682, 273, 394, 16370, 12, 913, 11272, 3639, 509, 7922, 5157, 273, 2707, 682, 18, 1883, 5157, 5621, 1171, 309, 261, 74, 2171, 5126, 1276, 987, 20228, 5126, 13, 288, 5411, 368, 32, 9647, 559, 508, 1546, 74, 11670, 14050, 23954, 1026, 1546, 74, 682, 6441, 2777, 1757, 23954, 4695, 9647, 559, 34, 5411, 775, 288, 7734, 2 ]
baseUrl = originatingUrl_;
baseUrl = webResponse_.getUrl();
public URL getFullyQualifiedUrl( final String relativeUrl ) throws MalformedURLException { final List baseElements = getDocumentElement().getHtmlElementsByTagNames( Collections.singletonList("base")); final URL baseUrl; if( baseElements.isEmpty() ) { baseUrl = originatingUrl_; } else { final HtmlBase htmlBase = (HtmlBase)baseElements.get(0); final String href = htmlBase.getHrefAttribute(); if (href == null || href.length() == 0) { baseUrl = originatingUrl_; } else { baseUrl = new URL(href); } } return WebClient.expandUrl( baseUrl, relativeUrl ); }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/278d9a210ae748519c8779570f0c45d33f248be6/HtmlPage.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1976, 10208, 93, 8708, 1489, 12, 727, 514, 3632, 1489, 262, 3639, 1216, 20710, 288, 3639, 727, 987, 1026, 3471, 273, 9956, 1046, 7675, 588, 4353, 3471, 29309, 1557, 12, 5737, 18, 24487, 682, 2932, 1969, 7923, 1769, 3639, 727, 1976, 9818, 31, 3639, 309, 12, 1026, 3471, 18, 291, 1921, 1435, 262, 288, 5411, 9818, 273, 3311, 1064, 27799, 588, 1489, 5621, 3639, 289, 3639, 469, 288, 5411, 727, 5430, 2171, 1729, 2171, 273, 261, 4353, 2171, 13, 1969, 3471, 18, 588, 12, 20, 1769, 5411, 727, 514, 3897, 273, 1729, 2171, 18, 588, 15962, 1499, 5621, 5411, 309, 261, 7547, 422, 446, 747, 3897, 18, 2469, 1435, 422, 374, 13, 288, 7734, 9818, 273, 3311, 1064, 27799, 588, 1489, 5621, 5411, 289, 5411, 469, 288, 7734, 9818, 273, 394, 1976, 12, 7547, 1769, 5411, 289, 3639, 289, 3639, 327, 2999, 1227, 18, 12320, 1489, 12, 9818, 16, 3632, 1489, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1976, 10208, 93, 8708, 1489, 12, 727, 514, 3632, 1489, 262, 3639, 1216, 20710, 288, 3639, 727, 987, 1026, 3471, 273, 9956, 1046, 7675, 588, 4353, 3471, 29309, 1557, 12, 5737, 18, 24487, 682, 2932, 1969, 7923, 1769, 3639, 727, 1976, 9818, 31, 3639, 309, 12, 1026, 3471, 18, 291, 1921, 1435, 262, 288, 5411, 9818, 273, 3311, 1064, 27799, 588, 1489, 5621, 3639, 289, 3639, 469, 288, 5411, 727, 5430, 2171, 1729, 2171, 273, 261, 4353, 2171, 13, 1969, 3471, 18, 588, 12, 20, 1769, 5411, 727, 514, 3897, 273, 1729, 2171, 18, 588, 15962, 1499, 5621, 5411, 309, 261, 7547, 422, 446, 747, 3897, 18, 2469, 1435, 422, 374, 13, 288, 7734, 9818, 273, 3311, 2 ]
g.setFont(f);
g.setFont(f);
public void paint(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; Rectangle tr = new Rectangle(); Rectangle ir = new Rectangle(); Rectangle vr = new Rectangle(); Font f = c.getFont(); g.setFont(f); FontMetrics fm = SwingUtilities.getFontMetrics(f); Insets i = c.getInsets(); vr.x = i.left; vr.y = i.top; vr.width = b.getWidth() - (i.right + vr.x); vr.height = b.getHeight() - (i.bottom + vr.y); //System.out.println(" VIEW-RECT-BUTTON="+vr+", insets="+i+", FONTM="+fm); String text = SwingUtilities.layoutCompoundLabel(c, fm, b.getText(), b.getIcon(), b.getVerticalAlignment(), b.getHorizontalAlignment(), b.getVerticalTextPosition(), b.getHorizontalTextPosition(), vr, ir, tr, gap); if (b.getModel().isPressed() || b.getModel().isSelected()) { //System.out.println("paint pressed"); paintButtonPressed(g, c); } else { //System.out.println("paint normal"); paintButtonNormal(g, c); } paintIcon(g, c, ir); paintText(g, c, tr, b.getText()); paintFocus(g, c, vr, tr, ir); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/0788b89b7368770a1157f825d60dd8c5a9df183e/BasicButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicButtonUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 17558, 314, 16, 29058, 276, 13, 565, 288, 4202, 202, 7469, 3616, 324, 273, 261, 7469, 3616, 13, 276, 31, 202, 19463, 433, 273, 394, 13264, 5621, 202, 19463, 9482, 273, 394, 13264, 5621, 202, 19463, 16612, 273, 394, 13264, 5621, 3639, 10063, 284, 273, 276, 18, 588, 5711, 5621, 3639, 314, 18, 542, 5711, 12, 74, 1769, 3639, 10063, 5653, 10940, 273, 26145, 11864, 18, 588, 5711, 5653, 12, 74, 1769, 3639, 22300, 277, 273, 276, 18, 588, 382, 4424, 5621, 3639, 16612, 18, 92, 1377, 273, 277, 18, 4482, 31, 3639, 16612, 18, 93, 1377, 273, 277, 18, 3669, 31, 3639, 16612, 18, 2819, 225, 273, 324, 18, 588, 2384, 1435, 225, 300, 261, 77, 18, 4083, 225, 397, 16612, 18, 92, 1769, 3639, 16612, 18, 4210, 273, 324, 18, 588, 2686, 1435, 300, 261, 77, 18, 9176, 397, 16612, 18, 93, 1769, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 2398, 21794, 17, 4512, 17, 20068, 1546, 15, 18090, 15, 3113, 23576, 1546, 15, 77, 15, 3113, 27104, 49, 1546, 15, 25089, 1769, 202, 202, 780, 977, 273, 26145, 11864, 18, 6741, 16835, 2224, 12, 71, 16, 6862, 9506, 10940, 16, 20982, 324, 18, 588, 1528, 9334, 6862, 9506, 324, 18, 588, 5554, 9334, 6862, 9506, 324, 18, 588, 15704, 11535, 9334, 20982, 324, 18, 588, 14457, 11535, 9334, 6862, 9506, 324, 18, 588, 15704, 1528, 2555, 9334, 20982, 324, 18, 588, 14457, 1528, 2555, 9334, 6862, 9506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 12, 17558, 314, 16, 29058, 276, 13, 565, 288, 4202, 202, 7469, 3616, 324, 273, 261, 7469, 3616, 13, 276, 31, 202, 19463, 433, 273, 394, 13264, 5621, 202, 19463, 9482, 273, 394, 13264, 5621, 202, 19463, 16612, 273, 394, 13264, 5621, 3639, 10063, 284, 273, 276, 18, 588, 5711, 5621, 3639, 314, 18, 542, 5711, 12, 74, 1769, 3639, 10063, 5653, 10940, 273, 26145, 11864, 18, 588, 5711, 5653, 12, 74, 1769, 3639, 22300, 277, 273, 276, 18, 588, 382, 4424, 5621, 3639, 16612, 18, 92, 1377, 273, 277, 18, 4482, 31, 3639, 16612, 18, 93, 1377, 273, 277, 18, 3669, 31, 3639, 16612, 18, 2819, 225, 273, 324, 18, 588, 2384, 1435, 225, 2 ]
String ids = config.getAttribute( ILauncherSettings.WSPROJECT, (String) null ); if ( ids != null )
String ids = config.getAttribute( IReportLauncherSettings.IMPORTPROJECT, (String) null ); if ( ids != null && ids.length( ) > 0 )
public static TreeSet parseDeselectedWSIds( ILaunchConfiguration config ) throws CoreException { TreeSet deselected = new TreeSet( ); String ids = config.getAttribute( ILauncherSettings.WSPROJECT, (String) null ); if ( ids != null ) { StringTokenizer tok = new StringTokenizer( ids, File.pathSeparator ); while ( tok.hasMoreTokens( ) ) deselected.add( tok.nextToken( ) ); } return deselected; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3ccc85648273178c611c271d8d0521b92055a331/ReportLauncherUtils.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/launcher/util/ReportLauncherUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19461, 1109, 6305, 292, 828, 2651, 2673, 12, 467, 9569, 1750, 642, 262, 1082, 202, 15069, 30015, 202, 95, 202, 202, 2471, 694, 2832, 292, 828, 273, 394, 19461, 12, 11272, 202, 202, 780, 3258, 273, 642, 18, 588, 1499, 12, 467, 28820, 2628, 18, 2651, 17147, 16, 9506, 202, 12, 780, 13, 446, 11272, 202, 202, 430, 261, 3258, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 10524, 946, 273, 394, 16370, 12, 3258, 16, 1387, 18, 803, 6581, 11272, 1082, 202, 17523, 261, 946, 18, 5332, 7417, 5157, 12, 262, 262, 9506, 202, 5489, 292, 828, 18, 1289, 12, 946, 18, 4285, 1345, 12, 262, 11272, 202, 202, 97, 202, 202, 2463, 2832, 292, 828, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 19461, 1109, 6305, 292, 828, 2651, 2673, 12, 467, 9569, 1750, 642, 262, 1082, 202, 15069, 30015, 202, 95, 202, 202, 2471, 694, 2832, 292, 828, 273, 394, 19461, 12, 11272, 202, 202, 780, 3258, 273, 642, 18, 588, 1499, 12, 467, 28820, 2628, 18, 2651, 17147, 16, 9506, 202, 12, 780, 13, 446, 11272, 202, 202, 430, 261, 3258, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 10524, 946, 273, 394, 16370, 12, 3258, 16, 1387, 18, 803, 6581, 11272, 1082, 202, 17523, 261, 946, 18, 5332, 7417, 5157, 12, 262, 262, 9506, 202, 5489, 292, 828, 18, 1289, 12, 946, 18, 4285, 1345, 12, 262, 11272, 202, 202, 97, 202, 202, 2463, 2 ]
return KIND;
return BugzillaPlugin.REPOSITORY_KIND;
public String getKind() { return KIND; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/a40d59c8c922e2f9f545b74611db4be500580bb0/BugzillaTaskRepositoryClient.java/clean/org.ecl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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 21842, 1435, 288, 202, 202, 2463, 1475, 2356, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.RegistID get(org.quickfix.field.RegistID value)
public quickfix.field.RegistID get(quickfix.field.RegistID value)
public org.quickfix.field.RegistID get(org.quickfix.field.RegistID value) throws FieldNotFound { getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/RegistrationInstructionsResponse.java/clean/src/java/src/quickfix/fix43/RegistrationInstructionsResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 1617, 376, 734, 336, 12, 19525, 904, 18, 1518, 18, 1617, 376, 734, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 9549, 904, 18, 1518, 18, 1617, 376, 734, 336, 12, 19525, 904, 18, 1518, 18, 1617, 376, 734, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { }
if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext)) != null) setProperty(string);
private void evaluateExpressions() throws JspException { try { setCollection((String) evalAttr("collection", getCollectionExpr(), String.class)); } catch (NullAttributeException ex) { } try { setFilter(((Boolean) evalAttr("filter", getFilterExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { } try { setLabelName((String) evalAttr("labelName", getLabelNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setLabelProperty((String) evalAttr("labelProperty", getLabelPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setName((String) evalAttr("name", getNameExpr(), String.class)); } catch (NullAttributeException ex) { } try { setProperty((String) evalAttr("property", getPropertyExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyle((String) evalAttr("style", getStyleExpr(), String.class)); } catch (NullAttributeException ex) { } try { setStyleClass((String) evalAttr("styleClass", getStyleClassExpr(), String.class)); } catch (NullAttributeException ex) { } // Note that in contrast to other elements which have "style" and // "styleClass" attributes, this tag does not have a "styleId" // attribute. This is because this produces the "id" attribute, which // has to be unique document-wide, but this tag can generate more than // one "option" element. Thus, the base tag, "Options" does not // support this attribute. }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/022bd23c954cf673e53731849d562b3c295473f1/ELOptionsTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELOptionsTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 2532, 12443, 780, 13, 5302, 3843, 2932, 5548, 3113, 12075, 4742, 9334, 4766, 2398, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 22855, 12443, 12, 5507, 13, 5302, 3843, 2932, 2188, 3113, 12267, 4742, 9334, 4766, 1850, 3411, 18, 1106, 13, 2934, 8227, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 16558, 461, 12443, 780, 13, 5302, 3843, 2932, 1925, 461, 3113, 11237, 461, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 16558, 1396, 12443, 780, 13, 5302, 3843, 2932, 1925, 1396, 3113, 4766, 9079, 11237, 1396, 4742, 9334, 4766, 7734, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 6788, 12443, 780, 13, 5302, 3843, 2932, 529, 3113, 1723, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 7486, 12443, 780, 13, 5302, 3843, 2932, 4468, 3113, 3911, 4742, 9334, 4766, 1850, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 18995, 12443, 780, 13, 5302, 3843, 2932, 4060, 3113, 14210, 4742, 9334, 514, 18, 1106, 10019, 3639, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5956, 8927, 1435, 1216, 27485, 288, 3639, 775, 288, 5411, 444, 2532, 12443, 780, 13, 5302, 3843, 2932, 5548, 3113, 12075, 4742, 9334, 4766, 2398, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 22855, 12443, 12, 5507, 13, 5302, 3843, 2932, 2188, 3113, 12267, 4742, 9334, 4766, 1850, 3411, 18, 1106, 13, 2934, 8227, 16708, 10663, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 289, 3639, 775, 288, 5411, 16558, 461, 12443, 780, 13, 5302, 3843, 2932, 1925, 461, 3113, 11237, 461, 4742, 9334, 4766, 6647, 514, 18, 1106, 10019, 3639, 289, 1044, 261, 2041, 1499, 503, 431, 13, 288, 3639, 2 ]
protected MavenProject getProject( File pom )
protected MavenProject getProject( File pom, boolean transitive )
protected MavenProject getProject( File pom ) throws Exception { return projectBuilder.build( pom, getLocalRepository() ); }
11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/4d1ca8da33ebc5ee0a65735d890e35299675ef56/MavenTestCase.java/buggy/maven-core/src/test/java/org/apache/maven/MavenTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 17176, 4109, 11080, 12, 1387, 21400, 16, 1250, 30442, 262, 3639, 1216, 1185, 565, 288, 3639, 327, 1984, 1263, 18, 3510, 12, 21400, 16, 6993, 3305, 1435, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 4750, 17176, 4109, 11080, 12, 1387, 21400, 16, 1250, 30442, 262, 3639, 1216, 1185, 565, 288, 3639, 327, 1984, 1263, 18, 3510, 12, 21400, 16, 6993, 3305, 1435, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static RubyBoolean readable_p(IRubyObject recv, RubyString filename) {
public static RubyBoolean readable_p(IRubyObject recv, IRubyObject filename) {
public static RubyBoolean readable_p(IRubyObject recv, RubyString filename) { return filename.getRuntime().newBoolean(newFile(filename).canRead()); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/418c30d7568bd7f3d82ef1d3a011ee39d958b8f6/RubyFileTest.java/buggy/src/org/jruby/RubyFileTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 5507, 7471, 67, 84, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 1544, 13, 288, 3639, 327, 1544, 18, 588, 5576, 7675, 2704, 5507, 12, 2704, 812, 12, 3459, 2934, 4169, 1994, 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, 0, 0,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10663, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
data.horizontalSpan = 1;
data.horizontalSpan = horizontalSpan;
private Label createLabel(Composite parent, String text) { Label label = new Label(parent, SWT.LEFT); label.setText(text); GridData data = new GridData(); data.horizontalSpan = 1; data.horizontalAlignment = GridData.FILL; label.setLayoutData(data); return label; }
6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/2f801d3d7dd9c98a92560aadb7da752f61090896/SVNPreferencesPage.java/clean/ui/src/org/tigris/subversion/subclipse/ui/preferences/SVNPreferencesPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 5287, 752, 2224, 12, 9400, 982, 16, 514, 977, 13, 288, 202, 202, 2224, 1433, 273, 394, 5287, 12, 2938, 16, 348, 8588, 18, 10066, 1769, 202, 202, 1925, 18, 542, 1528, 12, 955, 1769, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 5621, 202, 202, 892, 18, 18396, 6952, 273, 404, 31, 202, 202, 892, 18, 18396, 11535, 273, 7145, 751, 18, 29818, 31, 202, 202, 1925, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 2463, 1433, 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, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 5287, 752, 2224, 12, 9400, 982, 16, 514, 977, 13, 288, 202, 202, 2224, 1433, 273, 394, 5287, 12, 2938, 16, 348, 8588, 18, 10066, 1769, 202, 202, 1925, 18, 542, 1528, 12, 955, 1769, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 5621, 202, 202, 892, 18, 18396, 6952, 273, 404, 31, 202, 202, 892, 18, 18396, 11535, 273, 7145, 751, 18, 29818, 31, 202, 202, 1925, 18, 542, 3744, 751, 12, 892, 1769, 202, 202, 2463, 1433, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
MuleManager.getConfiguration().setSynchronous(true);
MuleManager.getConfiguration().setDefaultSynchronousEndpoints(true);
public void testReceivingASubscriptionEvent() throws Exception { OrderManagerBean subscriptionBean = (OrderManagerBean)context.getBean("orderManager"); assertNotNull(subscriptionBean); // when an event is received by 'testEventBean1' this callback will be // invoked EventCallback callback = new EventCallback() { public void eventReceived(UMOEventContext context, Object o) throws Exception { eventCount++; } }; subscriptionBean.setEventCallback(callback); MuleManager.getConfiguration().setSynchronous(true); MuleClient client = new MuleClient(); Order order = new Order("Sausage and Mash"); client.send("jms://orders.queue", order, null); Thread.sleep(1000); assertTrue(eventCount == 1); UMOMessage result = client.receive("jms://processed.queue", 10000); assertEquals(1, eventCount); assertNotNull(result); assertEquals("Order 'Sausage and Mash' Processed", result.getPayloadAsString()); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/e7a904f2d4b39c4e1d7e55677ec26d46fa90e676/SpringEventsJmsAsyncExampleTestCase.java/clean/tests/integration/src/test/java/org/mule/test/integration/spring/events/async/SpringEventsJmsAsyncExampleTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4779, 9288, 37, 6663, 1133, 1435, 1216, 1185, 565, 288, 3639, 4347, 1318, 3381, 4915, 3381, 273, 261, 2448, 1318, 3381, 13, 2472, 18, 588, 3381, 2932, 1019, 1318, 8863, 3639, 25395, 12, 11185, 3381, 1769, 3639, 368, 1347, 392, 871, 353, 5079, 635, 296, 3813, 1133, 3381, 21, 11, 333, 1348, 903, 506, 3639, 368, 8187, 3639, 2587, 2428, 1348, 273, 394, 2587, 2428, 1435, 3639, 288, 5411, 1071, 918, 871, 8872, 12, 2799, 51, 1133, 1042, 819, 16, 1033, 320, 13, 1216, 1185, 5411, 288, 7734, 871, 1380, 9904, 31, 5411, 289, 3639, 289, 31, 3639, 4915, 3381, 18, 542, 1133, 2428, 12, 3394, 1769, 3639, 490, 725, 1318, 18, 588, 1750, 7675, 542, 1868, 55, 7121, 10357, 12, 3767, 1769, 3639, 490, 725, 1227, 1004, 273, 394, 490, 725, 1227, 5621, 3639, 4347, 1353, 273, 394, 4347, 2932, 55, 69, 9167, 471, 490, 961, 8863, 3639, 1004, 18, 4661, 2932, 78, 959, 2207, 9972, 18, 4000, 3113, 1353, 16, 446, 1769, 3639, 4884, 18, 19607, 12, 18088, 1769, 3639, 1815, 5510, 12, 2575, 1380, 422, 404, 1769, 3639, 587, 5980, 1079, 563, 273, 1004, 18, 18149, 2932, 78, 959, 2207, 11005, 18, 4000, 3113, 12619, 1769, 3639, 1815, 8867, 12, 21, 16, 871, 1380, 1769, 3639, 25395, 12, 2088, 1769, 3639, 1815, 8867, 2932, 2448, 296, 55, 69, 9167, 471, 490, 961, 11, 1186, 3692, 3113, 563, 18, 588, 6110, 8092, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 4779, 9288, 37, 6663, 1133, 1435, 1216, 1185, 565, 288, 3639, 4347, 1318, 3381, 4915, 3381, 273, 261, 2448, 1318, 3381, 13, 2472, 18, 588, 3381, 2932, 1019, 1318, 8863, 3639, 25395, 12, 11185, 3381, 1769, 3639, 368, 1347, 392, 871, 353, 5079, 635, 296, 3813, 1133, 3381, 21, 11, 333, 1348, 903, 506, 3639, 368, 8187, 3639, 2587, 2428, 1348, 273, 394, 2587, 2428, 1435, 3639, 288, 5411, 1071, 918, 871, 8872, 12, 2799, 51, 1133, 1042, 819, 16, 1033, 320, 13, 1216, 1185, 5411, 288, 7734, 871, 1380, 9904, 31, 5411, 289, 3639, 289, 31, 3639, 4915, 3381, 18, 542, 1133, 2428, 12, 3394, 1769, 3639, 490, 725, 1318, 18, 588, 1750, 7675, 2 ]
_t = __t2092;
_t = __t2093;
public final void systemhelpstate(AST _t) throws RecognitionException { AST systemhelpstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2082 = _t; AST tmp1301_AST_in = (AST)_t; match(_t,SYSTEMHELP); _t = _t.getFirstChild(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case WINDOWNAME: { AST __t2084 = _t; AST tmp1302_AST_in = (AST)_t; match(_t,WINDOWNAME); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2084; _t = _t.getNextSibling(); break; } case ALTERNATEKEY: case COMMAND: case CONTENTS: case CONTEXT: case CONTEXTPOPUP: case FINDER: case FORCEFILE: case HELP: case HELPTOPIC: case KEY: case MULTIPLEKEY: case PARTIALKEY: case POSITION: case QUIT: case SETCONTENTS: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALTERNATEKEY: { AST __t2086 = _t; AST tmp1303_AST_in = (AST)_t; match(_t,ALTERNATEKEY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2086; _t = _t.getNextSibling(); break; } case CONTEXT: { AST __t2087 = _t; AST tmp1304_AST_in = (AST)_t; match(_t,CONTEXT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2087; _t = _t.getNextSibling(); break; } case CONTENTS: { AST tmp1305_AST_in = (AST)_t; match(_t,CONTENTS); _t = _t.getNextSibling(); break; } case SETCONTENTS: { AST __t2088 = _t; AST tmp1306_AST_in = (AST)_t; match(_t,SETCONTENTS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2088; _t = _t.getNextSibling(); break; } case FINDER: { AST tmp1307_AST_in = (AST)_t; match(_t,FINDER); _t = _t.getNextSibling(); break; } case CONTEXTPOPUP: { AST __t2089 = _t; AST tmp1308_AST_in = (AST)_t; match(_t,CONTEXTPOPUP); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2089; _t = _t.getNextSibling(); break; } case HELPTOPIC: { AST __t2090 = _t; AST tmp1309_AST_in = (AST)_t; match(_t,HELPTOPIC); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2090; _t = _t.getNextSibling(); break; } case KEY: { AST __t2091 = _t; AST tmp1310_AST_in = (AST)_t; match(_t,KEY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2091; _t = _t.getNextSibling(); break; } case PARTIALKEY: { AST __t2092 = _t; AST tmp1311_AST_in = (AST)_t; match(_t,PARTIALKEY); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_4.member(_t.getType()))) { expression(_t); _t = _retTree; } else if ((_t.getType()==3)) { } else { throw new NoViableAltException(_t); } } _t = __t2092; _t = _t.getNextSibling(); break; } case MULTIPLEKEY: { AST __t2094 = _t; AST tmp1312_AST_in = (AST)_t; match(_t,MULTIPLEKEY); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp1313_AST_in = (AST)_t; match(_t,TEXT); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t2094; _t = _t.getNextSibling(); break; } case COMMAND: { AST __t2095 = _t; AST tmp1314_AST_in = (AST)_t; match(_t,COMMAND); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t2095; _t = _t.getNextSibling(); break; } case POSITION: { AST __t2096 = _t; AST tmp1315_AST_in = (AST)_t; match(_t,POSITION); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case MAXIMIZE: { AST tmp1316_AST_in = (AST)_t; match(_t,MAXIMIZE); _t = _t.getNextSibling(); break; } case X: { AST tmp1317_AST_in = (AST)_t; match(_t,X); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp1318_AST_in = (AST)_t; match(_t,Y); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp1319_AST_in = (AST)_t; match(_t,WIDTH); _t = _t.getNextSibling(); expression(_t); _t = _retTree; AST tmp1320_AST_in = (AST)_t; match(_t,HEIGHT); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } _t = __t2096; _t = _t.getNextSibling(); break; } case FORCEFILE: { AST tmp1321_AST_in = (AST)_t; match(_t,FORCEFILE); _t = _t.getNextSibling(); break; } case HELP: { AST tmp1322_AST_in = (AST)_t; match(_t,HELP); _t = _t.getNextSibling(); break; } case QUIT: { AST tmp1323_AST_in = (AST)_t; match(_t,QUIT); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t2082; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 2619, 5201, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2619, 5201, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3462, 11149, 273, 389, 88, 31, 202, 202, 9053, 1853, 3437, 1611, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 14318, 27396, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 8692, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 24482, 7306, 1985, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 3462, 5193, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3437, 3103, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 23407, 1985, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 8692, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 67, 88, 273, 1001, 88, 3462, 5193, 31, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 7981, 6519, 1777, 3297, 30, 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, 2619, 5201, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2619, 5201, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3462, 11149, 273, 389, 88, 31, 202, 202, 9053, 1853, 3437, 1611, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 14318, 27396, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 8692, 24899, 88, 1769, 202, 202, 67, 88, 273, 389, 1349, 2471, 31, 202, 202, 95, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 2 ]
cv = m_cw.visitMethod( ACC_PUBLIC + ACC_STATIC, IS_IN_CFLOWBELOW_METOD_NAME, IS_IN_CFLOWBELOW_METOD_SIGNATURE, EMPTY_STRING_ARRAY, null ); Label isNull2 = new Label(); cv.visitFieldInsn(GETSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitJumpInsn(IFNULL, isNull2); cv.visitFieldInsn(GETSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitMethodInsn(INVOKEVIRTUAL, ABSTRACT_CFLOW_CLASS, IN_CFLOWBELOW_METOD_NAME, IN_CFLOWBELOW_METOD_SIGNATURE); cv.visitInsn(IRETURN); cv.visitLabel(isNull2); cv.visitInsn(ICONST_0); cv.visitInsn(IRETURN); cv.visitMaxs(0, 0);
private byte[] compile() { m_cw = AsmHelper.newClassWriter(true); // class extends AbstractCflowsystemAspect m_cw.visit( AsmHelper.JAVA_VERSION, ACC_PUBLIC + ACC_SUPER + ACC_SYNTHETIC, m_className, ABSTRACT_CFLOW_CLASS, EMPTY_STRING_ARRAY, null ); // static INSTANCE field m_cw.visitField( ACC_PRIVATE + ACC_STATIC, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE, null, null ); // ctor CodeVisitor cv = m_cw.visitMethod( ACC_PUBLIC, INIT_METHOD_NAME, NO_PARAM_RETURN_VOID_SIGNATURE, EMPTY_STRING_ARRAY, null ); // invoke the constructor of abstract cv.visitVarInsn(ALOAD, 0); cv.visitMethodInsn(INVOKESPECIAL, ABSTRACT_CFLOW_CLASS, INIT_METHOD_NAME, NO_PARAM_RETURN_VOID_SIGNATURE); // assign the singleton field to this cv.visitVarInsn(ALOAD, 0); cv.visitFieldInsn(PUTSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitInsn(RETURN); cv.visitMaxs(0, 0); // static isInCflow() delegators cv = m_cw.visitMethod( ACC_PUBLIC + ACC_STATIC, IS_IN_CFLOW_METOD_NAME, IS_IN_CFLOW_METOD_SIGNATURE, EMPTY_STRING_ARRAY, null ); Label isNull = new Label(); cv.visitFieldInsn(GETSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitJumpInsn(IFNULL, isNull); cv.visitFieldInsn(GETSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitMethodInsn(INVOKEVIRTUAL, ABSTRACT_CFLOW_CLASS, IN_CFLOW_METOD_NAME, IN_CFLOW_METOD_SIGNATURE); cv.visitInsn(IRETURN); cv.visitLabel(isNull); cv.visitInsn(ICONST_0); cv.visitInsn(IRETURN); cv.visitMaxs(0, 0); // static isInCflowBelow() delegators cv = m_cw.visitMethod( ACC_PUBLIC + ACC_STATIC, IS_IN_CFLOWBELOW_METOD_NAME, IS_IN_CFLOWBELOW_METOD_SIGNATURE, EMPTY_STRING_ARRAY, null ); Label isNull2 = new Label(); cv.visitFieldInsn(GETSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitJumpInsn(IFNULL, isNull2); cv.visitFieldInsn(GETSTATIC, m_className, INSTANCE_CFLOW_FIELD_NAME, ABSTRACT_CFLOW_SIGNATURE); cv.visitMethodInsn(INVOKEVIRTUAL, ABSTRACT_CFLOW_CLASS, IN_CFLOWBELOW_METOD_NAME, IN_CFLOWBELOW_METOD_SIGNATURE); cv.visitInsn(IRETURN); cv.visitLabel(isNull2); cv.visitInsn(ICONST_0); cv.visitInsn(IRETURN); cv.visitMaxs(0, 0); m_cw.visitEnd(); return m_cw.toByteArray(); }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/9befe20e19a1c795e3084b85df3ae067ddf49066/CflowCompiler.java/buggy/aspectwerkz4/src/main/org/codehaus/aspectwerkz/cflow/CflowCompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 4074, 1435, 288, 3639, 312, 67, 71, 91, 273, 2970, 81, 2276, 18, 2704, 797, 2289, 12, 3767, 1769, 3639, 368, 667, 3231, 4115, 39, 2426, 4299, 17468, 3639, 312, 67, 71, 91, 18, 11658, 12, 7734, 2970, 81, 2276, 18, 27264, 67, 5757, 16, 7734, 18816, 67, 14939, 397, 18816, 67, 13272, 654, 397, 18816, 67, 7474, 1784, 44, 1584, 2871, 16, 7734, 312, 67, 12434, 16, 7734, 10336, 21398, 67, 8955, 4130, 67, 5237, 16, 7734, 8984, 67, 5804, 67, 8552, 16, 7734, 446, 3639, 11272, 3639, 368, 760, 6937, 652, 3639, 312, 67, 71, 91, 18, 11658, 974, 12, 7734, 18816, 67, 20055, 397, 18816, 67, 22741, 16, 7734, 6937, 67, 8955, 4130, 67, 6776, 67, 1985, 16, 7734, 10336, 21398, 67, 8955, 4130, 67, 26587, 16, 7734, 446, 16, 7734, 446, 3639, 11272, 3639, 368, 15120, 3639, 3356, 7413, 8951, 273, 312, 67, 71, 91, 18, 11658, 1305, 12, 7734, 18816, 67, 14939, 16, 7734, 12584, 67, 5327, 67, 1985, 16, 7734, 3741, 67, 8388, 67, 14033, 67, 58, 12945, 67, 26587, 16, 7734, 8984, 67, 5804, 67, 8552, 16, 7734, 446, 3639, 11272, 3639, 368, 4356, 326, 3885, 434, 8770, 3639, 8951, 18, 11658, 1537, 11796, 12, 1013, 51, 1880, 16, 374, 1769, 3639, 8951, 18, 11658, 1305, 11796, 12, 706, 17691, 3991, 10106, 6365, 16, 10336, 21398, 67, 8955, 4130, 67, 5237, 16, 12584, 67, 5327, 67, 1985, 16, 3741, 67, 8388, 67, 14033, 67, 58, 12945, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1160, 8526, 4074, 1435, 288, 3639, 312, 67, 71, 91, 273, 2970, 81, 2276, 18, 2704, 797, 2289, 12, 3767, 1769, 3639, 368, 667, 3231, 4115, 39, 2426, 4299, 17468, 3639, 312, 67, 71, 91, 18, 11658, 12, 7734, 2970, 81, 2276, 18, 27264, 67, 5757, 16, 7734, 18816, 67, 14939, 397, 18816, 67, 13272, 654, 397, 18816, 67, 7474, 1784, 44, 1584, 2871, 16, 7734, 312, 67, 12434, 16, 7734, 10336, 21398, 67, 8955, 4130, 67, 5237, 16, 7734, 8984, 67, 5804, 67, 8552, 16, 7734, 446, 3639, 11272, 3639, 368, 760, 6937, 652, 3639, 312, 67, 71, 91, 18, 11658, 974, 12, 7734, 18816, 67, 20055, 397, 18816, 67, 22741, 16, 7734, 6937, 67, 8955, 2 ]
if ((active0 & 0x24000100000L) != 0L)
if ((active0 & 0x120000800000L) != 0L)
private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x7f7fe27effc00L) != 0L) { jjmatchedKind = 53; return 27; } if ((active0 & 0x10000000L) != 0L) { jjmatchedKind = 53; return 18; } if ((active0 & 0x80008100000L) != 0L) { jjmatchedKind = 53; return 1; } return -1; case 1: if ((active0 & 0x7fffe3ffffc00L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 1; return 27; } return -1; case 2: if ((active0 & 0x7ffee3fdf1c00L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 2; return 27; } return -1; case 3: if ((active0 & 0x7ffea3f5d1c00L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 3; return 27; } return -1; case 4: if ((active0 & 0x2ffca1a140c00L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 4; return 27; } return -1; case 5: if ((active0 & 0x2efca10140c00L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 5; return 27; } return -1; case 6: if ((active0 & 0xe7ca00140c00L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 6; return 27; } return -1; case 7: if ((active0 & 0xa7c000140000L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 7; return 27; } return -1; case 8: if ((active0 & 0x3c000100000L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 8; return 27; } return -1; case 9: if ((active0 & 0x24000100000L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 9; return 27; } return -1; default : return -1; }}
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/310be8d52869f0ee2c185cb657525fc655f30133/ZimbraQueryParserTokenManager.java/buggy/ZimbraServer/src/java/com/zimbra/cs/index/queryparser/ZimbraQueryParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 4947, 28565, 40, 507, 67, 20, 12, 474, 949, 16, 1525, 2695, 20, 15329, 282, 1620, 261, 917, 13, 282, 288, 1377, 648, 374, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 27, 74, 27, 3030, 5324, 17098, 71, 713, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 327, 12732, 31, 540, 289, 540, 309, 14015, 3535, 20, 473, 374, 92, 21, 17877, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 327, 6549, 31, 540, 289, 540, 309, 14015, 3535, 20, 473, 374, 92, 26021, 11861, 11706, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 327, 404, 31, 540, 289, 540, 327, 300, 21, 31, 1377, 648, 404, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 27, 1403, 3030, 23, 9460, 71, 713, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 10684, 11073, 1616, 273, 404, 31, 5411, 327, 12732, 31, 540, 289, 540, 327, 300, 21, 31, 1377, 648, 576, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 27, 1403, 1340, 23, 74, 2180, 21, 71, 713, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 10684, 11073, 1616, 273, 576, 31, 5411, 327, 12732, 31, 540, 289, 540, 327, 300, 21, 31, 1377, 648, 890, 30, 540, 309, 14015, 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, 3238, 727, 509, 10684, 4947, 28565, 40, 507, 67, 20, 12, 474, 949, 16, 1525, 2695, 20, 15329, 282, 1620, 261, 917, 13, 282, 288, 1377, 648, 374, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 27, 74, 27, 3030, 5324, 17098, 71, 713, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 327, 12732, 31, 540, 289, 540, 309, 14015, 3535, 20, 473, 374, 92, 21, 17877, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 5677, 273, 15935, 31, 5411, 327, 6549, 31, 540, 289, 540, 309, 14015, 3535, 20, 473, 374, 92, 26021, 11861, 11706, 48, 13, 480, 374, 48, 13, 540, 288, 5411, 10684, 11073, 2 ]
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject result = ruby.getNil(); try { result = ruby.getRubyFrame().getLastClass().getSuperClass().call(ruby.getRubyFrame().getSelf(), ruby.getRubyFrame().getLastFunc(), new RubyPointer(args), 3); } finally { ruby.getIter().pop(); } return result; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/d31a76ee29d5978a9bec41e3ac9134cee024bcab/RubyRuntime.java/clean/org/jruby/runtime/RubyRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 8051, 12, 54, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 27768, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 797, 1435, 422, 446, 13, 288, 5411, 604, 394, 25473, 12, 27768, 16, 315, 9565, 1106, 707, 2119, 397, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 2622, 1435, 397, 2491, 1297, 506, 3696, 635, 4237, 8051, 1435, 1199, 1769, 3639, 289, 7734, 22155, 18, 588, 2360, 7675, 6206, 5621, 7734, 19817, 921, 563, 273, 22155, 18, 588, 12616, 5621, 7734, 775, 288, 540, 202, 2088, 273, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 797, 7675, 588, 8051, 797, 7675, 1991, 12, 27768, 18, 588, 54, 10340, 3219, 7675, 588, 10084, 9334, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 2622, 9334, 394, 19817, 4926, 12, 1968, 3631, 890, 1769, 3639, 289, 3095, 288, 540, 202, 27768, 18, 588, 2360, 7675, 5120, 5621, 3639, 289, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 745, 8051, 12, 54, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 27768, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 797, 1435, 422, 446, 13, 288, 5411, 604, 394, 25473, 12, 27768, 16, 315, 9565, 1106, 707, 2119, 397, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 2622, 1435, 397, 2491, 1297, 506, 3696, 635, 4237, 8051, 1435, 1199, 1769, 3639, 289, 7734, 22155, 18, 588, 2360, 7675, 6206, 5621, 7734, 19817, 921, 563, 273, 22155, 18, 588, 12616, 5621, 7734, 775, 288, 540, 202, 2088, 273, 22155, 18, 588, 54, 10340, 3219, 7675, 588, 3024, 797, 7675, 588, 8051, 797, 7675, 1991, 12, 27768, 18, 588, 54, 10340, 3219, 7675, 588, 2 ]
return Long.class.getName();
return Integer.class.getName();
public String getColumnClassName(int column) throws SQLException { switch (getXsqlvar(column).sqltype & ~1) { case ISCConstants.SQL_TEXT: return String.class.getName(); case ISCConstants.SQL_VARYING: return String.class.getName(); case ISCConstants.SQL_SHORT: return Short.class.getName(); case ISCConstants.SQL_LONG: return Long.class.getName(); case ISCConstants.SQL_FLOAT: return Float.class.getName(); case ISCConstants.SQL_DOUBLE: return Double.class.getName(); case ISCConstants.SQL_D_FLOAT: return Double.class.getName(); case ISCConstants.SQL_TIMESTAMP: return Timestamp.class.getName(); case ISCConstants.SQL_BLOB: return Blob.class.getName(); case ISCConstants.SQL_ARRAY: return Array.class.getName(); case ISCConstants.SQL_QUAD: return Long.class.getName(); case ISCConstants.SQL_TYPE_TIME: return Time.class.getName(); case ISCConstants.SQL_TYPE_DATE: return Date.class.getName(); case ISCConstants.SQL_INT64: if (getXsqlvar(column).sqlscale == 0) { return Long.class.getName(); } else { return BigDecimal.class.getName(); } default: throw new FBSQLException("Unkown SQL type.", FBSQLException.SQL_STATE_INVALID_PARAM_TYPE); } }
6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/c5e99d820b97ba4274a72e32086123e5df9a6fa0/FBResultSetMetaData.java/clean/src/main/org/firebirdsql/jdbc/FBResultSetMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6716, 3834, 12, 474, 1057, 13, 1216, 225, 6483, 288, 3639, 1620, 261, 588, 60, 4669, 1401, 12, 2827, 2934, 4669, 723, 473, 4871, 21, 13, 288, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 5151, 30, 7734, 327, 514, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 58, 6043, 1360, 30, 7734, 327, 514, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 15993, 30, 7734, 327, 7925, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 14639, 30, 7734, 327, 2144, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 15640, 30, 7734, 327, 5450, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 17088, 30, 7734, 327, 3698, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 40, 67, 15640, 30, 7734, 327, 3698, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 17201, 30, 7734, 327, 8159, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 38, 6038, 30, 7734, 327, 12741, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 8552, 30, 7734, 327, 1510, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 3500, 1880, 30, 7734, 327, 2144, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 2399, 67, 4684, 30, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6716, 3834, 12, 474, 1057, 13, 1216, 225, 6483, 288, 3639, 1620, 261, 588, 60, 4669, 1401, 12, 2827, 2934, 4669, 723, 473, 4871, 21, 13, 288, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 5151, 30, 7734, 327, 514, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 58, 6043, 1360, 30, 7734, 327, 514, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 15993, 30, 7734, 327, 7925, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 14639, 30, 7734, 327, 2144, 18, 1106, 18, 17994, 5621, 5411, 648, 467, 2312, 2918, 18, 3997, 67, 15640, 30, 7734, 327, 5450, 18, 1106, 2 ]
return (Function)value;
return (Callable)value;
public static Function getElemFunctionAndThis(Object obj, Object elem, Context cx) { String s = toStringIdOrIndex(cx, elem); if (s != null) { return getPropFunctionAndThis(obj, s, cx); } int index = lastIndexResult(cx); Scriptable thisObj = toObjectOrNull(cx, obj); if (thisObj == null) { throw undefCallError(obj, String.valueOf(index)); } Object value; for (;;) { // Ignore XML lookup as requred by ECMA 357, 11.2.2.1 value = ScriptableObject.getProperty(thisObj, index); if (value != Scriptable.NOT_FOUND) { break; } if (!(thisObj instanceof XMLObject)) { break; } XMLObject xmlObject = (XMLObject)thisObj; Scriptable extra = xmlObject.getExtraMethodSource(cx); if (extra == null) { break; } thisObj = extra; } if (!(value instanceof Function)) { throw notFunctionError(value, elem); } storeScriptable(cx, thisObj); return (Function)value; }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/90ebe1bf30876ca8ca8a098496166e8475268746/ScriptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4284, 4774, 3269, 2083, 1876, 2503, 12, 921, 1081, 16, 4766, 5375, 1033, 3659, 16, 4766, 5375, 1772, 9494, 13, 565, 288, 3639, 514, 272, 273, 1762, 548, 1162, 1016, 12, 71, 92, 16, 3659, 1769, 3639, 309, 261, 87, 480, 446, 13, 288, 5411, 327, 22079, 2083, 1876, 2503, 12, 2603, 16, 272, 16, 9494, 1769, 3639, 289, 3639, 509, 770, 273, 7536, 1253, 12, 71, 92, 1769, 3639, 22780, 15261, 273, 24216, 18936, 12, 71, 92, 16, 1081, 1769, 3639, 309, 261, 2211, 2675, 422, 446, 13, 288, 5411, 604, 640, 536, 1477, 668, 12, 2603, 16, 514, 18, 1132, 951, 12, 1615, 10019, 3639, 289, 3639, 1033, 460, 31, 3639, 364, 261, 25708, 13, 288, 5411, 368, 8049, 3167, 3689, 487, 10780, 1118, 635, 7773, 5535, 890, 10321, 16, 4648, 18, 22, 18, 22, 18, 21, 5411, 460, 273, 22780, 921, 18, 588, 1396, 12, 2211, 2675, 16, 770, 1769, 5411, 309, 261, 1132, 480, 22780, 18, 4400, 67, 9294, 13, 288, 7734, 898, 31, 5411, 289, 5411, 309, 16051, 12, 2211, 2675, 1276, 3167, 921, 3719, 288, 7734, 898, 31, 5411, 289, 5411, 3167, 921, 2025, 921, 273, 261, 4201, 921, 13, 2211, 2675, 31, 5411, 22780, 2870, 273, 2025, 921, 18, 588, 7800, 1305, 1830, 12, 71, 92, 1769, 5411, 309, 261, 7763, 422, 446, 13, 288, 7734, 898, 31, 5411, 289, 5411, 15261, 273, 2870, 31, 3639, 289, 3639, 309, 16051, 12, 1132, 1276, 4284, 3719, 288, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4284, 4774, 3269, 2083, 1876, 2503, 12, 921, 1081, 16, 4766, 5375, 1033, 3659, 16, 4766, 5375, 1772, 9494, 13, 565, 288, 3639, 514, 272, 273, 1762, 548, 1162, 1016, 12, 71, 92, 16, 3659, 1769, 3639, 309, 261, 87, 480, 446, 13, 288, 5411, 327, 22079, 2083, 1876, 2503, 12, 2603, 16, 272, 16, 9494, 1769, 3639, 289, 3639, 509, 770, 273, 7536, 1253, 12, 71, 92, 1769, 3639, 22780, 15261, 273, 24216, 18936, 12, 71, 92, 16, 1081, 1769, 3639, 309, 261, 2211, 2675, 422, 446, 13, 288, 5411, 604, 640, 536, 1477, 668, 12, 2603, 16, 514, 18, 1132, 951, 12, 1615, 10019, 3639, 289, 3639, 1033, 460, 31, 3639, 364, 261, 25708, 2 ]
new String(outputBuf));
new String(outputBuf, 0, n));
protected void sendFrame(Frame f) throws BEEPException { try { OutputStream os = socket.getOutputStream(); synchronized (writerLock) { /* Inspite of the extra data copy if is faster to have * a single call to write() (at least with the JVMs we * have tested with). */ BufferSegment[] bs = f.getBytes(); int n = 0; for (int i=0; i<bs.length; ++i) { n += bs[i].getLength(); } if (n > outputBuf.length) { outputBuf = new byte[n]; } int off = 0; for (int i=0; i<bs.length; ++i) { System.arraycopy(bs[i].getData(), bs[i].getOffset(), outputBuf, off, bs[i].getLength()); off += bs[i].getLength(); } os.write(outputBuf, 0, n); os.flush(); if (Log.isLogged(Log.SEV_DEBUG_VERBOSE)) { Log.logEntry(Log.SEV_DEBUG_VERBOSE, TCP_MAPPING, "Wrote the following\n" + new String(outputBuf)); } } } catch (IOException e) { throw new BEEPException(e.toString()); } catch (Exception e) { throw new BEEPException(e.toString()); } }
11902 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11902/b2bbbe99d37eb846353722c33424d470ed8a460c/TCPSession.java/buggy/src/org/beepcore/beep/transport/tcp/TCPSession.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1366, 3219, 12, 3219, 284, 13, 1216, 605, 9383, 52, 503, 565, 288, 3639, 775, 288, 5411, 8962, 1140, 273, 2987, 18, 588, 4632, 5621, 5411, 3852, 261, 6299, 2531, 13, 288, 7734, 1748, 657, 1752, 1137, 434, 326, 2870, 501, 1610, 309, 353, 12063, 358, 1240, 1171, 380, 279, 2202, 745, 358, 1045, 1435, 261, 270, 4520, 598, 326, 804, 58, 6947, 732, 1171, 380, 1240, 18432, 598, 2934, 1171, 1195, 7734, 3525, 4131, 8526, 7081, 273, 284, 18, 588, 2160, 5621, 7734, 509, 290, 273, 374, 31, 7734, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2038, 18, 2469, 31, 965, 77, 13, 288, 10792, 290, 1011, 7081, 63, 77, 8009, 588, 1782, 5621, 7734, 289, 7734, 309, 261, 82, 405, 876, 5503, 18, 2469, 13, 288, 10792, 876, 5503, 273, 394, 1160, 63, 82, 15533, 7734, 289, 7734, 509, 3397, 273, 374, 31, 7734, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2038, 18, 2469, 31, 965, 77, 13, 288, 10792, 2332, 18, 1126, 3530, 12, 2038, 63, 77, 8009, 588, 751, 9334, 7081, 63, 77, 8009, 588, 2335, 9334, 19694, 876, 5503, 16, 3397, 16, 7081, 63, 77, 8009, 588, 1782, 10663, 10792, 3397, 1011, 7081, 63, 77, 8009, 588, 1782, 5621, 7734, 289, 7734, 1140, 18, 2626, 12, 2844, 5503, 16, 374, 16, 290, 1769, 7734, 1140, 18, 11330, 5621, 7734, 309, 261, 1343, 18, 291, 19862, 12, 1343, 18, 1090, 58, 67, 9394, 67, 21900, 3719, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1366, 3219, 12, 3219, 284, 13, 1216, 605, 9383, 52, 503, 565, 288, 3639, 775, 288, 5411, 8962, 1140, 273, 2987, 18, 588, 4632, 5621, 5411, 3852, 261, 6299, 2531, 13, 288, 7734, 1748, 657, 1752, 1137, 434, 326, 2870, 501, 1610, 309, 353, 12063, 358, 1240, 1171, 380, 279, 2202, 745, 358, 1045, 1435, 261, 270, 4520, 598, 326, 804, 58, 6947, 732, 1171, 380, 1240, 18432, 598, 2934, 1171, 1195, 7734, 3525, 4131, 8526, 7081, 273, 284, 18, 588, 2160, 5621, 7734, 509, 290, 273, 374, 31, 7734, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2038, 18, 2469, 31, 965, 77, 13, 288, 10792, 290, 1011, 7081, 63, 77, 8009, 588, 1782, 2 ]
hashCodeComputed = false; hashCode = 0;
hashCode = HASH_INITIAL;
boolean setActivityRequirementBindings(Set activityRequirementBindings) { activityRequirementBindings = Util.safeCopy( activityRequirementBindings, IActivityRequirementBinding.class); if (!Util.equals(activityRequirementBindings, this.activityRequirementBindings)) { this.activityRequirementBindings = activityRequirementBindings; this.activityRequirementBindingsAsArray = (IActivityRequirementBinding[]) this.activityRequirementBindings .toArray(new IActivityRequirementBinding[this.activityRequirementBindings .size()]); hashCodeComputed = false; hashCode = 0; string = null; return true; } return false; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/656aceed8fe4b7861391608975573bcdfb416f65/Activity.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/Activity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 444, 6193, 18599, 10497, 12, 694, 5728, 18599, 10497, 13, 288, 3639, 5728, 18599, 10497, 273, 3564, 18, 4626, 2951, 12, 7734, 5728, 18599, 10497, 16, 467, 6193, 18599, 5250, 18, 1106, 1769, 3639, 309, 16051, 1304, 18, 14963, 12, 9653, 18599, 10497, 16, 7734, 333, 18, 9653, 18599, 10497, 3719, 288, 5411, 333, 18, 9653, 18599, 10497, 273, 5728, 18599, 10497, 31, 5411, 333, 18, 9653, 18599, 10497, 19196, 273, 261, 45, 6193, 18599, 5250, 63, 5717, 333, 18, 9653, 18599, 10497, 10792, 263, 31447, 12, 2704, 467, 6193, 18599, 5250, 63, 2211, 18, 9653, 18599, 10497, 18701, 263, 1467, 1435, 19226, 5411, 13374, 17934, 273, 629, 31, 5411, 13374, 273, 374, 31, 5411, 533, 273, 446, 31, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 444, 6193, 18599, 10497, 12, 694, 5728, 18599, 10497, 13, 288, 3639, 5728, 18599, 10497, 273, 3564, 18, 4626, 2951, 12, 7734, 5728, 18599, 10497, 16, 467, 6193, 18599, 5250, 18, 1106, 1769, 3639, 309, 16051, 1304, 18, 14963, 12, 9653, 18599, 10497, 16, 7734, 333, 18, 9653, 18599, 10497, 3719, 288, 5411, 333, 18, 9653, 18599, 10497, 273, 5728, 18599, 10497, 31, 5411, 333, 18, 9653, 18599, 10497, 19196, 273, 261, 45, 6193, 18599, 5250, 63, 5717, 333, 18, 9653, 18599, 10497, 10792, 263, 31447, 12, 2704, 467, 6193, 18599, 5250, 63, 2211, 18, 9653, 18599, 10497, 18701, 263, 1467, 1435, 19226, 5411, 13374, 17934, 273, 629, 31, 5411, 13374, 273, 374, 31, 5411, 533, 273, 2 ]
this (null, 0, null, true, null);
this (null, DnDConstants.ACTION_COPY_OR_MOVE, null, true, null);
public DropTarget () { this (null, 0, null, true, null); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/d9914069235ddf6c317ef746cdfbc929cbef6265/DropTarget.java/buggy/core/src/classpath/java/java/awt/dnd/DropTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 10895, 2326, 1832, 225, 288, 565, 333, 261, 2011, 16, 463, 82, 40, 2918, 18, 12249, 67, 24875, 67, 916, 67, 16537, 16, 446, 16, 638, 16, 446, 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,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, 67, 916, 67, 16537, 16, 446, 16, 638, 16, 446, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
/*@bgen(jjtree) UnaryExpression */ ASTUnaryExpression jjtn000 = new ASTUnaryExpression(this, JJTUNARYEXPRESSION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: case MINUS: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: jj_consume_token(PLUS); jjtn000.setImage("+"); jjtn000.setUnDiscardable(); break; case MINUS: jj_consume_token(MINUS); jjtn000.setImage("-"); jjtn000.setUnDiscardable(); break; default: jj_la1[73] = jj_gen; jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); break; case INCR: PreIncrementExpression(); break; case DECR: PreDecrementExpression(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: UnaryExpressionNotPlusMinus(); break; default: jj_la1[74] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { { if (true) throw (RuntimeException) jjte000; } } if (jjte000 instanceof ParseException) { { if (true) throw (ParseException) jjte000; } } { if (true) throw (RuntimeException) jjte000; } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); }
/*@bgen(jjtree) UnaryExpression */ ASTUnaryExpression jjtn000 = new ASTUnaryExpression(this, JJTUNARYEXPRESSION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: case MINUS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: jj_consume_token(PLUS); jjtn000.setImage("+");jjtn000.setUnDiscardable(); break; case MINUS: jj_consume_token(MINUS); jjtn000.setImage("-");jjtn000.setUnDiscardable(); break; default: jj_la1[73] = jj_gen; jj_consume_token(-1); throw new ParseException();
final public void UnaryExpression() throws ParseException { /*@bgen(jjtree) UnaryExpression */ ASTUnaryExpression jjtn000 = new ASTUnaryExpression(this, JJTUNARYEXPRESSION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: case MINUS: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) { case PLUS: jj_consume_token(PLUS); jjtn000.setImage("+"); jjtn000.setUnDiscardable(); break; case MINUS: jj_consume_token(MINUS); jjtn000.setImage("-"); jjtn000.setUnDiscardable(); break; default: jj_la1[73] = jj_gen; jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); break; case INCR: PreIncrementExpression(); break; case DECR: PreDecrementExpression(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: UnaryExpressionNotPlusMinus(); break; default: jj_la1[74] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { { if (true) throw (RuntimeException) jjte000; } } if (jjte000 instanceof ParseException) { { if (true) throw (ParseException) jjte000; } } { if (true) throw (RuntimeException) jjte000; } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/94275a63a29bc394e85b2f505b6478b6f7c76d82/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 727, 1071, 918, 20324, 2300, 1435, 1216, 10616, 288, 3639, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 20324, 2300, 1195, 3639, 9183, 15972, 2300, 10684, 5088, 3784, 273, 394, 9183, 15972, 2300, 12, 2211, 16, 804, 46, 56, 2124, 6043, 19111, 1769, 3639, 1250, 10684, 5111, 3784, 273, 638, 31, 3639, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 3639, 775, 288, 5411, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 7734, 648, 22443, 3378, 30, 7734, 648, 6989, 3378, 30, 10792, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 13491, 648, 22443, 3378, 30, 18701, 10684, 67, 21224, 67, 2316, 12, 6253, 3378, 1769, 18701, 10684, 5088, 3784, 18, 542, 2040, 2932, 15, 8863, 18701, 10684, 5088, 3784, 18, 542, 984, 14185, 429, 5621, 18701, 898, 31, 13491, 648, 6989, 3378, 30, 18701, 10684, 67, 21224, 67, 2316, 12, 6236, 3378, 1769, 18701, 10684, 5088, 3784, 18, 542, 2040, 2932, 17, 8863, 18701, 10684, 5088, 3784, 18, 542, 984, 14185, 429, 5621, 18701, 898, 31, 13491, 805, 30, 18701, 10684, 67, 11821, 21, 63, 9036, 65, 273, 10684, 67, 4507, 31, 18701, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 18701, 604, 394, 10616, 5621, 10792, 289, 10792, 20324, 2300, 5621, 10792, 898, 31, 7734, 648, 2120, 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, 727, 1071, 918, 20324, 2300, 1435, 1216, 10616, 288, 3639, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 20324, 2300, 1195, 3639, 9183, 15972, 2300, 10684, 5088, 3784, 273, 394, 9183, 15972, 2300, 12, 2211, 16, 804, 46, 56, 2124, 6043, 19111, 1769, 3639, 1250, 10684, 5111, 3784, 273, 638, 31, 3639, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 3639, 775, 288, 5411, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 496, 79, 1435, 294, 10684, 67, 496, 79, 13, 288, 7734, 648, 22443, 3378, 30, 7734, 648, 6989, 3378, 30, 10792, 1620, 14015, 78, 78, 67, 496, 79, 422, 300, 21, 13, 692, 10684, 67, 2 ]
}
}
public void start() { // Construct the filter with the objectclass + filter String classnamefilter = "(objectClass=" + m_metadata.getServiceSpecification() + ")"; String filter = ""; if (!m_metadata.getFilter().equals("")) { filter = "(&" + classnamefilter + m_metadata.getFilter() + ")"; } else { filter = classnamefilter; } Activator.getLogger().log(Level.INFO, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] Start a dependency on : " + m_metadata.getServiceSpecification() + " with " + m_metadata.getFilter()); m_state = UNRESOLVED; try { m_clazz = m_handler.getComponentManager().getContext().getBundle().loadClass(m_metadata.getServiceSpecification()); } catch (ClassNotFoundException e) { System.err.println("Cannot load the interface class for the dependency " + m_metadata.getField() + " [" + m_metadata.getServiceSpecification() + "]"); e.printStackTrace(); } try { // Look if the service is already present : ServiceReference[] sr = m_handler.getComponentManager().getContext().getServiceReferences( m_metadata.getServiceSpecification(), filter); if (sr != null) { for (int i = 0; i < sr.length; i++) { addReference(sr[i]); } m_state = RESOLVED; } // Register a listener : m_handler.getComponentManager().getContext().addServiceListener(this, filter); m_change = true; } catch (InvalidSyntaxException e1) { Activator.getLogger().log(Level.SEVERE, "[" + m_handler.getComponentManager().getComponentMetatada().getClassName() + "] A filter is malformed : " + filter); e1.printStackTrace(); } }
45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/ade5d36d9bda6dfac49dec23cf83e543691726ab/Dependency.java/buggy/ipojo/src/main/java/org/apache/felix/ipojo/handlers/dependency/Dependency.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 1435, 288, 3639, 368, 14291, 326, 1034, 598, 326, 733, 1106, 397, 1034, 3639, 514, 7479, 2188, 273, 7751, 1612, 797, 1546, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 397, 7310, 31, 3639, 514, 1034, 273, 1408, 31, 3639, 309, 16051, 81, 67, 4165, 18, 588, 1586, 7675, 14963, 2932, 6, 3719, 288, 5411, 1034, 273, 7751, 10, 6, 397, 7479, 2188, 397, 312, 67, 4165, 18, 588, 1586, 1435, 397, 7310, 31, 3639, 289, 3639, 469, 288, 5411, 1034, 273, 7479, 2188, 31, 3639, 289, 3639, 26939, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 5923, 16, 13626, 397, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1841, 12244, 270, 16524, 7675, 588, 3834, 1435, 397, 9850, 3603, 279, 4904, 603, 294, 315, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 397, 315, 598, 315, 397, 312, 67, 4165, 18, 588, 1586, 10663, 3639, 312, 67, 2019, 273, 5019, 17978, 12135, 31, 3639, 775, 288, 5411, 312, 67, 830, 3638, 273, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 29120, 7675, 588, 3405, 7675, 945, 797, 12, 81, 67, 4165, 18, 588, 1179, 8615, 10663, 3639, 289, 1044, 261, 797, 3990, 425, 13, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 4515, 1262, 326, 1560, 667, 364, 326, 4904, 315, 397, 312, 67, 4165, 18, 588, 974, 1435, 397, 315, 8247, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 397, 9870, 1769, 5411, 425, 18, 1188, 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, 787, 1435, 288, 3639, 368, 14291, 326, 1034, 598, 326, 733, 1106, 397, 1034, 3639, 514, 7479, 2188, 273, 7751, 1612, 797, 1546, 397, 312, 67, 4165, 18, 588, 1179, 8615, 1435, 397, 7310, 31, 3639, 514, 1034, 273, 1408, 31, 3639, 309, 16051, 81, 67, 4165, 18, 588, 1586, 7675, 14963, 2932, 6, 3719, 288, 5411, 1034, 273, 7751, 10, 6, 397, 7479, 2188, 397, 312, 67, 4165, 18, 588, 1586, 1435, 397, 7310, 31, 3639, 289, 3639, 469, 288, 5411, 1034, 273, 7479, 2188, 31, 3639, 289, 3639, 26939, 639, 18, 588, 3328, 7675, 1330, 12, 2355, 18, 5923, 16, 13626, 397, 312, 67, 4176, 18, 588, 1841, 1318, 7675, 588, 1841, 12244, 270, 2 ]
CharBuffer a = (CharBuffer) obj;
CharBuffer other = (CharBuffer) obj;
public int compareTo (Object obj) { CharBuffer a = (CharBuffer) obj; if (a.remaining () != remaining ()) return 1; if (! hasArray () || ! a.hasArray ()) { return 1; } int r = remaining (); int i1 = position (); int i2 = a.position (); for (int i = 0; i < r; i++) { int t = (int) (get (i1) - a.get (i2)); if (t != 0) { return (int) t; } } return 0; }
25352 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25352/a221385cec60e1ba526d292898aeb99953891407/CharBuffer.java/buggy/libjava/java/nio/CharBuffer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 9292, 261, 921, 1081, 13, 225, 288, 565, 3703, 1892, 1308, 273, 261, 2156, 1892, 13, 1081, 31, 565, 309, 261, 69, 18, 17956, 1832, 480, 4463, 1832, 13, 1377, 327, 404, 31, 565, 309, 16051, 711, 1076, 1832, 747, 3639, 401, 279, 18, 5332, 1076, 1832, 13, 1377, 288, 3639, 327, 404, 31, 1377, 289, 565, 509, 436, 273, 4463, 261, 1769, 565, 509, 277, 21, 273, 1754, 261, 1769, 565, 509, 277, 22, 273, 279, 18, 3276, 261, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 436, 31, 277, 27245, 1377, 288, 3639, 509, 268, 273, 261, 474, 13, 261, 588, 261, 77, 21, 13, 300, 279, 18, 588, 261, 77, 22, 10019, 3639, 309, 261, 88, 480, 374, 13, 1850, 288, 5411, 327, 261, 474, 13, 268, 31, 1850, 289, 1377, 289, 565, 327, 374, 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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 282, 1071, 509, 9292, 261, 921, 1081, 13, 225, 288, 565, 3703, 1892, 1308, 273, 261, 2156, 1892, 13, 1081, 31, 565, 309, 261, 69, 18, 17956, 1832, 480, 4463, 1832, 13, 1377, 327, 404, 31, 565, 309, 16051, 711, 1076, 1832, 747, 3639, 401, 279, 18, 5332, 1076, 1832, 13, 1377, 288, 3639, 327, 404, 31, 1377, 289, 565, 509, 436, 273, 4463, 261, 1769, 565, 509, 277, 21, 273, 1754, 261, 1769, 565, 509, 277, 22, 273, 279, 18, 3276, 261, 1769, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 436, 31, 277, 27245, 1377, 288, 3639, 509, 268, 273, 261, 474, 13, 261, 588, 261, 77, 21, 13, 300, 279, 18, 588, 261, 77, 2 ]
public void mT20() throws RecognitionException { int T20_StartIndex = input.index(); try { int type = T20; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 6) ) { return ; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:11:7: ( 'function' ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:11:7: 'function' { match("function"); if (failed) return ; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 6, T20_StartIndex); } } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/297a1e0ef2967d8b4f7be9c022102a5a56e97489/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21115, 3462, 1435, 1216, 9539, 288, 3639, 509, 399, 3462, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 399, 3462, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 1666, 13, 262, 288, 327, 274, 289, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 2499, 30, 27, 30, 261, 296, 915, 11, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 2499, 30, 27, 30, 296, 915, 11, 5411, 288, 5411, 845, 2932, 915, 8863, 309, 261, 7307, 13, 327, 274, 5411, 289, 5411, 309, 261, 1147, 631, 2011, 262, 288, 18356, 12, 723, 16, 1369, 16, 3001, 2555, 16, 4327, 16, 1937, 16, 588, 2156, 1016, 1435, 17, 21, 1769, 97, 3639, 289, 3639, 3095, 288, 5411, 309, 261, 6888, 34, 20, 262, 288, 27820, 12, 2630, 16, 1666, 16, 399, 3462, 67, 16792, 1769, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 21115, 3462, 1435, 1216, 9539, 288, 3639, 509, 399, 3462, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 399, 3462, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 1666, 13, 262, 288, 327, 274, 289, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 2499, 30, 2 ]
throw new NullPointerException( "Trying to set a feature with a null name: " + CLASS_NAME + "#setFeature(null, " + value + ")" ); }
ErrorMsg err = new ErrorMsg(ErrorMsg.JAXP_SET_FEATURE_NULL_NAME); throw new NullPointerException(err.toString()); }
public void setFeature(String name, boolean value) throws TransformerConfigurationException { // feature name cannot be null if (name == null) { throw new NullPointerException( "Trying to set a feature with a null name: " + CLASS_NAME + "#setFeature(null, " + value + ")" ); } // secure processing? if (name.equals(XMLConstants.FEATURE_SECURE_PROCESSING)) { featureSecureProcessing = value; // all done processing feature return; } // unknown feature throw new TransformerConfigurationException( "Trying to set the unknown feature \"" + name + "\": " + CLASS_NAME + "#setFeature(" + name + ", " + value + ")" ); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f22658e0d69f8550b3494a8593653ad91e44410c/TransformerFactoryImpl.java/buggy/src/org/apache/xalan/xsltc/trax/TransformerFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 28669, 12, 780, 508, 16, 1250, 460, 13, 3639, 1216, 11519, 10737, 288, 202, 759, 2572, 508, 2780, 506, 446, 202, 430, 261, 529, 422, 446, 13, 288, 202, 565, 604, 394, 10108, 12, 202, 202, 6, 18038, 358, 444, 279, 2572, 598, 279, 446, 508, 30, 315, 202, 202, 15, 7383, 67, 1985, 397, 6619, 542, 4595, 12, 2011, 16, 315, 397, 460, 397, 7310, 202, 202, 1769, 202, 97, 1082, 202, 759, 8177, 4929, 35, 202, 430, 261, 529, 18, 14963, 12, 4201, 2918, 18, 18257, 67, 11944, 4830, 67, 16560, 1360, 3719, 288, 202, 565, 2572, 12834, 7798, 273, 460, 31, 9506, 565, 368, 777, 2731, 4929, 2572, 202, 565, 327, 31, 202, 97, 1082, 202, 759, 5917, 2572, 202, 12849, 394, 11519, 10737, 12, 202, 202, 6, 18038, 358, 444, 326, 5917, 2572, 11843, 397, 508, 397, 1548, 6877, 315, 202, 202, 15, 7383, 67, 1985, 397, 6619, 542, 4595, 2932, 397, 508, 397, 3104, 315, 397, 460, 397, 7310, 202, 202, 1769, 9506, 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,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506, 446, 202, 430, 261, 529, 422, 446, 13, 288, 202, 565, 604, 394, 10108, 12, 202, 202, 6, 18038, 358, 444, 279, 2572, 598, 279, 446, 508, 30, 315, 202, 202, 15, 7383, 67, 1985, 397, 6619, 542, 4595, 12, 2011, 16, 315, 397, 460, 397, 7310, 202, 202, 1769, 202, 97, 1082, 202, 759, 8177, 4929, 35, 202, 430, 261, 529, 18, 14963, 12, 4201, 2918, 18, 18257, 67, 11944, 4830, 67, 16560, 1360, 3719, 288, 202, 565, 2572, 12834, 7798, 273, 460, 31, 9506, 565, 368, 777, 2731, 4929, 2572, 202, 565, 327, 31, 202, 2 ]
return newFixnum(getRuby(), getValue() / other.getLongValue());
return newFixnum(getRuby(), getLongValue() / other.getLongValue());
public RubyNumeric op_div(RubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuby(), getDoubleValue()).op_div(other); } else if (other instanceof RubyBignum) { return RubyBignum.newBignum(getRuby(), getLongValue()).op_div(other); } else { return newFixnum(getRuby(), getValue() / other.getLongValue()); } }
46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyFixnum.java/buggy/org/jruby/RubyFixnum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 2892, 12, 54, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 38, 724, 379, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 288, 5411, 327,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 2892, 12, 54, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 309, 261, 3011, 1276, 19817, 38, 724, 379, 13, 288, 5411, 327, 19817, 38, 724, 379, 18, 2704, 38, 724, 379, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 2934, 556, 67, 2892, 12, 3011, 1769, 3639, 289, 469, 288, 5411, 327, 394, 8585, 2107, 12, 588, 54, 10340, 9334, 11105, 620, 1435, 342, 1308, 18, 588, 3708, 620, 10663, 3639, 2 ]
if (line == null) { return null; } int space1 = line.indexOf(" "); int space2 = line.indexOf(" ", space1 + 1); if (space1 == -1 || space2 == -1) { throw new IOException("Http message header line is malformed: " + line); } String method = line.substring(0, space1); String request = line.substring(space1 + 1, space2); String httpVersion = line.substring(space2 + 1);
StringTokenizer tokenizer = new StringTokenizer(startLine); String method = tokenizer.nextToken(); String request = tokenizer.nextToken(); String httpVersion = tokenizer.nextToken();
protected byte[] parseRequest(DataInputStream is, Properties p) throws IOException { byte[] payload;// if(is.available()==0) {// return null;// } String line = null; try { line = HttpParser.readLine(is); } catch (SocketException e) { return null; } catch (SocketTimeoutException e) { if(logger.isTraceEnabled()) logger.trace("Socket timeout on: " + this.getEndpoint().getEndpointURI().getAddress()); return null; } if (line == null) { return null; } int space1 = line.indexOf(" "); int space2 = line.indexOf(" ", space1 + 1); if (space1 == -1 || space2 == -1) { throw new IOException("Http message header line is malformed: " + line); } String method = line.substring(0, space1); String request = line.substring(space1 + 1, space2); String httpVersion = line.substring(space2 + 1); p.setProperty(HttpConnector.HTTP_METHOD_PROPERTY, method); p.setProperty(HttpConnector.HTTP_REQUEST_PROPERTY, request); p.setProperty(HttpConnector.HTTP_VERSION_PROPERTY, httpVersion); // Read headers from the request as set them as properties on the event Header[] headers = HttpParser.parseHeaders(is); String name; for (int i = 0; i < headers.length; i++) { name = headers[i].getName(); if (name.startsWith("X-" + MuleProperties.PROPERTY_PREFIX)) { name = name.substring(2); } p.setProperty(name, headers[i].getValue()); } if (method.equals(HttpConstants.METHOD_GET)) { payload = request.getBytes(); } else { boolean contentLengthNotSet = p.getProperty(HttpConstants.HEADER_CONTENT_LENGTH, null) == null; int contentLength = Integer.parseInt(p.getProperty(HttpConstants.HEADER_CONTENT_LENGTH, String.valueOf(1024 * 32))); byte[] buffer = new byte[contentLength]; ByteArrayOutputStream baos = new ByteArrayOutputStream(); int len = 0; int bytesWritten = 0; // Ensure we read all bytes, http connections may be slow // to send all bytes in consistent stream. I've only seen // this when using Axis... if(contentLengthNotSet) { //maybe we should error here?? logger.error("Header Content-Length not set on http request. Will still read content until end of stream."); while (bytesWritten != contentLength) { len = is.read(buffer); if (len != -1) { baos.write(buffer, 0, len); bytesWritten += len; if (contentLengthNotSet) { contentLength = bytesWritten; } } } payload = baos.toByteArray(); baos.close(); } else { is.readFully(buffer); payload = buffer; } } return payload; }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/0c7a9a289266901867811ac1d1d9027534003930/HttpMessageReceiver.java/buggy/providers/http/src/java/org/mule/providers/http/HttpMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1160, 8526, 1109, 691, 12, 751, 4348, 353, 16, 6183, 293, 13, 1216, 1860, 565, 288, 3639, 1160, 8526, 2385, 31, 759, 3639, 309, 12, 291, 18, 5699, 1435, 631, 20, 13, 288, 759, 5411, 327, 446, 31, 759, 3639, 289, 3639, 514, 980, 273, 446, 31, 3639, 775, 288, 5411, 980, 273, 2541, 2678, 18, 896, 1670, 12, 291, 1769, 3639, 289, 1044, 261, 4534, 503, 425, 13, 288, 5411, 327, 446, 31, 3639, 289, 1044, 261, 4534, 22195, 425, 13, 288, 5411, 309, 12, 4901, 18, 291, 3448, 1526, 10756, 1194, 18, 5129, 2932, 4534, 2021, 603, 30, 315, 397, 333, 18, 588, 3293, 7675, 588, 3293, 3098, 7675, 588, 1887, 10663, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 1369, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 509, 3476, 21, 273, 980, 18, 31806, 2932, 315, 1769, 3639, 509, 3476, 22, 273, 980, 18, 31806, 2932, 3104, 3476, 21, 397, 404, 1769, 3639, 309, 261, 2981, 21, 422, 300, 21, 747, 3476, 22, 422, 300, 21, 13, 288, 5411, 604, 394, 1860, 2932, 2940, 883, 1446, 980, 353, 17458, 30, 315, 397, 980, 1769, 3639, 289, 3639, 514, 707, 273, 980, 18, 28023, 12, 20, 16, 3476, 21, 1769, 3639, 514, 590, 273, 980, 18, 28023, 12, 2981, 21, 397, 404, 16, 3476, 22, 1769, 3639, 514, 1062, 1444, 273, 980, 18, 28023, 12, 2981, 22, 397, 404, 1769, 3639, 293, 18, 542, 1396, 12, 2940, 7487, 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, 1160, 8526, 1109, 691, 12, 751, 4348, 353, 16, 6183, 293, 13, 1216, 1860, 565, 288, 3639, 1160, 8526, 2385, 31, 759, 3639, 309, 12, 291, 18, 5699, 1435, 631, 20, 13, 288, 759, 5411, 327, 446, 31, 759, 3639, 289, 3639, 514, 980, 273, 446, 31, 3639, 775, 288, 5411, 980, 273, 2541, 2678, 18, 896, 1670, 12, 291, 1769, 3639, 289, 1044, 261, 4534, 503, 425, 13, 288, 5411, 327, 446, 31, 3639, 289, 1044, 261, 4534, 22195, 425, 13, 288, 5411, 309, 12, 4901, 18, 291, 3448, 1526, 10756, 1194, 18, 5129, 2932, 4534, 2021, 603, 30, 315, 397, 333, 18, 588, 3293, 7675, 588, 3293, 3098, 7675, 588, 1887, 10663, 5411, 327, 446, 2 ]
return false;
return actualCount;
private boolean processDynamicResults(java.sql.ResultSet[][] holder, int maxDynamicResultSets) throws SQLException { EmbedResultSet[] sorted = new EmbedResultSet[holder.length]; int actualCount = 0; for (int i = 0; i < holder.length; i++) { java.sql.ResultSet[] param = holder[i]; if (param[0] == null) continue; java.sql.ResultSet rs = param[0]; param[0] = null; // ignore non-cloudscape result sets or results sets from another connection if (!(rs instanceof EmbedResultSet)) continue; EmbedResultSet lrs = (EmbedResultSet) rs; if (lrs.getEmbedConnection().rootConnection != getEmbedConnection().rootConnection) continue; // ignore closed result sets. if (lrs.isClosed) continue; lrs.setDynamicResultSet(this); sorted[actualCount++] = lrs; } if (actualCount != 0) { // results are defined to be ordered according to their creation if (actualCount != 1) { java.util.Arrays.sort(sorted, 0, actualCount); } dynamicResults = sorted; if (actualCount > maxDynamicResultSets) { addWarning(StandardException.newWarning(SQLState.LANG_TOO_MANY_DYNAMIC_RESULTS_RETURNED)); for (int i = maxDynamicResultSets; i < actualCount; i++) { sorted[i].close(); sorted[i] = null; } actualCount = maxDynamicResultSets; } updateCount = -1; results = sorted[0]; currentDynamicResultSet = 0; // 0100C is not returned for procedures written in Java, from the SQL2003 spec. // getWarnings(StandardException.newWarning(SQLState.LANG_DYNAMIC_RESULTS_RETURNED)); return true; } return false; }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/fade7e973fe4de9706c7dc940def98548c1ff841/EmbedStatement.java/buggy/java/engine/org/apache/derby/impl/jdbc/EmbedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1207, 9791, 3447, 12, 6290, 18, 4669, 18, 13198, 63, 6362, 65, 10438, 16, 509, 943, 9791, 1253, 2785, 13, 1216, 6483, 288, 202, 202, 9538, 13198, 8526, 3115, 273, 394, 14564, 13198, 63, 4505, 18, 2469, 15533, 202, 202, 474, 3214, 1380, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10438, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6290, 18, 4669, 18, 13198, 8526, 579, 273, 10438, 63, 77, 15533, 1082, 202, 430, 261, 891, 63, 20, 65, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 6290, 18, 4669, 18, 13198, 3597, 273, 579, 63, 20, 15533, 1082, 202, 891, 63, 20, 65, 273, 446, 31, 1082, 202, 759, 2305, 1661, 17, 7277, 12476, 563, 1678, 578, 1686, 1678, 628, 4042, 1459, 1082, 202, 430, 16051, 12, 5453, 1276, 14564, 13198, 3719, 9506, 202, 17143, 31, 1082, 202, 9538, 13198, 328, 5453, 273, 261, 9538, 13198, 13, 3597, 31, 1082, 202, 430, 261, 80, 5453, 18, 588, 9538, 1952, 7675, 3085, 1952, 480, 336, 9538, 1952, 7675, 3085, 1952, 13, 9506, 202, 17143, 31, 1082, 202, 759, 2305, 4375, 563, 1678, 18, 1082, 202, 430, 261, 80, 5453, 18, 291, 7395, 13, 9506, 202, 17143, 31, 1082, 202, 80, 5453, 18, 542, 9791, 13198, 12, 2211, 1769, 1082, 202, 10350, 63, 18672, 1380, 9904, 65, 273, 328, 5453, 31, 202, 202, 97, 202, 202, 430, 261, 18672, 1380, 480, 374, 13, 288, 1082, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 1207, 9791, 3447, 12, 6290, 18, 4669, 18, 13198, 63, 6362, 65, 10438, 16, 509, 943, 9791, 1253, 2785, 13, 1216, 6483, 288, 202, 202, 9538, 13198, 8526, 3115, 273, 394, 14564, 13198, 63, 4505, 18, 2469, 15533, 202, 202, 474, 3214, 1380, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 10438, 18, 2469, 31, 277, 27245, 288, 1082, 202, 6290, 18, 4669, 18, 13198, 8526, 579, 273, 10438, 63, 77, 15533, 1082, 202, 430, 261, 891, 63, 20, 65, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 6290, 18, 4669, 18, 13198, 3597, 273, 579, 63, 20, 15533, 1082, 202, 891, 63, 20, 65, 273, 446, 31, 2 ]
LinkedList<String> workList = new LinkedList<String>(); workList.add(pluginFile);
LinkedList<WorkListItem> workList = new LinkedList<WorkListItem>(); workList.add(new WorkListItem(rootPluginDir, false));
public EclipseClasspath execute() throws EclipseClasspathException, DocumentException, IOException { // Build plugin directory map File pluginDir = new File(eclipseDir, "plugins"); File[] dirList = pluginDir.listFiles(new FileFilter() { public boolean accept(File pathname) { return pathname.isDirectory(); } }); if (dirList == null) throw new EclipseClasspathException("Could not list plugins in directory " + pluginDir); for (int i = 0; i < dirList.length; ++i) { String pluginId = getPluginId(dirList[i].getName()); if (pluginId != null) { //System.out.println(pluginId + " ==> " + dirList[i]); pluginDirectoryMap.put(pluginId, dirList[i]); } } Map<String, Plugin> requiredPluginMap = new HashMap<String, Plugin>(); LinkedList<String> workList = new LinkedList<String>(); workList.add(pluginFile); while (!workList.isEmpty()) { String descriptor = workList.removeFirst(); // Read the plugin file SAXReader reader = new SAXReader(); Document doc = reader.read(new EclipseXMLReader(new FileReader(descriptor))); // Add to the map Plugin plugin = new Plugin(doc); requiredPluginMap.put(plugin.getId(), plugin); // Add unresolved required plugins to the worklist for (Iterator<String> i = plugin.requiredPluginIdIterator(); i.hasNext(); ) { String requiredPluginId = i.next(); if (requiredPluginMap.get(requiredPluginId) == null) { // Find the plugin in the Eclipse directory File requiredPluginDir = pluginDirectoryMap.get(requiredPluginId); if (requiredPluginDir == null) throw new EclipseClasspathException("Unable to find plugin " + requiredPluginId); workList.add(new File(requiredPluginDir, "plugin.xml").getPath()); } } } System.out.println("Found " + requiredPluginMap.size() + " required plugins"); return this; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/cecef5c23f9739219773397e8a772901b68ebf8d/EclipseClasspath.java/clean/findbugs/src/tools/edu/umd/cs/findbugs/EclipseClasspath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 20840, 10472, 17461, 1836, 1435, 1216, 20840, 10472, 17461, 503, 16, 4319, 503, 16, 1860, 288, 202, 202, 759, 3998, 1909, 1867, 852, 202, 202, 812, 1909, 1621, 273, 394, 1387, 12, 20416, 1621, 16, 315, 8057, 8863, 202, 202, 812, 8526, 1577, 682, 273, 1909, 1621, 18, 1098, 2697, 12, 2704, 1387, 1586, 1435, 288, 1082, 202, 482, 1250, 2791, 12, 812, 9806, 13, 288, 9506, 202, 2463, 9806, 18, 291, 2853, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 430, 261, 1214, 682, 422, 446, 13, 1082, 202, 12849, 394, 20840, 10472, 17461, 503, 2932, 4445, 486, 666, 4799, 316, 1867, 315, 397, 1909, 1621, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1577, 682, 18, 2469, 31, 965, 77, 13, 288, 1082, 202, 780, 1909, 548, 273, 16319, 548, 12, 1214, 682, 63, 77, 8009, 17994, 10663, 1082, 202, 430, 261, 4094, 548, 480, 446, 13, 288, 9506, 202, 759, 3163, 18, 659, 18, 8222, 12, 4094, 548, 397, 315, 422, 34, 315, 397, 1577, 682, 63, 77, 19226, 9506, 202, 4094, 2853, 863, 18, 458, 12, 4094, 548, 16, 1577, 682, 63, 77, 19226, 1082, 202, 97, 202, 202, 97, 202, 202, 863, 32, 780, 16, 6258, 34, 1931, 3773, 863, 273, 394, 4317, 32, 780, 16, 6258, 34, 5621, 202, 202, 13174, 682, 32, 780, 34, 1440, 682, 273, 394, 10688, 32, 780, 34, 5621, 202, 202, 1252, 682, 18, 1289, 12, 4094, 812, 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, 20840, 10472, 17461, 1836, 1435, 1216, 20840, 10472, 17461, 503, 16, 4319, 503, 16, 1860, 288, 202, 202, 759, 3998, 1909, 1867, 852, 202, 202, 812, 1909, 1621, 273, 394, 1387, 12, 20416, 1621, 16, 315, 8057, 8863, 202, 202, 812, 8526, 1577, 682, 273, 1909, 1621, 18, 1098, 2697, 12, 2704, 1387, 1586, 1435, 288, 1082, 202, 482, 1250, 2791, 12, 812, 9806, 13, 288, 9506, 202, 2463, 9806, 18, 291, 2853, 5621, 1082, 202, 97, 202, 202, 22938, 202, 202, 430, 261, 1214, 682, 422, 446, 13, 1082, 202, 12849, 394, 20840, 10472, 17461, 503, 2932, 4445, 486, 666, 4799, 316, 1867, 315, 397, 1909, 1621, 1769, 202, 202, 1884, 261, 474, 277, 273, 2 ]
int count = 0;
public void testxx005x() throws Exception { boolean passed = true; output.println("test getting a DECIMAL as a long from the database."); int count = 0; Statement stmt = con.createStatement(); ResultSet rs; rs = stmt.executeQuery("select convert(DECIMAL(4,0), 0)"); if (!rs.next()) { passed = false; } else { long l = rs.getLong(1); if (l != 0) { passed = false; } } rs = stmt.executeQuery("select convert(DECIMAL(4,0), 1)"); if (!rs.next()) { passed = false; } else { long l = rs.getLong(1); if (l != 1) { passed = false; } } rs = stmt.executeQuery("select convert(DECIMAL(4,0), -1)"); if (!rs.next()) { passed = false; } else { long l = rs.getLong(1); if (l != -1) { passed = false; } } assertTrue(passed); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/dc53ac1d792ddad2710aa8aeff0f22c88eb98ebd/CSUnitTest.java/buggy/src/test/net/sourceforge/jtds/test/CSUnitTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5279, 28564, 92, 1435, 1216, 1185, 288, 3639, 1250, 565, 2275, 273, 638, 31, 3639, 876, 18, 8222, 2932, 3813, 8742, 279, 25429, 487, 279, 1525, 628, 326, 2063, 1199, 1769, 9079, 8056, 282, 3480, 377, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 225, 3597, 31, 3639, 3597, 273, 3480, 18, 8837, 1138, 2932, 4025, 1765, 12, 23816, 12, 24, 16, 20, 3631, 374, 2225, 1769, 3639, 309, 16051, 5453, 18, 4285, 10756, 288, 5411, 2275, 273, 629, 31, 3639, 289, 469, 288, 5411, 1525, 328, 273, 3597, 18, 588, 3708, 12, 21, 1769, 5411, 309, 261, 80, 480, 374, 13, 288, 7734, 2275, 273, 629, 31, 5411, 289, 3639, 289, 3639, 3597, 273, 3480, 18, 8837, 1138, 2932, 4025, 1765, 12, 23816, 12, 24, 16, 20, 3631, 404, 2225, 1769, 3639, 309, 16051, 5453, 18, 4285, 10756, 288, 5411, 2275, 273, 629, 31, 3639, 289, 469, 288, 5411, 1525, 328, 273, 3597, 18, 588, 3708, 12, 21, 1769, 5411, 309, 261, 80, 480, 404, 13, 288, 7734, 2275, 273, 629, 31, 5411, 289, 3639, 289, 3639, 3597, 273, 3480, 18, 8837, 1138, 2932, 4025, 1765, 12, 23816, 12, 24, 16, 20, 3631, 300, 21, 2225, 1769, 3639, 309, 16051, 5453, 18, 4285, 10756, 288, 5411, 2275, 273, 629, 31, 3639, 289, 469, 288, 5411, 1525, 328, 273, 3597, 18, 588, 3708, 12, 21, 1769, 5411, 309, 261, 80, 480, 300, 21, 13, 288, 7734, 2275, 273, 629, 31, 5411, 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, 918, 1842, 5279, 28564, 92, 1435, 1216, 1185, 288, 3639, 1250, 565, 2275, 273, 638, 31, 3639, 876, 18, 8222, 2932, 3813, 8742, 279, 25429, 487, 279, 1525, 628, 326, 2063, 1199, 1769, 9079, 8056, 282, 3480, 377, 273, 356, 18, 2640, 3406, 5621, 3639, 10842, 225, 3597, 31, 3639, 3597, 273, 3480, 18, 8837, 1138, 2932, 4025, 1765, 12, 23816, 12, 24, 16, 20, 3631, 374, 2225, 1769, 3639, 309, 16051, 5453, 18, 4285, 10756, 288, 5411, 2275, 273, 629, 31, 3639, 289, 469, 288, 5411, 1525, 328, 273, 3597, 18, 588, 3708, 12, 21, 1769, 5411, 309, 261, 80, 480, 374, 13, 288, 7734, 2275, 273, 629, 31, 5411, 289, 3639, 289, 3639, 3597, 273, 2 ]
filesSet.add(file);
filesSet.add(directory);
public static VirtualFile[] getCommonAncestors(VirtualFile[] files) { // Separate files by first component in the path. HashMap<VirtualFile,Set<VirtualFile>> map = new HashMap<VirtualFile, Set<VirtualFile>>(); for (VirtualFile aFile : files) { VirtualFile file = aFile.isDirectory() ? aFile : aFile.getParent(); //assertTrue(file != null); VirtualFile[] path = getPathComponents(file); Set<VirtualFile> filesSet; if (map.containsKey(path[0])) { filesSet = map.get(path[0]); } else { map.put(path[0], filesSet = new HashSet<VirtualFile>()); } filesSet.add(file); } // Find common ancestor for each set of files. ArrayList<VirtualFile> ancestorsList = new ArrayList<VirtualFile>(); for (Set<VirtualFile> filesSet : map.values()) { VirtualFile ancestor = null; for (VirtualFile file : filesSet) { if (ancestor == null) { ancestor = file; continue; } ancestor = getCommonAncestor(ancestor, file); //assertTrue(ancestor != null); } ancestorsList.add(ancestor); filesSet.clear(); } return ancestorsList.toArray(new VirtualFile[ancestorsList.size()]); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/1078aac7aa2e197a0e764f306f0e10508b737588/VfsUtil.java/buggy/openapi/src/com/intellij/openapi/vfs/VfsUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 7269, 812, 8526, 30863, 28304, 12, 6466, 812, 8526, 1390, 13, 288, 565, 368, 18032, 297, 340, 1390, 635, 1122, 1794, 316, 326, 589, 18, 565, 4317, 32, 6466, 812, 16, 694, 32, 6466, 812, 9778, 852, 273, 394, 4317, 32, 6466, 812, 16, 1000, 32, 6466, 812, 9778, 5621, 565, 364, 261, 6466, 812, 279, 812, 294, 1390, 13, 288, 1377, 7269, 812, 585, 273, 279, 812, 18, 291, 2853, 1435, 692, 279, 812, 294, 279, 812, 18, 588, 3054, 5621, 1377, 368, 11231, 5510, 12, 768, 480, 446, 1769, 1377, 7269, 812, 8526, 589, 273, 4339, 7171, 12, 768, 1769, 1377, 1000, 32, 6466, 812, 34, 1390, 694, 31, 1377, 309, 261, 1458, 18, 12298, 653, 12, 803, 63, 20, 22643, 288, 3639, 1390, 694, 273, 852, 18, 588, 12, 803, 63, 20, 19226, 1377, 289, 1377, 469, 288, 3639, 852, 18, 458, 12, 803, 63, 20, 6487, 1390, 694, 273, 394, 6847, 32, 6466, 812, 34, 10663, 1377, 289, 1377, 1390, 694, 18, 1289, 12, 5149, 1769, 565, 289, 565, 368, 4163, 2975, 9731, 364, 1517, 444, 434, 1390, 18, 565, 2407, 32, 6466, 812, 34, 14322, 682, 273, 394, 2407, 32, 6466, 812, 34, 5621, 565, 364, 261, 694, 32, 6466, 812, 34, 1390, 694, 294, 852, 18, 2372, 10756, 288, 1377, 7269, 812, 9731, 273, 446, 31, 1377, 364, 261, 6466, 812, 585, 294, 1390, 694, 13, 288, 3639, 309, 261, 28798, 422, 446, 13, 288, 1850, 9731, 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, 282, 1071, 760, 7269, 812, 8526, 30863, 28304, 12, 6466, 812, 8526, 1390, 13, 288, 565, 368, 18032, 297, 340, 1390, 635, 1122, 1794, 316, 326, 589, 18, 565, 4317, 32, 6466, 812, 16, 694, 32, 6466, 812, 9778, 852, 273, 394, 4317, 32, 6466, 812, 16, 1000, 32, 6466, 812, 9778, 5621, 565, 364, 261, 6466, 812, 279, 812, 294, 1390, 13, 288, 1377, 7269, 812, 585, 273, 279, 812, 18, 291, 2853, 1435, 692, 279, 812, 294, 279, 812, 18, 588, 3054, 5621, 1377, 368, 11231, 5510, 12, 768, 480, 446, 1769, 1377, 7269, 812, 8526, 589, 273, 4339, 7171, 12, 768, 1769, 1377, 1000, 32, 6466, 812, 34, 1390, 694, 31, 1377, 309, 261, 1458, 18, 2 ]
_path.remove(fc); Map<FactoryContainer, Attributes> newPath = new LinkedHashMap<FactoryContainer, Attributes>(_path.size() + 1); newPath.put(fc, a); newPath.putAll(_path); _path = newPath;
synchronized(_path) { _path.remove(fc); Map<FactoryContainer, Attributes> newPath = new LinkedHashMap<FactoryContainer, Attributes>(1 + 4*(_path.size() + 1)/3); newPath.put(fc, a); newPath.putAll(_path); _path.clear(); _path.putAll(newPath); }
private void internalAdd(FactoryContainer fc, Attributes a) { _path.remove(fc); Map<FactoryContainer, Attributes> newPath = new LinkedHashMap<FactoryContainer, Attributes>(_path.size() + 1); newPath.put(fc, a); newPath.putAll(_path); _path = newPath; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/32b081d35c862d8b528458dd008b4732f5de01d8/FactoryPath.java/clean/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2713, 986, 12, 1733, 2170, 8036, 16, 9055, 279, 13, 288, 202, 202, 67, 803, 18, 4479, 12, 7142, 1769, 202, 202, 863, 32, 1733, 2170, 16, 9055, 34, 14954, 273, 1875, 202, 2704, 13589, 32, 1733, 2170, 16, 9055, 34, 24899, 803, 18, 1467, 1435, 397, 404, 1769, 202, 202, 2704, 743, 18, 458, 12, 7142, 16, 279, 1769, 202, 202, 2704, 743, 18, 458, 1595, 24899, 803, 1769, 202, 202, 67, 803, 273, 14954, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2713, 986, 12, 1733, 2170, 8036, 16, 9055, 279, 13, 288, 202, 202, 67, 803, 18, 4479, 12, 7142, 1769, 202, 202, 863, 32, 1733, 2170, 16, 9055, 34, 14954, 273, 1875, 202, 2704, 13589, 32, 1733, 2170, 16, 9055, 34, 24899, 803, 18, 1467, 1435, 397, 404, 1769, 202, 202, 2704, 743, 18, 458, 12, 7142, 16, 279, 1769, 202, 202, 2704, 743, 18, 458, 1595, 24899, 803, 1769, 202, 202, 67, 803, 273, 14954, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void run(SPF1Data spfData) throws PermErrorException;
public String run(SPF1Data spfData) throws PermErrorException;
public void run(SPF1Data spfData) throws PermErrorException;
49306 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49306/8dd14e5e0fcf759527f7528d87c64676e28ff728/Modifier.java/clean/src/main/java/org/apache/spf/modifier/Modifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 3118, 42, 21, 751, 1694, 74, 751, 13, 1216, 13813, 10009, 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,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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
errorReporter = new ToolErrorReporter(false);
errorReporter = new ToolErrorReporter(false, err);
public static void main(String args[]) { Context cx = Context.enter(); errorReporter = new ToolErrorReporter(false); cx.setErrorReporter(errorReporter); // A bit of shorthand: since Main extends ScriptableObject, // we can make it the global object. // We create a shared global with sealed properties that // we can share with other threads (see spawn). sharedGlobal = new SharedGlobal(); // Create the "global" object where top-level variables will live. // Set its prototype to the sharedGlobal where all the standard // functions and objects live. global = new Main(); global.setPrototype(sharedGlobal); args = processOptions(cx, args); // Set up "arguments" in the global scope to contain the command // line arguments after the name of the script to execute Object[] array = args; if (args.length > 0) { int length = args.length - 1; array = new Object[length]; System.arraycopy(args, 1, array, 0, length); } Scriptable argsObj = cx.newArray(global, array); global.defineProperty("arguments", argsObj, ScriptableObject.DONTENUM); // Set up "environment" in the global scope to provide access to the // System environment variables. Environment.defineClass(sharedGlobal); Environment environment = new Environment(global); global.defineProperty("environment", environment, ScriptableObject.DONTENUM); global.history = (NativeArray) cx.newArray(global, 0); global.defineProperty("history", global.history, ScriptableObject.DONTENUM); /* TODO: enable debugger if (global.debug) { global.debug_dm = new DebugManager(); global.debug_stm = new SourceTextManagerImpl(); global.debug_dm.setSourceTextManager(global.debug_stm); cx.setSourceTextManager(global.debug_stm); global.debug_dm.createdContext(cx); if (global.showDebuggerUI) { System.out.println("Launching JSDebugger..."); try { Class clazz = Class.forName( "com.netscape.jsdebugging.ifcui.launcher.rhino.LaunchNetscapeJavaScriptDebugger"); ILaunchableDebugger debugger = (ILaunchableDebugger) clazz.newInstance(); debugger.launch(global.debug_dm, global.debug_stm, false); } catch (Exception e) { // eat it... System.out.println(e); System.out.println("Failed to launch the JSDebugger"); } } System.out.println("Debug level set to "+cx.getDebugLevel()); } */ if (global.processStdin) processSource(cx, args.length == 0 ? null : args[0]); cx.exit(); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/de8bedf312b2fad23c19d3781ea5e0b40c31a314/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 393, 1769, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 368, 432, 2831, 434, 21310, 30, 3241, 12740, 3231, 22780, 921, 16, 3639, 368, 732, 848, 1221, 518, 326, 2552, 733, 18, 3639, 368, 1660, 752, 279, 5116, 2552, 598, 695, 18931, 1790, 716, 3639, 368, 732, 848, 7433, 598, 1308, 7403, 261, 5946, 12560, 2934, 3639, 5116, 5160, 273, 394, 10314, 5160, 5621, 7734, 368, 1788, 326, 315, 6347, 6, 733, 1625, 1760, 17, 2815, 3152, 903, 8429, 18, 3639, 368, 1000, 2097, 4409, 358, 326, 5116, 5160, 1625, 777, 326, 4529, 3639, 368, 4186, 471, 2184, 8429, 18, 3639, 2552, 273, 394, 12740, 5621, 3639, 2552, 18, 542, 15846, 12, 11574, 5160, 1769, 3639, 833, 273, 1207, 1320, 12, 71, 92, 16, 833, 1769, 3639, 368, 1000, 731, 315, 7099, 6, 316, 326, 2552, 2146, 358, 912, 326, 1296, 3639, 368, 980, 1775, 1839, 326, 508, 434, 326, 2728, 358, 1836, 3639, 1033, 8526, 526, 273, 833, 31, 3639, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 5411, 509, 769, 273, 833, 18, 2469, 300, 404, 31, 5411, 526, 273, 394, 1033, 63, 2469, 15533, 5411, 2332, 18, 1126, 3530, 12, 1968, 16, 404, 16, 526, 16, 374, 16, 769, 1769, 3639, 289, 3639, 22780, 833, 2675, 273, 9494, 18, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 1772, 9494, 273, 1772, 18, 2328, 5621, 3639, 555, 13289, 273, 394, 13288, 668, 13289, 12, 5743, 16, 393, 1769, 3639, 9494, 18, 542, 668, 13289, 12, 1636, 13289, 1769, 3639, 368, 432, 2831, 434, 21310, 30, 3241, 12740, 3231, 22780, 921, 16, 3639, 368, 732, 848, 1221, 518, 326, 2552, 733, 18, 3639, 368, 1660, 752, 279, 5116, 2552, 598, 695, 18931, 1790, 716, 3639, 368, 732, 848, 7433, 598, 1308, 7403, 261, 5946, 12560, 2934, 3639, 5116, 5160, 273, 394, 10314, 5160, 5621, 7734, 368, 1788, 326, 315, 6347, 6, 733, 1625, 1760, 17, 2815, 3152, 903, 8429, 18, 3639, 368, 1000, 2097, 4409, 358, 2 ]
case 47:
case 46:
public AttributeDescr rule_attribute() throws RecognitionException { AttributeDescr d = null; AttributeDescr a = null; d = null; try { // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:512:4: (a= salience | a= no_loop | a= agenda_group | a= duration | a= activation_group | a= auto_focus ) int alt18=6; switch ( input.LA(1) ) { case 42: alt18=1; break; case 43: alt18=2; break; case 46: alt18=3; break; case 47: alt18=4; break; case 45: alt18=5; break; case 44: alt18=6; break; default: NoViableAltException nvae = new NoViableAltException("507:1: rule_attribute returns [AttributeDescr d] : (a= salience | a= no_loop | a= agenda_group | a= duration | a= activation_group | a= auto_focus );", 18, 0, input); throw nvae; } switch (alt18) { case 1 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:512:4: a= salience { pushFollow(FOLLOW_salience_in_rule_attribute789); a=salience(); _fsp--; d = a; } break; case 2 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:513:5: a= no_loop { pushFollow(FOLLOW_no_loop_in_rule_attribute799); a=no_loop(); _fsp--; d = a; } break; case 3 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:514:5: a= agenda_group { pushFollow(FOLLOW_agenda_group_in_rule_attribute810); a=agenda_group(); _fsp--; d = a; } break; case 4 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:515:5: a= duration { pushFollow(FOLLOW_duration_in_rule_attribute823); a=duration(); _fsp--; d = a; } break; case 5 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:516:5: a= activation_group { pushFollow(FOLLOW_activation_group_in_rule_attribute837); a=activation_group(); _fsp--; d = a; } break; case 6 : // D:\\dev\\jbossrules\\trunk\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:517:5: a= auto_focus { pushFollow(FOLLOW_auto_focus_in_rule_attribute848); a=auto_focus(); _fsp--; d = a; } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/c3437c2488c314384990c4282a547e0f92ca02c2/DRLParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 1720, 67, 4589, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 273, 446, 31, 3639, 3601, 16198, 279, 273, 446, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 13757, 30, 24, 30, 261, 69, 33, 12814, 6254, 571, 279, 33, 1158, 67, 6498, 571, 279, 33, 28809, 67, 1655, 571, 279, 33, 3734, 571, 279, 33, 10027, 67, 1655, 571, 279, 33, 3656, 67, 13923, 262, 5411, 509, 3770, 2643, 33, 26, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 14856, 30, 7734, 3770, 2643, 33, 21, 31, 7734, 898, 31, 5411, 648, 21193, 30, 7734, 3770, 2643, 33, 22, 31, 7734, 898, 31, 5411, 648, 17077, 30, 7734, 3770, 2643, 33, 23, 31, 7734, 898, 31, 5411, 648, 17077, 30, 7734, 3770, 2643, 33, 24, 31, 7734, 898, 31, 5411, 648, 12292, 30, 7734, 3770, 2643, 33, 25, 31, 7734, 898, 31, 5411, 648, 13291, 30, 7734, 3770, 2643, 33, 26, 31, 7734, 898, 31, 5411, 805, 30, 7734, 17114, 15077, 273, 10792, 394, 17114, 2932, 3361, 27, 30, 21, 30, 1720, 67, 4589, 1135, 306, 1499, 16198, 302, 65, 294, 261, 69, 33, 12814, 6254, 571, 279, 33, 1158, 67, 6498, 571, 279, 33, 28809, 67, 1655, 571, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 1720, 67, 4589, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 273, 446, 31, 3639, 3601, 16198, 279, 273, 446, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 463, 31027, 5206, 1695, 10649, 8464, 7482, 1695, 26133, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 13757, 30, 24, 30, 261, 69, 33, 12814, 6254, 571, 279, 33, 1158, 67, 6498, 571, 279, 33, 28809, 67, 1655, 571, 279, 33, 3734, 571, 279, 33, 10027, 67, 1655, 571, 279, 33, 3656, 67, 13923, 262, 5411, 509, 3770, 2643, 33, 26, 31, 5411, 1620, 261, 810, 18, 2 ]
Element schema = XUtil.getFirstChildElement(fDocumentType, "schema"); Element externalEntity = XUtil.getFirstChildElement(schema, "externalEntity", "name", entityName); if (externalEntity == null) { externalEntity = fDocument.createElement("externalEntity"); externalEntity.setAttribute("name", entityName); externalEntity.setAttribute("export", "true"); ((AttrImpl)externalEntity.getAttributeNode("export")).setSpecified(false); if (publicIdIndex != -1) { externalEntity.setAttribute("public", publicId);
StringBuffer str = new StringBuffer(); str.append("<!ENTITY "); str.append(fStringPool.toString(entityNameIndex)); str.append(' '); if (publicIdIndex != -1) { str.append("PUBLIC \""); str.append(fStringPool.toString(publicIdIndex)); str.append('"'); if (systemIdIndex != -1) { str.append(" \""); str.append(fStringPool.toString(systemIdIndex)); str.append('"');
public void externalEntityDecl(int entityNameIndex, int publicIdIndex, int systemIdIndex) throws Exception { // deferred expansion if (fDeferredDocumentImpl != null) { //revisit: how to check if entity was already declared. // XML spec says that 1st Entity decl is binding. int newEntityIndex = fDeferredDocumentImpl.createEntity(entityNameIndex, publicIdIndex, systemIdIndex, -1); fDeferredDocumentImpl.appendChild(fDocumentTypeIndex, newEntityIndex); /*** // REVISIT: Entities were removed from latest working draft. -Ac // create external entity declaration if (fGrammarAccess) { int schemaIndex = getFirstChildElement(fDocumentTypeIndex, "schema"); String entityName = fStringPool.toString(entityNameIndex); int externalEntityIndex = getFirstChildElement(schemaIndex, "externalEntity", "name", entityName); if (externalEntityIndex == -1) { int handle = fAttrList.startAttrList(); fAttrList.addAttr( fStringPool.addSymbol("name"), fStringPool.addString(entityName), fStringPool.addSymbol("NMTOKEN"), true, false); // search fAttrList.addAttr( fStringPool.addSymbol("export"), fStringPool.addString("true"), fStringPool.addSymbol("ENUMERATION"), false, false); // search if (publicIdIndex != -1) { fAttrList.addAttr( fStringPool.addSymbol("public"), publicIdIndex, fStringPool.addSymbol("CDATA"), true, false); // search } fAttrList.addAttr( fStringPool.addSymbol("system"), systemIdIndex, fStringPool.addSymbol("CDATA"), true, false); // search fAttrList.endAttrList(); externalEntityIndex = fDeferredDocumentImpl.createElement(fStringPool.addSymbol("externalEntity"), fAttrList, handle); fDeferredDocumentImpl.appendChild(schemaIndex, externalEntityIndex); } } /***/ } // full expansion else if (fDocumentImpl != null) { //revisit: how to check if entity was already declared. // XML spec says that 1st Entity decl is binding. String entityName = fStringPool.toString(entityNameIndex); String publicId = fStringPool.toString(publicIdIndex); String systemId = fStringPool.toString(systemIdIndex); EntityImpl entity = (EntityImpl)fDocumentImpl.createEntity(entityName); if (publicIdIndex != -1) { entity.setPublicId(publicId); } entity.setSystemId(systemId); fDocumentType.getEntities().setNamedItem(entity); /*** // REVISIT: Entities were removed from latest working draft. -Ac // create external entity declaration if (fGrammarAccess) { Element schema = XUtil.getFirstChildElement(fDocumentType, "schema"); Element externalEntity = XUtil.getFirstChildElement(schema, "externalEntity", "name", entityName); if (externalEntity == null) { externalEntity = fDocument.createElement("externalEntity"); externalEntity.setAttribute("name", entityName); externalEntity.setAttribute("export", "true"); ((AttrImpl)externalEntity.getAttributeNode("export")).setSpecified(false); if (publicIdIndex != -1) { externalEntity.setAttribute("public", publicId); } externalEntity.setAttribute("system", systemId); schema.appendChild(externalEntity); } } /***/ } } // externalEntityDecl(int,int,int)
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/3bbd83a7bcddbc34357f71fe08eace8d74b9bc8f/DOMParser.java/buggy/src/org/apache/xerces/parsers/DOMParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3903, 1943, 3456, 12, 474, 14868, 1016, 16, 509, 1071, 548, 1016, 16, 509, 30083, 1016, 13, 3639, 1216, 1185, 288, 3639, 368, 7045, 17965, 3639, 309, 261, 74, 16886, 2519, 2828, 480, 446, 13, 288, 5411, 368, 266, 11658, 30, 3661, 358, 866, 309, 1522, 1703, 1818, 7886, 18, 5411, 368, 3167, 857, 20185, 716, 404, 334, 3887, 3496, 353, 5085, 18, 5411, 509, 394, 1943, 1016, 273, 284, 16886, 2519, 2828, 18, 2640, 1943, 12, 1096, 461, 1016, 16, 1071, 548, 1016, 16, 30083, 1016, 16, 300, 21, 1769, 5411, 284, 16886, 2519, 2828, 18, 6923, 1763, 12, 74, 2519, 559, 1016, 16, 394, 1943, 1016, 1769, 5411, 1783, 14, 5411, 368, 2438, 26780, 1285, 30, 16216, 4591, 3723, 628, 4891, 5960, 12246, 18, 300, 9988, 5411, 368, 752, 3903, 1522, 8266, 5411, 309, 261, 74, 18576, 1862, 13, 288, 7734, 509, 1963, 1016, 273, 17315, 1046, 12, 74, 2519, 559, 1016, 16, 315, 4821, 8863, 7734, 514, 14868, 273, 284, 780, 2864, 18, 10492, 12, 1096, 461, 1016, 1769, 7734, 509, 3903, 1943, 1016, 273, 17315, 1046, 12, 4821, 1016, 16, 315, 9375, 1943, 3113, 315, 529, 3113, 14868, 1769, 7734, 309, 261, 9375, 1943, 1016, 422, 300, 21, 13, 288, 10792, 509, 1640, 273, 284, 3843, 682, 18, 1937, 3843, 682, 5621, 10792, 284, 3843, 682, 18, 1289, 3843, 12, 13491, 284, 780, 2864, 18, 1289, 5335, 2932, 529, 6, 3631, 13491, 284, 780, 2864, 18, 1289, 780, 12, 1096, 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, 3903, 1943, 3456, 12, 474, 14868, 1016, 16, 509, 1071, 548, 1016, 16, 509, 30083, 1016, 13, 3639, 1216, 1185, 288, 3639, 368, 7045, 17965, 3639, 309, 261, 74, 16886, 2519, 2828, 480, 446, 13, 288, 5411, 368, 266, 11658, 30, 3661, 358, 866, 309, 1522, 1703, 1818, 7886, 18, 5411, 368, 3167, 857, 20185, 716, 404, 334, 3887, 3496, 353, 5085, 18, 5411, 509, 394, 1943, 1016, 273, 284, 16886, 2519, 2828, 18, 2640, 1943, 12, 1096, 461, 1016, 16, 1071, 548, 1016, 16, 30083, 1016, 16, 300, 21, 1769, 5411, 284, 16886, 2519, 2828, 18, 6923, 1763, 12, 74, 2519, 559, 1016, 16, 394, 1943, 1016, 1769, 5411, 1783, 14, 5411, 368, 2438, 26780, 2 ]
public void addAccessibleSelection(int value0) { }
public void addAccessibleSelection(int value0) { }
public void addAccessibleSelection(int value0) { // TODO } // addAccessibleSelection()
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/49e488b8530051383b90b1357fa767c87c9ff7f5/JMenu.java/clean/core/src/classpath/javax/javax/swing/JMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 10451, 6233, 12, 474, 460, 20, 13, 288, 1082, 202, 759, 2660, 202, 202, 97, 368, 527, 10451, 6233, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 527, 10451, 6233, 12, 474, 460, 20, 13, 288, 1082, 202, 759, 2660, 202, 202, 97, 368, 527, 10451, 6233, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( StaticEntity.getClient().getRestaurantItems().isEmpty() )
if ( restaurantItems.isEmpty() )
public static void constructFrame( String frameName ) { // Now, test to see if any requests need to be run before // you fall into the event dispatch thread. if ( frameName.equals( "LocalRelayServer" ) ) { StaticEntity.getClient().startRelayServer(); return; } else if ( frameName.equals( "KoLMessenger" ) ) { if ( StaticEntity.getClient().shouldMakeConflictingRequest() ) (new ChannelColorsRequest()).run(); KoLMessenger.initialize(); (new ChatRequest( StaticEntity.getClient(), null, "/listen" )).run(); return; } else if ( frameName.equals( "MailboxFrame" ) ) { if ( !StaticEntity.getClient().shouldMakeConflictingRequest() ) { updateDisplay( "You are currently adventuring." ); return; } (new MailboxRequest( StaticEntity.getClient(), "Inbox" )).run(); if ( LoginRequest.isInstanceRunning() && !KoLMailManager.hasNewMessages() ) return; } else if ( frameName.equals( "BuffRequestFrame" ) ) { if ( !BuffBotDatabase.hasOfferings() ) { updateDisplay( "No buffs found to purchase." ); enableDisplay(); return; } } else if ( frameName.equals( "CakeArenaFrame" ) || frameName.equals( "FamiliarTrainingFrame" ) ) { if ( !StaticEntity.getClient().shouldMakeConflictingRequest() ) { updateDisplay( "You can't do that while adventuring." ); return; } CakeArenaManager.getOpponentList(); } else if ( frameName.equals( "ClanManageFrame" ) ) { if ( StaticEntity.getClient().shouldMakeConflictingRequest() ) { if ( !KoLCharacter.hasClan() ) { updateDisplay( "You are not in a clan." ); return; } } if ( !ClanManager.isStashRetrieved() ) (new ClanStashRequest( StaticEntity.getClient() )).run(); } else if ( frameName.equals( "ItemManageFrame" ) ) { if ( StaticEntity.getClient().shouldMakeConflictingRequest() ) { // If the person is in a mysticality sign, make sure // you retrieve information from the restaurant. if ( KoLCharacter.canEat() && KoLCharacter.inMysticalitySign() ) if ( StaticEntity.getClient().getRestaurantItems().isEmpty() ) (new RestaurantRequest( StaticEntity.getClient() )).run(); // If the person is in a moxie sign and they have completed // the beach quest, then retrieve information from the // microbrewery. if ( KoLCharacter.canDrink() && KoLCharacter.inMoxieSign() ) if ( StaticEntity.getClient().getMicrobreweryItems().isEmpty() ) (new MicrobreweryRequest( StaticEntity.getClient() )).run(); if ( StaticEntity.getBooleanProperty( "showStashIngredients" ) && KoLCharacter.canInteract() && KoLCharacter.hasClan() ) { if ( !ClanManager.isStashRetrieved() ) (new ClanStashRequest( StaticEntity.getClient() )).run(); } } } else if ( frameName.equals( "StoreManageFrame" ) ) { if ( !KoLCharacter.hasStore() ) { KoLmafia.updateDisplay( ERROR_STATE, "Sorry, you don't have a store." ); KoLmafia.enableDisplay(); return; } if ( StaticEntity.getClient().shouldMakeConflictingRequest() ) { (new StoreManageRequest( StaticEntity.getClient() )).run(); (new StoreManageRequest( StaticEntity.getClient(), true )).run(); } } else if ( frameName.equals( "HagnkStorageFrame" ) ) { if ( KoLCharacter.getStorage().isEmpty() && StaticEntity.getClient().shouldMakeConflictingRequest() ) (new ItemStorageRequest( StaticEntity.getClient() )).run(); } else if ( frameName.equals( "RestoreOptionsFrame" ) ) { frameName = "OptionsFrame"; } try { Class associatedClass = Class.forName( "net.sourceforge.kolmafia." + frameName ); (new CreateFrameRunnable( associatedClass )).run(); enableDisplay(); } catch ( ClassNotFoundException e ) { // This should not happen. Therefore, print // a stack trace for debug purposes. StaticEntity.printStackTrace( e ); } }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/e62c220071db475c697de817376ca4486bbcebd6/KoLmafiaGUI.java/buggy/src/net/sourceforge/kolmafia/KoLmafiaGUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 4872, 3219, 12, 514, 2623, 461, 262, 202, 95, 202, 202, 759, 4494, 16, 1842, 358, 2621, 309, 1281, 3285, 1608, 358, 506, 1086, 1865, 202, 202, 759, 1846, 4159, 1368, 326, 871, 3435, 2650, 18, 202, 202, 430, 261, 2623, 461, 18, 14963, 12, 315, 2042, 27186, 2081, 6, 262, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 1937, 27186, 2081, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 2623, 461, 18, 14963, 12, 315, 47, 83, 17063, 18912, 6, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 10901, 1943, 18, 588, 1227, 7675, 13139, 6464, 10732, 310, 691, 1435, 262, 9506, 202, 12, 2704, 5307, 12570, 691, 1435, 2934, 2681, 5621, 1082, 202, 47, 83, 17063, 18912, 18, 11160, 5621, 1082, 202, 12, 2704, 16903, 691, 12, 10901, 1943, 18, 588, 1227, 9334, 446, 16, 2206, 18085, 6, 262, 2934, 2681, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 2623, 461, 18, 14963, 12, 315, 30239, 3219, 6, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 5788, 1943, 18, 588, 1227, 7675, 13139, 6464, 10732, 310, 691, 1435, 262, 1082, 202, 95, 9506, 202, 2725, 4236, 12, 315, 6225, 854, 4551, 1261, 616, 4017, 1199, 11272, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12, 2704, 11542, 2147, 691, 12, 10901, 1943, 18, 588, 1227, 9334, 315, 382, 2147, 6, 262, 2934, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 4872, 3219, 12, 514, 2623, 461, 262, 202, 95, 202, 202, 759, 4494, 16, 1842, 358, 2621, 309, 1281, 3285, 1608, 358, 506, 1086, 1865, 202, 202, 759, 1846, 4159, 1368, 326, 871, 3435, 2650, 18, 202, 202, 430, 261, 2623, 461, 18, 14963, 12, 315, 2042, 27186, 2081, 6, 262, 262, 202, 202, 95, 1082, 202, 5788, 1943, 18, 588, 1227, 7675, 1937, 27186, 2081, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 2623, 461, 18, 14963, 12, 315, 47, 83, 17063, 18912, 6, 262, 262, 202, 202, 95, 1082, 202, 430, 261, 10901, 1943, 18, 588, 1227, 7675, 13139, 6464, 10732, 310, 691, 1435, 262, 9506, 202, 2 ]
null, "setStyle");
null, "setStyleExpr");
public PropertyDescriptor[] getPropertyDescriptors() { PropertyDescriptor[] result = new PropertyDescriptor[25]; try { result[0] = new PropertyDescriptor("accesskey", ELResetTag.class, null, "setAccesskey"); result[1] = new PropertyDescriptor("alt", ELResetTag.class, null, "setAlt"); result[2] = new PropertyDescriptor("altKey", ELResetTag.class, null, "setAltKey"); // This attribute has a non-standard mapping. result[3] = new PropertyDescriptor("disabled", ELResetTag.class, null, "setDisabledExpr"); result[4] = new PropertyDescriptor("onblur", ELResetTag.class, null, "setOnblur"); result[5] = new PropertyDescriptor("onchange", ELResetTag.class, null, "setOnchange"); result[6] = new PropertyDescriptor("onclick", ELResetTag.class, null, "setOnclick"); result[7] = new PropertyDescriptor("ondblclick", ELResetTag.class, null, "setOndblclick"); result[8] = new PropertyDescriptor("onfocus", ELResetTag.class, null, "setOnfocus"); result[9] = new PropertyDescriptor("onkeydown", ELResetTag.class, null, "setOnkeydown"); result[10] = new PropertyDescriptor("onkeypress", ELResetTag.class, null, "setOnkeypress"); result[11] = new PropertyDescriptor("onkeyup", ELResetTag.class, null, "setOnkeyup"); result[12] = new PropertyDescriptor("onmousedown", ELResetTag.class, null, "setOnmousedown"); result[13] = new PropertyDescriptor("onmousemove", ELResetTag.class, null, "setOnmousemove"); result[14] = new PropertyDescriptor("onmouseout", ELResetTag.class, null, "setOnmouseout"); result[15] = new PropertyDescriptor("onmouseover", ELResetTag.class, null, "setOnmouseover"); result[16] = new PropertyDescriptor("onmouseup", ELResetTag.class, null, "setOnmouseup"); result[17] = new PropertyDescriptor("property", ELResetTag.class, null, "setProperty"); result[18] = new PropertyDescriptor("style", ELResetTag.class, null, "setStyle"); result[19] = new PropertyDescriptor("styleClass", ELResetTag.class, null, "setStyleClass"); result[20] = new PropertyDescriptor("styleId", ELResetTag.class, null, "setStyleId"); result[21] = new PropertyDescriptor("tabindex", ELResetTag.class, null, "setTabindex"); result[22] = new PropertyDescriptor("title", ELResetTag.class, null, "setTitle"); result[23] = new PropertyDescriptor("titleKey", ELResetTag.class, null, "setTitleKey"); result[24] = new PropertyDescriptor("value", ELResetTag.class, null, "setValue"); } catch (IntrospectionException ex) { ex.printStackTrace(); } return (result); }
2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/db064e19656421b94aaf753550935d95f44bd5f9/ELResetTagBeanInfo.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELResetTagBeanInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 2947, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 23, 65, 273, 394, 26761, 2932, 9278, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 8853, 4742, 8863, 5411, 563, 63, 24, 65, 273, 394, 26761, 2932, 265, 27065, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 27065, 8863, 5411, 563, 63, 25, 65, 273, 394, 26761, 2932, 265, 3427, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 3427, 8863, 5411, 563, 63, 26, 65, 273, 394, 26761, 2932, 265, 7475, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1398, 7475, 8863, 5411, 563, 63, 27, 65, 273, 394, 26761, 2932, 1434, 3083, 7475, 3113, 4766, 9079, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 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, 225, 26761, 8526, 3911, 12705, 1435, 565, 288, 3639, 26761, 8526, 225, 563, 282, 273, 394, 26761, 63, 2947, 15533, 3639, 775, 288, 5411, 563, 63, 20, 65, 273, 394, 26761, 2932, 3860, 856, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 1862, 856, 8863, 5411, 563, 63, 21, 65, 273, 394, 26761, 2932, 2390, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 8863, 5411, 563, 63, 22, 65, 273, 394, 26761, 2932, 2390, 653, 3113, 14801, 7013, 1805, 18, 1106, 16, 4766, 9079, 446, 16, 315, 542, 10655, 653, 8863, 5411, 368, 1220, 1566, 711, 279, 1661, 17, 10005, 2874, 18, 5411, 563, 63, 23, 2 ]
if (ClusterBackend.debugPrint)
if (ClusterBackend.debugging)
int nextPhase() { Vector<Integer> phase = new Vector<Integer>(); if (ClusterBackend.debugPrint) System.out.println("-------------------------------------"); for (int y = 0; y < ph; y++) { HashSet<SIROperator> p = sched.getAllOperatorsInPhase(y); Iterator<SIROperator> it = p.iterator(); while (it.hasNext()) { SIROperator oper = it.next(); int id = NodeEnumerator.getSIROperatorId(oper); int steady_count = ClusterBackend.steadyExecutionCounts.get(NodeEnumerator.getFlatNode(id)).intValue(); int _iter = iteration.get(oper).intValue(); int _credit = credit.get(oper).intValue(); int exec = steady_count; if (_credit >= 0 && _iter + steady_count > _credit) { exec = _credit - _iter; } int input = 2000000000;// List in = RegisterStreams.getNodeInStreams(oper);// List out = RegisterStreams.getNodeOutStreams(oper); { int z = 0; for (Tape ns : RegisterStreams.getNodeInStreams(oper)) { if (ns != null) { SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = queue_size.get(makeVector(src, oper)).intValue(); int peek = getPeek(oper, z); int pop = getPop(oper, z); if (peek < pop) peek = pop; int extra = peek - pop; int can = (qsize-extra)/pop; if (can < 0) can = 0; if (can < input) input = can; } z++; } } if (input < exec) exec = input; //System.out.println("CREDIT = "+_credit+" INPUT = "+input+" EXEC = "+exec); { int z = 0; for (Tape ns : RegisterStreams.getNodeInStreams(oper)) { if (ns != null) { SIROperator src = NodeEnumerator.getOperator(ns.getSource()); int qsize = queue_size.get(makeVector(src, oper)).intValue(); qsize -= getPop(oper, z) * exec; queue_size.put(makeVector(src, oper), new Integer(qsize)); } z++; } } { int z = 0; for (Tape ns : RegisterStreams.getNodeOutStreams(oper)) { if (ns != null) { SIROperator dst = NodeEnumerator.getOperator(ns.getDest()); int qsize = queue_size.get(makeVector(oper, dst)).intValue(); qsize += getPush(oper, z) * exec; queue_size.put(makeVector(oper, dst), new Integer(qsize)); } z++; } } if (ClusterBackend.debugPrint) System.out.println(oper.getName()+" Exec = "+exec+"/"+steady_count); phase.add(new Integer(exec)); // push exec count to phase vector for (int z = 0; z < exec; z++, _iter++) { if (!(oper instanceof SIRFilter)) continue; HashSet<LatencyConstraint> cons = LatencyConstraints.getOutgoingConstraints((SIRFilter)oper); Iterator<LatencyConstraint> ci = cons.iterator(); while (ci.hasNext()) { //System.out.println("latency constraint"); LatencyConstraint c = ci.next(); SIRFilter dst = (SIRFilter)c.getReceiver(); boolean down = LatencyConstraints.isMessageDirectionDownstream((SIRFilter)oper, (SIRFilter)dst); int init_c = c.getSourceInit(); if (down) { if (_iter >= init_c) { int s_steady = c.getSourceSteadyExec(); int cycle = (_iter - init_c) / s_steady; int offs = (_iter - init_c) % s_steady; int dep = c.getDependencyData(offs); //System.out.println("dep = "+dep); //System.out.println("c = "+cycle); //System.out.println("o = "+offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc); } } } else { int s_steady = c.getSourceSteadyExec(); int cycle = _iter / s_steady; int offs = _iter % s_steady; int dep = c.getDependencyData(offs); if (dep > 0) { int cc = dep + cycle * c.getDestSteadyExec(); credit.put(dst, new Integer(cc)); if (ClusterBackend.debugPrint) System.out.println("Send credit: "+cc); } } } } iteration.put(oper, new Integer(_iter)); } } boolean match = false; int ratio = -1; if (phase_last_seen.containsKey(phase)) { int last = phase_last_seen.get(phase).intValue(); match = true; int node_id = 0; for (int y = 0; y < ph; y++) { HashSet<SIROperator> p = sched.getAllOperatorsInPhase(y); Iterator<SIROperator> it = p.iterator(); while (it.hasNext()) { SIROperator oper = it.next(); int id = NodeEnumerator.getSIROperatorId(oper); int steady_count = ClusterBackend.steadyExecutionCounts.get(NodeEnumerator.getFlatNode(id)).intValue(); int sum = 0; for (int z = last; z < phase_num; z++) { sum += ((Integer)phases.get(z).get(node_id)).intValue(); } if (sum % steady_count == 0 && sum / steady_count >= 1) { if (ratio >= 1 && sum / steady_count != ratio) match = false; if (ratio < 1) ratio = sum / steady_count; } else { match = false; } node_id++; } } if (ClusterBackend.debugPrint) System.out.println("---- have seen phase at: "+last+" ----"); if (match) { loop_start = last; if (ClusterBackend.debugPrint) System.out.println("---- A loop contains "+ratio+" steady states ----"); } } if (!match) { phases.add(phase); phase_last_seen.put(phase, new Integer(phase_num)); phase_num++; } if (ClusterBackend.debugPrint) System.out.println("-------------------------------------"); if (match) return ratio; else return 0; }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/f1197ac29a976f6015baaa30c8e231cc5cf68a9f/Greedy.java/buggy/streams/src/at/dms/kjc/cluster/Greedy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 509, 1024, 11406, 1435, 288, 3639, 5589, 32, 4522, 34, 6855, 273, 394, 5589, 32, 4522, 34, 5621, 3639, 309, 261, 3629, 7172, 18, 4148, 1998, 13, 5411, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 3639, 364, 261, 474, 677, 273, 374, 31, 677, 411, 1844, 31, 677, 27245, 288, 5411, 6847, 32, 2320, 1457, 457, 639, 34, 293, 273, 23964, 18, 588, 1595, 24473, 382, 11406, 12, 93, 1769, 5411, 4498, 32, 2320, 1457, 457, 639, 34, 518, 273, 293, 18, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 5705, 1457, 457, 639, 2255, 273, 518, 18, 4285, 5621, 7734, 509, 612, 273, 2029, 3572, 7385, 18, 588, 2320, 1457, 457, 639, 548, 12, 4063, 1769, 7734, 509, 384, 684, 93, 67, 1883, 273, 5584, 7172, 18, 334, 684, 93, 3210, 9211, 18, 588, 12, 907, 3572, 7385, 18, 588, 16384, 907, 12, 350, 13, 2934, 474, 620, 5621, 7734, 509, 389, 2165, 273, 6532, 18, 588, 12, 4063, 2934, 474, 620, 5621, 7734, 509, 389, 20688, 273, 12896, 18, 588, 12, 4063, 2934, 474, 620, 5621, 7734, 509, 1196, 273, 384, 684, 93, 67, 1883, 31, 7734, 309, 261, 67, 20688, 1545, 374, 597, 389, 2165, 397, 384, 684, 93, 67, 1883, 405, 389, 20688, 13, 288, 10792, 1196, 273, 389, 20688, 300, 389, 2165, 31, 1171, 289, 7734, 509, 810, 273, 576, 2787, 11706, 31, 759, 7734, 987, 316, 273, 5433, 10301, 18, 588, 907, 382, 10301, 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, 509, 1024, 11406, 1435, 288, 3639, 5589, 32, 4522, 34, 6855, 273, 394, 5589, 32, 4522, 34, 5621, 3639, 309, 261, 3629, 7172, 18, 4148, 1998, 13, 5411, 2332, 18, 659, 18, 8222, 2932, 2443, 13465, 8863, 3639, 364, 261, 474, 677, 273, 374, 31, 677, 411, 1844, 31, 677, 27245, 288, 5411, 6847, 32, 2320, 1457, 457, 639, 34, 293, 273, 23964, 18, 588, 1595, 24473, 382, 11406, 12, 93, 1769, 5411, 4498, 32, 2320, 1457, 457, 639, 34, 518, 273, 293, 18, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 5705, 1457, 457, 639, 2255, 273, 518, 18, 4285, 5621, 7734, 509, 612, 273, 2029, 3572, 7385, 18, 588, 2320, 1457, 457, 2 ]
double optimizerEstimatedCost, GeneratedMethod closeCleanup)
double optimizerEstimatedCost)
public NoPutResultSet getTableScanResultSet( Activation activation, long conglomId, int scociItem, GeneratedMethod resultRowAllocator, int resultSetNumber, GeneratedMethod startKeyGetter, int startSearchOperator, GeneratedMethod stopKeyGetter, int stopSearchOperator, boolean sameStartStopPosition, Qualifier[][] qualifiers, String tableName, String userSuppliedOptimizerOverrides, String indexName, boolean isConstraint, boolean forUpdate, int colRefItem, int indexColItem, int lockMode, boolean tableLocked, int isolationLevel, boolean oneRowScan, double optimizerEstimatedRowCount, double optimizerEstimatedCost, GeneratedMethod closeCleanup) throws StandardException { StaticCompiledOpenConglomInfo scoci = (StaticCompiledOpenConglomInfo)(activation.getPreparedStatement(). getSavedObject(scociItem)); return new TableScanResultSet( conglomId, scoci, activation, resultRowAllocator, resultSetNumber, startKeyGetter, startSearchOperator, stopKeyGetter, stopSearchOperator, sameStartStopPosition, qualifiers, tableName, userSuppliedOptimizerOverrides, indexName, isConstraint, forUpdate, colRefItem, indexColItem, lockMode, tableLocked, isolationLevel, 1, // rowsPerRead is 1 if not a bulkTableScan oneRowScan, optimizerEstimatedRowCount, optimizerEstimatedCost); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/9e6e461e8a18e9d7ada381c5ec3e7568559831b5/GenericResultSetFactory.java/clean/java/engine/org/apache/derby/impl/sql/execute/GenericResultSetFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2631, 6426, 13198, 5638, 7972, 13198, 12, 7682, 1082, 202, 14857, 10027, 16, 6862, 6862, 202, 5748, 356, 7043, 362, 548, 16, 6862, 6862, 202, 474, 888, 1882, 1180, 16, 6862, 6862, 202, 7823, 1305, 563, 1999, 21156, 16, 6862, 6862, 202, 474, 12168, 1854, 16, 6862, 6862, 202, 7823, 1305, 24822, 8461, 16, 6862, 6862, 202, 474, 787, 2979, 5592, 16, 6862, 6862, 202, 7823, 1305, 2132, 653, 8461, 16, 6862, 6862, 202, 474, 2132, 2979, 5592, 16, 6862, 6862, 202, 6494, 1967, 1685, 4947, 2555, 16, 6862, 6862, 202, 16185, 63, 6362, 65, 22848, 16, 6862, 6862, 202, 780, 4775, 16, 6862, 6862, 202, 780, 729, 3088, 3110, 29789, 13084, 16, 6862, 6862, 202, 780, 12753, 16, 6862, 6862, 202, 6494, 353, 5806, 16, 6862, 6862, 202, 6494, 364, 1891, 16, 6862, 6862, 202, 474, 645, 1957, 1180, 16, 6862, 6862, 202, 474, 770, 914, 1180, 16, 6862, 6862, 202, 474, 2176, 2309, 16, 6862, 6862, 202, 6494, 1014, 8966, 16, 6862, 6862, 202, 474, 25155, 2355, 16, 6862, 6862, 202, 6494, 1245, 1999, 7972, 16, 6862, 6862, 202, 9056, 13066, 9122, 17275, 26359, 16, 6862, 6862, 202, 9056, 13066, 9122, 17275, 8018, 16, 6862, 6862, 202, 7823, 1305, 1746, 15007, 13, 1082, 202, 15069, 8263, 503, 202, 95, 3639, 10901, 20733, 3678, 442, 7043, 362, 966, 888, 1882, 273, 261, 5788, 20733, 3678, 442, 7043, 362, 966, 21433, 16908, 18, 588, 29325, 7675, 25083, 202, 588, 16776, 921, 12, 1017, 1882, 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, 2631, 6426, 13198, 5638, 7972, 13198, 12, 7682, 1082, 202, 14857, 10027, 16, 6862, 6862, 202, 5748, 356, 7043, 362, 548, 16, 6862, 6862, 202, 474, 888, 1882, 1180, 16, 6862, 6862, 202, 7823, 1305, 563, 1999, 21156, 16, 6862, 6862, 202, 474, 12168, 1854, 16, 6862, 6862, 202, 7823, 1305, 24822, 8461, 16, 6862, 6862, 202, 474, 787, 2979, 5592, 16, 6862, 6862, 202, 7823, 1305, 2132, 653, 8461, 16, 6862, 6862, 202, 474, 2132, 2979, 5592, 16, 6862, 6862, 202, 6494, 1967, 1685, 4947, 2555, 16, 6862, 6862, 202, 16185, 63, 6362, 65, 22848, 16, 6862, 6862, 202, 780, 4775, 16, 6862, 6862, 202, 780, 729, 3088, 3110, 29789, 13084, 16, 6862, 6862, 202, 2 ]
if(activePage != null && part instanceof IViewPart) { String id = ((IViewPart)part).getSite().getId(); ArrayList parts = getParts(); if(parts.indexOf(id) < 0) { parts.add(id); updateMenu();
if (part instanceof IViewPart) { String id = ((IViewPart) part).getSite().getId(); ArrayList parts = getParts(part.getSite().getPage()); if (parts.indexOf(id) < 0) { parts.add(id); updateMenu(); }
public void partOpened(IWorkbenchPart part) { if(activePage != null && part instanceof IViewPart) { String id = ((IViewPart)part).getSite().getId(); ArrayList parts = getParts(); if(parts.indexOf(id) < 0) { parts.add(id); updateMenu(); } }}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e20e950fad87c9434ea5cb423007f610e35ee559/ShowViewMenu.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/ShowViewMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1087, 23115, 12, 45, 2421, 22144, 1988, 1087, 13, 288, 202, 430, 12, 3535, 1964, 480, 446, 597, 1087, 1276, 467, 1767, 1988, 13, 288, 202, 202, 780, 612, 273, 14015, 45, 1767, 1988, 13, 2680, 2934, 588, 4956, 7675, 26321, 5621, 202, 202, 19558, 2140, 273, 13657, 87, 5621, 202, 202, 430, 12, 6019, 18, 31806, 12, 350, 13, 411, 374, 13, 288, 1082, 202, 6019, 18, 1289, 12, 350, 1769, 1082, 202, 2725, 4599, 5621, 202, 202, 97, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1087, 23115, 12, 45, 2421, 22144, 1988, 1087, 13, 288, 202, 430, 12, 3535, 1964, 480, 446, 597, 1087, 1276, 467, 1767, 1988, 13, 288, 202, 202, 780, 612, 273, 14015, 45, 1767, 1988, 13, 2680, 2934, 588, 4956, 7675, 26321, 5621, 202, 202, 19558, 2140, 273, 13657, 87, 5621, 202, 202, 430, 12, 6019, 18, 31806, 12, 350, 13, 411, 374, 13, 288, 1082, 202, 6019, 18, 1289, 12, 350, 1769, 1082, 202, 2725, 4599, 5621, 202, 202, 97, 202, 9090, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void addCode(Bytecodes.InstructionList il) { if (TRACE) Debug.writeln("Adding code for "+il); RebuildCPVisitor v = new RebuildCPVisitor(); il.accept(v);
public void addCode(jq_Method m) { if (TRACE) Debug.writeln("Adding code for "+m); byte[] bc = m.getBytecode(); if (bc == null) return; Bytecodes.InstructionList il = new Bytecodes.InstructionList(m.getDeclaringClass().getCP(), bc); this.addCode(il);
public void addCode(Bytecodes.InstructionList il) { if (TRACE) Debug.writeln("Adding code for "+il); RebuildCPVisitor v = new RebuildCPVisitor(); il.accept(v); }
3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/bf41dcd462f4295f75ec613e7cecf3251f80d148/jq_ConstantPool.java/buggy/joeq_core/joeq/Class/jq_ConstantPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26436, 12, 858, 14537, 1145, 18, 11983, 682, 14254, 13, 288, 5411, 309, 261, 23827, 13, 4015, 18, 5363, 292, 82, 2932, 13962, 981, 364, 13773, 330, 1769, 5411, 868, 3510, 4258, 7413, 331, 273, 394, 868, 3510, 4258, 7413, 5621, 5411, 14254, 18, 9436, 12, 90, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 26436, 12, 858, 14537, 1145, 18, 11983, 682, 14254, 13, 288, 5411, 309, 261, 23827, 13, 4015, 18, 5363, 292, 82, 2932, 13962, 981, 364, 13773, 330, 1769, 5411, 868, 3510, 4258, 7413, 331, 273, 394, 868, 3510, 4258, 7413, 5621, 5411, 14254, 18, 9436, 12, 90, 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 ]
boolean isBreakPoint(int line) {
public boolean isBreakPoint(int line) {
boolean isBreakPoint(int line) { return sourceInfo.breakableLine(line) && sourceInfo.breakpoint(line); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/2d4fc75b74d717c754829dde488ff0a7456682cc/SwingGui.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 7634, 2148, 12, 474, 980, 13, 288, 3639, 327, 1084, 966, 18, 8820, 429, 1670, 12, 1369, 13, 597, 1084, 966, 18, 8820, 1153, 12, 1369, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 7634, 2148, 12, 474, 980, 13, 288, 3639, 327, 1084, 966, 18, 8820, 429, 1670, 12, 1369, 13, 597, 1084, 966, 18, 8820, 1153, 12, 1369, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public static MethodDeclarationLineNumberAttribute read(DataInputStream s) throws IOException {
public static MethodDeclarationLineNumberAttribute read(VersionedDataInputStream s) throws IOException {
public static MethodDeclarationLineNumberAttribute read(DataInputStream s) throws IOException { return new MethodDeclarationLineNumberAttribute(s.readInt()); }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/797b6a6afb75b14dc530bc0831566e110da3ae91/AjAttribute.java/buggy/weaver/src/org/aspectj/weaver/AjAttribute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 760, 2985, 6094, 31063, 1499, 855, 12, 751, 4348, 272, 13, 1216, 1860, 288, 1082, 202, 2463, 394, 2985, 6094, 31063, 1499, 12, 87, 18, 896, 1702, 10663, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 760, 2985, 6094, 31063, 1499, 855, 12, 751, 4348, 272, 13, 1216, 1860, 288, 1082, 202, 2463, 394, 2985, 6094, 31063, 1499, 12, 87, 18, 896, 1702, 10663, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"TREENODE_LEVEL"
"L"
public String makeTreeNodeId(int level, TreeNode parent, int siblingNumber) { return "TREENODE_LEVEL" + Constants.DELIMITER + level + Constants.DELIMITER + "PARENTNODEID" + Constants.DELIMITER + "[" + (parent == null ? "NOPARENTID" : parent.getId()) + "]" + Constants.DELIMITER + "SIBLINGNUMBER" + Constants.DELIMITER + siblingNumber + Constants.DELIMITER + "ID"; }
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/eb28eb7a536f6911851c1420be30d88ad043ad97/Fixtures.java/buggy/signet/test/edu/internet2/middleware/signet/test/Fixtures.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1221, 12513, 548, 12, 474, 1801, 16, 20270, 982, 16, 509, 10841, 1854, 13, 225, 288, 565, 327, 377, 202, 6, 48, 6, 4202, 397, 5245, 18, 19722, 1377, 397, 1801, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 14943, 8744, 734, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 13626, 1377, 397, 261, 2938, 422, 446, 692, 315, 3417, 14943, 734, 6, 294, 982, 18, 26321, 10756, 1377, 397, 9870, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 9894, 26789, 9931, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 10841, 1854, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 734, 14432, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1221, 12513, 548, 12, 474, 1801, 16, 20270, 982, 16, 509, 10841, 1854, 13, 225, 288, 565, 327, 377, 202, 6, 48, 6, 4202, 397, 5245, 18, 19722, 1377, 397, 1801, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 14943, 8744, 734, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 13626, 1377, 397, 261, 2938, 422, 446, 692, 315, 3417, 14943, 734, 6, 294, 982, 18, 26321, 10756, 1377, 397, 9870, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 9894, 26789, 9931, 6, 1377, 397, 5245, 18, 19722, 1377, 397, 10841, 1854, 1377, 397, 5245, 18, 19722, 1377, 397, 315, 734, 14432, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (Enumeration enum = asset.getRoleSchedule().getRoleScheduleElements(); enum.hasMoreElements(); numShown++) {
for (Enumeration en = asset.getRoleSchedule().getRoleScheduleElements(); en.hasMoreElements(); numShown++) {
protected String getRoleSchedule(Asset asset) { StringBuffer buf = new StringBuffer(); if (asset.getRoleSchedule().getRoleScheduleElements().hasMoreElements()) { buf.append("<br/>which has Role Schedule: "); } int numShown = 0; for (Enumeration enum = asset.getRoleSchedule().getRoleScheduleElements(); enum.hasMoreElements(); numShown++) { buf.append("<font size=small color=mediumblue>" + "<li>"); Object elem = enum.nextElement(); if (numShown >= maxRoleScheduleElements) { buf.append("... (more than "); buf.append(maxRoleScheduleElements); buf.append(")"); buf.append("</li>" + "</font>\n"); break; } else {
11320 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11320/6b858078dbe91834f90776396fc6fe36ce8e2c5d/HistoryServlet.java/clean/pizza/src/org/cougaar/pizza/servlet/HistoryServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 15673, 6061, 12, 6672, 3310, 13, 288, 565, 6674, 1681, 273, 394, 6674, 5621, 565, 309, 261, 9406, 18, 588, 2996, 6061, 7675, 588, 2996, 6061, 3471, 7675, 5332, 7417, 3471, 10756, 288, 1377, 1681, 18, 6923, 2932, 32, 2848, 21259, 12784, 711, 6204, 10674, 30, 315, 1769, 565, 289, 565, 509, 818, 27042, 273, 374, 31, 565, 364, 261, 21847, 2792, 273, 3310, 18, 588, 2996, 6061, 7675, 588, 2996, 6061, 3471, 5621, 540, 2792, 18, 5332, 7417, 3471, 5621, 818, 27042, 27245, 288, 1377, 1681, 18, 6923, 2932, 32, 5776, 963, 33, 12019, 2036, 33, 19011, 14081, 2984, 397, 1850, 3532, 549, 2984, 1769, 1377, 1033, 3659, 273, 2792, 18, 4285, 1046, 5621, 1377, 309, 261, 2107, 27042, 1545, 943, 2996, 6061, 3471, 13, 288, 3639, 1681, 18, 6923, 2932, 2777, 261, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 15673, 6061, 12, 6672, 3310, 13, 288, 565, 6674, 1681, 273, 394, 6674, 5621, 565, 309, 261, 9406, 18, 588, 2996, 6061, 7675, 588, 2996, 6061, 3471, 7675, 5332, 7417, 3471, 10756, 288, 1377, 1681, 18, 6923, 2932, 32, 2848, 21259, 12784, 711, 6204, 10674, 30, 315, 1769, 565, 289, 565, 509, 818, 27042, 273, 374, 31, 565, 364, 261, 21847, 2792, 273, 3310, 18, 588, 2996, 6061, 7675, 588, 2996, 6061, 3471, 5621, 540, 2792, 18, 5332, 7417, 3471, 5621, 818, 27042, 27245, 288, 1377, 1681, 18, 6923, 2932, 32, 5776, 963, 33, 12019, 2036, 33, 19011, 14081, 2984, 397, 1850, 3532, 549, 2984, 1769, 1377, 1033, 3659, 273, 2792, 18, 4285, 1046, 5621, 1377, 2 ]
public org.quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { org.quickfix.field.LegSecurityID value = new org.quickfix.field.LegSecurityID();
public quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { quickfix.field.LegSecurityID value = new quickfix.field.LegSecurityID();
public org.quickfix.field.LegSecurityID getLegSecurityID() throws FieldNotFound { org.quickfix.field.LegSecurityID value = new org.quickfix.field.LegSecurityID(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/clean/src/java/src/quickfix/fix44/News.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 336, 8329, 4368, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 336, 8329, 4368, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4368, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println(ret.toString());
logger.debug(ret.toString());
private Map readMPHDChunk(InputStream in) throws IOException { Map ret = null; TileSet set = new TileSet(); int major, minor; major = in.read(); minor = in.read(); in.skip(2); // skip lsb and reserved bytes - always msb ret = new Map(Util.readShort(in), Util.readShort(in)); Properties retProps = ret.getProperties(); ret.setOrientation(Map.MDO_ORTHO); //be sure to set the orientation! retProps.setProperty("(s)fmap reader", "Don't modify properties marked (s) unless you really know what you're doing."); retProps.setProperty("version", "" + major + "." + minor); in.skip(4); // reserved twidth = Util.readShort(in); theight = Util.readShort(in); ret.setTileWidth(twidth); ret.setTileHeight(theight); set.setName("Static tiles"); ret.addTileset(set); int depth = Util.readShort(in); if (depth < 16) { throw new IOException("Tile bitdepths less than 16 are not supported!"); } retProps.setProperty("(s)depth", String.valueOf(depth)); in.skip(2); int numBlocks = Util.readShort(in); int numBlocksGfx = Util.readShort(in); Chunk c = findChunk("BKDT"); if(c == null) { throw new IOException("No BKDT block found!"); } MapLayer ml = new TileLayer(ret, ret.getWidth(),ret.getHeight()); ml.setName("bg"); ret.addLayer(ml); for(int i=1;i<7;i++) { //TODO: I believe this should be ObjectGroup ml = new ObjectGroup(ret, 0, 0); ml.setName("ObjectLayer " + i); ret.addLayer(ml); } ml = new TileLayer(ret, ret.getWidth(),ret.getHeight()); ml.setName("fg 1"); ret.addLayer(ml); ml = new TileLayer(ret, ret.getWidth(),ret.getHeight()); ml.setName("fg 2"); ret.addLayer(ml); ml = new TileLayer(ret, ret.getWidth(),ret.getHeight()); ml.setName("fg 3"); ret.addLayer(ml); readBKDTChunk(ret, c.getInputStream(), numBlocks); c = findChunk("BGFX"); if(c != null) { readBGFXChunk(ret, c.getInputStream(), numBlocksGfx); }else{ throw new IOException("No BGFX chunk found!"); } System.out.println(ret.toString()); return ret; }
6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/4d9c6db9217eca659efd010fb07842c209998861/MappyMapReader.java/buggy/src/tiled/plugins/mappy/MappyMapReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1635, 855, 4566, 44, 40, 5579, 12, 4348, 316, 13, 1216, 1860, 288, 3639, 1635, 325, 273, 446, 31, 3639, 13791, 694, 444, 273, 394, 13791, 694, 5621, 3639, 509, 7888, 16, 8439, 31, 3639, 7888, 273, 316, 18, 896, 5621, 3639, 8439, 273, 316, 18, 896, 5621, 3639, 316, 18, 7457, 12, 22, 1769, 368, 2488, 7180, 70, 471, 8735, 1731, 300, 3712, 4086, 70, 3639, 325, 273, 394, 1635, 12, 1304, 18, 896, 4897, 12, 267, 3631, 3564, 18, 896, 4897, 12, 267, 10019, 3639, 6183, 325, 5047, 273, 325, 18, 588, 2297, 5621, 3639, 325, 18, 542, 14097, 12, 863, 18, 49, 3191, 67, 28212, 51, 1769, 3639, 368, 2196, 3071, 358, 444, 326, 9820, 5, 3639, 325, 5047, 18, 542, 1396, 2932, 12, 87, 13, 74, 1458, 2949, 3113, 315, 22293, 1404, 5612, 1790, 9350, 261, 87, 13, 3308, 1846, 8654, 5055, 4121, 1846, 4565, 9957, 1199, 1769, 3639, 325, 5047, 18, 542, 1396, 2932, 1589, 3113, 1408, 397, 7888, 397, 4585, 397, 8439, 1769, 3639, 316, 18, 7457, 12, 24, 1769, 368, 8735, 3639, 2339, 1113, 273, 3564, 18, 896, 4897, 12, 267, 1769, 3639, 326, 750, 273, 3564, 18, 896, 4897, 12, 267, 1769, 3639, 325, 18, 542, 9337, 2384, 12, 88, 2819, 1769, 3639, 325, 18, 542, 9337, 2686, 12, 451, 1274, 1769, 3639, 444, 18, 542, 461, 2932, 5788, 12568, 8863, 3639, 325, 18, 1289, 27669, 278, 12, 542, 1769, 3639, 509, 3598, 273, 3564, 18, 896, 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, 1635, 855, 4566, 44, 40, 5579, 12, 4348, 316, 13, 1216, 1860, 288, 3639, 1635, 325, 273, 446, 31, 3639, 13791, 694, 444, 273, 394, 13791, 694, 5621, 3639, 509, 7888, 16, 8439, 31, 3639, 7888, 273, 316, 18, 896, 5621, 3639, 8439, 273, 316, 18, 896, 5621, 3639, 316, 18, 7457, 12, 22, 1769, 368, 2488, 7180, 70, 471, 8735, 1731, 300, 3712, 4086, 70, 3639, 325, 273, 394, 1635, 12, 1304, 18, 896, 4897, 12, 267, 3631, 3564, 18, 896, 4897, 12, 267, 10019, 3639, 6183, 325, 5047, 273, 325, 18, 588, 2297, 5621, 3639, 325, 18, 542, 14097, 12, 863, 18, 49, 3191, 67, 28212, 51, 1769, 3639, 368, 2196, 3071, 358, 444, 326, 2 ]
private int processInstruction(int textState, int tokenStart, int tokenEnd,
protected int processInstruction(int textState, int tokenStart, int tokenEnd,
private int processInstruction(int textState, int tokenStart, int tokenEnd, StringBuilder buffer, Model model) { String instruction = template.subSequence(tokenStart, tokenEnd).toString(); getLogger().log(Level.FINER, "processInstruction: " + instruction, buffer); if (instruction.startsWith("if ")) { String condition = template.subSequence(tokenStart + 3, tokenEnd).toString(); if (evaluateCondition(condition, model)) { textState = TEXT_APPEND; } else { textState = TEXT_SKIP; } } else if (instruction.startsWith("else if ")) { if (textState == TEXT_SKIP) { String condition = template.subSequence(tokenStart + 4, tokenEnd).toString(); if (evaluateCondition(condition, model)) { textState = TEXT_APPEND; } } } else if (instruction.equals("else")) { if (textState == TEXT_SKIP) { textState = TEXT_APPEND; } else if (textState == TEXT_APPEND) { textState = TEXT_SKIP; } } else if (instruction.equals("end")) { textState = TEXT_APPEND; } else { getLogger().log(Level.WARNING, "Unsupported instruction ignored: ", instruction); } return textState; }
14172 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14172/5ba24b8a7826b97ad199ba73f9694371cb08e27b/StringTemplate.java/clean/plugins/internal/org.restlet/src/org/restlet/util/StringTemplate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1207, 11983, 12, 474, 977, 1119, 16, 509, 1147, 1685, 16, 509, 1147, 1638, 16, 1082, 202, 21253, 1613, 16, 3164, 938, 13, 202, 95, 202, 202, 780, 7592, 273, 1542, 18, 1717, 4021, 12, 2316, 1685, 16, 1147, 1638, 2934, 10492, 5621, 202, 202, 588, 3328, 7675, 1330, 12, 2355, 18, 7263, 654, 16, 315, 2567, 11983, 30, 315, 397, 7592, 16, 1613, 1769, 202, 202, 430, 261, 19116, 18, 17514, 1190, 2932, 430, 315, 3719, 202, 202, 95, 1082, 202, 780, 2269, 273, 1542, 18, 1717, 4021, 12, 2316, 1685, 397, 890, 16, 1147, 1638, 2934, 10492, 5621, 1082, 202, 430, 261, 21024, 3418, 12, 4175, 16, 938, 3719, 1082, 202, 95, 9506, 202, 955, 1119, 273, 9204, 67, 24176, 31, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 955, 1119, 273, 9204, 67, 22589, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 19116, 18, 17514, 1190, 2932, 12107, 309, 315, 3719, 202, 202, 95, 1082, 202, 430, 261, 955, 1119, 422, 9204, 67, 22589, 13, 1082, 202, 95, 9506, 202, 780, 2269, 273, 1542, 18, 1717, 4021, 12, 2316, 1685, 397, 1059, 16, 1147, 1638, 2934, 10492, 5621, 9506, 202, 430, 261, 21024, 3418, 12, 4175, 16, 938, 3719, 9506, 202, 95, 6862, 202, 955, 1119, 273, 9204, 67, 24176, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 19116, 18, 14963, 2932, 12107, 6, 3719, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 1207, 11983, 12, 474, 977, 1119, 16, 509, 1147, 1685, 16, 509, 1147, 1638, 16, 1082, 202, 21253, 1613, 16, 3164, 938, 13, 202, 95, 202, 202, 780, 7592, 273, 1542, 18, 1717, 4021, 12, 2316, 1685, 16, 1147, 1638, 2934, 10492, 5621, 202, 202, 588, 3328, 7675, 1330, 12, 2355, 18, 7263, 654, 16, 315, 2567, 11983, 30, 315, 397, 7592, 16, 1613, 1769, 202, 202, 430, 261, 19116, 18, 17514, 1190, 2932, 430, 315, 3719, 202, 202, 95, 1082, 202, 780, 2269, 273, 1542, 18, 1717, 4021, 12, 2316, 1685, 397, 890, 16, 1147, 1638, 2934, 10492, 5621, 1082, 202, 430, 261, 21024, 3418, 12, 4175, 16, 938, 3719, 1082, 202, 95, 9506, 2 ]
return alias + '/' + resourceKey(path, locale, style);
if (locale != null) { buffer.append('_'); boolean l = locale.getLanguage().length() != 0; boolean c = locale.getCountry().length() != 0; boolean v = locale.getVariant().length() != 0; buffer.append(locale.getLanguage()); if (c || (l && v)) { buffer.append('_').append(locale.getCountry()); } if (v && (l || c)) { buffer.append('_').append(locale.getVariant()); } } if (extension != null) { buffer.append('.'); buffer.append(extension); } return buffer.toString();
public String resourceKey(final Class scope, final String path, final Locale locale, final String style) { String alias = classAliasMap.get(scope); if (alias == null) { alias = scope.getName(); } return alias + '/' + resourceKey(path, locale, style); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/37b096fa65d9200e3fe8ac3bdb928f440c35fe97/SharedResources.java/clean/wicket/src/java/wicket/SharedResources.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1058, 653, 12, 6385, 1659, 2146, 16, 727, 514, 589, 16, 727, 6458, 2573, 16, 1082, 202, 6385, 514, 2154, 13, 202, 95, 202, 202, 780, 2308, 273, 667, 2936, 863, 18, 588, 12, 4887, 1769, 202, 202, 430, 261, 4930, 422, 446, 13, 202, 202, 95, 1082, 202, 4930, 273, 2146, 18, 17994, 5621, 202, 202, 97, 202, 202, 2463, 2308, 397, 2023, 397, 1058, 653, 12, 803, 16, 2573, 16, 2154, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1058, 653, 12, 6385, 1659, 2146, 16, 727, 514, 589, 16, 727, 6458, 2573, 16, 1082, 202, 6385, 514, 2154, 13, 202, 95, 202, 202, 780, 2308, 273, 667, 2936, 863, 18, 588, 12, 4887, 1769, 202, 202, 430, 261, 4930, 422, 446, 13, 202, 202, 95, 1082, 202, 4930, 273, 2146, 18, 17994, 5621, 202, 202, 97, 202, 202, 2463, 2308, 397, 2023, 397, 1058, 653, 12, 803, 16, 2573, 16, 2154, 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 ]
download=dm.download(new RemoteFileDesc[] {rfd1,rfd2}, false);
download=dm.download(rfd1.getFileName(),new RemoteFileDesc[] {rfd1,rfd2}, false);
private void tOverlapCheckWhite(boolean deleteCorrupt) throws Exception { shouldRun(OVERLAP_CHECK_WHITE); debug("-Testing overlap checking from White area..."+ "stop when corrupt "+deleteCorrupt+" "); final int RATE=500; uploader1.setCorruption(true); uploader1.stopAfter(TestFile.length()/8);//blinding fast uploader2.setRate(RATE); RemoteFileDesc rfd1=newRFD(PORT_1, 100); RemoteFileDesc rfd2=newRFD(PORT_2, 100); Downloader download=null; //Start one location, wait a bit, then add another. download=dm.download(new RemoteFileDesc[] {rfd1,rfd2}, false); if(deleteCorrupt) waitForCorrupt(download); else waitForComplete(download); debug("passed"+"\n");//got here? Test passed }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/8c14dd0a6063f4845ab073c9b42f44774d19dfab/DownloadTest.java/clean/components/gnutella-core/src/test/java/com/limegroup/gnutella/downloader/DownloadTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 268, 17411, 1564, 13407, 12, 6494, 1430, 22701, 13, 1216, 1185, 288, 3639, 1410, 1997, 12, 12959, 48, 2203, 67, 10687, 67, 16861, 1769, 3639, 1198, 2932, 17, 22218, 7227, 6728, 628, 30233, 5091, 7070, 15, 7682, 315, 5681, 1347, 16899, 13773, 3733, 22701, 9078, 315, 1769, 4766, 727, 509, 534, 1777, 33, 12483, 31, 3639, 25062, 21, 18, 542, 6217, 21421, 12, 3767, 1769, 3639, 25062, 21, 18, 5681, 4436, 12, 4709, 812, 18, 2469, 1435, 19, 28, 1769, 759, 3083, 728, 310, 4797, 3639, 25062, 22, 18, 542, 4727, 12, 24062, 1769, 3639, 6304, 812, 4217, 436, 8313, 21, 33, 2704, 12918, 40, 12, 6354, 67, 21, 16, 2130, 1769, 3639, 6304, 812, 4217, 436, 8313, 22, 33, 2704, 12918, 40, 12, 6354, 67, 22, 16, 2130, 1769, 7734, 10077, 6714, 4224, 33, 2011, 31, 3639, 368, 1685, 1245, 2117, 16, 2529, 279, 2831, 16, 1508, 527, 4042, 18, 3639, 4224, 33, 10956, 18, 7813, 12, 5809, 72, 21, 18, 588, 4771, 9334, 2704, 6304,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, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 268, 17411, 1564, 13407, 12, 6494, 1430, 22701, 13, 1216, 1185, 288, 3639, 1410, 1997, 12, 12959, 48, 2203, 67, 10687, 67, 16861, 1769, 3639, 1198, 2932, 17, 22218, 7227, 6728, 628, 30233, 5091, 7070, 15, 7682, 315, 5681, 1347, 16899, 13773, 3733, 22701, 9078, 315, 1769, 4766, 727, 509, 534, 1777, 33, 12483, 31, 3639, 25062, 21, 18, 542, 6217, 21421, 12, 3767, 1769, 3639, 25062, 21, 18, 5681, 4436, 12, 4709, 812, 18, 2469, 1435, 19, 28, 1769, 759, 3083, 728, 310, 4797, 3639, 25062, 22, 18, 542, 4727, 12, 24062, 1769, 3639, 6304, 812, 4217, 436, 8313, 21, 33, 2704, 12918, 40, 12, 6354, 67, 21, 16, 2130, 1769, 3639, 6304, 812, 4217, 2 ]
private boolean outgoingMessageAction(Message msg, TrustSet trust) { // if(!(msg instanceof DirectiveMessage)) //return true; String act; try { act = acps.getOutgoingAction (msg.getOriginator().toString(), (String)trust.getAttribute(MissionCriticality.name).getValue()); } catch(Exception ex) { ex.printStackTrace(); System.out.println("SecurityAspect: Warning: no access control for message" + msg); return true; } if(debug) { System.out.println("SecurityAspect: message action(out) = " + (act == null ? "No policy (pass through)" : act)); } if(act == null) return true; return (!act.equals(AccessControlPolicy.SET_ASIDE)); }
12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/dc9fd5855e50eaadd5520fad9ce9335764830777/SecurityAspect.java/buggy/securityservices/src/com/nai/security/crypto/SecurityAspect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6494, 31891, 1079, 1803, 12, 49, 403, 346, 351, 1055, 16, 14146, 694, 21879, 15329, 759, 430, 12, 5, 12, 3576, 1336, 792, 13307, 1079, 3719, 759, 2463, 3767, 31, 780, 621, 31, 698, 95, 202, 621, 33, 1077, 1121, 18, 588, 24866, 1803, 202, 12, 3576, 18, 588, 4741, 4240, 7675, 10492, 9334, 202, 12, 780, 13, 21879, 18, 588, 1499, 12, 49, 19710, 30286, 560, 18, 529, 2934, 24805, 10663, 97, 14683, 12, 503, 338, 15329, 202, 338, 18, 1188, 6332, 5621, 202, 3163, 18, 659, 18, 8222, 2932, 4368, 17468, 30, 6210, 30, 2135, 3860, 7098, 687, 615, 6, 15, 3576, 1769, 202, 2463, 3767, 31, 97, 430, 12, 4148, 15329, 202, 3163, 18, 659, 18, 8222, 2932, 4368, 17468, 30, 2150, 1128, 12, 659, 13, 1546, 15, 1082, 202, 12, 621, 631, 2011, 7225, 50, 556, 1590, 12, 84, 345, 24283, 2225, 30, 621, 10019, 97, 430, 12, 621, 631, 2011, 13, 202, 2463, 3767, 31, 2463, 12, 5, 621, 18, 14963, 12, 16541, 2582, 18, 4043, 67, 3033, 10385, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 6494, 31891, 1079, 1803, 12, 49, 403, 346, 351, 1055, 16, 14146, 694, 21879, 15329, 759, 430, 12, 5, 12, 3576, 1336, 792, 13307, 1079, 3719, 759, 2463, 3767, 31, 780, 621, 31, 698, 95, 202, 621, 33, 1077, 1121, 18, 588, 24866, 1803, 202, 12, 3576, 18, 588, 4741, 4240, 7675, 10492, 9334, 202, 12, 780, 13, 21879, 18, 588, 1499, 12, 49, 19710, 30286, 560, 18, 529, 2934, 24805, 10663, 97, 14683, 12, 503, 338, 15329, 202, 338, 18, 1188, 6332, 5621, 202, 3163, 18, 659, 18, 8222, 2932, 4368, 17468, 30, 6210, 30, 2135, 3860, 7098, 687, 615, 6, 15, 3576, 1769, 202, 2463, 3767, 31, 97, 430, 12, 4148, 15329, 202, 3163, 18, 659, 2 ]
RefUtil.getInstance().setAccessModifier(refElement, newAccess); getFilter().addIgnoreList(refElement);
if (refElement != null) { RefUtil.getInstance().setAccessModifier(refElement, newAccess); getFilter().addIgnoreList(refElement); }
private void changeAccessLevel(PsiModifierListOwner psiElement, RefElement refElement, String newAccess) { try { if (psiElement instanceof PsiVariable) { ((PsiVariable)psiElement).normalizeDeclaration(); } PsiModifierList list = psiElement.getModifierList(); if (psiElement instanceof PsiMethod) { PsiMethod psiMethod = (PsiMethod)psiElement; PsiClass containingClass = psiMethod.getContainingClass(); if (containingClass != null && containingClass.getParent() instanceof PsiFile && newAccess == PsiModifier.PRIVATE && list.hasModifierProperty(PsiModifier.FINAL)) { list.setModifierProperty(PsiModifier.FINAL, false); } } list.setModifierProperty(newAccess, true); RefUtil.getInstance().setAccessModifier(refElement, newAccess); getFilter().addIgnoreList(refElement); } catch (IncorrectOperationException e) { LOG.error(e); } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/5f5b1ed48708e53ec126bb2ca0956457df48f6e7/VisibilityInspection.java/buggy/inspections/impl/com/intellij/codeInspection/visibility/VisibilityInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2549, 1862, 2355, 12, 52, 7722, 9829, 682, 5541, 23921, 1046, 16, 3941, 1046, 1278, 1046, 16, 514, 394, 1862, 13, 288, 565, 775, 288, 1377, 309, 261, 24275, 1046, 1276, 453, 7722, 3092, 13, 288, 3639, 14015, 52, 7722, 3092, 13, 24275, 1046, 2934, 12237, 6094, 5621, 1377, 289, 1377, 453, 7722, 9829, 682, 666, 273, 23921, 1046, 18, 588, 9829, 682, 5621, 1377, 309, 261, 24275, 1046, 1276, 453, 7722, 1305, 13, 288, 3639, 453, 7722, 1305, 23921, 1305, 273, 261, 52, 7722, 1305, 13, 24275, 1046, 31, 3639, 453, 7722, 797, 4191, 797, 273, 23921, 1305, 18, 588, 24344, 797, 5621, 3639, 309, 261, 1213, 3280, 797, 480, 446, 597, 4191, 797, 18, 588, 3054, 1435, 1276, 453, 7722, 812, 597, 5411, 394, 1862, 422, 453, 7722, 9829, 18, 20055, 597, 5411, 666, 18, 5332, 9829, 1396, 12, 52, 7722, 9829, 18, 7263, 1013, 3719, 288, 1850, 666, 18, 542, 9829, 1396, 12, 52, 7722, 9829, 18, 7263, 1013, 16, 629, 1769, 3639, 289, 1377, 289, 1377, 666, 18, 542, 9829, 1396, 12, 2704, 1862, 16, 638, 1769, 1377, 3941, 1304, 18, 588, 1442, 7675, 542, 1862, 9829, 12, 1734, 1046, 16, 394, 1862, 1769, 1377, 12267, 7675, 1289, 3777, 682, 12, 1734, 1046, 1769, 565, 289, 565, 1044, 261, 16268, 10602, 425, 13, 288, 1377, 2018, 18, 1636, 12, 73, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 2549, 1862, 2355, 12, 52, 7722, 9829, 682, 5541, 23921, 1046, 16, 3941, 1046, 1278, 1046, 16, 514, 394, 1862, 13, 288, 565, 775, 288, 1377, 309, 261, 24275, 1046, 1276, 453, 7722, 3092, 13, 288, 3639, 14015, 52, 7722, 3092, 13, 24275, 1046, 2934, 12237, 6094, 5621, 1377, 289, 1377, 453, 7722, 9829, 682, 666, 273, 23921, 1046, 18, 588, 9829, 682, 5621, 1377, 309, 261, 24275, 1046, 1276, 453, 7722, 1305, 13, 288, 3639, 453, 7722, 1305, 23921, 1305, 273, 261, 52, 7722, 1305, 13, 24275, 1046, 31, 3639, 453, 7722, 797, 4191, 797, 273, 23921, 1305, 18, 588, 24344, 797, 5621, 3639, 309, 261, 1213, 3280, 797, 480, 446, 597, 4191, 797, 18, 2 ]
public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsCount = 0; double maxBondOrder = 0; for (int i = 0; i < atoms.length; i++) { symbol = atoms[i].getSymbol(); bondCount = ac.getBondCount(atoms[i]); hsCount = getHydrogenCount(ac, atoms[i]); maxBondOrder = ac.getMaximumBondOrder(atoms[i]); if (symbol.equals("C")) { if (bondCount == 2) { // C sp if (hsCount >= 1) { xlogP += 0.209; // // System.out...println("XLOGP: 1"); } else { if (maxBondOrder == 2.0) { xlogP += 2.073; // // System.out...println("XLOGP: 2"); } else if (maxBondOrder == 3.0) { xlogP += 0.33; // // System.out...println("XLOGP: 3"); } } } if (bondCount == 3) { // C sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { if (getAromaticCarbonsCount(ac, atoms[i]) == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.296; // // System.out...println("XLOGP: 4"); } else { xlogP -= 0.151; // // System.out...println("XLOGP: 5"); } } else { xlogP += 0.337; // // System.out...println("XLOGP: 6"); } } else if (getAromaticCarbonsCount(ac, atoms[i]) < 2 && getAromaticNitrogensCount(ac, atoms[i]) > 1) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.174; // // System.out...println("XLOGP: 7"); } else { xlogP += 0.366; // // System.out...println("XLOGP: 8"); } } else if (getHydrogenCount(ac, atoms[i]) == 1) { xlogP += 0.126; // // System.out...println("XLOGP: 9"); } } } else { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.05; // // System.out...println("XLOGP: 10"); } else { xlogP += 0.013; // // System.out...println("XLOGP: 11"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.03; // // System.out...println("XLOGP: 12"); } else { xlogP -= 0.027; // // System.out...println("XLOGP: 13"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.005; // // System.out...println("XLOGP: 14"); } else { xlogP -= 0.315; // // System.out...println("XLOGP: 15"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.466; // // System.out...println("XLOGP: 16"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.136; // // System.out...println("XLOGP: 17"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.001; // // System.out...println("XLOGP: 18"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.31; // // System.out...println("XLOGP: 19"); } } } if (hsCount == 2) { xlogP += 0.42; // // System.out...println("XLOGP: 20"); } } if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 21"); } } if (bondCount == 4) { // C sp3 if (getIfCarbonIsHydrophobic(ac, atoms[i]) >= 0) { xlogP += 0.211; // // System.out...println("XLOGP: 22"); } if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.006; // // System.out...println("XLOGP: 23"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.57; // // System.out...println("XLOGP: 24"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.317; // // System.out...println("XLOGP: 25"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.316; // // System.out...println("XLOGP: 26"); } else { xlogP -= 0.723; // // System.out...println("XLOGP: 27"); } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.127; // // System.out...println("XLOGP: 28"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.243; // // System.out...println("XLOGP: 29"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.499; // // System.out...println("XLOGP: 30"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.205; // // System.out...println("XLOGP: 31"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.305; // // System.out...println("XLOGP: 32"); } if (getPiSystemsCount(ac, atoms[i]) >= 2) { xlogP -= 0.709; // // System.out...println("XLOGP: 33"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.358; // // System.out...println("XLOGP: 34"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.008; // // System.out...println("XLOGP: 35"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.185; // // System.out...println("XLOGP: 36"); } } else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.137; // // System.out...println("XLOGP: 37"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.303; // // System.out...println("XLOGP: 38"); } if (getPiSystemsCount(ac, atoms[i]) == 2) { xlogP -= 0.815; // // System.out...println("XLOGP: 39"); } } } if (hsCount > 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.528; // // System.out...println("XLOGP: 40"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.267; // // System.out...println("XLOGP: 41"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.032; // // System.out...println("XLOGP: 42"); } } } } if (symbol.equals("N")) { if (ac.getBondOrderSum(atoms[i]) == 5.0) { xlogP += 1.178; // // System.out...println("XLOGP: 43"); } // NO2 else { if (getPresenceOfCarbonil(ac, atoms[i]) == 1) { // amidic nitrogen if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.078; // // System.out...println("XLOGP: 44"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.118; // // System.out...println("XLOGP: 45"); } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP -= 0.096; // // System.out...println("XLOGP: 46"); } else { xlogP -= 0.044; // // System.out...println("XLOGP: 47"); } } if (hsCount == 2) { xlogP -= 0.646; // // System.out...println("XLOGP: 48"); } } else { if (bondCount == 1) { // -C#N if (getCarbonsCount(ac, atoms[i]) == 1) { xlogP -= 0.566; // // System.out...println("XLOGP: 49"); } } if (bondCount == 2) { // N sp2 if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP -= 0.493; // // System.out...println("XLOGP: 50"); } else { if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 0) { if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 0) { if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.427; // // System.out...println("XLOGP: 51"); } } if (getDoubleBondedNitrogenCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.536; // // System.out...println("XLOGP: 52"); } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.597; // // System.out...println("XLOGP: 53"); } } } if (getDoubleBondedCarbonsCount(ac, atoms[i]) == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.007; // // System.out...println("XLOGP: 54"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.275; // // System.out...println("XLOGP: 55"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.366; // // System.out...println("XLOGP: 56"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.251; // // System.out...println("XLOGP: 57"); } } } } } if (bondCount == 3) { // N sp3 if (hsCount == 0) { if (rs.contains(atoms[i])) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { xlogP += 0.881; // // System.out...println("XLOGP: 58"); } else { xlogP -= 0.01; // // System.out...println("XLOGP: 59"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.159; // // System.out...println("XLOGP: 60"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.761; // // System.out...println("XLOGP: 61"); } } else { xlogP -= 0.239; } } } if (hsCount == 1) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { xlogP += 0.545; // // System.out...println("XLOGP: 62"); } // like pyrrole else { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.112; // // System.out...println("XLOGP: 63"); } if (getPiSystemsCount(ac, atoms[i]) > 0) { xlogP += 0.166; // // System.out...println("XLOGP: 64"); } } } else { if (rs.contains(atoms[i])) { xlogP += 0.153; // // System.out...println("XLOGP: 65"); } else { xlogP += 0.324; // // System.out...println("XLOGP: 66"); } } } if (hsCount == 2) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.534; // // System.out...println("XLOGP: 66"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP -= 0.329; // // System.out...println("XLOGP: 67"); } } else { xlogP -= 1.082; // // System.out...println("XLOGP: 68"); } } } } } } if (symbol.equals("O")) { if (bondCount == 1) { xlogP -= 0.399; // // System.out...println("XLOGP: 69"); } if (bondCount == 2) { if (hsCount == 0) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.084; // // System.out...println("XLOGP: 70"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.435; // // System.out...println("XLOGP: 71"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP += 0.105; // // System.out...println("XLOGP: 72"); } } else { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP -= 0.467; // // System.out...println("XLOGP: 73"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.082; // // System.out...println("XLOGP: 74"); } } if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.522; // // System.out...println("XLOGP: 75"); } } } } if (symbol.equals("S")) { if (bondCount == 1) { xlogP -= 0.148; // // System.out...println("XLOGP: 76"); } if (bondCount == 2) { if (hsCount == 0) { xlogP += 0.255; // // System.out...println("XLOGP: 77"); } else { xlogP += 0.419; // // System.out...println("XLOGP: 78"); } } if (bondCount == 3) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 1) { xlogP -= 1.375; // // System.out...println("XLOGP: 79"); } } if (bondCount == 4) { if (getNitrogenOrOxygenCount(ac, atoms[i]) == 2) { xlogP -= 0.168; // // System.out...println("XLOGP: 80"); } } } if (symbol.equals("P")) { if (getDoubleBondedSulfurCount(ac, atoms[i]) == 1) { xlogP += 1.253; // // System.out...println("XLOGP: 81"); } if (getDoubleBondedOxygenCount(ac, atoms[i]) == 1) { xlogP -= 0.477; // // System.out...println("XLOGP: 82"); } } if (symbol.equals("F")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.375; // // System.out...println("XLOGP: 84"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.202; // // System.out...println("XLOGP: 85"); } } if (symbol.equals("Cl")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.512; // // System.out...println("XLOGP: 86"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.663; // // System.out...println("XLOGP: 87"); } } if (symbol.equals("Br")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 0.85; // // System.out...println("XLOGP: 88"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 0.839; // // System.out...println("XLOGP: 89"); } } if (symbol.equals("I")) { if (getPiSystemsCount(ac, atoms[i]) == 0) { xlogP += 1.05; // // System.out...println("XLOGP: 90"); } if (getPiSystemsCount(ac, atoms[i]) == 1) { xlogP += 1.109; // // System.out...println("XLOGP: 91"); } } if (getAlogenCount(ac, atoms[i]) >= 2) { xlogP += 0.137; // // System.out...println("XLOGP: 92"); } // more than 2 alogens on the same atom if (getPresenceOfCarbonil(ac, atoms[i]) == 2) {// sp2 oxygen 1-5 pair if(!rs.contains(atoms[i])) { xlogP += 0.580; } } } Descriptor acc = new HBondAcceptorCountDescriptor(); Object[] paramsAcc = {new Boolean(false)}; acc.setParameters(paramsAcc); Descriptor don = new HBondDonorCountDescriptor(); Object[] paramsDon = {new Boolean(false)}; don.setParameters(paramsDon); int acceptors = ((IntegerResult) acc.calculate(ac).getValue()).intValue(); int donors = ((IntegerResult) don.calculate(ac).getValue()).intValue(); if (donors > 0 && acceptors > 0) { xlogP += 0.429; // internal H-bonds } SmilesParser sp = new SmilesParser(); AtomContainer paba = sp.parseSmiles("CS(=O)(=O)c1ccc(N)cc1"); // p-amino sulphonic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, paba)) { xlogP -= 0.501; } AtomContainer aminoacid = sp.parseSmiles("NC=O"); // alpha amino acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, aminoacid)) { xlogP -= 2.166; } AtomContainer salicilic = sp.parseSmiles("O=C(O)c1ccccc1O"); // salicylic acid if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, salicilic)) { xlogP += 0.554; } AtomContainer orthopair = sp.parseSmiles("OCCO"); // ortho oxygen pair if (UniversalIsomorphismTester.isSubgraph((org.openscience.cdk.AtomContainer)ac, orthopair)) { xlogP -= 0.268; } return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new DoubleResult(xlogP)); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 10369, 694, 3597, 273, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 9006, 273, 1721, 18, 588, 14280, 5621, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9006, 18, 2469, 31, 277, 27245, 288, 1082, 202, 7175, 273, 9006, 63, 77, 8009, 588, 5335, 5621, 1082, 202, 26425, 1380, 273, 1721, 18, 588, 9807, 1380, 12, 14937, 63, 77, 19226, 1082, 202, 4487, 1380, 273, 7628, 93, 24096, 1380, 12, 1077, 16, 9006, 63, 77, 19226, 1082, 202, 1896, 9807, 2448, 273, 1721, 18, 588, 13528, 9807, 2448, 12, 14937, 63, 77, 19226, 1082, 202, 430, 261, 7175, 18, 14963, 2932, 39, 6, 3719, 288, 9506, 202, 430, 261, 26425, 1380, 422, 576, 13, 288, 6862, 202, 759, 385, 1694, 6862, 202, 430, 261, 4487, 1380, 1545, 404, 13, 288, 25083, 202, 92, 1330, 52, 1011, 374, 18, 3462, 29, 31, 25083, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 12823, 620, 4604, 12, 3641, 2170, 1721, 13, 1216, 24570, 288, 202, 202, 10369, 694, 3597, 273, 261, 2704, 4826, 54, 899, 8441, 1435, 2934, 4720, 1595, 54, 899, 12, 1077, 1769, 202, 202, 44, 344, 363, 292, 37, 27468, 560, 12594, 18, 16518, 37, 27468, 560, 12, 1077, 16, 3597, 16, 638, 1769, 202, 202, 9056, 619, 1330, 52, 273, 374, 31, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 15898, 18, 3641, 8526, 9006, 273, 1721, 18, 588, 14280, 5621, 202, 202, 780, 3273, 273, 1408, 31, 202, 202, 474, 8427, 1380, 273, 374, 31, 202, 202, 474, 12670, 1380, 273, 374, 31, 202, 202, 9056, 943, 9807, 2448, 273, 374, 2 ]
public State createState(State state);
public State createState();
public State createState(State state);
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/02c3baba58122da29d1c435a7714bdb8b375e65a/StateObjectFactory.java/buggy/bundles/org.eclipse.osgi/osgi/src/org/eclipse/osgi/service/resolver/StateObjectFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3287, 752, 1119, 12, 1119, 919, 1769, 202, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3287, 752, 1119, 12, 1119, 919, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Marker blue = Marker.getMarker(BLUE);
Marker blue = MarkerFactory.getMarker(BLUE);
public void testStar() { Marker blue = Marker.getMarker(BLUE); assertEquals(BLUE, blue.getName()); Marker star = Marker.getMarker("*"); //assertTrue(blue.isImmutable()); assertTrue(blue.matches("*")); assertTrue(blue.matches(star)); assertTrue(star.matches("asdasd")); assertTrue(star.matches(star)); assertTrue(star.matches(blue)); }
46603 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46603/5813ec1f27de9d0b21969c4da66ee09180dbddd4/MarkerTest.java/clean/tests/src/java/org/slf4j/MarkerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 18379, 1435, 288, 565, 14742, 8024, 273, 14742, 1733, 18, 588, 7078, 12, 14618, 1821, 1769, 565, 1815, 8867, 12, 14618, 1821, 16, 8024, 18, 17994, 10663, 565, 14742, 10443, 273, 14742, 18, 588, 7078, 2932, 7388, 1769, 565, 368, 11231, 5510, 12, 14081, 18, 291, 16014, 10663, 565, 1815, 5510, 12, 14081, 18, 8436, 2932, 7388, 10019, 565, 1815, 5510, 12, 14081, 18, 8436, 12, 10983, 10019, 565, 1815, 5510, 12, 10983, 18, 8436, 2932, 345, 28831, 72, 7923, 1769, 565, 1815, 5510, 12, 10983, 18, 8436, 12, 10983, 10019, 565, 1815, 5510, 12, 10983, 18, 8436, 12, 14081, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 18379, 1435, 288, 565, 14742, 8024, 273, 14742, 1733, 18, 588, 7078, 12, 14618, 1821, 1769, 565, 1815, 8867, 12, 14618, 1821, 16, 8024, 18, 17994, 10663, 565, 14742, 10443, 273, 14742, 18, 588, 7078, 2932, 7388, 1769, 565, 368, 11231, 5510, 12, 14081, 18, 291, 16014, 10663, 565, 1815, 5510, 12, 14081, 18, 8436, 2932, 7388, 10019, 565, 1815, 5510, 12, 14081, 18, 8436, 12, 10983, 10019, 565, 1815, 5510, 12, 10983, 18, 8436, 2932, 345, 28831, 72, 7923, 1769, 565, 1815, 5510, 12, 10983, 18, 8436, 12, 10983, 10019, 565, 1815, 5510, 12, 10983, 18, 8436, 12, 14081, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
error("illegal XML character",
if (!isXML11Char(c) || isXML11RestrictedChar(c)) error("illegal XML 1.1 character",
private int readCharData(String prefix) throws IOException, XMLStreamException { boolean white = true; buf.setLength(0); if (prefix != null) buf.append(prefix); boolean done = false; boolean entities = false; //System.out.println("readCharData input="+input.name+" line="+input.line+" col="+input.column); while (!done) { // Block read mark(tmpBuf.length); int len = read(tmpBuf, 0, tmpBuf.length); if (len == -1) { if (inputStack.size() > 1) { popInput(); // report end-entity done = true; } else throw new EOFException(); } for (int i = 0; i < len && !done; i++) { char c = tmpBuf[i]; switch (c) { case ' ': case '\t': case '\n': case '\r': buf.append(c); break; // whitespace case '&': reset(); read(tmpBuf, 0, i); // character reference? mark(3); c = readCh(); // & c = readCh(); if (c == '#') { mark(1); c = readCh(); boolean hex = (c == 'x'); if (!hex) reset(); char[] ch = readCharacterRef(hex ? 16 : 10); buf.append(ch, 0, ch.length); for (int j = 0; j < ch.length; j++) { switch (ch[j]) { case ' ': case '\t': case '\n': case '\r': break; // whitespace default: white = false; } } } else { // entity reference reset(); c = readCh(); // & String entityName = readNmtoken(true); require(';'); String text = (String) PREDEFINED_ENTITIES.get(entityName); if (text != null) buf.append(text); else { //if (replaceERefs) // expandEntity(entityName, false); //report start-entity //else // reset(); // report reference pushInput("", "&" + entityName + ";"); done = true; break; } } // continue processing i = -1; mark(tmpBuf.length); len = read(tmpBuf, 0, tmpBuf.length); if (len == -1) { if (inputStack.size() > 1) { popInput(); done = true; } else throw new EOFException(); } entities = true; break; // end of text sequence case '>': int l = buf.length(); if (l > 1 && buf.charAt(l - 1) == ']' && buf.charAt(l - 2) == ']') error("Character data may not contain unescaped ']]>'"); buf.append(c); break; case '<': reset(); read(tmpBuf, 0, i); done = true; break; // end of text sequence default: if ((c < 0x0020 || c > 0xfffd) || (input.xml11 && (c >= 0x007f) && (c <= 0x009f) && (c != 0x0085))) { error("illegal XML character", "U+" + Integer.toHexString(c)); } white = false; buf.append(c); } } // if text buffer >= 2MB, return it as a chunk // to avoid excessive memory use if (!coalescing && buf.length() >= 2097152) done = true; } if (entities) normalizeCRLF(buf); return white ? XMLStreamConstants.SPACE : XMLStreamConstants.CHARACTERS; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/XMLParser.java/buggy/core/src/classpath/gnu/gnu/xml/stream/XMLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 855, 2156, 751, 12, 780, 1633, 13, 565, 1216, 1860, 16, 21526, 225, 288, 565, 1250, 9578, 273, 638, 31, 565, 1681, 18, 542, 1782, 12, 20, 1769, 565, 309, 261, 3239, 480, 446, 13, 1377, 1681, 18, 6923, 12, 3239, 1769, 565, 1250, 2731, 273, 629, 31, 565, 1250, 5140, 273, 629, 31, 565, 368, 3163, 18, 659, 18, 8222, 2932, 896, 2156, 751, 810, 1546, 15, 2630, 18, 529, 9078, 980, 1546, 15, 2630, 18, 1369, 9078, 645, 1546, 15, 2630, 18, 2827, 1769, 565, 1323, 16051, 8734, 13, 1377, 288, 3639, 368, 3914, 855, 3639, 2267, 12, 5645, 5503, 18, 2469, 1769, 3639, 509, 562, 273, 855, 12, 5645, 5503, 16, 374, 16, 1853, 5503, 18, 2469, 1769, 3639, 309, 261, 1897, 422, 300, 21, 13, 1850, 288, 5411, 309, 261, 2630, 2624, 18, 1467, 1435, 405, 404, 13, 2868, 288, 7734, 1843, 1210, 5621, 7734, 368, 2605, 679, 17, 1096, 7734, 2731, 273, 638, 31, 2868, 289, 5411, 469, 2868, 604, 394, 30051, 5621, 1850, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 562, 597, 401, 8734, 31, 277, 27245, 1850, 288, 5411, 1149, 276, 273, 1853, 5503, 63, 77, 15533, 5411, 1620, 261, 71, 13, 2868, 288, 2868, 648, 296, 4290, 2868, 648, 2337, 88, 4278, 2868, 648, 2337, 82, 4278, 2868, 648, 2337, 86, 4278, 7734, 1681, 18, 6923, 12, 71, 1769, 7734, 898, 31, 368, 7983, 2868, 648, 5183, 4278, 7734, 2715, 5621, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 509, 855, 2156, 751, 12, 780, 1633, 13, 565, 1216, 1860, 16, 21526, 225, 288, 565, 1250, 9578, 273, 638, 31, 565, 1681, 18, 542, 1782, 12, 20, 1769, 565, 309, 261, 3239, 480, 446, 13, 1377, 1681, 18, 6923, 12, 3239, 1769, 565, 1250, 2731, 273, 629, 31, 565, 1250, 5140, 273, 629, 31, 565, 368, 3163, 18, 659, 18, 8222, 2932, 896, 2156, 751, 810, 1546, 15, 2630, 18, 529, 9078, 980, 1546, 15, 2630, 18, 1369, 9078, 645, 1546, 15, 2630, 18, 2827, 1769, 565, 1323, 16051, 8734, 13, 1377, 288, 3639, 368, 3914, 855, 3639, 2267, 12, 5645, 5503, 18, 2469, 1769, 3639, 509, 562, 273, 855, 12, 5645, 5503, 16, 374, 16, 2 ]
return requirements;
private static List completeGateway() { // Remove his weapon so that everything is easier for // the rest of the script. List requirements = new ArrayList(); // Make sure the character has some candy, or at least // the appropriate status effect. AdventureResult candy = pickOne( new AdventureResult [] { RICE_CANDY, MARZIPAN, FARMER_CANDY } ); // Check to see if the person has crossed through the // gates already. If they haven't, then that's the // only time you need the special effects. KoLRequest request = new KoLRequest( client, "lair1.php" ); request.run(); if ( request.responseText.indexOf( "gatesdone" ) == -1 ) { if ( !KoLCharacter.getEffects().contains( SUGAR ) && !hasItem( candy ) ) requirements.add( candy ); if ( !KoLCharacter.getEffects().contains( WUSSINESS ) && !hasItem( WUSSY_POTION ) ) requirements.add( WUSSY_POTION ); if ( !KoLCharacter.getEffects().contains( MIASMA ) && !hasItem( BLACK_CANDLE ) ) requirements.add( BLACK_CANDLE ); } if ( !requirements.isEmpty() ) return requirements; // Use the rice candy, wussiness potion, and black candle // and then cross through the first door. if ( request.responseText.indexOf( "gatesdone" ) == -1 ) { if ( !KoLCharacter.getEffects().contains( SUGAR ) ) (new ConsumeItemRequest( client, candy )).run(); if ( !KoLCharacter.getEffects().contains( WUSSINESS ) ) (new ConsumeItemRequest( client, WUSSY_POTION )).run(); if ( !KoLCharacter.getEffects().contains( MIASMA ) ) (new ConsumeItemRequest( client, BLACK_CANDLE )).run(); KoLmafia.updateDisplay( "Crossing three door puzzle..." ); request = new KoLRequest( client, "lair1.php" ); request.addFormField( "action", "gates" ); request.run(); } // Now, unequip all of your equipment and cross through // the mirror. Process the mirror shard that results. if ( request.responseText.indexOf( "lair2.php" ) == -1 ) { DEFAULT_SHELL.executeLine( "familiar none" ); DEFAULT_SHELL.executeLine( "outfit birthday suit" ); // We will need to re-equip KoLmafia.updateDisplay( "Crossing mirror puzzle..." ); request = new KoLRequest( client, "lair1.php" ); request.addFormField( "action", "mirror" ); request.run(); } return requirements; }
50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/d8542fa4c396b1beca260ada4fa0300b6c583317/SorceressLair.java/buggy/src/net/sourceforge/kolmafia/SorceressLair.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 987, 3912, 5197, 1435, 202, 95, 202, 202, 759, 3581, 18423, 732, 28629, 1427, 716, 7756, 353, 15857, 364, 202, 202, 759, 326, 3127, 434, 326, 2728, 18, 202, 202, 682, 8433, 273, 394, 2407, 5621, 202, 202, 759, 4344, 3071, 326, 3351, 711, 2690, 15350, 93, 16, 578, 622, 4520, 202, 202, 759, 326, 5505, 1267, 5426, 18, 202, 202, 1871, 616, 594, 1253, 15350, 93, 273, 6002, 3335, 12, 394, 4052, 616, 594, 1253, 5378, 288, 534, 11774, 67, 39, 4307, 61, 16, 490, 985, 13951, 1258, 16, 478, 985, 20969, 67, 39, 4307, 61, 289, 11272, 202, 202, 759, 2073, 358, 2621, 309, 326, 6175, 711, 30783, 730, 3059, 326, 202, 202, 759, 314, 815, 1818, 18, 225, 971, 2898, 15032, 1404, 16, 1508, 716, 1807, 326, 202, 202, 759, 1338, 813, 1846, 1608, 326, 4582, 16605, 18, 202, 202, 47, 83, 48, 691, 590, 273, 394, 1475, 83, 48, 691, 12, 1004, 16, 315, 80, 1826, 21, 18, 2684, 6, 11272, 202, 202, 2293, 18, 2681, 5621, 202, 202, 430, 261, 590, 18, 2740, 1528, 18, 31806, 12, 315, 28139, 8734, 6, 262, 422, 300, 21, 262, 202, 202, 95, 1082, 202, 430, 261, 401, 47, 83, 48, 7069, 18, 588, 29013, 7675, 12298, 12, 11726, 43, 985, 262, 597, 401, 5332, 1180, 12, 15350, 93, 262, 262, 9506, 202, 16175, 18, 1289, 12, 15350, 93, 11272, 1082, 202, 430, 261, 401, 47, 83, 48, 7069, 18, 588, 29013, 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, 760, 987, 3912, 5197, 1435, 202, 95, 202, 202, 759, 3581, 18423, 732, 28629, 1427, 716, 7756, 353, 15857, 364, 202, 202, 759, 326, 3127, 434, 326, 2728, 18, 202, 202, 682, 8433, 273, 394, 2407, 5621, 202, 202, 759, 4344, 3071, 326, 3351, 711, 2690, 15350, 93, 16, 578, 622, 4520, 202, 202, 759, 326, 5505, 1267, 5426, 18, 202, 202, 1871, 616, 594, 1253, 15350, 93, 273, 6002, 3335, 12, 394, 4052, 616, 594, 1253, 5378, 288, 534, 11774, 67, 39, 4307, 61, 16, 490, 985, 13951, 1258, 16, 478, 985, 20969, 67, 39, 4307, 61, 289, 11272, 202, 202, 759, 2073, 358, 2621, 309, 326, 6175, 711, 30783, 730, 3059, 326, 202, 202, 2 ]
if (bEnableStyles) { if (laCurrent == null) { cmbStyle.setLineStyle(getSWTLineStyle(LineStyle.SOLID_LITERAL)); } else { cmbStyle.setLineStyle(getSWTLineStyle(attributes.getStyle()));
if ( bEnableStyles ) { if ( laCurrent == null ) { cmbStyle.setLineStyle( getSWTLineStyle( LineStyle.SOLID_LITERAL ) ); } else { cmbStyle.setLineStyle( getSWTLineStyle( attributes.getStyle( ) ) );
public void setLineAttributes(LineAttributes attributes) { laCurrent = attributes; if (bEnableVisibility) { if (laCurrent == null) { cbVisible.setSelection(false); } else { cbVisible.setSelection(attributes.isVisible()); } boolean bUIEnabled = cbVisible.getSelection(); if (bEnableStyles) { cmbStyle.setEnabled(bUIEnabled); lblStyle.setEnabled(bUIEnabled); } if (bEnableWidths) { cmbWidth.setEnabled(bUIEnabled); lblWidth.setEnabled(bUIEnabled); } if (bEnableColor) { cmbColor.setEnabled(bUIEnabled); lblColor.setEnabled(bUIEnabled); } } if (bEnableStyles) { if (laCurrent == null) { cmbStyle.setLineStyle(getSWTLineStyle(LineStyle.SOLID_LITERAL)); } else { cmbStyle.setLineStyle(getSWTLineStyle(attributes.getStyle())); } } if (this.bEnableWidths) { if (laCurrent == null) { cmbWidth.setLineWidth(1); } else { cmbWidth.setLineWidth(attributes.getThickness()); } } if (this.bEnableColor) { if (laCurrent == null) { cmbColor.setFill(null); } else { cmbColor.setFill(attributes.getColor()); } cmbColor.redraw(); } redraw(); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/c60a4815037b62e9358af2625eb6236e7c979d0f/LineAttributesComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LineAttributesComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26482, 2498, 12, 1670, 2498, 1677, 13, 288, 202, 202, 11821, 3935, 273, 1677, 31, 202, 202, 430, 261, 70, 8317, 10135, 13, 288, 1082, 202, 430, 261, 11821, 3935, 422, 446, 13, 288, 9506, 202, 7358, 6207, 18, 542, 6233, 12, 5743, 1769, 1082, 202, 97, 469, 288, 9506, 202, 7358, 6207, 18, 542, 6233, 12, 4350, 18, 291, 6207, 10663, 1082, 202, 97, 1082, 202, 6494, 324, 5370, 1526, 273, 2875, 6207, 18, 588, 6233, 5621, 1082, 202, 430, 261, 70, 8317, 9725, 13, 288, 9506, 202, 71, 1627, 2885, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 9506, 202, 31885, 2885, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 1082, 202, 97, 1082, 202, 430, 261, 70, 8317, 22407, 13, 288, 9506, 202, 71, 1627, 2384, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 9506, 202, 31885, 2384, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 1082, 202, 97, 1082, 202, 430, 261, 70, 8317, 2957, 13, 288, 9506, 202, 71, 1627, 2957, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 9506, 202, 31885, 2957, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 70, 8317, 9725, 13, 288, 1082, 202, 430, 261, 11821, 3935, 422, 446, 13, 288, 9506, 202, 71, 1627, 2885, 18, 542, 1670, 2885, 12, 588, 55, 8588, 1670, 2885, 12, 1670, 2885, 18, 19815, 734, 67, 23225, 10019, 1082, 202, 97, 469, 288, 9506, 202, 71, 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, 26482, 2498, 12, 1670, 2498, 1677, 13, 288, 202, 202, 11821, 3935, 273, 1677, 31, 202, 202, 430, 261, 70, 8317, 10135, 13, 288, 1082, 202, 430, 261, 11821, 3935, 422, 446, 13, 288, 9506, 202, 7358, 6207, 18, 542, 6233, 12, 5743, 1769, 1082, 202, 97, 469, 288, 9506, 202, 7358, 6207, 18, 542, 6233, 12, 4350, 18, 291, 6207, 10663, 1082, 202, 97, 1082, 202, 6494, 324, 5370, 1526, 273, 2875, 6207, 18, 588, 6233, 5621, 1082, 202, 430, 261, 70, 8317, 9725, 13, 288, 9506, 202, 71, 1627, 2885, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 9506, 202, 31885, 2885, 18, 542, 1526, 12, 70, 5370, 1526, 1769, 1082, 202, 97, 2 ]
CronExpression copy = null;
CronExpression copy = null;
public Object clone() { CronExpression copy = null; try { copy = new CronExpression(getCronExpression()); copy.setTimeZone(getTimeZone()); } catch (ParseException ex) { // never happens since the source is valid... throw new IncompatibleClassChangeError("Not Cloneable."); } return copy; }
15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/f6eeea5a952e67d6b7fc8b54ae64d0b9e7098a98/CronExpression.java/clean/src/java/org/quartz/CronExpression.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3236, 1435, 288, 377, 202, 18586, 2300, 1610, 273, 446, 31, 3639, 775, 288, 540, 202, 3530, 273, 394, 18972, 2300, 12, 588, 18586, 2300, 10663, 540, 202, 3530, 18, 542, 16760, 12, 588, 16760, 10663, 3639, 289, 1044, 261, 13047, 431, 13, 288, 368, 5903, 10555, 3241, 326, 1084, 353, 923, 2777, 5411, 604, 394, 657, 10943, 797, 3043, 668, 2932, 1248, 12758, 429, 1199, 1769, 3639, 289, 3639, 327, 1610, 31, 565, 289, 540, 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,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 3236, 1435, 288, 377, 202, 18586, 2300, 1610, 273, 446, 31, 3639, 775, 288, 540, 202, 3530, 273, 394, 18972, 2300, 12, 588, 18586, 2300, 10663, 540, 202, 3530, 18, 542, 16760, 12, 588, 16760, 10663, 3639, 289, 1044, 261, 13047, 431, 13, 288, 368, 5903, 10555, 3241, 326, 1084, 353, 923, 2777, 5411, 604, 394, 657, 10943, 797, 3043, 668, 2932, 1248, 12758, 429, 1199, 1769, 3639, 289, 3639, 327, 1610, 31, 565, 289, 540, 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 ]
weapon.longRange = 9;
weapon.longRange = 9; weapon.extremeRange = 12;
public static WeaponType createMediumLaser() { WeaponType weapon = new WeaponType(); weapon.name = "Medium Laser"; weapon.setInternalName(weapon.name); weapon.addLookupName("IS Medium Laser"); weapon.addLookupName("ISMediumLaser"); weapon.heat = 3; weapon.damage = 5; weapon.ammoType = AmmoType.T_NA; weapon.minimumRange = WEAPON_NA; weapon.shortRange = 3; weapon.mediumRange = 6; weapon.longRange = 9; weapon.waterShortRange = 2; weapon.waterMediumRange = 4; weapon.waterLongRange = 6; weapon.tonnage = 1.0f; weapon.criticals = 1; weapon.flags |= F_LASER | F_DIRECT_FIRE; weapon.bv = 46; return weapon; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/e34eab3397e8f0ce6945e8fea65402a51536b0b3/WeaponType.java/buggy/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 25599, 48, 14558, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 25599, 511, 14558, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 12, 1814, 28629, 18, 529, 1769, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 20158, 5077, 511, 14558, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 25599, 48, 14558, 8863, 3639, 732, 28629, 18, 580, 270, 273, 890, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 1381, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 11277, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 890, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 2468, 31, 732, 28629, 18, 408, 2764, 73, 2655, 273, 2593, 31, 3639, 732, 28629, 18, 91, 2045, 4897, 2655, 273, 576, 31, 3639, 732, 28629, 18, 91, 2045, 25599, 2655, 273, 1059, 31, 3639, 732, 28629, 18, 91, 2045, 3708, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 404, 18, 20, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 404, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 2534, 2123, 571, 478, 67, 17541, 67, 1653, 862, 31, 3639, 732, 28629, 18, 70, 90, 273, 17077, 31, 3639, 327, 732, 28629, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 25599, 48, 14558, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 25599, 511, 14558, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 12, 1814, 28629, 18, 529, 1769, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 20158, 5077, 511, 14558, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 25599, 48, 14558, 8863, 3639, 732, 28629, 18, 580, 270, 273, 890, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 1381, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 11277, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 2 ]
&& level.fSecondPosition.offset == level.fFirstPosition.offset) {
&& level.fSecondPosition.offset == level.fFirstPosition.offset) {
public void perform(IDocument d, IDocumentListener owner) { if ((level.fFirstPosition.isDeleted || level.fFirstPosition.length == 0) && !level.fSecondPosition.isDeleted && level.fSecondPosition.offset == level.fFirstPosition.offset) { try { document.replace(level.fSecondPosition.offset, level.fSecondPosition.length, null); } catch (BadLocationException e) { //JavaPlugin.log(e); } } if (fBracketLevelStack.size() == 0) { document.removePositionUpdater(fUpdater); try { document.removePositionCategory(CATEGORY); } catch (BadPositionCategoryException e) { //JavaPlugin.log(e); } } }
9028 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9028/1c7c79e15150bceef6e3353d6c87c8bc905669be/BracketInserter.java/buggy/source/net/sourceforge/texlipse/editor/BracketInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 3073, 12, 734, 504, 650, 302, 16, 1599, 504, 650, 2223, 3410, 13, 288, 6862, 202, 430, 14015, 2815, 18, 74, 3759, 2555, 18, 291, 7977, 747, 1801, 18, 74, 3759, 2555, 18, 2469, 422, 374, 13, 6862, 1082, 202, 10, 10, 401, 2815, 18, 74, 8211, 2555, 18, 291, 7977, 6862, 1082, 202, 10, 10, 1801, 18, 74, 8211, 2555, 18, 3348, 422, 1801, 18, 74, 3759, 2555, 18, 3348, 13, 6862, 202, 95, 25083, 202, 698, 288, 6862, 1082, 202, 5457, 18, 2079, 12, 2815, 18, 74, 8211, 2555, 18, 3348, 16, 6862, 6862, 9506, 1801, 18, 74, 8211, 2555, 18, 2469, 16, 6862, 6862, 9506, 446, 1769, 25083, 202, 97, 1044, 261, 6434, 2735, 503, 425, 13, 288, 6862, 1082, 202, 759, 5852, 3773, 18, 1330, 12, 73, 1769, 25083, 202, 97, 6862, 202, 97, 6862, 202, 430, 261, 74, 11450, 2355, 2624, 18, 1467, 1435, 422, 374, 13, 288, 25083, 202, 5457, 18, 4479, 2555, 15305, 12, 74, 15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 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 3073, 12, 734, 504, 650, 302, 16, 1599, 504, 650, 2223, 3410, 13, 288, 6862, 202, 430, 14015, 2815, 18, 74, 3759, 2555, 18, 291, 7977, 747, 1801, 18, 74, 3759, 2555, 18, 2469, 422, 374, 13, 6862, 1082, 202, 10, 10, 401, 2815, 18, 74, 8211, 2555, 18, 291, 7977, 6862, 1082, 202, 10, 10, 1801, 18, 74, 8211, 2555, 18, 3348, 422, 1801, 18, 74, 3759, 2555, 18, 3348, 13, 6862, 202, 95, 25083, 202, 698, 288, 6862, 1082, 202, 5457, 18, 2079, 12, 2815, 18, 74, 8211, 2555, 18, 3348, 16, 6862, 6862, 9506, 1801, 18, 74, 8211, 2555, 18, 2469, 16, 6862, 6862, 9506, 446, 1769, 25083, 202, 97, 1044, 261, 2 ]
thaw.plugins.index.File file = (thaw.plugins.index.File)it.next();
final thaw.plugins.index.File file = (thaw.plugins.index.File)it.next();
public void unloadFiles() { if (this.fileList != null) { for (Iterator it = this.fileList.iterator(); it.hasNext();) { thaw.plugins.index.File file = (thaw.plugins.index.File)it.next(); file.deleteObserver(this); } } this.fileList = null; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/Index.java/buggy/src/thaw/plugins/index/Index.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27060, 2697, 1435, 288, 202, 202, 430, 261, 2211, 18, 768, 682, 480, 446, 13, 288, 1082, 202, 1884, 261, 3198, 518, 225, 273, 333, 18, 768, 682, 18, 9838, 5621, 9506, 377, 518, 18, 5332, 2134, 5621, 13, 9506, 202, 95, 6862, 202, 451, 2219, 18, 8057, 18, 1615, 18, 812, 585, 273, 261, 451, 2219, 18, 8057, 18, 1615, 18, 812, 13, 305, 18, 4285, 5621, 6862, 202, 768, 18, 3733, 11048, 12, 2211, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 27060, 2697, 1435, 288, 202, 202, 430, 261, 2211, 18, 768, 682, 480, 446, 13, 288, 1082, 202, 1884, 261, 3198, 518, 225, 273, 333, 18, 768, 682, 18, 9838, 5621, 9506, 377, 518, 18, 5332, 2134, 5621, 13, 9506, 202, 95, 6862, 202, 451, 2219, 18, 8057, 18, 1615, 18, 812, 585, 273, 261, 451, 2219, 18, 8057, 18, 1615, 18, 812, 13, 305, 18, 4285, 5621, 6862, 202, 768, 18, 3733, 11048, 12, 2211, 1769, 9506, 202, 97, 202, 202, 97, 202, 202, 2211, 18, 768, 682, 273, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void endElement(CMLStack xpath, String uri, String local, String raw) { String name = raw; if (name.equals("list") && connectionTable && !isBond) { logger.debug("End Connection Table"); connectionTable = false; } isELSYM = false; isBond = false; super.endElement(xpath, uri, local, raw); }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/3458415ba2170ae222944c38d0bce8541191dc46/PDBConvention.java/clean/src/org/openscience/cdk/io/cml/PDBConvention.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 409, 1046, 12, 39, 1495, 2624, 18644, 16, 780, 1650, 16, 780, 3729, 16, 780, 1899, 15329, 780, 529, 33, 1899, 31, 430, 12, 529, 18, 14963, 2932,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 409, 1046, 12, 39, 1495, 2624, 18644, 16, 780, 1650, 16, 780, 3729, 16, 780, 1899, 15329, 780, 529, 33, 1899, 31, 430, 12, 529, 18, 14963, 2932, 1098, 7923, 10, 10, 4071, 1388, 10, 10, 5, 291, 9807, 15329, 4901, 18, 4148, 2932, 1638, 1952, 1388, 8863, 4071, 1388, 33, 5743, 31, 97, 291, 2247, 7474, 49, 33, 5743, 31, 291, 9807, 33, 5743, 31, 9565, 18, 409, 1046, 12, 18644, 16, 1650, 16, 3729, 16, 1899, 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 ]
OptLocalVariable lVar = (OptLocalVariable) theVariables.get(i);
OptLocalVariable lVar = (OptLocalVariable) theVariables.getVariable(i);
void findSinglyTypedVars(VariableTable theVariables, Block theBlocks[]) {/* discover the type events for each non-volatile variable (not live across function calls). A type event is a def, which sets the target type to the source type.*/ if (false) { /* it's enough to prove that every def point for a local variable confers the same type on that variable. If that is the case (and that type is 'Number') then we can assign that local variable to a Double jReg for the life of the function. */ for (int i = 0; i < theBlocks.length; i++) { theBlocks[i].findDefs(); } } for (int i = 0; i < theVariables.size(); i++) { OptLocalVariable lVar = (OptLocalVariable) theVariables.get(i); if (!lVar.isParameter()) { int theType = lVar.getTypeUnion(); if (theType == TypeEvent.NumberType) { lVar.setIsNumber(); } } } }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/0470e048abb345f567d5fda1e9564715a9f4d5d7/Optimizer.java/clean/js/rhino/src/org/mozilla/javascript/optimizer/Optimizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1104, 55, 310, 715, 11985, 5555, 12, 3092, 1388, 326, 6158, 16, 3914, 326, 6450, 63, 5717, 565, 288, 20308, 565, 10372, 326, 618, 2641, 364, 1517, 1661, 17, 15416, 20295, 2190, 261, 902, 8429, 565, 10279, 445, 4097, 2934, 432, 618, 871, 353, 279, 1652, 16, 1492, 1678, 326, 1018, 565, 618, 358, 326, 1084, 618, 4509, 19, 3639, 309, 261, 5743, 13, 288, 5411, 1748, 7734, 518, 1807, 7304, 358, 450, 537, 716, 3614, 1652, 1634, 364, 279, 1191, 2190, 7734, 2195, 414, 326, 1967, 618, 603, 716, 2190, 18, 971, 716, 353, 326, 648, 261, 464, 7734, 716, 618, 353, 296, 1854, 6134, 1508, 732, 848, 2683, 716, 1191, 2190, 358, 7734, 279, 3698, 525, 1617, 364, 326, 17140, 434, 326, 445, 18, 5411, 1195, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 326, 6450, 18, 2469, 31, 277, 27245, 288, 7734, 326, 6450, 63, 77, 8009, 4720, 14554, 5621, 5411, 289, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 326, 6158, 18, 1467, 5621, 277, 27245, 288, 5411, 12056, 2042, 3092, 328, 1537, 273, 261, 6179, 2042, 3092, 13, 326, 6158, 18, 588, 3092, 12, 77, 1769, 5411, 309, 16051, 80, 1537, 18, 291, 1662, 10756, 288, 7734, 509, 326, 559, 273, 328, 1537, 18, 588, 559, 14325, 5621, 7734, 309, 261, 5787, 559, 422, 1412, 1133, 18, 1854, 559, 13, 288, 10792, 328, 1537, 18, 542, 2520, 1854, 5621, 7734, 289, 5411, 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, 918, 1104, 55, 310, 715, 11985, 5555, 12, 3092, 1388, 326, 6158, 16, 3914, 326, 6450, 63, 5717, 565, 288, 20308, 565, 10372, 326, 618, 2641, 364, 1517, 1661, 17, 15416, 20295, 2190, 261, 902, 8429, 565, 10279, 445, 4097, 2934, 432, 618, 871, 353, 279, 1652, 16, 1492, 1678, 326, 1018, 565, 618, 358, 326, 1084, 618, 4509, 19, 3639, 309, 261, 5743, 13, 288, 5411, 1748, 7734, 518, 1807, 7304, 358, 450, 537, 716, 3614, 1652, 1634, 364, 279, 1191, 2190, 7734, 2195, 414, 326, 1967, 618, 603, 716, 2190, 18, 971, 716, 353, 326, 648, 261, 464, 7734, 716, 618, 353, 296, 1854, 6134, 1508, 732, 848, 2683, 716, 1191, 2190, 358, 7734, 279, 3698, 2 ]
((MModelElement)o).removeClientDependency((MDependency)dep);
((MModelElement) o).removeClientDependency((MDependency) dep);
public static void removeClientDependency(Object o, Object dep) { if (o != null && dep != null && o instanceof MModelElement && dep instanceof MDependency) { ((MModelElement)o).removeClientDependency((MDependency)dep); } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ModelFacade.java/clean/src_new/org/argouml/model/ModelFacade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1206, 1227, 7787, 12, 921, 320, 16, 1033, 5993, 13, 288, 3639, 309, 261, 83, 480, 446, 5411, 597, 5993, 480, 446, 5411, 597, 320, 1276, 490, 1488, 1046, 5411, 597, 5993, 1276, 490, 7787, 13, 288, 5411, 14015, 49, 1488, 1046, 13, 320, 2934, 4479, 1227, 7787, 12443, 49, 7787, 13, 5993, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1206, 1227, 7787, 12, 921, 320, 16, 1033, 5993, 13, 288, 3639, 309, 261, 83, 480, 446, 5411, 597, 5993, 480, 446, 5411, 597, 320, 1276, 490, 1488, 1046, 5411, 597, 5993, 1276, 490, 7787, 13, 288, 5411, 14015, 49, 1488, 1046, 13, 320, 2934, 4479, 1227, 7787, 12443, 49, 7787, 13, 5993, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
File expectedEJBArtifact = new File( webAppDirectory, "WEB-INF/lib/ejbartifact-0.0-Test.ejb" );
File expectedEJBArtifact = new File( webAppDirectory, "WEB-INF/lib/ejbartifact-0.0-Test.jar" );
public void testExplodedWar_WithEJB() throws Exception { // setup test data String testId = "ExplodedWar_WithEJB"; MavenProjectArtifactsStub project = new MavenProjectArtifactsStub(); File webAppDirectory = new File( getTestDirectory(), testId ); File webAppSource = createWebAppSource( testId ); File classesDir = createClassesDir( testId, true ); EJBArtifactStub ejbArtifact = new EJBArtifactStub( getBasedir() ); File ejbFile = ejbArtifact.getFile(); assertTrue( "ejb jar not found: " + ejbFile.toString(), ejbFile.exists() ); // configure mojo project.addArtifact( ejbArtifact ); this.configureMojo( mojo, new LinkedList(), classesDir, webAppSource, webAppDirectory, project ); mojo.execute(); // validate operation File expectedWebSourceFile = new File( webAppDirectory, "pansit.jsp" ); File expectedWebSource2File = new File( webAppDirectory, "org/web/app/last-exile.jsp" ); // final name form is <artifactId>-<version>.<type> File expectedEJBArtifact = new File( webAppDirectory, "WEB-INF/lib/ejbartifact-0.0-Test.ejb" ); assertTrue( "source files not found: " + expectedWebSourceFile.toString(), expectedWebSourceFile.exists() ); assertTrue( "source files not found: " + expectedWebSource2File.toString(), expectedWebSource2File.exists() ); assertTrue( "ejb artifact not found: " + expectedEJBArtifact.toString(), expectedEJBArtifact.exists() ); }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/fd0007bdbfe6a3eb296a7908dbb7ab86fc5443c0/WarExplodedMojoTest.java/clean/maven-war-plugin/src/test/java/org/apache/maven/plugin/war/WarExplodedMojoTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2966, 383, 785, 30634, 67, 1190, 22719, 1435, 3639, 1216, 1185, 565, 288, 3639, 368, 3875, 1842, 501, 3639, 514, 1842, 548, 273, 315, 2966, 383, 785, 30634, 67, 1190, 22719, 14432, 3639, 17176, 4109, 16981, 11974, 1984, 273, 394, 17176, 4109, 16981, 11974, 5621, 3639, 1387, 27022, 2853, 273, 394, 1387, 12, 29384, 2853, 9334, 1842, 548, 11272, 3639, 1387, 27022, 1830, 273, 752, 4079, 3371, 1830, 12, 1842, 548, 11272, 3639, 1387, 3318, 1621, 273, 752, 4818, 1621, 12, 1842, 548, 16, 638, 11272, 3639, 12157, 7581, 11974, 18024, 7581, 273, 394, 12157, 7581, 11974, 12, 8297, 1214, 1435, 11272, 3639, 1387, 18024, 812, 273, 18024, 7581, 18, 29925, 5621, 3639, 1815, 5510, 12, 315, 73, 10649, 7334, 486, 1392, 30, 315, 397, 18024, 812, 18, 10492, 9334, 18024, 812, 18, 1808, 1435, 11272, 3639, 368, 5068, 312, 10007, 3639, 1984, 18, 1289, 7581, 12, 18024, 7581, 11272, 3639, 333, 18, 14895, 49, 10007, 12, 312, 10007, 16, 394, 10688, 9334, 3318, 1621, 16, 27022, 1830, 16, 27022, 2853, 16, 1984, 11272, 3639, 312, 10007, 18, 8837, 5621, 3639, 368, 1954, 1674, 3639, 1387, 2665, 4079, 31150, 273, 394, 1387, 12, 27022, 2853, 16, 315, 84, 634, 305, 18, 24926, 6, 11272, 3639, 1387, 2665, 4079, 1830, 22, 812, 273, 394, 1387, 12, 27022, 2853, 16, 315, 3341, 19, 4875, 19, 2910, 19, 2722, 17, 338, 398, 18, 24926, 6, 11272, 3639, 368, 727, 508, 646, 353, 411, 17706, 548, 34, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2966, 383, 785, 30634, 67, 1190, 22719, 1435, 3639, 1216, 1185, 565, 288, 3639, 368, 3875, 1842, 501, 3639, 514, 1842, 548, 273, 315, 2966, 383, 785, 30634, 67, 1190, 22719, 14432, 3639, 17176, 4109, 16981, 11974, 1984, 273, 394, 17176, 4109, 16981, 11974, 5621, 3639, 1387, 27022, 2853, 273, 394, 1387, 12, 29384, 2853, 9334, 1842, 548, 11272, 3639, 1387, 27022, 1830, 273, 752, 4079, 3371, 1830, 12, 1842, 548, 11272, 3639, 1387, 3318, 1621, 273, 752, 4818, 1621, 12, 1842, 548, 16, 638, 11272, 3639, 12157, 7581, 11974, 18024, 7581, 273, 394, 12157, 7581, 11974, 12, 8297, 1214, 1435, 11272, 3639, 1387, 18024, 812, 273, 18024, 7581, 18, 29925, 5621, 3639, 1815, 5510, 2 ]
throw new RubyNameException(getRuby(), "class variable " + name.toId() + " not defined for " + toName());
throw new NameError(getRuby(), "class variable " + name.toId() + " not defined for " + toName());
public RubyObject removeCvar(RubyObject name) { // Wrong Parameter ? if (!IdUtil.isClassVariable(name.toId())) { throw new RubyNameException(getRuby(), "wrong class variable name " + name.toId()); } if (!isTaint() && getRuby().getSafeLevel() >= 4) { throw new RubySecurityException(getRuby(), "Insecure: can't remove class variable"); } if (isFrozen()) { throw new RubyFrozenException(getRuby(), "class/module"); } RubyObject value = (RubyObject) getInstanceVariables().remove(name.toId()); if (value != null) { return value; } if (isClassVarDefined(name.toId())) { throw new RubyNameException(getRuby(), "cannot remove " + name.toId() + " for " + toName()); } throw new RubyNameException(getRuby(), "class variable " + name.toId() + " not defined for " + toName()); }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/8140cac1b7c2375c549787852e38fa6c52b199df/RubyModule.java/buggy/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 1206, 39, 1401, 12, 54, 10340, 921, 508, 13, 288, 368, 24668, 5498, 692, 3639, 309, 16051, 548, 1304, 18, 291, 797, 3092, 12, 529, 18, 869, 548, 1435, 3719, 288, 5411, 604, 394, 19817, 26771, 12, 588, 54, 10340, 9334, 315, 21530, 667, 2190, 508, 315, 397, 508, 18, 869, 548, 10663, 3639, 289, 3639, 309, 16051, 291, 29048, 1435, 597, 4170, 10340, 7675, 588, 9890, 2355, 1435, 1545, 1059, 13, 288, 5411, 604, 394, 19817, 24918, 12, 588, 54, 10340, 9334, 315, 382, 8869, 30, 848, 1404, 1206, 667, 2190, 8863, 3639, 289, 3639, 309, 261, 291, 42, 9808, 10756, 288, 5411, 604, 394, 19817, 42, 9808, 503, 12, 588, 54, 10340, 9334, 315, 1106, 19, 2978, 8863, 3639, 289, 3639, 19817, 921, 460, 273, 261, 54, 10340, 921, 13, 3694, 6158, 7675, 4479, 12, 529, 18, 869, 548, 10663, 3639, 309, 261, 1132, 480, 446, 13, 288, 5411, 327, 460, 31, 3639, 289, 3639, 309, 261, 291, 797, 1537, 8116, 12, 529, 18, 869, 548, 1435, 3719, 288, 5411, 604, 394, 19817, 26771, 12, 588, 54, 10340, 9334, 315, 12892, 1206, 315, 397, 508, 18, 869, 548, 1435, 397, 315, 364, 315, 397, 358, 461, 10663, 3639, 289, 3639, 604, 394, 25473, 12, 588, 54, 10340, 9334, 315, 1106, 2190, 315, 397, 508, 18, 869, 548, 1435, 397, 315, 486, 2553, 364, 315, 397, 358, 461, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 921, 1206, 39, 1401, 12, 54, 10340, 921, 508, 13, 288, 368, 24668, 5498, 692, 3639, 309, 16051, 548, 1304, 18, 291, 797, 3092, 12, 529, 18, 869, 548, 1435, 3719, 288, 5411, 604, 394, 19817, 26771, 12, 588, 54, 10340, 9334, 315, 21530, 667, 2190, 508, 315, 397, 508, 18, 869, 548, 10663, 3639, 289, 3639, 309, 16051, 291, 29048, 1435, 597, 4170, 10340, 7675, 588, 9890, 2355, 1435, 1545, 1059, 13, 288, 5411, 604, 394, 19817, 24918, 12, 588, 54, 10340, 9334, 315, 382, 8869, 30, 848, 1404, 1206, 667, 2190, 8863, 3639, 289, 3639, 309, 261, 291, 42, 9808, 10756, 288, 5411, 604, 394, 19817, 42, 9808, 503, 12, 588, 54, 10340, 9334, 2 ]
for (int i=0; i < columnGotUpdated.length; i++) { columnGotUpdated[i] = false; } currentRowHasBeenUpdated = false; if (!isOnInsertRow) { currentRowBeforeInsert = currentRow; } isOnInsertRow = true; if (insertRow == null) { insertRow = stmt.lcc.getExecutionContext(). getExecutionFactory().getValueRow(columnGotUpdated.length); }
initializeUpdateRowModifiers(); isOnInsertRow = true;
public void moveToInsertRow() throws SQLException { checkExecIfClosed("moveToInsertRow"); // if not updatable resultset, then throw exception checkUpdatableCursor("moveToInsertRow"); synchronized (getConnectionSynchronization()) { try { // initialize state corresponding to insertRow/updateRow impl. for (int i=0; i < columnGotUpdated.length; i++) { columnGotUpdated[i] = false; } currentRowHasBeenUpdated = false; // Remember position if (!isOnInsertRow) { currentRowBeforeInsert = currentRow; } isOnInsertRow = true; // If insertRow has not been allocated yet, get new insertRow if (insertRow == null) { insertRow = stmt.lcc.getExecutionContext(). getExecutionFactory().getValueRow(columnGotUpdated.length); } for (int i=1; i <= columnGotUpdated.length; i++) { insertRow.setColumn(i, resultDescription.getColumnDescriptor(i).getType().getNull()); } // Set currentRow to insertRow currentRow = insertRow; rowData = currentRow.getRowArray(); } catch (Throwable ex) { handleException(ex); } } }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/a1c5d5f0f4dbce02e29831beda9fa146c5f0794f/EmbedResultSet.java/buggy/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13863, 4600, 1999, 1435, 1216, 6483, 288, 202, 202, 1893, 1905, 2047, 7395, 2932, 8501, 774, 4600, 1999, 8863, 202, 202, 759, 309, 486, 2166, 8163, 26539, 16, 1508, 604, 1520, 202, 202, 1893, 1211, 3404, 429, 6688, 2932, 8501, 774, 4600, 1999, 8863, 202, 202, 22043, 261, 588, 1952, 30196, 10756, 288, 1082, 202, 698, 288, 9506, 202, 759, 4046, 919, 4656, 358, 2243, 1999, 19, 2725, 1999, 9380, 18, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 411, 1057, 15617, 7381, 18, 2469, 31, 277, 27245, 288, 6862, 202, 2827, 15617, 7381, 63, 77, 65, 273, 629, 31, 9506, 202, 97, 9506, 202, 2972, 1999, 5582, 25931, 7381, 273, 629, 31, 9506, 202, 759, 23133, 1754, 9506, 202, 430, 16051, 291, 1398, 4600, 1999, 13, 288, 6862, 202, 2972, 1999, 4649, 4600, 273, 31185, 31, 9506, 202, 97, 9506, 202, 291, 1398, 4600, 1999, 273, 638, 31, 9506, 202, 759, 971, 2243, 1999, 711, 486, 2118, 11977, 4671, 16, 336, 394, 2243, 1999, 9506, 202, 430, 261, 6387, 1999, 422, 446, 13, 288, 6862, 202, 6387, 1999, 273, 3480, 18, 80, 952, 18, 588, 3210, 1042, 7675, 25083, 202, 588, 3210, 1733, 7675, 24805, 1999, 12, 2827, 15617, 7381, 18, 2469, 1769, 9506, 202, 97, 9506, 202, 1884, 261, 474, 277, 33, 21, 31, 277, 1648, 1057, 15617, 7381, 18, 2469, 31, 277, 27245, 288, 6862, 202, 6387, 1999, 18, 542, 1494, 12, 77, 16, 9944, 202, 2088, 3291, 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, 13863, 4600, 1999, 1435, 1216, 6483, 288, 202, 202, 1893, 1905, 2047, 7395, 2932, 8501, 774, 4600, 1999, 8863, 202, 202, 759, 309, 486, 2166, 8163, 26539, 16, 1508, 604, 1520, 202, 202, 1893, 1211, 3404, 429, 6688, 2932, 8501, 774, 4600, 1999, 8863, 202, 202, 22043, 261, 588, 1952, 30196, 10756, 288, 1082, 202, 698, 288, 9506, 202, 759, 4046, 919, 4656, 358, 2243, 1999, 19, 2725, 1999, 9380, 18, 9506, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 411, 1057, 15617, 7381, 18, 2469, 31, 277, 27245, 288, 6862, 202, 2827, 15617, 7381, 63, 77, 65, 273, 629, 31, 9506, 202, 97, 9506, 202, 2972, 1999, 5582, 25931, 7381, 273, 629, 31, 2 ]
getController().getNodeManager().startIO(new Sender(), new Receiver());
getController().getNodeManager().startIO(new Sender(), new Receiver());
public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionException("Connection to peer is closed") .with(this); } this.started = false; this.identity = null; this.identityReply = null; this.socket = socket; this.shutdown = false; this.serializer = new ByteSerializer(); this.messagesToSendQueue = new ConcurrentLinkedQueue<AsynchronMessage>(); long startTime = System.currentTimeMillis(); try { out = new LimitedOutputStream(controller.getTransferManager() .getOutputLimiter(this), new BufferedOutputStream(socket .getOutputStream(), 1024)); in = new LimitedInputStream(controller.getTransferManager() .getInputLimiter(this), new BufferedInputStream(socket .getInputStream(), 1024)); if (logVerbose) { log().verbose("Got streams"); } // Start receiver getController().getNodeManager().startIO(new Sender(), new Receiver());// // receiverThread = new Thread(new Receiver(),// "ConHandler (recv) for " + socket.getInetAddress() + ":"// + socket.getPort());// // Deamon thread, killed when program is at end// receiverThread.setDaemon(true);// receiverThread.start();// // Start async sender later// senderThread = new Thread(new Sender(), "ConHandler (send) for "// + socket.getInetAddress() + ":" + socket.getPort());// // Deamon thread, killed when program is at end// senderThread.setDaemon(true);// senderThread.start(); // ok, we are connected // Generate magic id, 16 byte * 8 * 8 bit = 1024 bit key myMagicId = IdGenerator.makeId() + IdGenerator.makeId() + IdGenerator.makeId() + IdGenerator.makeId() + IdGenerator.makeId() + IdGenerator.makeId() + IdGenerator.makeId() + IdGenerator.makeId(); // now send identity myIdentity = new Identity(controller, controller.getMySelf() .getInfo(), myMagicId); if (logVerbose) { log().verbose( "Sending my identity, nick: '" + myIdentity.member.nick + "', ID: " + myIdentity.member.id); } sendMessageAsynchron(myIdentity, null); } catch (IOException e) { shutdownWithMember(); throw new ConnectionException("Unable to open connection", e) .with(this); } waitForRemoteIdentity(); if (!isConnected()) { shutdown(); throw new ConnectionException( "Remote peer disconnected while waiting for his identity") .with(this); } if (identity == null || identity.member == null) { shutdown(); throw new ConnectionException( "Did not receive a valid identity from peer after 60s") .with(this); } // Check if IP is on LAN // onLAN = getController().getBroadcastManager().receivedBroadcastFrom( // socket.getInetAddress()); // log().warn("Received broadcast from ? " + onLAN); long took = System.currentTimeMillis() - startTime; if (logVerbose) { log().verbose("Connect took " + took + "ms"); } // Analyse connection analyseConnection(); }
51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/d4f105c34125a92975b6c60f800a7ffbaa4646aa/ConnectionHandler.java/buggy/src/main/de/dal33t/powerfolder/net/ConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4050, 1503, 12, 2933, 2596, 16, 8758, 2987, 13, 3639, 1216, 31545, 565, 288, 3639, 2240, 12, 5723, 1769, 3639, 309, 261, 7814, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 4534, 353, 446, 8863, 3639, 289, 3639, 309, 261, 7814, 18, 291, 7395, 1435, 747, 401, 7814, 18, 291, 8932, 10756, 288, 5411, 604, 394, 31545, 2932, 1952, 358, 4261, 353, 4375, 7923, 7734, 263, 1918, 12, 2211, 1769, 3639, 289, 3639, 333, 18, 14561, 273, 629, 31, 3639, 333, 18, 10781, 273, 446, 31, 3639, 333, 18, 10781, 7817, 273, 446, 31, 3639, 333, 18, 7814, 273, 2987, 31, 3639, 333, 18, 15132, 273, 629, 31, 3639, 333, 18, 15663, 273, 394, 3506, 6306, 5621, 3639, 333, 18, 6833, 28878, 3183, 273, 394, 15242, 13174, 3183, 32, 1463, 2600, 1079, 34, 5621, 3639, 1525, 8657, 273, 2332, 18, 2972, 28512, 5621, 3639, 775, 288, 5411, 596, 273, 394, 7214, 329, 4632, 12, 5723, 18, 588, 5912, 1318, 1435, 7734, 263, 588, 1447, 22329, 12, 2211, 3631, 394, 28649, 12, 7814, 7734, 263, 588, 4632, 9334, 6250, 10019, 5411, 316, 273, 394, 7214, 329, 4348, 12, 5723, 18, 588, 5912, 1318, 1435, 7734, 263, 588, 1210, 22329, 12, 2211, 3631, 394, 24742, 12, 7814, 7734, 263, 588, 4348, 9334, 6250, 10019, 5411, 309, 261, 1330, 14489, 13, 288, 7734, 613, 7675, 11369, 2932, 15617, 8205, 8863, 5411, 289, 5411, 368, 3603, 5971, 5411, 13455, 7675, 588, 907, 1318, 7675, 1937, 4294, 12, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4050, 1503, 12, 2933, 2596, 16, 8758, 2987, 13, 3639, 1216, 31545, 565, 288, 3639, 2240, 12, 5723, 1769, 3639, 309, 261, 7814, 422, 446, 13, 288, 5411, 604, 394, 10108, 2932, 4534, 353, 446, 8863, 3639, 289, 3639, 309, 261, 7814, 18, 291, 7395, 1435, 747, 401, 7814, 18, 291, 8932, 10756, 288, 5411, 604, 394, 31545, 2932, 1952, 358, 4261, 353, 4375, 7923, 7734, 263, 1918, 12, 2211, 1769, 3639, 289, 3639, 333, 18, 14561, 273, 629, 31, 3639, 333, 18, 10781, 273, 446, 31, 3639, 333, 18, 10781, 7817, 273, 446, 31, 3639, 333, 18, 7814, 273, 2987, 31, 3639, 333, 18, 15132, 273, 629, 31, 3639, 333, 18, 15663, 273, 394, 3506, 6306, 2 ]
Object value = getProperty( module, propName ); if ( value == null )
ElementPropertyDefn prop = getPropertyDefn( propName ); if ( prop == null )
public BigDecimal getNumberProperty( Module module, String propName ) { Object value = getProperty( module, propName ); if ( value == null ) return null; if ( value instanceof BigDecimal ) return (BigDecimal) value; ElementPropertyDefn prop = getPropertyDefn( propName ); PropertyType type = MetaDataDictionary.getInstance( ).getPropertyType( prop.getTypeCode( ) ); return type.toNumber( module, value ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e7114ad5bbd4556bfe90ad8fef8d73f7007b3bbf/DesignElement.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8150, 18491, 1396, 12, 5924, 1605, 16, 514, 9994, 262, 202, 95, 202, 202, 921, 460, 273, 3911, 12, 1605, 16, 9994, 11272, 202, 202, 430, 261, 460, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 460, 1276, 8150, 262, 1082, 202, 2463, 261, 29436, 13, 460, 31, 202, 202, 1046, 1396, 3262, 82, 2270, 273, 3911, 3262, 82, 12, 9994, 11272, 202, 202, 22802, 618, 273, 27512, 10905, 18, 588, 1442, 12, 262, 18, 588, 22802, 12, 9506, 202, 5986, 18, 588, 15460, 12, 262, 11272, 202, 202, 2463, 618, 18, 869, 1854, 12, 1605, 16, 460, 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,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, 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, 8150, 18491, 1396, 12, 5924, 1605, 16, 514, 9994, 262, 202, 95, 202, 202, 921, 460, 273, 3911, 12, 1605, 16, 9994, 11272, 202, 202, 430, 261, 460, 422, 446, 262, 1082, 202, 2463, 446, 31, 202, 202, 430, 261, 460, 1276, 8150, 262, 1082, 202, 2463, 261, 29436, 13, 460, 31, 202, 202, 1046, 1396, 3262, 82, 2270, 273, 3911, 3262, 82, 12, 9994, 11272, 202, 202, 22802, 618, 273, 27512, 10905, 18, 588, 1442, 12, 262, 18, 588, 22802, 12, 9506, 202, 5986, 18, 588, 15460, 12, 262, 11272, 202, 202, 2463, 618, 18, 869, 1854, 12, 1605, 16, 460, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
builder = new MemTreeBuilder();
builder = new MemTreeBuilder(this);
public MemTreeBuilder getDocumentBuilder() { if (builder == null) { builder = new MemTreeBuilder(); builder.startDocument(); } return builder; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10981304ec1eac7abf93e24be62293e75342c292/StaticContext.java/buggy/src/org/exist/xpath/StaticContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5890, 25060, 9956, 1263, 1435, 288, 202, 202, 430, 261, 9574, 422, 446, 13, 288, 1082, 202, 9574, 273, 394, 5890, 25060, 5621, 1082, 202, 9574, 18, 1937, 2519, 5621, 202, 202, 97, 202, 202, 2463, 2089, 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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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5890, 25060, 9956, 1263, 1435, 288, 202, 202, 430, 261, 9574, 422, 446, 13, 288, 1082, 202, 9574, 273, 394, 5890, 25060, 5621, 1082, 202, 9574, 18, 1937, 2519, 5621, 202, 202, 97, 202, 202, 2463, 2089, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ti.setChecked(checked.contains(data)); ti.setGrayed(grayed.contains(data));
ti.setChecked(checked.containsKey(data)); ti.setGrayed(grayed.containsKey(data));
private void applyState(Set checked, Set grayed, Widget widget) { Item[] items = getChildren(widget); for (int i = 0; i < items.length; i++) { Item item = items[i]; if (item instanceof TreeItem) { Object data = item.getData(); if (data != null) { TreeItem ti = (TreeItem) item; ti.setChecked(checked.contains(data)); ti.setGrayed(grayed.contains(data)); } } applyState(checked, grayed, item); }}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/62cad76fa04eac5c5069428b96651b4449f3b7bc/CheckboxTreeViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/CheckboxTreeViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 2230, 1119, 12, 694, 5950, 16, 1000, 16937, 329, 16, 11103, 3604, 13, 288, 202, 1180, 8526, 1516, 273, 10268, 12, 6587, 1769, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 202, 202, 1180, 761, 273, 1516, 63, 77, 15533, 202, 202, 430, 261, 1726, 1276, 4902, 1180, 13, 288, 1082, 202, 921, 501, 273, 761, 18, 588, 751, 5621, 1082, 202, 430, 261, 892, 480, 446, 13, 288, 9506, 202, 2471, 1180, 11374, 273, 261, 2471, 1180, 13, 761, 31, 9506, 202, 9096, 18, 542, 11454, 12, 4532, 18, 12298, 12, 892, 10019, 9506, 202, 9096, 18, 542, 23521, 329, 12, 22440, 329, 18, 12298, 12, 892, 10019, 1082, 202, 97, 202, 202, 97, 202, 202, 9010, 1119, 12, 4532, 16, 16937, 329, 16, 761, 1769, 202, 9090, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 918, 2230, 1119, 12, 694, 5950, 16, 1000, 16937, 329, 16, 11103, 3604, 13, 288, 202, 1180, 8526, 1516, 273, 10268, 12, 6587, 1769, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1516, 18, 2469, 31, 277, 27245, 288, 202, 202, 1180, 761, 273, 1516, 63, 77, 15533, 202, 202, 430, 261, 1726, 1276, 4902, 1180, 13, 288, 1082, 202, 921, 501, 273, 761, 18, 588, 751, 5621, 1082, 202, 430, 261, 892, 480, 446, 13, 288, 9506, 202, 2471, 1180, 11374, 273, 261, 2471, 1180, 13, 761, 31, 9506, 202, 9096, 18, 542, 11454, 12, 4532, 18, 12298, 12, 892, 10019, 9506, 202, 9096, 18, 542, 23521, 329, 12, 22440, 329, 18, 12298, 12, 892, 2 ]